Skip to content

Instantly share code, notes, and snippets.

View Demwunz's full-sized avatar
:octocat:
donuts

Fazal Demwunz

:octocat:
donuts
View GitHub Profile
@Demwunz
Demwunz / onename.txt
Created July 29, 2015 15:36
onename verification
Verifying I am +demwunz on my passcard. https://onename.com/demwunz
@Demwunz
Demwunz / pgp
Last active August 29, 2015 14:24
pgp
```
-----BEGIN PGP MESSAGE-----
Comment: GPGTools - https://gpgtools.org
owF1Uk1sFVUUfq9Sfp5CcaEiNVhnoVEf7f2dO9MFkSI2YGMQQaMhPu6de+a94dGZ
dua9lpZUFkTUYE1DRTYixGqLf4mgSV0INAQ1pV3UaEOTmvgTDcFglBAWRKLeaWqE
hbt7zv3Od873nTOw9JZMLvtH2+TBib8nX85OXFSZrYP19++2VKR7rObdlrczgLCS
vkLZDlazVYYeJRNoDKKGMNLQuCNpmMfkrS6IkyAKDQo1ikbX6sun8LTYD8IixB1x
kHJZknu2oADKBt8hjCstOCJYKY8iqqTjA/UcG7mGshQllZu6WnOchUCbbMs6g29Z
6zy2nq6bx1fnPmxXgJaaKM0VFp4rHVtKIJIiWwBCKAUmEM9L0tDeXQ1703HbIS7v
@Demwunz
Demwunz / scss_loop.scss
Last active August 29, 2015 13:56
scss_each_loop.scss
/*
* a way to save time when you want to output a bunch of class names with corresponding filenames
*/
$icons: sprite-map("icons/*.png");
.select-custom--icons{
background-image: sprite-url($icons);
background-color:white;
background-repeat: no-repeat;
}
$languages : (en, zh-cn, ja, it, pt, es, de);
@Demwunz
Demwunz / devtools.md
Last active October 3, 2018 17:50
Development tools and useful links. Ongoing.
@Demwunz
Demwunz / 3dflip.html
Created October 14, 2013 15:06
3d card flip css
<div class="flip" style="width: X.px; height: X.px;">
<a href="#">
<div class="flip-front">
...
</div>
<div class="flip-back">
...
</div>
</a>
</div>
@Demwunz
Demwunz / sublimesettings.json
Last active December 22, 2015 05:09
My sublime settings
{
"bold_folder_labels": true,
"caret_style": "phase",
"close_windows_when_empty": true,
"color_scheme": "Packages/Tomorrow Color Schemes/Tomorrow-Night-Eighties.tmTheme",
"draw_minimap_border": false,
"fade_fold_buttons": false,
"file_exclude_patterns":
[
".DS_Store",
@Demwunz
Demwunz / select.html
Created July 5, 2013 09:50
custom select box styling for webkit browsers
<span class="default-dropdown">
<select>
<option value="a">Chumba</option>
<option value="b">Wumba</option>
</select>
</span>
<?xml version="1.0" encoding="utf-8" ?>
<data>
<params>
<root>http://local.chauhanstudio.com</root>
<workspace>http://local.chauhanstudio.com/workspace</workspace>
</params>
<events />
<navigation>
<page handle="home" id="1">
<name>Home</name>
@Demwunz
Demwunz / json.stringify.js
Created June 26, 2012 14:09
json stringify
var JSON = {};
JSON.stringify = JSON.stringify ||
function (a) {
var t = typeof (a);
if (t != "object" || a === null) {
if (t == "string") a = '"' + a + '"';
return String(a);
} else {
var n, v, json = [],
arr = (a && a.constructor == Array);
@Demwunz
Demwunz / hasflash.js
Created June 20, 2012 11:15
Check for Flash
hasFlash = function(){
try {
return new ActiveXObject('ShockwaveFlash.ShockwaveFlash') ? true : false;
} catch (e) {
return navigator.mimeTypes["application/x-shockwave-flash"] != undefined ? true : false;
}
}