Skip to content

Instantly share code, notes, and snippets.

View xee5ch's full-sized avatar

Al xee5ch

View GitHub Profile
@xee5ch
xee5ch / Current Grub4dos Config
Created February 20, 2011 22:43
The current configuration file I have to use grub4dos with a variety of *nix platforms and PE pre-install Windows environments.
timeout 30
default 0
title WinPE (x86 NT6) 20100923
find --set-root /disks/win/x86/nt6/winpe.iso
map --heads=0 --sectors-per-track=0 /disks/win/x86/nt6/winpe.iso (0xff)
map --hook
root (0xff)
chainloader (0xff)
@xee5ch
xee5ch / Georgetown Mutt Config
Created February 22, 2011 14:43
Mutt Config for Georgetown Mirapoint IMAP
# Maildir settings
set mbox_type=Maildir
set folder=$HOME/Mail/company.tld/bf4411b6-577d-4467-8fc8-fa9d887c36af/
set spoolfile=+"INBOX"
set record="+Sent"
set postponed="+Drafts"
# Client caching
set header_cache =$HOME/Mail/cache/headers
set message_cachedir =$HOME/Mail/cache/bodies
@xee5ch
xee5ch / gist:844865
Created February 26, 2011 02:20
Syslinux Config for Fedora 12 x86_64 Live
default vesamenu.c32
timeout 100
menu background splash.jpg
menu title Welcome to Fedora-12-x86_64-Live!
menu color border 0 #ffffffff #00000000
menu color sel 7 #ffffffff #ff000000
menu color title 0 #ffffffff #00000000
menu color tabmsg 0 #ffffffff #00000000
@xee5ch
xee5ch / gist:848628
Created March 1, 2011 04:45
Fedora 14 Kickstart File
# Kickstart file automatically generated by anaconda.
#version=DEVEL
install
lang en_US.UTF-8
keyboard us
timezone --utc America/New_York
rootpw --iscrypted $6$9jQqLfgCe9cCyJTu$oTwsYa6Tx6gcD6KyhWH9j6zR0codpICQlL00FH9fjvhWmFGPliMMfrhN55ws3WQ8Y.v8mDEkGj15MDtqDTB861
selinux --enforcing
authconfig --enableshadow --passalgo=sha512 --enablefingerprint
<#
.SYNOPSIS
Cmdlet help is awesome. Autogenerate via template so I never forget.
.DESCRIPTION
.PARAMETER
.PARAMETER
.INPUTS
.OUTPUTS
.EXAMPLE
@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
@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 / 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 / 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 / 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