start new:
tmux
start new with session name:
tmux new -s myname
# See http://help.github.com/ignore-files/ for more about ignoring files. | |
# compiled output | |
/dist | |
/tmp | |
/out-tsc | |
# dependencies | |
/node_modules |
require 'digest' | |
require 'date' | |
require 'faraday' | |
key = "----" | |
id = "..." | |
datetime = Time.now.utc.strftime('%Y%m%d%H%M%S') | |
digest = Digest::MD5.hexdigest("#{id}createsession#{key}#{datetime}") | |
# url = URI("http://api.smitegame.com/smiteapi.svc/createsessionJson/#{id}/#{digest}/#{datetime}") |
var Location = (function(repository){ | |
var generateGuid = function() { | |
function s4() { | |
return Math.floor((1 + Math.random()) * 0x10000) | |
.toString(16) | |
.substring(1); | |
} | |
return s4() + s4() + '-' + s4() + '-' + s4() + '-' + | |
s4() + '-' + s4() + s4() + s4(); | |
}; |
function! test#ruby#minitest#executable() abort | |
let docker = '' | |
if filereadable('./Dockerfile') | |
let docker = 'docker-compose -f docker-compose.test.yml run --rm web ' | |
endif | |
if system('cat Rakefile') =~# 'Rake::TestTask' || | |
\ (exists('b:rails_root') || filereadable('./bin/rails')) | |
if !empty(glob('.zeus.sock')) | |
return docker . 'zeus rake test' |
//TEST | |
var sailsServer = require('../../support/sailsServer'); | |
describe('AuthController', function(){ | |
var app; | |
beforeEach(function(done){ | |
sailsServer.startServer(done); |
#/plugin/ruby-refactoring.vim | |
" | |
" Author: Enrique Comba Riepenhausen (@ecomba) & Paul King (@nrocy) | |
" Email: [email protected] | |
" Email: [email protected] | |
" | |
" Acknowledgements: | |
" Thanks to Gary Bernhardt for the inspiration for this tool and the original | |
" ExtractVariable() and InlineTemp() functions. | |
" |
background do | |
set_omniauth() | |
click_link_or_button 'Sign up with Facebook' | |
end |