Skip to content

Instantly share code, notes, and snippets.

View viperfx's full-sized avatar

Tharshan Muthulingam viperfx

View GitHub Profile
@harlow
harlow / golang_job_queue.md
Last active April 24, 2024 10:21
Job queues in Golang
#!/bin/bash
#
# Bash script to setup headless Selenium (uses Xvfb and Chrome)
# (Tested on Ubuntu 12.04) trying on ubuntu server 14.04
# Add Google Chrome's repo to sources.list
echo "deb http://dl.google.com/linux/chrome/deb/ stable main" | sudo tee -a /etc/apt/sources.list
# Install Google's public key used for signing packages (e.g. Chrome)
# (Source: http://www.google.com/linuxrepositories/)
@viperfx
viperfx / demo.html
Created July 21, 2012 12:45
Final Participation graph Hg
<!DOCTYPE html>
<html>
<head>
<title>Github - participation graph</title>
</head>
<body>
<script src="http://www.prototypejs.org/assets/2009/6/16/prototype.js" type="text/javascript"></script>
<script>
var GHPG = Class.create({
initialize: function(data){
@jlong
jlong / rainbow.html
Created May 27, 2011 22:10
Double Rainbow with Sass and Compass (requires a modern browser like Safari or Chrome). See also: http://www.flickr.com/photos/johnwlong2000/5766405202
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title></title>
<link rel="stylesheet" href="/stylesheets/rainbow.css" />
</head>
<body>
<div class="rainbow"></div>
<div class="rainbow"></div>