I hereby claim:
- I am J2TeaM on github.
- I am juno_okyo (https://keybase.io/juno_okyo) on keybase.
- I have a public key whose fingerprint is EB24 F251 C1D1 E83B DBC5 61E4 967C CEDC 4EA6 6A66
To claim this, I am signing this object:
(function(d) { | |
'use strict'; | |
// DOM elements. | |
var body = d.body; | |
var html = d.documentElement; | |
var head = d.head || d.getElementsByTagName('head')[0]; | |
// Style attributes. | |
var b = body.style; |
I hereby claim:
To claim this, I am signing this object:
/*! | |
* Grunt | |
* $ npm install grunt-contrib-uglify grunt-autoprefixer grunt-contrib-cssmin grunt-contrib-imagemin grunt-contrib-sass grunt-contrib-watch grunt-contrib-concat grunt-contrib-clean grunt-contrib-jshint grunt-notify --save-dev | |
*/ | |
module.exports = function(grunt) { | |
grunt.initConfig({ | |
// Sass |
Latency Comparison Numbers | |
-------------------------- | |
L1 cache reference 0.5 ns | |
Branch mispredict 5 ns | |
L2 cache reference 7 ns 14x L1 cache | |
Mutex lock/unlock 25 ns | |
Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
Compress 1K bytes with Zippy 3,000 ns | |
Send 1K bytes over 1 Gbps network 10,000 ns 0.01 ms | |
Read 4K randomly from SSD* 150,000 ns 0.15 ms |
#include <WinAPI.au3> | |
#include <WindowsConstants.au3> | |
Opt("WinTitleMatchMode", 2) | |
Local $hCompDC = _WinAPI_CreateCompatibleDC(0) | |
Local $tBMI = DllStructCreate($tagBITMAPINFO) | |
DllStructSetData($tBMI, 1, DllStructGetSize($tBMI) - 4) ; size of struct | |
DllStructSetData($tBMI, 2, 400) ; width | |
DllStructSetData($tBMI, 3, 400) ; height |
// Ref: https://github.com/umdjs/umd/blob/master/templates/amdWeb.js | |
(function(root, factory) { | |
if (typeof define === 'function' && define.amd) { | |
define(['moduleName'], factory); | |
} else { | |
root.moduleName = factory(root.moduleName); | |
} | |
}(this, function(moduleName) { | |
'use strict'; |
import speech_recognition | |
import pyttsx | |
speech_engine = pyttsx.init('sapi5') # see http://pyttsx.readthedocs.org/en/latest/engine.html#pyttsx.init | |
speech_engine.setProperty('rate', 150) | |
def speak(text): | |
speech_engine.say(text) | |
speech_engine.runAndWait() |
#AND | |
<b:if cond='data:blog.pageType == "index"'> | |
<b:if cond='data:blog.searchQuery'> | |
<!--search_page AND index_page--> | |
</b:if> | |
</b:if> | |
#OR |
<script>//<![CDATA[ | |
var blogUrl=window.top.location.href.toLowerCase();blogUrl.indexOf(".blogspot.com")===-1&&(blogUrl=blogUrl.replace(/\.blogspot\..*?\//,".blogspot.com/ncr/"),window.top.location.replace(blogUrl)); | |
//]]></script> |
{ | |
"vars": { | |
"@gray-base": "#000", | |
"@gray-darker": "lighten(@gray-base, 13.5%)", | |
"@gray-dark": "lighten(@gray-base, 20%)", | |
"@gray": "lighten(@gray-base, 33.5%)", | |
"@gray-light": "lighten(@gray-base, 46.7%)", | |
"@gray-lighter": "lighten(@gray-base, 93.5%)", | |
"@brand-primary": "darken(#428bca, 6.5%)", | |
"@brand-success": "#5cb85c", |