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
Show hidden characters
[ | |
// Remapping of *some* SublimeREPL shortcuts | |
{ "keys": ["ctrl+super+s"], "command": "repl_transfer_current", "args": {"scope": "selection"}}, | |
{ "keys": ["ctrl+shift+,", "s"], "command": "repl_transfer_current", "args": {"scope": "selection", "action":"view_write"}}, | |
{ "keys": ["ctrl+shift+super+f"], "command": "repl_transfer_current", "args": {"scope": "file"}}, | |
{ "keys": ["shift+ctrl+,", "f"], "command": "repl_transfer_current", "args": {"scope": "file", "action":"view_write"}}, | |
{ "keys": ["ctrl+super+l"], "command": "repl_transfer_current", "args": {"scope": "lines"}}, | |
{ "keys": ["shift+ctrl+,", "l"], "command": "repl_transfer_current", "args": {"scope": "lines", "action":"view_write"}}, | |
{ "keys": ["ctrl+super+b"], "command": "repl_transfer_current", "args": {"scope": "block"}}, | |
{ "keys": ["shift+ctrl+,", "b"], "command": "repl_transfer_current", "args": {"scope": "block", "action":"view_write"}} |
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
# sentio model v3 | |
# use: | |
# Sentio gives a clients best employees the test | |
# Those employes are compared to previous sentio test takers | |
# to determine which characteristics are most similar to | |
# best employees. | |
# output: | |
# 1) output scores (0-10) for total and for each input variable | |
# for the "best" employees and the employees which need to be scored | |
# 2) parameters from regression |
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
#!/bin/bash | |
open -a Google\ Chrome "https://www.youtube.com/watch?v=mjqn6j2VM2U" | |
sleep 16 | |
say "roll out" | |
sleep 0.8 | |
say "roll out" | |
sleep 0.8 | |
say "roll out" | |
sleep 0.8 |
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
// This is a peek behind the curtain at @zaarly's epic-fantasy-heavy-metal-themed internal styleguide, better known as Hammer. | |
// | |
// With this, you can add the .fancy class to a symbolset span inside of a heading tag to add a nice circular background. | |
// Some adjustments to the positioning of a particular glyph may be necessary. | |
// Each :before is set to postion: relative, so fine-tuning a .fancy glyph is simple, and won't affect the position of the circle. | |
// | |
// Example markup (in HAML): | |
// %h1 | |
// %span.ss-check.fancy | |
// Cool Guy Settings™ saved! |
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
grunt.initConfig({ | |
// ... | |
cdn: { | |
options: { | |
/** @required - root URL of your CDN (may contains sub-paths as shown below) */ | |
cdn: 'https://YOUR-USERNAME.github.io/YOUR-REPO/', | |
/** @optional - if provided both absolute and relative paths will be converted */ | |
flatten: true | |
/** @optional - if provided will be added to the default supporting types */ | |
// supportedTypes: { 'phtml': 'html' } |
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
// add this to your configuration | |
cdn: { | |
options: { | |
cdn: '//YOUR-USERNAME.com/YOUR-REPO-NAME/', | |
flatten: true | |
}, | |
dist: { | |
src: ['./dist/*.html', './dist/styles/{,*/}*{,*/}*.css'] | |
} | |
} |
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
/** @jsx React.DOM */ | |
'use strict'; | |
var data = { | |
message: 'Dumb Dumb', | |
text: "green", | |
color: "green" | |
} | |
var HelloWorld = React.createClass({ | |
getInitialState: function() { |
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
(ns test2 | |
"Let's start with something short." | |
(:require [dommy.core :as dom] | |
[inky.sketch :as sketch]) | |
(:use-macros [dommy.macros :only (node)])) | |
(sketch/page-style! | |
[:div.box {:position "absolute" | |
:top "48%" | |
:bottom "48%" |
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
(ns test | |
"Let's start with something short." | |
(:require [dommy.core :as dom] | |
[inky.sketch :as sketch]) | |
(:use-macros [dommy.macros :only (node)])) | |
(sketch/page-style! | |
[:div.box {:position "absolute" | |
:top "48%" | |
:bottom "48%" |
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
(ns first | |
"Let's start with something short." | |
(:require [dommy.core :as dom] | |
[inky.sketch :as sketch]) | |
(:use-macros [dommy.macros :only (node)])) | |
(sketch/page-style! | |
[:div.box {:position "absolute" | |
:top "48%" | |
:bottom "48%" |
NewerOlder