Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Andrew Ellis ellisio

🎯
Focusing
Block or report user

Report or block ellisio

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ellisio
ellisio / scrape.sh
Created Jun 4, 2014
Scan for iTunes album art sizes.
View scrape.sh
#!/bin/bash
rm -rf images
mkdir images
for i in {1..1024}
do
for x in {1..100}
do
echo "Checking ${i}x${i}-${x}"
View gist:ae8ab7da6edfcc047075
# Settings
lang en_US.UTF-8
keyboard us
rootpw vagrant
authconfig --enableshadow --enablemd5
timezone UTC
# Pre-install
install
cdrom
View gist:84638e6246c1d651eb65
##
44 # VAGRANTFILE
45 # -----------
46 #
47 # DO NOT EDIT ANY OF THIS OR YOU WILL BE EATEN BY AN EVIL DRAGON!
48 #
49 =begin
50 .~))>>
51 .~)>>
52 .~))))>>>
@ellisio
ellisio / redis.sh
Created Dec 11, 2014
An init.d script for Redis on CentOS 6.
View redis.sh
#!/bin/sh
# http://vm-192-168-11-21.shengyun.grandcloud.cn/topics/2437
# redis - this script starts and stops the redis-server daemon
#
# chkconfig: 2345 90 10
# description: Redis is a persistent key-value database
# processname: redis-server
# config: /etc/redis.conf
# config: /etc/sysconfig/redis
# pidfile: /var/run/redis.pid
@ellisio
ellisio / supervisor.sh
Created Dec 11, 2014
An init.d script for supervisord
View supervisor.sh
#!/bin/sh
#
# /etc/rc.d/init.d/supervisor
#
# Supervisor is a client/server system that
# allows its users to monitor and control a
# number of processes on UNIX-like operating
# systems.
#
# chkconfig: 345 83 04
View a.rb
https://gist.github.com/c0f1653f6e9d522c316f
View a.rb
https://gist.github.com/91920e3e55507691a75f
View foo.php
<?php namespace Api\Http\Requests\V3\Action;
use Auth;
use Api\Http\Requests\Request;
/**
* Class ActionStoreRequest
*
* @package Api\Http\Requests\V3\Auth
*/
View foo.php
<?php namespace Api\Http\Requests\V3\Action;
use Auth;
use Api\Http\Requests\Request;
/**
* Class ActionStoreRequest
*
* @package Api\Http\Requests\V3\Auth
*/
View gist:f21230814b2f3588896f
echo "deb http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu trusty main" > /etc/apt/sources.list.d/ondrej-php5-5_6-trusty.list
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4F4EA0AAE5267A6C >/dev/null 2>&1
apt-get update -y
apt-get install -y php5-curl php5-mongo php5-mcrypt
You can’t perform that action at this time.