Skip to content

Instantly share code, notes, and snippets.

View CharlyJazz's full-sized avatar
🧭
I may be slow to respond.

Carlos Azuaje CharlyJazz

🧭
I may be slow to respond.
View GitHub Profile
@CharlyJazz
CharlyJazz / rails http status codes
Created October 16, 2019 23:08 — forked from mlanett/rails http status codes
HTTP status code symbols for Rails
HTTP status code symbols for Rails
Thanks to Cody Fauser for this list of HTTP responce codes and their Ruby on Rails symbol mappings.
Status Code Symbol
1xx Informational
100 :continue
101 :switching_protocols
102 :processing
@CharlyJazz
CharlyJazz / install-sqlite.sh
Created December 9, 2018 23:54 — forked from fabrizioc1/install-sqlite.sh
Installing sqlite3 in CentOS for use with ruby-sqlite3
# The YUM package is too old for use with ruby-sqlite3, use the autoconf package from www.sqlite.org
cd /opt
wget http://www.sqlite.org/sqlite-autoconf-3070701.tar.gz
tar xvzf sqlite-autoconf-3070701.tar.gz
ln -s /opt/sqlite-autoconf-3070701 /opt/sqlite3
cd /opt/sqlite3
./configure --prefix=/opt/sqlite3
make
make install
# Shared library will be installed in /usr/local/lib.
@CharlyJazz
CharlyJazz / redis-amzn-linux
Created December 9, 2018 23:11 — forked from techgaun/redis-amzn-linux
redis 2.8.x installation on aws ec2 amazon linux
#!/bin/bash
#lost original file so rewrote for future reference, untested
#installs latest 2.8.17
#run as root
yum install -y gcc gcc-c++ make
wget "http://download.redis.io/releases/redis-2.8.17.tar.gz"
tar xvfz redis-2.8.17.tar.gz
rm -f redis-2.8.17.tar.gz
cd redis-2.8.17
make distclean && make