Skip to content

Instantly share code, notes, and snippets.

@aymerick
aymerick / gitconfig-git
Created May 2, 2018 14:35 — forked from stevenh512/gitconfig-git
URL rewriting in .gitconfig
# Use git and git+ssh instead of https
[url "git://github.com/"]
insteadOf = https://github.com/
[url "git@github.com:"]
pushInsteadOf = "git://github.com/"
[url "git@github.com:"]
pushInsteadOf = "https://github.com/"

Keybase proof

I hereby claim:

  • I am aymerick on github.
  • I am aymerick (https://keybase.io/aymerick) on keybase.
  • I have a public key ASC_OslAVa5jatty-e5w4uQgCMn4m5Ej1bB4edLSc7U-BAo

To claim this, I am signing this object:

@aymerick
aymerick / readme.md
Last active February 16, 2023 10:34
How to play neogeo games on your PSP FAT

How to play neogeo games on your PSP FAT

  1. Download the MVSPSP v2.3.1 (PSP Fat) emulator: http://www.gamergen.com/telecharger/mvspsp-v2-3-1-psp-fat-52301

  2. Unarchive and upload it into your PSP: /PSP/GAME/mvspsp

  3. Find a correct neogeo.zip file on the internet, then upload it into: /PSP/GAME/mvspsp/roms

  4. Upload .zip games roms into: /PSP/GAME/mvspsp/roms

@aymerick
aymerick / styles.less
Created September 1, 2015 15:27
My Atom stylesheet
/*
* Your Stylesheet
*
* This stylesheet is loaded when Atom starts up and is reloaded automatically
* when it is changed and saved.
*
* Add your own CSS or Less to fully customize Atom.
* If you are unfamiliar with Less, you can read more about it here:
* http://lesscss.org
*/
@aymerick
aymerick / sass.go
Created September 1, 2015 15:07
go-libsass compilation example
package main
import (
"errors"
"fmt"
"os"
"path"
"path/filepath"
libsass "github.com/wellington/go-libsass"
@aymerick
aymerick / irc_logs.txt
Created July 31, 2014 12:10
fotopedioups
./2011-09-27.txt:[12:09:16] nicolas: ha non oups
./2011-09-28.txt:[18:10:53] kali: oups
./2011-10-04.txt:[16:59:32] aymerick_: oups non, pardon, j'avais mal compris
./2011-10-12.txt:[13:02:17] kali: aymerick: oups, j'ai fermé un viex screen à toi sur a02.prod
./2011-10-14.txt:[16:12:02] aymerick_: oups pardon
./2011-10-17.txt:[18:43:03] Oct: oups
./2011-10-18.txt:[11:37:47] kali: oups
./2011-10-20.txt:[18:11:45] aymerick_: oups
./2011-10-21.txt:[11:44:38] aymerick_: oups :)
./2011-10-31.txt:[15:24:11] kali: oups
@aymerick
aymerick / activr.md
Last active August 29, 2015 13:56
Activr introduction blog post
@aymerick
aymerick / fwissr.md
Last active December 30, 2015 06:19
Fwissr introduction blog post

Centralize your configurations

This article introduces Fwissr, our configuration registry tool that we use to centralize all our configurations.

centralize your configuration files

Photo by National Library of Norway

More than five years ago, when we started to build what became fotopedia, we had a main Rails application, a Merb application for user authentication and another Merb application for photo upload. These applications were deployed by Capistrano, and our servers were configured with Puppet with some scripts to glue everything together.

class Prout
def initialize(delegate)
@delegate = delegate
end
def delegate
@delegate
end
def method_missing(sym, *args, &blk)
#
# /my_recipe/librairies/shared.rb
#
class Chef
class Recipe
# Fill an attribute with given hash
def attribute_from_hash(hash)
attribute = Mash.new