start new:
tmux
start new with session name:
tmux new -s myname
# http://www.mono-project.com/Compiling_Mono_on_OSX | |
require 'formula' | |
class Mono < Formula | |
#url 'http://download.mono-project.com/sources/mono/mono-3.0.6.tar.bz2' | |
#sha1 'e2187f80366fcd65c55a1ab946f8d3b39e81be77' | |
url 'http://download.mono-project.com/sources/mono/mono-2.10.9.tar.bz2' | |
sha1 '1a6e8c5a0c3d88d87982259aa04402e028a283de' | |
" Search Dash for word under cursor | |
function! SearchDash() | |
let s:browser = "/usr/bin/open" | |
let s:wordUnderCursor = expand("<cword>") | |
let s:url = "dash://".s:wordUnderCursor | |
let s:cmd ="silent ! " . s:browser . " " . s:url | |
execute s:cmd | |
redraw! | |
endfunction | |
map <leader>d :call SearchDash()<CR> |
function filterOutliers(someArray) { | |
if(someArray.length < 4) | |
return someArray; | |
let values, q1, q3, iqr, maxValue, minValue; | |
values = someArray.slice().sort( (a, b) => a - b);//copy array fast and sort | |
if((values.length / 4) % 1 === 0){//find quartiles |
For security, since this script injects CSS via AJAX, first fork the main slack night mode repo. The reason is explained here
UPDATE: The code has been modified to download the remote css to a local file and use ruby sass compiler to verify there is no malicious code in the remote css. This will error if the code has been modified to include anything malicious (i.e. script or img tags etc.) It's also been refactored to use the local file inside the js injection, it makes sure it's safe first in the very unlikely event the local file somehow differs from the remote css. The chances of this happening are remote, but this should suffice for safety.
~/lacostenycoder/scripts/ruby/
remote_repo
variable in ruby script to use YOUR repo. The rawgit.com file is crea[Unit] | |
Description=Modem Manager | |
After=polkit.service | |
Requires=polkit.service | |
ConditionVirtualization=!container | |
BindsTo=uConsoleLTE.service | |
[Service] | |
Type=dbus | |
BusName=org.freedesktop.ModemManager1 |