Posts

Showing posts from November, 2020

Dialogs for web solutions mobile friendly

Image
Introduction When building mobile friendly web solutions I needed a language agnostic solution and went with BootBox JS . Example of a simple alert that is setup  Code sample      $ ( '#simpleBootBox10' ). click ( function  ( event ) {          bootbox . alert ({  message:   "Example for positioning" ,  centerVertical:   true  });     }); Here are several examples Source code : GitHub repository .

GitHub download partial repository

There may be times when a developer wants one or two projects from a GitHub repository rather than downloading the entire repository. Prerequisite Git needs to be installed which can be download here . Double click on the file once downloaded. Under options select Windows Explorer integration. Follow through with the remaining options/prompts e.g. select an editor etc. Downloading one or more projects Select a GitHub repository url and the folders to download. For example, the repository https://github.com/karenpayneoregon/code-samples-csharp There are two projects, Events_1 and ExceptionHandling (which Events_1 project references). Create a folder on the computer, create a batch file with the following commands. mkdir code cd code git init git remote add -f origin https://github.com/karenpayneoregon/code-samples-csharp git  sparse-checkout init --cone  git  sparse-checkout add Events_1 git  sparse-checkout add ExceptionHandling git  pull origin master Run the batch file, copy the f