View README.md
  1. Check out the branch you want to truncate.
  2. Get the SHA1 hash of the commit in that branch you want to start history.
  3. truncate.sh SHA1 branchname like truncate.sh 01cea49c9cbefd696bbd54ee41b47cbf1b6d1bd5 master
  4. Get the SHA1 hash of the new base commit.
  5. Get the date you want that commit to have in the format like Sat, 14 Dec 2013 12:40:00 -0800
  6. fixdate.sh SHA1 "date" like fixdate.sh c776e91dd573053ec09ecb1b0737909f9aacd0c9 "Sat, 14 Dec 2013 12:40:00 -0800"
  7. Add a remote to the new repo.
  8. Push the updated branch to the remote.
View user_presets.json
{
"PresetList": [
{
"AudioCopyMask": [
"copy:aac",
"copy:ac3",
"copy:dtshd",
"copy:dts",
"copy:mp3",
"copy:truehd",
View user_presets.xml
<?xml version="1.0"?>
<ArrayOfPreset xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Preset>
<Category>User Presets</Category>
<Description />
<IsBuildIn>false</IsBuildIn>
<IsDefault>false</IsDefault>
<Name>Illig High Profile - SD Film</Name>
<PictureSettingsMode>Custom</PictureSettingsMode>
<UseDeinterlace>false</UseDeinterlace>
View HandbrakeQueueReport.ps1
$reportFile = ".\QueueStatus.txt"
$handbrakeDir = Join-Path ([Environment]::GetFolderPath("ApplicationData")) -ChildPath "Handbrake"
[XML]$queue = Get-ChildItem -Path $handbrakeDir -Filter "hb_queue*.xml" |
Sort-Object -Property LastWriteTime -Descending |
Select-Object -First 1 |
Get-Content
$queue.ArrayOfQueueTask.QueueTask |
Select-Object -Property @{n='Status';e={$_.Status}},@{n='Source';e={$_.Task.Source}},@{n='Destination';e={$_.Task.Destination}} |
View ResetBestAppearance.au3
#RequireAdmin
; AutoIt3 script for setting best appearance on Win2K8R2
; Used when drop shadows on icons, etc. disappear for unknown reason.
ShellExecute("sysdm.cpl")
WinWaitActive("System Properties")
ControlCommand("System Properties", "", 12320, "TabRight", "")
;For some reason it used to be two tabs right, now it's just one.
;ControlCommand("System Properties", "", 12320, "TabRight", "")
Send("!s")
WinWaitActive("Performance Options")
View Send-EmailViaGmail.ps1
$From = "your-gmail-address@gmail.com"
$To = "the-destination-user@domain.com"
$Subject = "Email subject goes here"
$Body = "Email body goes here"
# The password is an app-specific password if you have 2-factor-auth enabled
$Password = "app-specific-password-here" | ConvertTo-SecureString -AsPlainText -Force
$Credential = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $From, $Password
Send-MailMessage -From $From -To $To -Subject $Subject -Body $Body -SmtpServer "smtp.gmail.com" -port 587 -UseSsl -Credential $Credential
View Add-DownloadedCoverArtToFile.js
// Add-DownloadedCoverArtToFile.js
// By Travis Illig - http://www.paraesthesia.com
// THIS SCRIPT MODIFIES YOUR ITUNES TRACKS TO EMBED DOWNLOADED
// ARTWORK INTO TRACKS. USE AT YOUR OWN RISK. BACK UP YOUR FILES
// BEFORE RUNNING.
//
// Open iTunes, then run using cscript:
// cscript Add-DownloadedCoverArtToFile.js
// Set MAX_TRACKS_TO_PROCESS to the max number of tracks to process
View TypemockSnippetTemplate.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using NUnit.Framework;
using TypeMock;
public class MyClass
{
}
View M4P Backup.vbs
' M4P Backup
' by Travis Illig
' http://www.paraesthesia.com
'
' This script backs up your protected iTunes music (*.m4p) along with a
' decrypted version (*.m4a). The decryption is done using the "hymn"
' program, available at http://hymn-project.org/.
'
' Note that for "hymn" to properly decrypt your iTunes files, you may
' need to use the "FairKeys" program, available at
View sharpreader2rssbandit.xslt
<?xml version="1.0"?>
<!--
SharpReader2RssBandit.xslt v1.0
Travis Illig
tillig@paraesthesia.com
http://www.paraesthesia.com
Export your list of feeds from SharpReader, then
transform the output with this XSLT. The resulting
document can be imported into RSS Bandit and should