Skip to content

Instantly share code, notes, and snippets.

View abdulhannanali's full-sized avatar
💭
WUNDERWALL!!!!

Hannan Ali abdulhannanali

💭
WUNDERWALL!!!!
View GitHub Profile
@abdulhannanali
abdulhannanali / fileBrowserHandler.htm
Last active March 26, 2018 16:53 — forked from greenido/fileBrowserHandler.htm
Simple test to FileSystem APIs (HTML5)
<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<meta charset=utf-8 />
<title>Chrome File API tester</title>
<script>
window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem;
@abdulhannanali
abdulhannanali / dabblet.css
Created September 16, 2017 18:08 — forked from chriscoyier/dabblet.css
Checkbox Hack
/* Checkbox Hack */
body {
}
input[type=checkbox] {
position: absolute;
top: -9999px;
left: -9999px;
}
@abdulhannanali
abdulhannanali / dabblet.css
Created September 5, 2017 09:42 — forked from anonymous/dabblet.css
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
@abdulhannanali
abdulhannanali / gist:e927f84afa52bc39adcf
Created March 8, 2016 16:57 — forked from josteink/on_stateful_code.txt
On why stateful code is bad
STUDENT: Sir, can I ask a question?
TEACHER: Yes!
STUDENT: How do you put an elephant inside a fridge?
TEACHER: I don't know.
STUDENT: It's easy, you just open the fridge and put it in. I have another question!
TEACHER: Ok, ask.
STUDENT: How to put a donkey inside the fridge?
TEACHER: It's easy, you just open the fridge and put it in.
STUDENT: No sir, You just open the fridge take out the elephant and put it in.
TEACHER: Ooh...ok!!
<!DOCTYPE html>
<html>
<head>
<script src="https://cdn.jsdelivr.net/pouchdb/latest/pouchdb.min.js"></script>
<script src="https://code.jquery.com/jquery-compat-3.0.0-alpha1.js"></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
@abdulhannanali
abdulhannanali / Sublime Text License Key.md
Created January 9, 2016 16:37
Sublime Text 2 License Key, Sublime Text 3 License Key, Sublime Text Full Version.