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
.vim-mode-plus-status(@color) { | |
color: contrast(@color); | |
background: @color; | |
border-radius: 3px; | |
line-height: 1em; | |
padding: 5px 8px; | |
} | |
atom-workspace.theme-atom-material-ui { | |
.status-bar-vim-mode-plus-insert { |
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
global !p | |
def camel(line): | |
if not line: return '' | |
res = re.sub(r'[_-].?',lambda x: x.group()[1].upper() if len(x.group()) > 1 else '' ,line) | |
res = res.replace('.', '') | |
if not res: return '' | |
return res[0].lower() + res[1:] | |
def filename(path): | |
return os.path.splitext(os.path.basename(path))[0] |
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 config = { | |
wolframKey: 'my api key here' | |
}; | |
module.exports = config; |
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
" File: .vimrc | |
" Author: Chris Rolfs | |
" | |
" Gotta be first | |
set nocompatible | |
filetype off | |
set guifont=Meslo\ LG\ S\ DZ\ Regular\ for\ Powerline:h14 |
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
/* | |
If terminal doesn't have focus, it won't execute the child process. | |
If it does have focus, the process will execute and then check | |
to see if the windows title matches your regular expression. | |
Only then will timeMet be set and the timeout will run | |
*/ | |
var timeMet = false; | |
setTimeout(function(){ | |
if(!timeMet){ |
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
startPos = own.position | |
endPos = [startPos[0], startPos[1] + 1, startPos[2]] | |
print(startPos) | |
print(endPos) | |
rayed = own.rayCast(endPos, startPos) | |
print(rayed) |
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
extends layout | |
block content | |
h1 Hello Boulder! | |
script. | |
var names = !{JSON.stringify(data)}; | |
script(src="main.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
<snippet> | |
<content><![CDATA[ | |
var ${1:my}Controller = { | |
${2:index}: function(req, res){ | |
${3:// body} | |
}${0} | |
}; | |
module.exports = ${1}Controller; | |
]]></content> |
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
# Path to your oh-my-zsh configuration. | |
ZSH=$HOME/.oh-my-zsh | |
# Set name of the theme to load. | |
# Look in ~/.oh-my-zsh/themes/ | |
# Optionally, if you set this to "random", it'll load a random theme each | |
# time that oh-my-zsh is loaded. | |
ZSH_THEME="my" | |
# ZSH_THEME="zhann" | |
DEFAULT_USER="chris" |
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
[ | |
// movement in command mode | |
// up | |
{ | |
"keys": ["e"], | |
"command": "set_motion", | |
"args": { | |
"motion": "move", | |
"motion_args": {"by": "lines", "extend": true, "forward": false } |
NewerOlder