Skip to content

Instantly share code, notes, and snippets.

@wormeyman
wormeyman / Countdown_Timer.jsx
Last active September 29, 2020 19:15
After Effects Countdown Timer
// Created by steven mitchell
// http://www.icthusproductions.com
// 07FEB2009
// Countdown timer for After Effects, displays timer in Minutes and seconds instead of frames.
// Place in C:\Program Files\Adobe\Adobe After Effects [version]\Support Files\Scripts
// if you wish it to show up in script menu.
var vMin = prompt("How many Minutes", "5");
var vString;
var myProj = app.project;
var myComp = myProj.activeItem;
'Start The Script
Dim SetWshNetwork
Set WshNetwork = WScript.CreateObject("WScript.Network")
Set wsc = WScript.CreateObject("WScript.Shell")
Set lnk = wsc.CreateShortcut(wsc.SpecialFolders("desktop") & "\Go-Global.LNK")
'Commands
lnk.targetpath = "C:\Program Files\GraphOn\GO-Global\Client\gg-client.exe"
lnk.arguments = "-h hosted.logoscms.com -c -u " & WshNetwork.UserName & " -p Password"
lnk.description = "DB Access"
lnk.workingdirectory = "C:\Program Files\GraphOn\GO-Global\Client"
@wormeyman
wormeyman / GrubCustomizer
Last active November 9, 2022 10:32
Install Grub Customizer
#!/bin/bash
sudo add-apt-repository ppa:danielrichter2007/grub-customizer &&
sudo apt-get update &&
sudo apt-get install grub-customizer
# All on one line!
# sudo add-apt-repository ppa:danielrichter2007/grub-customizer && sudo apt-get update && sudo apt-get install grub-customizer
@wormeyman
wormeyman / sources.list
Created January 23, 2014 19:25
eOS luna sources.list
# deb cdrom:[elementary OS 0.2 _Luna_ - Stable i386 (20130810)]/ precise main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://mirror.pnl.gov/ubuntu/ precise main restricted
deb-src http://mirror.pnl.gov/ubuntu/ precise main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://mirror.pnl.gov/ubuntu/ precise-updates main restricted
@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 / Source_Code_Pro_Powershell_font.ps1
Last active March 10, 2020 10:26
Set Adobe's Source Code Pro as a PowerShell font option.
#Reference: http://michaellwest.blogspot.com/2013/03/add-font-to-powershell-console.html
#Reference: http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q247815 This explains why we name it 000
Get-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Console\TrueTypeFont' #Get the properties of TTF
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Console\TrueTypeFont' -Name 000 -Value 'Source Code Pro' #Set it to SCP
Get-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Console\TrueTypeFont' #Check to see if we properly set it so that SCP is an option
@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