Skip to content

Instantly share code, notes, and snippets.

View sojan-official's full-sized avatar
🧑‍💻

Sojan Jose sojan-official

🧑‍💻
View GitHub Profile
@jmoz
jmoz / Imagick stripImage.php
Last active September 26, 2015 22:28
Imagick stripImage
<?php
$file = '/home/moz/Desktop/canon-ixus.jpg';
$i = new Imagick($file);
print_r($i->getImageProperties('exif:*'));
$i->stripImage();
$i->writeImage($file . '2');
$i->readImage($file . '2');
@matthewmccullough
matthewmccullough / .zshrc
Created January 20, 2011 00:00
A configuration to maintain history across sessions and share it across terminals in ZShell
##############################################################################
# History Configuration
##############################################################################
HISTSIZE=5000 #How many lines of history to keep in memory
HISTFILE=~/.zsh_history #Where to save history to disk
SAVEHIST=5000 #Number of history entries to save to disk
#HISTDUP=erase #Erase duplicates in the history file
setopt appendhistory #Append history to the history file (no overwriting)
setopt sharehistory #Share history across terminals
setopt incappendhistory #Immediately append to the history file, not just when a term is killed