This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PATH="/usr/local/sbin:$PATH" | |
| echo -n "Uptime: "; uptime | |
| echo "" | |
| PS1="[\W] \u >" | |
| MYNAME='Kenneth Dait' | |
| export MYNAME | |
| export LESS='-R' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #This loads in the configuration in ~/.bashrc | |
| #Store all configuration in ~/.bashrc | |
| if [ -f ~/.bashrc ]; then | |
| source ~/.bashrc | |
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| rem THIS LINE OPENS MULTIPLE INTERNET EXPLORER LINKS (IN TABS), USING A SEPARATE VB SCRIPT | |
| cscript //nologo ie_tabs.vbs | |
| rem OPEN AGENT AND RESOURCE MANAGER | |
| start "" "C:\Program Files (x86)\Syntellect\Agent\agent.exe" | |
| start "" "C:\Program Files (x86)\Syntellect\RsrcMgr\resman.exe" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| #Find time since last boot. | |
| then=$(sysctl kern.boottime | awk '{print $5}' | sed "s/,//") now=$(date +%s) diff=$(($now-$then)) | |
| #Convert time to human readable stuff. | |
| days=$(($diff/86400)) diff=$(($diff-($days*86400))) hours=$(($diff/3600)) diff=$(($diff-($hours*3600))) minutes=$(($diff/60)) | |
| #Find current bandwith in each pipe | |
| var1=$(netstat -bI en0 | awk "/en0/"'{print $7;exit}') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --direct access to keyboard shortcuts in system preferences | |
| tell application "System Preferences" | |
| activate | |
| set the current pane to pane id "com.apple.preference.keyboard" | |
| reveal anchor "shortcutsTab" of pane id "com.apple.preference.keyboard" | |
| --get properties of anchors of pane id "com.apple.preference.keyboard" | |
| delay 1 | |
| tell application "System Events" | |
| key code 48 | |
| key code 48 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --access default resolution option | |
| tell application "System Preferences" | |
| activate | |
| set the current pane to pane id "com.apple.preference.displays" | |
| delay 1 | |
| tell application "System Events" | |
| key code 48 | |
| key code 48 | |
| key code 125 | |
| key code 48 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tell application "System Preferences" | |
| activate | |
| set the current pane to pane id "com.apple.preference.displays" | |
| delay 1 | |
| tell application "System Events" | |
| key code 48 | |
| key code 48 | |
| key code 48 | |
| key code 48 | |
| key code 48 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Option Explicit | |
| Const navOpenInNewWindow = &h1 | |
| Const navOpenInNewTab = &h800 | |
| Const navOpenInBackgroundTab = &h1000 | |
| Dim intLoop : intLoop = 0 | |
| Dim intArrUBound : intArrUBound = 0 | |
| Dim navFlags : navFlags = navOpenInBackgroundTab |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| cscript //nologo open_mult_tabs.vbs | |
| start "C:\Program Files (x86)\Microsoft Office\Office14\ONENOTE.EXE" "G:\Patient_Throughput\~Departments\Transfer Center and Bed Board\Open Notebook.onetoc2" "G:\Patient_Throughput\~Departments\Transfer Center and Bed Board\Open Notebook.onetoc2" | |
| start "" "C:\Program Files\Healthware Systems\ActiveDASHBOARD\Dashboard.exe" | |
| start "" "C:\Program Files (x86)\Microsoft Office\Office14\OUTLOOK.EXE" | |
| start chrome https://console.inquicker.com/ascensionhealth |
NewerOlder