Skip to content

Instantly share code, notes, and snippets.

Ryder Ross ryross

Block or report user

Report or block ryross

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
@ryross
ryross / AddressHelper.php
Last active Aug 16, 2017 — forked from Jonathonbyrd/AddressHelper.php
Parse Address :: This function is designed to parse a complete street address using PHP. If it can't figure out the parsing itself, then it sends the address to google to have google parse the street address.
View AddressHelper.php
<?php
namespace App\Parsers\AddressParser;
/**
* @author Jonathon Byrd
* @package Address Parsing
*
*
*/
class AddressHelper extends ObjectBase
@ryross
ryross / pichromium
Created Apr 11, 2016 — forked from syrgak/pichromium
Instructions to Install Chromium 45 on Raspbian Jessie
View pichromium
#!/bin/bash
wget http://ftp.us.debian.org/debian/pool/main/libg/libgcrypt11/libgcrypt11_1.5.0-5+deb7u4_armhf.deb
wget http://launchpadlibrarian.net/218525709/chromium-browser_45.0.2454.85-0ubuntu0.14.04.1.1097_armhf.deb
wget http://launchpadlibrarian.net/218525711/chromium-codecs-ffmpeg-extra_45.0.2454.85-0ubuntu0.14.04.1.1097_armhf.deb
sudo dpkg -i libgcrypt11_1.5.0-5+deb7u4_armhf.deb
sudo dpkg -i chromium-codecs-ffmpeg-extra_45.0.2454.85-0ubuntu0.14.04.1.1097_armhf.deb
sudo dpkg -i chromium-browser_45.0.2454.85-0ubuntu0.14.04.1.1097_armhf.deb
View phantomjs
#!/bin/sh
#
# chkconfig: 35 99 99
# description: Script for starting phantomjs.
#
. /etc/rc.d/init.d/functions
USER="phantomjs"
View phantom.sh
#!/bin/bash
#
# Depends on phantom.js being installed
#
PHANTOM_CMD="phantomjs"
command -v $PHANTOM_CMD > /dev/null || { echo "Phantomjs not found"; exit 1; }
get_phantom_pid (){
View DCI_Context.php
<?php
interface Context {
public function execute($params);
}
View kreate.sh
#!/bin/bash
dir=$(pwd)
project=''
# Check for Git
type -P git || { echo 'Git is not installed. Exiting.'; exit 1; }
while [ "$1" != '' ]
do
case $1 in
View create_kohana_project.sh
#!/bin/bash
dir=$(pwd)
project=''
# Check for Git
type -P git || { echo 'Git is not installed. Exiting.'; exit 1; }
while [ "$1" != '' ]
do
case $1 in
You can’t perform that action at this time.