Skip to content

Instantly share code, notes, and snippets.

View jeffreygnatek's full-sized avatar
🌴
Palm trees.

Jeff Gnatek jeffreygnatek

🌴
Palm trees.
  • Invisible Machine
  • Holyoke, Massachusetts
View GitHub Profile
@jeffreygnatek
jeffreygnatek / keybase.md
Created June 24, 2019 00:00
Keybase proof

Keybase proof

I hereby claim:

To claim this, I am signing this object:

{
"editor.multiCursorModifier": "ctrlCmd",
"editor.formatOnPaste": true,
"editor.fontFamily": "'Fira Code', Menlo, Monaco, 'Courier New', monospace",
"editor.fontLigatures": true,
"editor.insertSpaces": true,
"editor.renderWhitespace": "all",
// "editor.lineNumbers": "relative",
"editor.tabSize": 2,
"window.zoomLevel": 3,

Keybase proof

I hereby claim:

  • I am jeffreygnatek on github.
  • I am invisiblemachine (https://keybase.io/invisiblemachine) on keybase.
  • I have a public key whose fingerprint is 6F24 4E25 962B 6AA4 08DA 6D1F DE48 F52E BB2A FACE

To claim this, I am signing this object:

import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
msg: null,
actions: {
fixSpelling(msg) {
if(msg === "3") {
msg = "e";
}
@jeffreygnatek
jeffreygnatek / gist:c7e4dc36f29208058045d9dbf7bc66af
Created October 7, 2016 15:56 — forked from brs14ku/gist:d2c0411785a27a937623
Timber + Gravity Forms Dynamic Population of Fields
$gravityfunction = new Twig_SimpleFunction('displaygform', function ($id, $eventName) {
$form = gravity_form($id,false, false, false, array('event_name'=>$eventName));
return $form;
});
$twig->addFunction($gravityfunction);
@jeffreygnatek
jeffreygnatek / countries.topo.json
Created December 8, 2015 17:54 — forked from moklick/countries.topo.json
Maps with TopoJSON, Leaflet & Chroma.js http://blog.webkid.io
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
alias ebash='subl ~/.extra'
alias rbash='. ~/.bash_profile'
alias cm='cd ~/CustomMade'
alias reloadvm='cd ~/vagrant; vagrant reload'
alias vm='cd ~/vagrant'
alias workit='cd ~/vagrant; vagrant ssh -- -A'
alias gs='git status'
alias glp='git log -p'
alias ga='git add'
alias gaa="git add --a"
@jeffreygnatek
jeffreygnatek / retina_media_query.css
Created August 13, 2012 19:53
basic retina / high res media query
@media (min--moz-device-pixel-ratio: 1.5),
(-o-min-device-pixel-ratio: 3/2),
(-webkit-min-device-pixel-ratio: 1.5),
(min-resolution: 1.5dppx) {
#selector {
background-image: url(image@2x.png);
background-size: 15px auto; /* example */
}
}