Skip to content

Instantly share code, notes, and snippets.

View grexican's full-sized avatar

Eli Gassert grexican

  • Barcelona, Spain
View GitHub Profile
#!/bin/sh
#
# redis - this script starts and stops the redis-server daemon
#
# chkconfig: - 85 15
# description: Redis is a persistent key-value database
# processname: redis-server
# config: /etc/redis/redis.conf
# config: /etc/sysconfig/redis
# pidfile: /var/run/redis/redis.pid
@rafanoronha
rafanoronha / gist:7828657
Last active September 9, 2016 10:06
Setting up a Selenium Grid across Ubuntu Server instances

Setting up a Selenium Grid across Ubuntu Server instances

Initial setup for both hub and node instances:

.

sudo apt-get install openjdk-7-jre-headless
wget https://selenium.googlecode.com/files/selenium-server-standalone-2.38.0.jar
sudo apt-get install ruby1.9.1
sudo gem install foreman
@SamSaffron
SamSaffron / gist:2823028
Created May 29, 2012 06:57
ThumbCreator
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Drawing;
using System.Drawing.Imaging;
using System.Runtime.InteropServices;
using System.Diagnostics;
using MediaBrowser.Library.Interop.DirectShowLib;
using MediaBrowser.Library.Logging;