Skip to content

Instantly share code, notes, and snippets.

View xee5ch's full-sized avatar

Al xee5ch

View GitHub Profile
; call trello2org interactively
; or pragmatically like this: (trello2org "c:/Users/jfurtney/blo-up-2-7.json")
(require 'json)
(defun convert-trello-json-file-to-org (trello-json-file)
(let* ((board (json-read-file trello-json-file))
(board-name (cdr (assoc 'name (cdr board))))
(lists (cdr (assoc 'lists (cdr board))))
#!/usr/bin/env bash
# Written by William Ting for the following blog post:
# http://williamting.com/posts/2012/04/18/set-up-python-and-django-on-dreamhost/
rcfile="${HOME}/.bashrc"
version="2.7.3"
setuptools_version="2."7
tmp_dir="${HOME}/tmp-${RANDOM}"
if [[ ${#} == 0 ]]; then
@xee5ch
xee5ch / gist:1400111
Created November 28, 2011 11:45
Firefox Error
Value application/vnd.openxmlformats-officedocument.wordprocessingml.document exceeds the maximum allowed value (VARCHAR (30, -127))
@xee5ch
xee5ch / thunderbird-dbg.bat
Created November 23, 2011 14:57
Thunderbird Debug Log Run
@ECHO OFF
:==========================================================================
:
:
: Filename: THUNDERBIRD-DBG.BAT
: Description: Start Thunderbird debugging with logging.
:
: Last modified by: [email protected]
: On date: 12:55 AM 11/24/2011
:
@xee5ch
xee5ch / DriverImport.bat
Created June 12, 2011 13:34
Recursively Check Folders for INF Files and Install Windows 7 PnP Drivers When Found
@ECHO OFF
IF "%1" == "" GOTO ERROR
ECHO.
ECHO Checking dir %1 recursively for drivers.
ECHO.
FOR /F "tokens=*" %%D IN ('DIR /B /AD /S %1') DO PNPUTIL -a "%%D\*.inf" 2>&1 >> %WinDir%\system32\driverimport.log
@xee5ch
xee5ch / Error Message
Created April 24, 2011 12:13
Syslog from Debian Squeeze Installer on EeePC 700
┌────────────────────────────────────────────┤ [!!] Partition disks ├────────────────────────────────────────────┐
│ │
│ Erasing data on SCSI4 (0,0,0), partition #5 (sdc) failed │
│ An error occurred trying to erase the data on SCSI4 (0,0,0), partition #5 (sdc). The data has not been erased. │
│ │
│ <Go Back> <Continue> │
│ │ └────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
@xee5ch
xee5ch / MarcoPolo Error
Created April 14, 2011 14:47
The following error message when a smb unmount fails.
4/14/11 5:32:16 PM MarcoPolo[20081] AppleScript failed to execute! Script was:
tell application "Finder"
activate
eject "smb://dept.office.company.tld/ShareName$"
end tell
Error dictionary: {
NSAppleScriptErrorAppName = Finder;
NSAppleScriptErrorBriefMessage = "Can\U2019t make \"smb://dept.office.company.tld/ShareName$\" into type item.";
NSAppleScriptErrorMessage = "Finder got an error: Can\U2019t make \"smb://dept.office.company.tld/ShareName$\" into type item.";
@xee5ch
xee5ch / GPP Scheduled Task Config
Created March 15, 2011 19:17
As it was the first time.
<?xml version="1.0" encoding="utf-8"?>
<ScheduledTasks clsid="{CC63F200-7309-4ba0-B154-A71CD118DBCC}"><TaskV2 clsid="{D8896631-B747-47a7-84A6-C155337F3BC8}" name="Microsoft Security Essential Signatures Update" image="2" changed="2010-07-02 21:09:28" uid="{E5D86319-E56E-4779-ABF9-317E99558479}" userContext="0" removePolicy="0"><Properties action="U" name="Microsoft Security Essential Signatures Update" runAs="NT AUTHORITY\SYSTEM" logonType="Password"><Task version="1.3"><RegistrationInfo><Author>ADPARENT\ajs67.a</Author><Description>This task from GPP Scheduled Tasks will make sure that MSE periodically checks for updated anti-virus signatures.</Description></RegistrationInfo><Principals><Principal id="Author"><UserId>NT AUTHORITY\SYSTEM</UserId><LogonType>Password</LogonType><RunLevel>LeastPrivilege</RunLevel></Principal></Principals><Settings><IdleSettings><Duration>PT5M</Duration><WaitTimeout>PT1H</WaitTimeout><StopOnIdleEnd>false</StopOnIdleEnd><RestartOnIdle>false</RestartOnIdle></IdleSettings><Multiple
@xee5ch
xee5ch / Dump All DNS
Created March 13, 2011 15:53
Get all the DNS info for a domain with dig.
dig +nocmd domain.tld any +multiline +noall +answer
<#
.SYNOPSIS
Cmdlet help is awesome. Autogenerate via template so I never forget.
.DESCRIPTION
.PARAMETER
.PARAMETER
.INPUTS
.OUTPUTS
.EXAMPLE