Skip to content

Instantly share code, notes, and snippets.


Jnanaranjan Sahu (ଜ୍ଞାନରଞ୍ଜନ ସାହୁ) gyan111

View GitHub Profile
gyan111 /
Created Mar 13, 2018 — forked from guycalledseven/
Manually remove Paragon NTFS v15 leftovers MacOS
# after appcleaner does his magic, do this
sudo rm -rf "/Library/Application Support/Paragon Software/"
sudo rm /Library/LaunchDaemons/com.paragon-software.installer.plist
sudo rm /Library/LaunchDaemons/com.paragon-software.ntfs.loader.plist
sudo rm /Library/LaunchDaemons/com.paragon-software.ntfsd.plist
sudo rm /Library/LaunchAgents/com.paragon-software.ntfs.notification-agent.plist
sudo rm -rf /Library/Filesystems/ufsd_NTFS.fs/
sudo rm -rf /Library/PrivilegedHelperTools/com.paragon-software.installer
sudo rm -rf /Library/Extensions/ufsd_NTFS.kext/
View aes.php
function addpadding($string, $blocksize = 16)
$len = strlen($string);
$pad = $blocksize - ($len % $blocksize);
$string .= str_repeat(chr($pad), $pad);
return $string;
gyan111 / header.tpl
Created Jan 9, 2014
Reversing a google analytics ecommerce transaction, This code snippet should be added to the header.tpl in the ganalytics module.
View header.tpl
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXX-X']);
'1234', // order ID - required
'Womens Apparel', // affiliation or store name
'-28.28', // total - required
'-1.29', // tax