Skip to content

Instantly share code, notes, and snippets.

View nicolasrouanne's full-sized avatar

Nicolas Rouanne nicolasrouanne

  • Software Engineer
  • Marseille, France
View GitHub Profile
@nicolasrouanne
nicolasrouanne / MichelAnge
Last active June 19, 2020 13:11
NGINX configuration for Mac OS X
server {
listen 8080;
server_name localhost;
root /var/www/MichelAnge;
index index.html index.html;
#error_page 404 /404.html;
# redirect server error pages to the static page /50x.html
@nicolasrouanne
nicolasrouanne / .gitignore
Last active February 6, 2017 18:01
Shell script to generate push notifications certificates on many iOS bundles in just one command
*.yaml
@nicolasrouanne
nicolasrouanne / git-sync.sh
Created July 7, 2016 10:30
Mini script to synchronise JPM and Nomad remotes for ADaM project
#!/bin/bash
# Mini script to synchronise JPM and Nomad remotes for ADaM project
# Prerequisites:
# * script must be in parent directory from ADaM repository
# * remotes must be configured as 'JPM' and 'Nomad'
# * branches to be synced and on local repo should be 'dev', 'staging', 'master'
cd ADaM
git pull
@nicolasrouanne
nicolasrouanne / parse_tp_trello.pl
Created October 7, 2016 08:18
Perl script to parse Targetprocess User Stories (and other objects) and print them out
#!/usr/local/bin/perl
use strict;
use warnings;
use MIME::Base64;
use REST::Client;
use utf8;
use Encode qw( encode_utf8 );
use JSON qw( decode_json );
@nicolasrouanne
nicolasrouanne / .git-completion.bash.md
Last active December 16, 2022 15:08
Git and Shell configuration on my local MacOS machine

Git Completion by Git

Add the git-completion feature by copying the original .git-completion.bash from the official Git repository to your system.

@nicolasrouanne
nicolasrouanne / .editorconfig
Created June 23, 2017 15:04
IDE configuration files
# editorconfig.org
root = true
[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
@nicolasrouanne
nicolasrouanne / CODE_OF_CONDUCT.md
Last active February 21, 2019 07:49
Github default configuration files. To add in a `.github` dir at the root of your project (used for Nomad Education)

Code of Conduct

Prerequisites

We are all adults. Capable of having adult discussions.

Our Standards

We should always be capable to criticize other people's work as long as the discussion is constructive.

Our Responsibilities

As engineers, we know that there's always some compromises to do (time to market, urgent vs. important).

@nicolasrouanne
nicolasrouanne / launch.json
Last active November 22, 2017 14:15
VSCode settings file for node js project
{
// Use IntelliSense to learn about possible Node.js debug attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
@nicolasrouanne
nicolasrouanne / Perl.md
Last active July 29, 2020 21:19
Perl cheatsheet

Pearl cheatsheet

Perl should be installed on Mac OS using Brew

$ brew install perl

If perl is already installed, this will throw an error. You should then install perl with perlbrew. Perlbrew is a versions environment for Perl, such as rbenv for ruby and nvm for node. See a complete guide for perlbrew.

@nicolasrouanne
nicolasrouanne / SIGNING_COMMITS.md
Last active June 2, 2021 19:25
Set up GPG commit signing for Github

Signing Commits

Signing commits is a way to authenticate your commits, since anybody can pretend using your email when pushing to a repository (as long as one has access to it)

Initial set up

Create or import a GPG Key

Create a GPG Key

First you need to create a GPG Key Pair. Follow Github guide explaining each step: Generating a new GPG Key

Do not forget to add the passphrase to your favorite password manager (1Password for instance 🔒👌)