Skip to content

Instantly share code, notes, and snippets.

View aminukano585's full-sized avatar
🎯
Focusing

Aminu Ibrahim Abubakar aminukano585

🎯
Focusing
View GitHub Profile
Verifying my Blockstack ID is secured with the address 12Cv35te8dbt4cz27rtz9UYccPEJSp5zEu https://explorer.blockstack.org/address/12Cv35te8dbt4cz27rtz9UYccPEJSp5zEu
@aminukano585
aminukano585 / regexCheatsheet.js
Created January 18, 2019 02:39 — forked from sarthology/regexCheatsheet.js
A regex cheatsheet 👩🏻‍💻 (by Catherine)
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 August 29, 2018 07:57 — forked from bradtraversy/webdev_online_resources.md
Online Resources For Web Developers (No Downloading)
@aminukano585
aminukano585 / sw.js
Created June 5, 2018 16:52 — forked from bakoushin/sw.js
ServiceWorker Fetch Examples — Hijacking Requests
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 February 10, 2018 05:34
Sublime Text 3 Serial key build is 3143
## 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 December 27, 2017 06:44 — forked from magicznyleszek/css-selectors.md
CSS Selectors Cheatsheet

CSS Selectors Cheatsheet

Element selectors

Element -- selects all h2 elements on the page

h2 {
    foo: bar;
@aminukano585
aminukano585 / dabblet.css
Created July 19, 2017 13:18
The first commented line is your dabblet’s title
/**
* 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 July 19, 2017 13:17
The first commented line is your dabblet’s title
/**
* 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 July 19, 2017 13:17
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
body {
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
}
h1 {