Skip to content

Instantly share code, notes, and snippets.

@jedihe
jedihe / env-switcher.js
Last active December 21, 2015 21:39
Fast environment switcher for web developers, via bookmarklet.
/**
* @file: Environment switcher bookmarklet (source)
*
* @usage: @TODO
* Notes:
* - Generate bookmarklet using: http://ted.mielczarek.org/code/mozilla/bookmarklet.html
*/
var curLoc = new String(window.location.href);
var newLoc = '';
@jedihe
jedihe / config-3.4.10.1deb1.inc.php
Last active February 2, 2023 20:35
PhpMyAdmin config file with autologin enabled (user/pass: root/root). Useful for private development environments, USE AT YOUR OWN RISK. Copied from install on Ubuntu Server 12.04.
<?php
/**
* Debian local configuration file
*
* This file overrides the settings made by phpMyAdmin interactive setup
* utility.
*
* For example configuration see
* /usr/share/doc/phpmyadmin/examples/config.sample.inc.php
* or
@jedihe
jedihe / modernIE-downloader.sh
Created July 13, 2013 14:50
Download all VirtualBox VMs from modern IE, for use on a Linux host.
#!/bin/bash
### IE7 - Vista
mkdir -p ~/modernIE-vms/ie7vista
cd ~/modernIE-vms/ie7vista
wget http://virtualization.modern.ie/vhd/IEKitV1_Final/VirtualBox/Linux/IE7_Vista/IE7.Vista.For.LinuxVirtualBox.part1.sfx
wget http://virtualization.modern.ie/vhd/IEKitV1_Final/VirtualBox/Linux/IE7_Vista/IE7.Vista.For.LinuxVirtualBox.part2.rar
wget http://virtualization.modern.ie/vhd/IEKitV1_Final/VirtualBox/Linux/IE7_Vista/IE7.Vista.For.LinuxVirtualBox.part3.rar
wget http://virtualization.modern.ie/vhd/IEKitV1_Final/VirtualBox/Linux/IE7_Vista/IE7.Vista.For.LinuxVirtualBox.part4.rar
wget http://virtualization.modern.ie/vhd/IEKitV1_Final/VirtualBox/Linux/IE7_Vista/IE7.Vista.For.LinuxVirtualBox.part5.rar