Skip to content

Instantly share code, notes, and snippets.

Happy Freelancing

Je m’appelle Thibaut Assus, j’ai 30 ans, je suis freelance en développement web et ma technologie de prédilection est le Ruby on Rails. J’ai maintenant un peu d’expérience dans le domaine du freelancing et ce document a pour but de partager avec vous une partie de cette expérience.

Mon parcours de développeur Ruby

add2AndProduct1 : List Int -> Int
add2AndProduct1 list =
List.product (List.map (\e -> e + 2) list)
add2AndProduct2 : List Int -> Int
add2AndProduct2 list =
list
|> List.map (\e -> e + 2)
|> List.product
(function() {
'use strict';
function F2(fun)
{
function wrapper(a) { return function(b) { return fun(a,b); }; }
wrapper.arity = 2;
wrapper.func = fun;
return wrapper;
export default function y (elmApp) {
var globalReader = function () {
var reader = new FileReader()
reader.onload = (function (event) {
elmApp.ports.imageRead.send(event.target.result)
})
return reader
}()
# frozen_string_literal: true
class PlacesController < ApplicationController
def index
render json: RIP.get(
:gplaces,
'autocomplete/json',
input: params[:q]
)
moveBottomRight ({ x, y } as coords) =
{ coords | x = x + 1, y = y + 1 }
all : Test
all =
describe "A Test Suite"
[ test "Collision" <|
\() ->
Expect.false "Collision didn't work" (Character.collision initialKoala initialFlag)
, test "CollisionPosition" <|
\() ->
Expect.false "Initial state of game is loosing" (Game.isLoosing Game.initial)
, test "CollisionPosition" <|
step : Game -> Position -> Game
step game arrows =
game
|> handleWinning
|> handleLoosing
|> stepCharacter arrows
|> stepEnemies
isWinning : Game -> Bool
class LogoUploader < CarrierWave::Uploader::Base
include Cloudinary::CarrierWave
def extension_white_list
%w(jpg jpeg gif png)
end
process :convert => 'png'
process :resize_to_limit => [1024, 1024]
@tibastral
tibastral / .env
Last active March 17, 2016 15:11 — forked from dblandin/.env
Managing RubyMotion environment variables
TESTFLIGHT_APP_TOKEN=90210
TESTFLIGHT_TEAM_TOKEN=90210
TESTFLIGHT_API_TOKEN=90210
BUGSENSE_API_KEY=90210
BUGSENSE_API_TOKEN=90210
DEVELOPMENT_CERTIFICATE_NAME="iPhone Developer: yourName"
DEVELOPMENT_PROVISIONING_PROFILE_PATH="/path/to/development.mobileprovision"