Skip to content

Instantly share code, notes, and snippets.

Avatar

Víctor Guerrero vgsystems

View GitHub Profile
@vgsystems
vgsystems / Custom sorin theme for zprecto
Last active Feb 9, 2019
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 Oct 16, 2012
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