Skip to content

Instantly share code, notes, and snippets.

View solbisio's full-sized avatar

Manuel Sol Bisio Mendez solbisio

View GitHub Profile
#!/bin/bash
# USAGE:
# ./svn-export revision-from revision-to repository target-directory
# ./svn-export 20 25 svn://localhost/myrepository .
if [ ! $1 ] || [ ! $2 ] || [ ! $3 ] || [ ! $4 ]; then
echo "Please enter a revision from, revision to, SVN repository, and target directory"
exit
fi
#!/bin/bash
echo "Export Git Diff"
read -p "Export Start Commit ID: " input1
read -p "Export End Commit ID: " input2
commitIdStart="${input1}"
if [ "${input2}" == "" ]; then
commitIdEnd="HEAD"
else
@solbisio
solbisio / my_sacrifice.md
Created May 17, 2017 17:55
The motherf*cking way the get Oracle access in PHP5 over Ubuntu
@solbisio
solbisio / # php53 - 2016-09-30_11-30-12.txt
Created September 30, 2016 14:33
php53 (homebrew/php/php53) on macOS 10.11.6 - Homebrew build logs
Homebrew build logs for homebrew/php/php53 on macOS 10.11.6
Build date: 2016-09-30 11:30:12
# OSX for Hackers (Mavericks/Yosemite)
#
# Source: https://gist.github.com/brandonb927/3195465
#!/bin/sh
# Some things taken from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Ask for the administrator password upfront
#!/bin/sh
# Some things taken from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'
green='\033[0;32m'
sudo apt-get install libtool automake autoconf uuid-dev uuid-dev
cd /opt
wget http://download.zeromq.org/zeromq-3.2.4.tar.gz
sudo tar -xvzf zeromq-3.2.4.tar.gz
cd zeromq-3.2.4/
./configure
sudo make install
sudo ldconfig