This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div>{{titleExpand .Title}}</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func enumerate(x interface{}) { | |
val := reflect.ValueOf(x).Elem() | |
i := 0 | |
for { | |
if(i >= val.NumField()){ | |
break | |
} | |
//valueField := val.Field(i) | |
typeField := val.Type().Field(i) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/includes/template/implementation.php | |
/includes/template/tests/<RMN-NUM>/implementation.php | |
/includes/template/tests/<RMN-NUM>/offer.php | |
/www/gui/scripts/tests/<RMN-NUM>/override.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
group :www do | |
guard :compass, :configuration_file => www, :compile_on_start => true do | |
watch(%r{www\/gui\/sass\/.*\.sass$}) | |
end | |
guard :livereload do | |
watch(%r{www\/gui\/build\/js\/.+\.(js)$}) | |
watch(%r{www\/gui\/build\/css\/.+\.(css)$}) | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(".hdr-container, h2, h1, .offer-type, label").hide(); $("textarea").attr('rows',2); | |
function focus(){ | |
$("#domain").focus(); | |
} | |
$('form').off('submit',focus).on('submit',focus); | |
'' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var b='';function foo(a){if(a){b+=a+' ';return foo}else{console.log(b)}};foo("lol")("wat")("bar")(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[diff] | |
tool = custom | |
[merge] | |
tool = custom | |
[mergetool "custom"] | |
cmd = /Applications/p4merge.app/Contents/Resources/launchp4merge "\"$PWD/$BASE\"" "\"$PWD/$REMOTE\"" "\"$PWD/$LOCAL\"" "\"$PWD/$MERGED\"" | |
keepTemporaries = false | |
trustExitCode = false | |
keepBackup = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
var CSSCriticalPath = function(w, d, opts) { | |
var opt = opts || {}; | |
var css = {}; | |
var pushCSS = function(r) { | |
if(!!css[r.selectorText] === false) css[r.selectorText] = {}; | |
var styles = r.style.cssText.split(/;(?![A-Za-z0-9])/); | |
for(var i = 0; i < styles.length; i++) { | |
if(!!styles[i] === false) continue; | |
var pair = styles[i].split(": "); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var autoprefixer = require('autoprefixer'); | |
var prefixed = autoprefixer("android 4", "ios 7", "ios 6.1", "ff 23", "ios 6", "android 2.3", "android 2.2").inspect(); | |
console.log(prefixed) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Package classification API. | |
// | |
// the purpose of this application is to provide an application | |
// that is using plain go code to define an API | |
// | |
// | |
// Schemes: https | |
// Host: localhost | |
// Version: 0.0.1 | |
// |