I hereby claim:
- I am awea on github.
- I am awea (https://keybase.io/awea) on keybase.
- I have a public key ASCQZtznj2U4XEW3QGN7QTtWHGViZP0Y_G3GbyILqUFIvgo
To claim this, I am signing this object:
#!/bin/bash | |
# Script used in combinaison with https://github.com/ianmcgregor/assets-loader | |
# Assign find result to an array see: | |
# https://stackoverflow.com/questions/23356779/how-can-i-store-find-command-result-as-arrays-in-bash/23357277#23357277 | |
assets=() | |
while IFS= read -r -d $'\0'; do | |
# Remove static/ from asset path | |
assets+=("${REPLY//static\//}") |
version: '3' | |
services: | |
api: | |
image: alterway/php:5.4-apache | |
environment: | |
PHP_php5enmod: 'mysqli' | |
HTTPD_a2enmod: 'rewrite headers' | |
volumes: | |
# ./api contains my PHP application | |
- "./api:/var/www/html" |
I hereby claim:
To claim this, I am signing this object:
source 'https://rubygems.org' | |
gem 'rails', '3.2.13' | |
gem 'thin' | |
gem 'mysql2' | |
gem 'slim' | |
gem 'foreman' | |
# Model easing | |
gem 'active_attr' |
class SimpleController < ApplicationController | |
def index | |
url = 'http://www.lemonde.fr/' | |
result = open(url) | |
render :text => result.read | |
end | |
end |
gem 'redcarpet' | |
gem 'pygmentize' |
var robots = new Array(); | |
//FightCode can only understand your robot | |
//if its class is called Robot | |
var Robot = function(robot) { | |
}; | |
Robot.prototype.start = function( ev ){ |
//FightCode can only understand your robot | |
//if its class is called Robot | |
var Robot = function(robot) { | |
}; | |
Robot.prototype.onIdle = function(ev) { | |
var robot = ev.robot; | |
robot.ahead(100); |