Skip to content

Instantly share code, notes, and snippets.

View frop's full-sized avatar

Felipe Pisa frop

  • OLX Group
  • Porto, Portugal
View GitHub Profile
@njvitto
njvitto / deploy.rake
Created April 11, 2010 16:56 — forked from RSpace/deploy.rake
Rakefile to deploy and rollback to Heroku in two different environments (staging and production) for the same app
#Deploy and rollback on Heroku in staging and production
task :deploy_staging => ['deploy:set_staging_app', 'deploy:push', 'deploy:restart', 'deploy:tag']
task :deploy_production => ['deploy:set_production_app', 'deploy:push', 'deploy:restart', 'deploy:tag']
namespace :deploy do
PRODUCTION_APP = 'YOUR_PRODUCTION_APP_NAME_ON_HEROKU'
STAGING_APP = 'YOUR_STAGING_APP_NAME_ON_HEROKU'
task :staging_migrations => [:set_staging_app, :push, :off, :migrate, :restart, :on, :tag]
task :staging_rollback => [:set_staging_app, :off, :push_previous, :restart, :on]
@fgbreel
fgbreel / sshd_conf.sh
Created November 19, 2012 16:50
SFTP with OpenSSH
Subsystem sftp "internal-sftp -u 0002"
Match Group sftponly
ChrootDirectory %h
AllowTCPForwarding no
X11Forwarding no
ForceCommand internal-sftp -u 0002
@kalecser
kalecser / kk_readme.md
Last active February 3, 2019 23:36
Kalecser Kurtz - README - WIP

Kalecser Kurtz - (README - WIP)

Sobre o documento

Este documento é um um trabalho em andamento e tem como objetivo ser uma documentação sobre mim.

Motivação;

  • Servir como referência para que possamos trabalhar melhor juntos;
  • Instrumento de auto-conhecimento e reflexão sobre minha carreira;