Skip to content

Instantly share code, notes, and snippets.

View RedactedProfile's full-sized avatar
🍁
Web & Game Developer

Kyle Harrison RedactedProfile

🍁
Web & Game Developer
View GitHub Profile
@RedactedProfile
RedactedProfile / commands.md
Created October 20, 2015 19:27 — forked from ondrej-kvasnovsky/commands.md
Commands to install and configure ElasticSearch on Ubuntu

Install ElasticSearch and Java

1  wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.0.1.deb
2  sudo dpkg -i elasticsearch-1.0.1.deb
3  sudo update-rc.d elasticsearch defaults 95 10
4  sudo add-apt-repository ppa:webupd8team/java
5  sudo apt-get update
6  sudo apt-get install oracle-java7-installer
7  java -version
@RedactedProfile
RedactedProfile / 00. tutorial.md
Created October 13, 2015 18:16 — forked from maxivak/00. tutorial.md
Importing/Indexing database (MySQL or SQL Server) in Solr using Data Import Handler
#!upstart
description "MyApp"
author "MyApp by charlie"
env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
respawn
start on runlevel [23]
stop on shutdown
@RedactedProfile
RedactedProfile / bitly.class.php
Created December 20, 2011 18:52 — forked from saundersalex/gist:1502719
Bitly API Class
<?php
/*
* ----------------------
* bitly.class.php
* ----------------------
*
* Bitly class used for calling all the different API functions provided by the Bitly API.
*
* Author: Alex Saunders