Skip to content

Instantly share code, notes, and snippets.

View rodrigoaguilera's full-sized avatar
🚴‍♂️
Always learning

Rodrigo rodrigoaguilera

🚴‍♂️
Always learning
View GitHub Profile
$translation_groups = array(
'default' => array('ca'),
'field' => array('ca'),
'inline_entity_form' => array('ca'),
'panels' => array('ca'),
'node' => array('ca'),
);
foreach ($translation_groups as $group => $languages) {
foreach ($languages as $language) {
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
#!/bin/sh
# Install Command line tools (requires Xcode from app store)
xcode-select --install
# install homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
mkdir ~/bin
mkdir ~/.composer
mkdir -p ~/.vim/swaps