I hereby claim:
- I am jorabra on github.
- I am jorabra (https://keybase.io/jorabra) on keybase.
- I have a public key whose fingerprint is DDFE 6FB2 BADD 14AA 771A 6320 8A72 0346 E94C 9248
To claim this, I am signing this object:
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |
using System; | |
using System.Net.Http; | |
using System.Net.Http.Headers; | |
using System.Threading.Tasks; | |
using System.Web.Http; | |
using Newtonsoft.Json.Linq; | |
namespace Controllers | |
{ |
I hereby claim:
To claim this, I am signing this object:
highlight ColorColumn ctermbg=235 guibg=#2c2d27 | |
" In Vim >= 7.3, also highlight columns 100+ | |
if exists('+colorcolumn') | |
" (I picked 120-320 because you have to provide an upper bound and 320 just | |
" covers a 1080p GVim window in Ubuntu Mono 11 font.) | |
let &colorcolumn="80,".join(range(100,320),",") | |
else | |
" fallback for Vim < v7.3 | |
autocmd BufWinEnter * let w:m2=matchadd('ErrorMsg', '\%>80v.\+', -1) |
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
# http://dingleberry.me/2008/10/play-rar-files-with-vlc-mplayer/ | |
unrar p -inul $1 | mplayer -cache 64000 -cache-min 50 - |
private void ValidateKeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e) | |
{ | |
if (!char.IsControl(e.KeyChar) && !char.IsDigit(e.KeyChar) && e.KeyChar != '.') | |
{ | |
e.Handled = true; | |
} | |
// Only allow one decimal point | |
if (e.KeyChar == '.' && (sender as StxTextBox).Text.IndexOf('.') > -1) | |
{ |