Skip to content

Instantly share code, notes, and snippets.

Mael rgalite

  • France
View GitHub Profile
View authorize.json
"team_id": 1234,
"code": "fkkemglogkdkjdekgkflgmp",
"access_token": "logfepvpbozqmdpig"
rgalite / i18n.js
Created Aug 4, 2017
Make node accept more locales
View i18n.js
import areIntlLocalesSupported from 'intl-locales-supported'
const localesMyAppSupports = [
if (global.Intl) {
// Determine if the built-in `Intl` has the locale data we need.
if (!areIntlLocalesSupported(localesMyAppSupports)) {
rgalite / Gemfile
Created Dec 14, 2012
Deploy with capistrano and unicorn
View Gemfile
group :development do
gem 'capistrano'
gem 'rvm-capistrano'
gem 'capistrano-unicorn', :require => false
rgalite /
Created Oct 31, 2012 — forked from ryanb/
Bootstrap Chef Solo with Bitnami Ruby AMI
#!/usr/bin/env bash
# Set locale to en_US
sudo echo "LC_ALL=\"en_US.UTF-8\"" >> /etc/default/locale
echo "export LC_ALL=\"en_US.UTF-8\"" >> /home/bitnami/.bash_profile
export LC_ALL="en_US.UTF-8"
# Fix libstdc++
sudo rm /opt/bitnami/common/lib/ && sudo ln -s /usr/lib/ /opt/bitnami/common/lib/
You can’t perform that action at this time.