Skip to content

Instantly share code, notes, and snippets.

View n3b0r's full-sized avatar

Víctor Guerrero n3b0r

View GitHub Profile
@n3b0r
n3b0r / Custom sorin theme for zprecto
Last active February 9, 2019 14:09
This is a custom setup for Sorin theme for zprezto ZSH framwork
View Custom sorin theme for zprecto
# Screenshot: https://i.imgur.com/yUplymA.png
# Git it's integrated
# Author: vguerrero
# WS: https://vguerrero.com
# @: v @ vguerrero.com
# Code
# Load dependencies.
View redis-stats.php
<?php
// CONFIG
$servers = array(
array('Local', '127.0.0.1', 6379),
);
// END CONFIG
$server = 0;
if (isset($_GET['s']) && intval($_GET['s']) < count($servers)) {
$server = intval($_GET['s']);
@solar
solar / install.sh
Created October 16, 2012 10:47
install redis with supervisord
View install.sh
#!/bin/sh
version="2.6.3"
priority="20603"
sudo mkdir -p /var/redis /var/log/redis
curl -sL http://redis.googlecode.com/files/redis-${version}.tar.gz | tar zx
cd redis-${version}/
make
sudo make PREFIX=/usr/local/redis/${version} install