- Rails
- Docker 1.8.3
- Centurion https://github.com/newrelic/centurion
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
require 'content_formatter' | |
describe ContentFormatter do | |
describe "awesome" | |
it "returns awesome when AW is given" do | |
text = "AW" | |
expect(ContentFormatter.awesome(text)).to eq("Awesome") | |
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
Show hidden characters
{ | |
"bold_folder_labels": true, | |
"caret_style": "phase", | |
"color_scheme": "Packages/Material Theme/schemes/Material-Theme.tmTheme", | |
"copy_with_empty_selection": false, | |
"font_size": 12.0, | |
"ignored_packages": | |
[ | |
"Vintage" | |
], |
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
# Path to your oh-my-zsh configuration. | |
ZSH=$HOME/.oh-my-zsh | |
# Set name of the theme to load. | |
# Look in ~/.oh-my-zsh/themes/ | |
# Optionally, if you set this to "random", it'll load a random theme each | |
# time that oh-my-zsh is loaded. | |
ZSH_THEME="robbyrussell" | |
# Example aliases |
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
group :test do | |
gem 'simplecov', require: false | |
gem 'factory_girl_rails' | |
gem 'faker' | |
gem 'pry-rails' | |
gem 'pry-rescue' | |
gem 'database_cleaner' | |
gem 'capybara' | |
gem 'capybara-screenshot' | |
end |
- Take a parent repository
[email protected]:Example/example.git
- Take a child repository
[email protected]:Example/child.git
cd child;
git checkout master;
git remote add upstream [email protected]:Example/example.git;
git checkout -b parent;
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
<?php | |
function lv2_add_bootstrap_input_classes( $args, $key, $value = null ) { | |
/* This is not meant to be here, but it serves as a reference | |
of what is possible to be changed. | |
$defaults = array( | |
'type' => 'text', | |
'label' => '', | |
'description' => '', |
#dev/server #dev/scripts
This is the setup guide for Certbot on Ubuntu 16.04 NGINX
https://certbot.eff.org/#ubuntuxenial-nginx
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:certbot/certbot
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
# NGINX CONFIG W/ SSL TEMPLATE | |
#dev/wordpress #dev/snippets #dev/server | |
``` | |
server { | |
listen 80; | |
listen [::]:80; | |
server_name www.example.com; | |
return 301 https://$host$request_uri; | |
} |
OlderNewer