Skip to content

Instantly share code, notes, and snippets.

Building AirGapped Crypto Vault

Ashish Kumar ashfame

Building AirGapped Crypto Vault
View GitHub Profile
Rarst / r-debug.php
Last active Jul 30, 2020
R Debug (set of dump helpers for debug)
View r-debug.php
Plugin Name: R Debug
Description: Set of dump helpers for debug.
Author: Andrey "Rarst" Savchenko
Author URI:
License: MIT
JeffreyWay / gist:1374162
Created Nov 17, 2011
Prompt IE6 for Chrome Frame Install
View gist:1374162
<!--[if lt IE 7 ]>
<script src=""></script>

Magento SQL Snippets

Clear Temporary Data Tables

TRUNCATE `log_customer`;
TRUNCATE `log_quote`;
TRUNCATE `log_summary`;
TRUNCATE `log_url`;
TRUNCATE `log_url_info`;
View gist:1086455

Magento Snippets

Download extension manually using pear/mage

Pear for 1.4, mage for 1.5. File downloaded into /downloader/.cache/community/

./pear download magento-community/Shipping_Agent
./mage download community Shipping_Agent

Clear cache/reindex

necolas / snippet.js
Created Jun 14, 2011
Optimised async loading of cross-domain scripts
View snippet.js
* Updated to use the function-based method described in
* Better handling of scripts without supplied ids.
* N.B. Be sure to include Google Analytics's _gaq and Facebook's fbAsyncInit prior to this function.
(function(doc, script) {
var js,
fjs = doc.getElementsByTagName(script)[0],
View gist:770180
# Upstream to abstract backend connection(s) for php
upstream php {
server unix:/tmp/php-cgi.socket;
server {
root /var/www;
janfabry / virtual-intermediate-images.php
Created Nov 13, 2010
WordPress Virtual intermediate images plugin (first public attempt)
View virtual-intermediate-images.php
Plugin Name: Virtual intermediate images
Plugin URI:
Description: Prevent creation of actual intermediate image sizes
Version: 0.1
Author: Jan Fabry
This plugin prevents the creation of actual intermediate image sizes. It does, however, fill in all metadata attributes as if the intermediate sizes exist. It is designed to work together with a plugin that can create these images on the fly, like monkeyman-on-demand-resizer.
boogah / WP_Bag_of_Tricks.txt
Created Apr 30, 2010
Things I've learned by being a WordPress nerd.
View WP_Bag_of_Tricks.txt
WP Bag of Tricks
1. Helpful Scripts/Plugins:
Hacks: (Can be extremely resource intensive.)
You can’t perform that action at this time.