cd /var/www
git clone https://github.com/nectify/deployinator.git
This file contains hidden or 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
var delayedTimeout = function( callback, initialTime, maxTime ) { | |
this.currentTime = initialTime; | |
this.callback = callback; | |
this.maxTime = 0 || maxTime; | |
this.nextTick(); | |
} | |
delayedTimeout.prototype = { |
This file contains hidden or 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
var randomSign = function() { | |
return Math.cos( Math.round( Math.random() ) * Math.PI ); | |
}; |
This file contains hidden or 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
module DbBackup | |
@queue = :db_backup | |
def perform( forced_filename = nil ) | |
config = Rails.configuration.database_configuration | |
database = config[Rails.env]["database"] | |
username = config[Rails.env]["username"] | |
password = config[Rails.env]["password"] | |
dumps_path = Rails.root.join('tmp', 'dumps').to_s |
This file contains hidden or 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
!!! 5 | |
%html | |
%head | |
%title= "Your Website" | |
%meta{ :content => "", :name => "description" } | |
%meta{ :content => "", :name => "author" } | |
%meta{ :content => "3 days", :name => "revisit-after" } | |
%link{ :href => "http://creativecommons.org/licenses/by/3.0/", :rel => "license", :title => "Creative Commons Attribution 3.0 Unported License" } | |
%link{ :href => "/feed", :rel => "alternate", :title => "Atom", :type => "application/atom+xml" } | |
%link{ :href => "/css/screen.css", :media => "screen", :rel => "stylesheet" } |
This file contains hidden or 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 'https://rubygems.org' | |
gem "github_api" | |
gem "highline" |
This file contains hidden or 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/env ruby | |
out = IO.popen('identify ' + ARGV[0]) | |
puts out.readlines.join().split(' ')[2] |
- Overall Conference Planning
- The Auditorium
- The Auditorium : Talks Themes
- Conference Room
Mise à jour : https://github.com/robink/take-off-conf-convince-your-boss/blob/master/convince_your_boss_fr.md
Lille accueillera de nouveau, les 30 et 31 janvier prochains à EuraTechnologies, l’évènement Take Off, un festival international de code qui réunira dans la capitale des Flandres plus de 250 inventeurs et créateurs du nouveau monde numérique.
Lille est une métropole dynamique à 50 minutes de Paris (Gare du Nord), 30 min de Bruxelles (Gare du Midi) et 90 minutes de Londres (St Pancras). Les hôtels accessibles et le centre historique permettent de concilier un bon moment touristique avec une conférence d'exception !
Au programme cette année des sujets axés autour de 10 thèmes principaux (autant de bonnes raisons de venir) tels que:
This file contains hidden or 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
# foo(mandatory, [options], callback) | |
foo = ([mandatoryArg, options]..., callback) -> | |
options = {} if options is callback |