Skip to content

Instantly share code, notes, and snippets.

@wormeyman
wormeyman / Ubuntu Apps to install
Last active August 29, 2015 13:56
Ubuntu 12.04.4 Command to install the apps i prefer, First i open the software properties to enable partner repositories and switch to mirror.pnl.gov/ubuntu, then i add the ppa's for sofware i need, install the apps, and then add guake to the startup.
software-properties-gtk && sudo add-apt-repository -y ppa:danielrichter2007/grub-customizer && sudo add-apt-repository -y ppa:deluge-team/ppa && sudo add-apt-repository -y ppa:otto-kesselgulasch/gimp && sudo apt-get update && sudo apt-get install grub-customizer deluge gimp filezilla p7zip gparted guake vlc git-core compizconfig-settings-manager compiz-plugins nautilus-dropbox ubuntu-restricted-extras && gnome-session-properties
@wormeyman
wormeyman / DisableWSUS.ps1
Last active August 29, 2015 13:56
Disable WSUS on local machine, this gets overwritten pretty fast.
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU\' -name UseWUServer -value '0'
#Copy Audio
./ffmpeg.exe -i _A089901.MXF -acodec copy -vn -f wav outputaudio.wav
#Copy Video
./ffmpeg.exe -i _A089901.mxf -vcodec copy -an outputvideo.mxf
#Force Frame Rate
#To force the frame rate of the output file to 30 fps:
./ffmpeg -i input.avi -r 30 output.avi
# netsh advfirewall set currentprofile state off # Firewall Off
# netsh advfirewall set currentprofile state on # Firewall On
wait = 1 ;Speed of the Pickaxe. This is so you can adjust for slower Picks or better ores. It is recommended to keep this at 1.
grapkey = e ; This is the key to grapple. Change this to whatever your grapple key is.
=::
if(wait >0)
wait-=.5
pwait := 20 - wait
TrayTip, "Speed Changed!",%pwait% ; Displays a message that states the speed of the pickaxe.
return
# Updated: 2014-04-21
# Eric S. Johnson
# Sets The Registry on Windows 7 to Allow Auto Login of checkin user.
# Reference: http://superuser.com/questions/28647/how-do-i-enable-automatic-logon-in-windows-7-when-im-on-a-domain/28654#28654
#The Code:
Set-ItemProperty -Name AutoAdminLogon -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" -Value 1 #Allow Auto Login
Set-ItemProperty -Name DefaultUserName -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" -Value username #Set the User Name
Set-ItemProperty -Name DefaultPassword -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" -Value password #Set the Password
Set-ItemProperty -Name DefaultDomainName -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" -Value domain #Set the Domain to your organizations domain name
Remove-ItemProperty -Name AutoLogonCount -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" -Force #Remove the count of auto login (probably
@wormeyman
wormeyman / Menu Settings.xml
Created May 22, 2014 16:04
Menu Settings for Classic Start Menu
<?xml version="1.0"?>
<Settings component="StartMenu" version="4.0.4">
<MenuStyle value="Classic2"/>
<SearchPath value="0"/>
<SearchFiles value="0"/>
<SearchInternet value="0"/>
<SkinC2 value="Windows 8"/>
<SkinVariationC2 value=""/>
<SkinOptionsC2 value="E55CEDD3|C26EAF5D|86F3669C|5225DC46|5D3248DC|1FC64124|5EA361A2|6EDFA36A|2E838408|22C9A1E2|0663DC39|"/>
<SkipMetro value="1"/>
Set WshNetwork = WScript.CreateObject("WScript.Network")
WScript.Echo "Domain = " & WshNetwork.UserDomain
WScript.Echo "Computer Name = " & WshNetwork.ComputerName
WScript.Echo "User Name = " & WshNetwork.UserName
@wormeyman
wormeyman / livestreamerrc
Last active August 29, 2015 14:01
My LiveStreamer config, pretty simple.
# Format is option=value. Lines starting with a # is considered comments
# and are ignored.
# Important: You must use a quoted path if there are spaces in the path. This
# is because the player command is parsed like a shell command to allow
# parameters to be passed to the player.
# VLC
#player="C:\Program Files (x86)\VideoLAN\VLC\vlc.exe"
#player="C:\Program Files\VideoLAN\VLC\vlc.exe"
@wormeyman
wormeyman / .zshrc
Last active August 29, 2015 14:03
oh my zsh config for .zshrc
# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="bira"
# Uncomment the following line to use case-sensitive completion.