Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Aminu Ibrahim Abubakar aminukano585

🎯
Focusing
  • Freelance
  • Kano, Nigeria
View GitHub Profile
View gist:1595ed50868a3819c6651af2b1d38fa5
Verifying my Blockstack ID is secured with the address 12Cv35te8dbt4cz27rtz9UYccPEJSp5zEu https://explorer.blockstack.org/address/12Cv35te8dbt4cz27rtz9UYccPEJSp5zEu
@aminukano585
aminukano585 / regexCheatsheet.js
Created Jan 18, 2019 — forked from sarthology/regexCheatsheet.js
A regex cheatsheet 👩🏻‍💻 (by Catherine)
View regexCheatsheet.js
let regex;
/* matching a specific string */
regex = /hello/; // looks for the string between the forward slashes (case-sensitive)... matches "hello", "hello123", "123hello123", "123hello"; doesn't match for "hell0", "Hello"
regex = /hello/i; // looks for the string between the forward slashes (case-insensitive)... matches "hello", "HelLo", "123HelLO"
regex = /hello/g; // looks for multiple occurrences of string between the forward slashes...
/* wildcards */
regex = /h.llo/; // the "." matches any one character other than a new line character... matches "hello", "hallo" but not "h\nllo"
regex = /h.*llo/; // the "*" matches any character(s) zero or more times... matches "hello", "heeeeeello", "hllo", "hwarwareallo"
@aminukano585
aminukano585 / webdev_online_resources.md
Created Aug 29, 2018 — forked from bradtraversy/webdev_online_resources.md
Online Resources For Web Developers (No Downloading)
View webdev_online_resources.md
@aminukano585
aminukano585 / sw.js
Created Jun 5, 2018 — forked from bakoushin/sw.js
ServiceWorker Fetch Examples — Hijacking Requests
View sw.js
self.addEventListener('fetch', event => {
/*
HIJACKING RESPONSE EXAMPLES
Uncomment examples one by one to see how it works.
Don't forget to enable 'Update on reload' in Application - Service Workers.
*/
// Example 1: respond with arbitrary HTML
@aminukano585
aminukano585 / LICENCE SUBLIME TEXT
Created Feb 10, 2018
Sublime Text 3 Serial key build is 3143
View LICENCE SUBLIME TEXT
## Sublime Text 3 Serial key build is 3103
—– BEGIN LICENSE —–
Michael Barnes
Single User License
EA7E-821385
8A353C41 872A0D5C DF9B2950 AFF6F667
C458EA6D 8EA3C286 98D1D650 131A97AB
AA919AEC EF20E143 B361B1E7 4C8B7F04
B085E65E 2F5F5360 8489D422 FB8FC1AA
@aminukano585
aminukano585 / css-selectors.md
Created Dec 27, 2017 — forked from magicznyleszek/css-selectors.md
CSS Selectors Cheatsheet
View css-selectors.md

CSS Selectors Cheatsheet

Element selectors

Element -- selects all h2 elements on the page

h2 {
    foo: bar;
@aminukano585
aminukano585 / dabblet.css
Created Jul 19, 2017
The first commented line is your dabblet’s title
View dabblet.css
/**
* The first commented line is your dabblet’s title
*/
body {
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
}
h1 {
@aminukano585
aminukano585 / dabblet.css
Created Jul 19, 2017
The first commented line is your dabblet’s title
View dabblet.css
/**
* The first commented line is your dabblet’s title
*/
body {
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
}
h1 {
@aminukano585
aminukano585 / dabblet.css
Created Jul 19, 2017
The first commented line is your dabblet’s title
View dabblet.css
/**
* The first commented line is your dabblet’s title
*/
body {
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
}
h1 {