Skip to content

Instantly share code, notes, and snippets.

@aabidos
aabidos / filter_tar.sh
Created October 22, 2014 13:07
Tar filtering
find ./www -name "*.php" ! -path "./www/cache/*" | tar -cf wwwBackup.tar.gz -T -
@aabidos
aabidos / install_canon_mp230.sh
Created November 8, 2014 14:36
Install CANON PIXMA MP230 linux scanner
#!/bin/sh
cd /temp
//Download libtiff4 - http://packages.ubuntu.com/saucy/libtiff4
wget http://mirrors.kernel.org/ubuntu/pool/universe/t/tiff3/libtiff4_3.9.7-2ubuntu1_amd64.deb
sudo dpkg -i libtiff4_3.9.7-2ubuntu1_amd64.deb
//Download canon's sotfwares - http://www.canon.fr/Support/Consumer_Products/products/Fax__Multifunctionals/InkJet/PIXMA_MP_series/PIXMA_MP230.aspx?type=download&language=EN&os=Linux
@aabidos
aabidos / gist:5991459c53fabcc50400
Last active December 4, 2015 10:55
My tmux.conf
set-option -g status-utf8 on
# Change key binding
set prefix C-a
unbind-key C-b
bind-key C-a send-prefix
#Powerline integration
#run-shell "powerline-daemon -q"
<?php
// we suppose that sellsyconnect, sellsytools and boot files are created..
/*******Code to create client*******/
//We configure parameters for new client
$create_client_request = array (
'method' => 'Client.create',