This file contains hidden or 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 FindProxyForURL (url, host) { | |
| if (dnsDomainIs(host, '.k8s')) { | |
| return 'PROXY 127.0.0.1:80'; | |
| } | |
| return 'DIRECT'; | |
| } |
This file contains hidden or 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
| #include "mcp_can.h" | |
| const int SPI_CS_PIN = 9; | |
| const int LED=13; | |
| boolean ledON=1; | |
| MCP_CAN CAN(SPI_CS_PIN); | |
| void setup() | |
| { | |
| Serial.begin(115200); |
This file contains hidden or 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 foo = 1; | |
| (function () { | |
| if (!foo) { | |
| var foo = 2; | |
| } | |
| console.log(foo); | |
| })(); | |
This file contains hidden or 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
| /*! | |
| * Module dependencies. | |
| */ | |
| var Heroku = require('heroku-client') | |
| , _ = require('lodash') | |
| , async = require('async') | |
| , fs = require('fs') | |
| , path = require('path') |
This file contains hidden or 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
| <link rel="import" href="../components/polymer/polymer.html"> | |
| <polymer-element name="my-element"> | |
| <template> | |
| </template> | |
| <script> |
This file contains hidden or 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
| let g:github_user= 'nooks' | |
| "let g:gist_open_browser_after_post = 1 | |
| let g:gist_clip_command = 'pbcopy' |
This file contains hidden or 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
| let g:github_user= 'nooks' | |
| let g:gist_browser_command = '/usr/bin/open -a /Applications/Google Chrome.app %URL%' |
This file contains hidden or 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
| snippet async.apply | |
| async.apply(${1:Class}.bind(${1/(\w+).*/$1/}), ${2:arguments}) | |
| endsnippet |
This file contains hidden or 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
| snippet async.apply | |
| async.apply(${1:Class}.bind(${1/(\w+).*/$1/}), ${2:arguments}) | |
| endsnippet |
This file contains hidden or 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
| " Quick array creation | |
| nmap <leader>ta vF=l<Esc>:s/\%V\S\+/"&",/g<CR>A<BS><Esc>vF=2lgS[JJ:let @/ = ""<CR> |
NewerOlder