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
Sidekiq.configure_server do |config| | |
config.redis = { :url => 'redis://redis.example.com:7372/12', :namespace => 'mynamespace', size: ???? } | |
end | |
Sidekiq.configure_client do |config| | |
config.redis = { :url => 'redis://redis.example.com:7372/12', :namespace => 'mynamespace', size: ???? } | |
end |
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
2014-10-27T04:15:06.954Z 21211 TID-481os DEBUG: Got TTIN signal | |
2014-10-27T04:15:06.955Z 21211 TID-481os INFO: Thread TID-481os | |
2014-10-27T04:15:06.955Z 21211 TID-481os INFO: /home/deploy/.bundler/foobar_production/ruby/2.0.0/gems/sidekiq-3.2.5/lib/sidekiq/cli.rb:143:in `backtrace' | |
/home/deploy/.bundler/foobar_production/ruby/2.0.0/gems/sidekiq-3.2.5/lib/sidekiq/cli.rb:143:in `block in handle_signal' | |
/home/deploy/.bundler/foobar_production/ruby/2.0.0/gems/sidekiq-3.2.5/lib/sidekiq/cli.rb:140:in `each' | |
/home/deploy/.bundler/foobar_production/ruby/2.0.0/gems/sidekiq-3.2.5/lib/sidekiq/cli.rb:140:in `handle_signal' | |
/home/deploy/.bundler/foobar_production/ruby/2.0.0/gems/sidekiq-3.2.5/lib/sidekiq/cli.rb:82:in `run' | |
/home/deploy/.bundler/foobar_production/ruby/2.0.0/gems/sidekiq-3.2.5/bin/sidekiq:8:in `<top (required)>' | |
/home/deploy/.bundler/foobar_production/ruby/2.0.0/bin/sidekiq:23:in `load' | |
/home/deploy/.bundler/foobar_production/ruby/2.0.0/bin/sidekiq:23:in `<main>' |
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
1:00:54 -- | irc: connecting to server chat.freenode.net/7000 (SSL)... | |
3.twitmusic│21:00:55 -- | gnutls: connected using 1024-bit Diffie-Hellman shared secret exchange | |
│21:00:55 -- | gnutls: receiving 2 certificates | |
│21:00:55 -- | - certificate[1] info: | |
│21:00:55 -- | - subject `OU=Domain Control Validated,OU=Gandi Standard Wildcard SSL,CN=*.freenode.net', issuer `C=FR,O=GANDI SAS,CN=Gandi Standard SSL CA', RSA key 2048 bits, signed | |
│ | using RSA-SHA1, activated `2015-01-03 00:00:00 UTC', expires `2016-01-15 23:59:59 UTC', SHA-1 fingerprint `1beef688a9641fdfd511282b668be200320a317b' | |
│21:00:55 -- | - certificate[2] info: | |
│21:00:55 -- | - subject `C=FR,O=GANDI SAS,CN=Gandi Standard SSL CA', issuer `C=US,ST=UT,L=Salt Lake City,O=The USERTRUST Network,OU=http://www.usertrust.com,CN=UTN-USERFirst-Hardware', | |
│ | RSA key 2048 bits, signed using RSA-SHA1, activated `2008-10-23 00:00:00 UTC', expires `20 |
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
import DS from 'ember-data'; | |
export default DS.ActiveModelAdapter.extend({ | |
namespace: 'api/v1', | |
host: window.location.origin, | |
headers: function() { | |
var headers = {}; | |
headers.Authorization = 'Token access_token=' + this.currentSessionService.token; | |
headers.X-CSRF-Token = "T/1t661w9KMhKr3RT6QJwzKLfswnGMN1ojHp9DmPsZY=bbb"; |
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
" Change leader to a comma because the backslash is too far away. That means all \x commands turn into ,x | |
" The mapleader has to be set before vundle starts loading all the plugins. | |
let mapleader="\<space>" | |
" ================ Vundle Config ==================== | |
set nocompatible " be iMproved, required | |
filetype off " required | |
" set the runtime path to include Vundle and initialize |
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
Plugin 'tpope/vim-fugitive' | |
Plugin 'Lokaltog/vim-easymotion' | |
Plugin 'tpope/vim-rails.git' | |
Plugin 'kchmck/vim-coffee-script' | |
Plugin 'tomasr/molokai' | |
Plugin 'morhetz/gruvbox' | |
Plugin 'tomtom/tcomment_vim' | |
Plugin 'scrooloose/nerdtree' | |
Plugin 'kien/ctrlp.vim' | |
Plugin 'ervandew/supertab' |
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
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName:'Ember Twiddle', | |
actions: { | |
save(model) { | |
} | |
} | |
}); |
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
curl --include \ | |
--request POST \ | |
--header "X-CSRF-TOKEN csrftoken_here" \ | |
--data "user[username]=foo" \ | |
.... | |
"http://localhost:3000/users" | |
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
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle' | |
}); |
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
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
init() { | |
this._super(...arguments); | |
this.isEditing = false; | |
} | |
}); |
OlderNewer