Skip to content

Instantly share code, notes, and snippets.

View morrismukiri's full-sized avatar

Morris Mukiri morrismukiri

View GitHub Profile

Keybase proof

I hereby claim:

  • I am morrismukiri on github.
  • I am morrismukiri (https://keybase.io/morrismukiri) on keybase.
  • I have a public key ASCfVo6hCSD7FZpXV3sDFEnHBiR35FrVHYeh6vO6JodXpAo

To claim this, I am signing this object:

@morrismukiri
morrismukiri / superset-admin-password-reset.sh
Created January 17, 2019 17:11
Apache Superset reset admin password
# activate the virtualenv
source /home/superset/.virtualenvs/superset/bin/activate
fabmanager reset-password --app superset --username admin --password enteryournewpassword
@morrismukiri
morrismukiri / .htaccess
Created March 14, 2016 13:06
Prevent access to carelessly left backup files in a server
<FilesMatch "\.(ini|log|sh|zip)$">
Order Allow,Deny
Deny from all
</FilesMatch>
@morrismukiri
morrismukiri / Javascript Array Reverse.markdown
Created October 6, 2015 12:14
Javascript Array Reverse
@morrismukiri
morrismukiri / kenyanMobilePhoneRegEx.txt
Last active October 21, 2024 07:51
Kenyan phone number regular expression
/(0|+?254)7(\d){8}/
@morrismukiri
morrismukiri / dataTables
Last active December 20, 2015 13:29
CSS for Datatables
/*
Document : datatbles
Created on : Aug 2, 2013, 10:55:31 AM
Author : morris
Description:
Style DataTables
*/
/*
* Colour dictionary: