Skip to content

Instantly share code, notes, and snippets.

epidemicz / mint_date_range.js
Last active Jan 26, 2017 — forked from n8henrie/mint_date_range.js
Bookmarklet to filter Mint transactions by date range
View mint_date_range.js
// mint_date_range.js
// jsmin <mint_date_range.js
// Copy the minified version below into a bookmarklet
// javascript:(function(){var currentUrl=window.location.href;var destUrl="";var today=new Date();var today_str=today.getMonth()+1+"/"+today.getDate()+"/"+today.getFullYear();var startDate=prompt("Start Date? Format: MM/DD/YYYY","");var endDate=prompt("End Date? Format: MM/DD/YYYY",today_str);destUrl+="&startDate="+startDate+"&endDate="+endDate;if(currentUrl.indexOf("")>-1){location.href=destUrl;}else{;}})();
var currentUrl = window.location.href;
var destUrl = "";
epidemicz /
Created May 17, 2016 — forked from tcnksm/
How to install oracle client to Ubuntu 12.04

Install SQL*Plus

  1. Download .rpm package here
    • oracle-instantclinet*-basic-*.rpm
    • oracle-instantclinet*-devel-*.rpm
    • oracle-instantclinet*-sqlplus-*.rpm
  2. Install alien (sudo apt-get install alien)
  3. Convert the rpm files and install
    • sudo alien -i oracle-instantclinet*-basic-*.rpm
    • sudo alien -i oracle-instantclinet*-devel-*.rpm
View xsd-helper
@ECHO off
REM You will need to change this
SET VsDevCmd="D:\vs2015\Common7\Tools\VsDevCmd.bat"
REM ---------------------------------------------------
SET xml_file=%1
CALL %VsDevCmd%
FOR %%i IN ("%xml_file%") DO (
SET filename=%%~ni
SET xsd_file=%filename%.xsd
epidemicz / install-new-dot-file.ps1
Last active Mar 2, 2016
Creates or removes the "New .dotfile here" explorer menu item
View install-new-dot-file.ps1
Param ([Boolean]$remove = $false)
function Install-New-Dot-File([Boolean]$remove = $false)
$hkcr = Test-Path "HKCR:\"
if ($hkcr -ne $true)
$registry = New-PSDrive -PSProvider registry -Name HKCR -Root HKEY_CLASSES_ROOT