Skip to content

Instantly share code, notes, and snippets.

View 13i's full-sized avatar

Treize Interactif 13i

View GitHub Profile
@13i
13i / gist:2081282
Created March 18, 2012 21:02
Install rails on Ubuntu Server 11.10
# Install Git && Curl
sudo apt-get install git curl
# Get rvm
bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)
# Install ruby dependencies
sudo apt-get install build-essential openssl libreadline6 libreadline6-dev zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion
# Add rvm as a function
@13i
13i / install_php_excel.sh
Last active February 1, 2018 21:10
Install libxl + php_excel on ubuntu 12.02 + apache2
sudo su --
cd /src
wget http://www.libxl.com/download/libxl.tar.gz
tar -zxvf libxl.tar.gz
cd libxl-3.4.1.4
ln -s include_c include
ln -s libxl.so /usr/lib/libxl.so
wget https://github.com/iliaal/php_excel/archive/master.zip master.zip
@13i
13i / images-cdn.md
Last active January 23, 2021 13:49
Images CDN

Gist created to host images on GitHub CDN

Drag images in the comment box below to pbtain a CDN link.

Images that are often reused should be added in the Gist

Image URLs :

@13i
13i / install_phpexcel_php5.6.sh
Created July 3, 2022 00:36 — forked from belgattitude/install_phpexcel_php5.6.sh
Install libxl/php_excel for PHP5.6 (ondrej/php ppa)
#!/bin/bash
#
# ilia/php_excel extension example install script
#
# usage:
# > sudo ./install_phpexcel_php5.6.sh
# > (optionally) sudo service php5.6-fpm restart
#
# requirements:
# - Ubuntu 64bits (trusty/xenial)
@13i
13i / 13i-env-install.sh
Last active August 8, 2022 20:06
My Env
#!/bin/bash
sudo apt update
sudo apt install \
zip \
wget \
git \
nano \
zsh \