Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Nixon Kosgei nixoncode

🎯
Focusing
Block or report user

Report or block nixoncode

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View select-county-code.html
<section>
<option value="001">Mombasa</option>
<option value="002">Kwale</option>
<option value="003">Kilifi</option>
<option value="004">Tana River</option>
<option value="005">Lamu</option>
<option value="006">Taita–Taveta</option>
<option value="007">Garissa</option>
<option value="008">Wajir</option>
<option value="009">Mandera</option>
@nixoncode
nixoncode / kenya-counties.html
Last active Jul 17, 2018
Kenya counties select drop down menu in html arrange in alphabetical order
View kenya-counties.html
<option value="baringo">Baringo</option>
<option value="bomet">Bomet</option>
<option value="bungoma">Bungoma</option>
<option value="busia">Busia</option>
<option value="elgeyo marakwet">Elgeyo Marakwet</option>
<option value="embu">Embu</option>
<option value="garissa">Garissa</option>
<option value="homa bay">Homa Bay</option>
<option value="isiolo">Isiolo</option>
<option value="kajiado">Kajiado</option>
View regex.txt
email: ^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$
@nixoncode
nixoncode / bash_profile.sh
Created Feb 9, 2018
A .bashrc file fo my terminal on ubuntu
View bash_profile.sh
# colors!
green="\[\033[0;32m\]"
blue="\[\033[0;34m\]"
purple="\[\033[0;35m\]"
reset="\[\033[0m\]"
export GIT_PS1_SHOWDIRTYSTATE=1
# '\u' adds the name of the current user to the prompt
# '\$(__git_ps1)' adds git-related stuff
# '\W' adds the name of the current directory
@nixoncode
nixoncode / 0_reuse_code.js
Created May 10, 2017
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
You can’t perform that action at this time.