Skip to content

Instantly share code, notes, and snippets.


Erik Stabij estabij

View GitHub Profile
View Circle.php
// file: ./Shape/Circle.php
namespace Shape;
class Circle extends Shape implements ShapeInterface {
public function __construct() {
cd ~
sudo apt-get update
sudo apt-get install openjdk-7-jre-headless -y
### Check for latest version of ElasticSearch and replace wget link below
sudo dpkg -i elasticsearch-1.1.1.deb
curl -L | tar -xz
estabij / jq-adding_to_links.html
Last active Jan 1, 2016
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.
View jq-adding_to_links.html
View html5_template.html
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8" />
<title>hello world</title>
<link href="_css/style.css" rel="stylesheet" type="text/css">
<script src="_scripts/script.js"></script>
<p>hello world</p>