Skip to content

Instantly share code, notes, and snippets.

@RobertoSchneiders
RobertoSchneiders / stop_all.bat
Created May 23, 2016 19:26
Para todos os serviços do windows com um determinado nome
wmic service where "name like 'MondeServer%'" call stopservice
@RobertoSchneiders
RobertoSchneiders / README.md
Created May 22, 2016 02:29 — forked from joakimk/README.md
CircleCI elixir build example

This runs a build for a small elixir (phoenix) project in about 40 seconds by caching as much of the compiled files as possible.

We've been using this for months in multiple projects without any issues. Please ping be if there is any issues with this script and I'll update it.

It should be generic enough to work on any elixir app using mix.

If you have a elixir_buildpack.config, then enable that section in the build script to keep versions in sync!

@RobertoSchneiders
RobertoSchneiders / install_ex.sh
Created May 21, 2016 17:33 — forked from jimsynz/install_ex.sh
I use this to install Elixir on Codeship.
#!/bin/sh
# I use this to install Elixir on our codeship instances for testing. YMMV.
# curl -O https://gist.githubusercontent.com/jamesotron/44f8962cddef781ab830/raw/e75599e95587cbca26e707505fd40dd0f26eb0f5/install_ex.sh
# . ~/install_ex.sh
# You can override your Elixir and Erlang versions from your shell when you call ./install_ex.sh.
ERLANG_VERSION=${ERLANG_VERSION:-18.0.3}
ELIXIR_VERSION=${ELIXIR_VERSION:-1.0.5}
@RobertoSchneiders
RobertoSchneiders / sidekiq.config
Created October 9, 2015 19:01 — forked from hiattp/sidekiq.config
Sidekiq Config for Elastic Beanstalk
# Sidekiq interaction and startup script
files:
"/opt/elasticbeanstalk/hooks/appdeploy/post/50_restart_sidekiq.sh":
mode: "000755"
content: |
#!/bin/bash
. /opt/elasticbeanstalk/hooks/common.sh
. /opt/elasticbeanstalk/support/envvars