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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.require_version '>= 1.5.1' | |
Vagrant.configure('2') do |config| | |
config.vm.box = 'precise64' | |
config.vm.box_url = 'http://files.vagrantup.com/precise64.box' | |
config.vm.network :private_network, ip: '192.168.50.5' |
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 { | |
listen 80; | |
server_name example.dev; | |
access_log /var/logs/nginx/example.dev.access.log; | |
error_log /var/logs/nginx/example.dev.error.log; | |
root /srv/www/example.dev/current/web; | |
index index.php; | |
location / { |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.require_version '>= 1.5.1' | |
Vagrant.configure('2') do |config| | |
config.vm.define 'dev' do |dev| | |
dev.vm.box = 'roots/bedrock' | |
dev.vm.network :private_network, ip: '192.168.50.5' | |
dev.vm.hostname = 'example.dev' |
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 :theme_path, Pathname.new('web/app/themes/mytheme') | |
set :local_app_path, Pathname.new('/Applications/MAMP/htdocs/mysite') | |
set :local_theme_path, fetch(:local_app_path).join(fetch(:theme_path)) | |
namespace :deploy do | |
task :compile_assets do | |
run_locally do | |
within fetch(:local_theme_path) do | |
execute :grunt, :build | |
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
It’s unbelievable that people are using words like “honesty” and “transparency” right now. | |
iThemes is a company that KNOWINGLY stored plain text passwords for 6 years. | |
Did they ever mention this until now? No. That’s not honest or transparent. | |
They were hiding it from their customers for 6 years hoping that no one would ever find out. | |
Two things are obvious about this: | |
1) They don’t know what they’re doing when it comes to security. | |
2) They don’t care about their customers enough to protect them and do things properly. |
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 Model < ActiveRecord::Base | |
enum status: { | |
cancelled: 'cancelled', | |
delayed: 'delayed', | |
final: 'final', | |
suspended: 'suspended' | |
} | |
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
vars: | |
starfighters: | |
- username: patrick | |
github: patio11 | |
name: "Patrick McKenzie" | |
- username: thomas | |
github: tqbf | |
name: "Thomas Ptacek" | |
- username: erin | |
github: boboTjones |
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
/usr/bin/gcc | |
Your gcc 4.2.x version is older than the recommended version. It may be advisable | |
to upgrade to the latest release of Xcode. | |
We couldn't detect any version of Xcode. | |
If you downloaded Xcode 4.1 from the App Store, you may need to run the installer. |
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
brew --config | |
/usr/bin/gcc | |
HOMEBREW_VERSION: 0.8 | |
HEAD: 1e472655c6b764c79f1056c956c6da2453214aba | |
HOMEBREW_PREFIX: /usr/local | |
HOMEBREW_CELLAR: /usr/local/Cellar | |
HOMEBREW_REPOSITORY: /usr/local | |
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew | |
Hardware: dual-core 64-bit penryn | |
OS X: 10.7 |
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
" Tabs and Spaces | |
set tabstop=2 | |
set shiftwidth=2 | |
set softtabstop=2 | |
set backspace=indent,eol,start | |
set expandtab | |
set autoindent | |
set smartindent | |
set smarttab |
OlderNewer