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
# Source default profile first | |
source $HOME/.profile | |
# 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. |
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
box: wercker/ruby | |
build: | |
steps: | |
- bundle-install | |
- script: | |
name: sass compile | |
code: bundle exec sass --style compressed assets/scss/styles.scss:assets/css/styles.min.css --debug-info | |
- script: | |
name: generate site | |
code: bundle exec jekyll build |
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
box: wercker/python | |
build: | |
steps: | |
- script: | |
name: pip install | |
code: | | |
sudo pip install -r 'my-requirements.txt' |
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
box: pjvds/scala | |
services: | |
- wercker/postgresql | |
- wercker/rabbitmq | |
- wercker/redis | |
build: | |
steps: | |
- script: | |
name: install clojure | |
code: | |
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
box: wercker/ruby # <--- or: wercker/python, wercker/nodejs, ... | |
build: | |
steps: | |
- script: | |
name: Print hello world! | |
code: echo "hello world!" | |
deploy: | |
steps: | |
- script: | |
name: Install AppFog gem |
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
package main | |
import ( | |
"encoding/json" | |
"io/ioutil" | |
. "launchpad.net/gocheck" | |
"net/http" | |
"os" | |
"testing" | |
"time" |
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
box: wercker/ubuntu12.04-ruby2.0.0 | |
services: | |
- wercker/postgresql | |
build: | |
# The steps that will be executed on build | |
steps: | |
# A step that executes `bundle install` command | |
- bundle-install | |
# A step that prepares the database.yml with settings from the database you defined in services | |
- rails-database-yml: |
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
box: wercker/ubuntu12.04-ruby1.9.3 | |
services: | |
- wercker/postgresql | |
build: | |
# The steps that will be executed on build | |
steps: | |
# Install (apt-get) package foo and bar | |
- install-packages | |
packages: foo, bar | |
# A step that executes `bundle install` command |
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
package main | |
type Foo struct { | |
Bar string | |
} | |
// It does update Bar value for receiving struct | |
// since it receives an pointer value. | |
func (foo *Foo) ChangeBarPtr(bar string) { | |
foo.Bar = bar |
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
box: wercker/python | |
build: | |
steps: | |
- script: | |
name: install dependencies | |
code: | | |
sudo pip install | |
- script: | |
name: test | |
code: | |