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
unloading plugin Git.add | |
unloading plugin Git.annotate | |
unloading plugin Git.commit | |
unloading plugin Git.diff | |
unloading plugin Git.flow | |
reloading Packages/Git/Git Commit Message.sublime-settings | |
unloading plugin Git.git | |
unloading plugin Git.history | |
unloading plugin Git.repo | |
unloading plugin Git.stash |
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
GIT | |
remote: git://github.com/rails/arel.git | |
revision: 24995298face1d08ffb52f6c1b0374feeb7a380b | |
specs: | |
arel (5.0.0.20140210193626) | |
GIT | |
remote: git://github.com/rails/rails.git | |
revision: 058d3c6183ef6e0e878bea37f4fe3f8f0d6758e2 | |
specs: |
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
class APIController < RocketPants::Base | |
include ActionController::Rendering, ActionController::MimeResponds, AbstractController::Layouts | |
append_view_path Rails.root.join('app', 'views') | |
... | |
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
import os | |
import sublime | |
import sublime_plugin | |
import threading | |
import subprocess | |
import functools | |
import os.path | |
import time | |
# when sublime loads a plugin it's cd'd into the plugin directory. Thus |
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
desc 'Download and import the lastest backup from S3' | |
task import_backup: :environment do | |
# Configure AWS | |
AWS.config \ | |
access_key_id: Settings.aws.backup.key, | |
secret_access_key: Settings.aws.backup.secret, | |
region: Settings.aws.backup.region | |
# Download and extract backup file | |
bucket_name = 'kc-backups' |
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
git@web02:~/repositories/manuel/myapp.git/hooks$ ls -lah | |
total 48K | |
drwxrws--- 2 git git 4.0K Dec 3 2013 . | |
drwxrws--- 7 git git 4.0K Dec 3 2013 .. | |
-rwxrwx--- 1 git git 452 Dec 3 2013 applypatch-msg.sample | |
-rwxrwx--- 1 git git 896 Dec 3 2013 commit-msg.sample | |
-rwxrwx--- 1 git git 189 Dec 3 2013 post-update.sample | |
-rwxrwx--- 1 git git 398 Dec 3 2013 pre-applypatch.sample | |
-rwxrwx--- 1 git git 1.6K Dec 3 2013 pre-commit.sample | |
-rwxrwx--- 1 git git 1.3K Dec 3 2013 prepare-commit-msg.sample |
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
# Server | |
redis_version:2.8.17 | |
redis_git_sha1:00000000 | |
redis_git_dirty:0 | |
redis_build_id:b700a3585c1549ae | |
redis_mode:standalone | |
os:Linux 3.13.0-24-generic x86_64 | |
arch_bits:64 | |
multiplexing_api:epoll | |
gcc_version:4.8.2 |
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
/* carousel */ | |
.carousel-caption { | |
-webkit-border-radius: 75px; | |
-moz-border-radius: 75px; | |
-o-border-radius: 75px; | |
border-radius: 75px; | |
} | |
.carousel-caption > h3, .carousel-caption > p { | |
color: #fff; |
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
# config/initializers/aaa_load_app_config.rb | |
# | |
# Prefixed with "aaa_" so that it is loaded first and app configs can be used in later initializers | |
require 'ostruct' | |
::AppConfig = OpenStruct.new(YAML.load_file(Rails.root.join('config', 'app_config.yml')).with_indifferent_access) |
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
set :shared_files, %w(config/database.yml config/app_config.yml public/sitemap_index.xml) | |
namespace :deploy do | |
desc 'Symlink shared configs and folders on each release.' | |
task :symlink_shared do | |
global_shared_files.each do |shared_file| | |
run "ln -nfs #{shared_path}/#{shared_file} #{release_path}/#{shared_file}" | |
end | |
end | |
end |
OlderNewer