Skip to content

Instantly share code, notes, and snippets.

View estabij's full-sized avatar
🤓

Erik Stabij estabij

🤓
View GitHub Profile
@estabij
estabij / Circle.php
Last active August 29, 2015 14:27 — forked from cmbuckley/Circle.php
Example structure for http://stackoverflow.com/q/10542012
<?php
// file: ./Shape/Circle.php
namespace Shape;
class Circle extends Shape implements ShapeInterface {
public function __construct() {
var_dump($this);
}
@estabij
estabij / es.sh
Last active August 29, 2015 14:01
cd ~
sudo apt-get update
sudo apt-get install openjdk-7-jre-headless -y
### Check http://www.elasticsearch.org/download/ for latest version of ElasticSearch and replace wget link below
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.1.1.deb
sudo dpkg -i elasticsearch-1.1.1.deb
curl -L http://github.com/elasticsearch/elasticsearch-servicewrapper/tarball/master | tar -xz
@estabij
estabij / jq-adding_to_links.html
Last active January 1, 2016 22:49
Add some styling, add target="_blank" (open link in a new window) and :hover functionality to a set of links in an unordered list using jQuery.
@estabij
estabij / html5_template.html
Last active January 1, 2016 11:09
html5 template
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>hello world</title>
<link href="_css/style.css" rel="stylesheet" type="text/css">
<script src="_scripts/script.js"></script>
</head>
<body>
<p>hello world</p>