New Windows scripts to help setup a training environment
new file: windows/README.md new file: windows/killprogs.bat - Kill running programs that might have popups. new file: windows/launch_ff.bat - Launch FireFox with base pages new file: windows/setalias.bat - Set normal alias' for trainer new file: windows/start_training.bat - Run the series of **bat** files new file: windows/unsetalias.bat - Unset nomral alias' for traininer
This commit is contained in:
Родитель
a6e5787b43
Коммит
cbbd79d109
|
@ -0,0 +1,20 @@
|
|||
# GitHub Training Setup Scripts
|
||||
When doing training one of the distracting things that can happen is that you will receive a **popup** message from your email client, Slack Notification, or other program running in the background. This script is intended to help shutdown those programs that might interrupt your training session.
|
||||
|
||||
The possible disctration is that your **Daily Browser** may have a lot of tool bar entries that may disctrct the audience. In my environment I use Chrome as my primary browswer, so I have chosen to launch a **Clean FireFox** browser instead for training.
|
||||
|
||||
|
||||
*This initial version works for Windows 7, but the concept should be easy to port to MAC or Linux*
|
||||
|
||||
| Script FIle | Description |
|
||||
|-------------|-------------|
|
||||
| killprogs.bat | Simple script that runs through a list of programs to terminate. The `/f` switch forces the program to terminate |
|
||||
| launch_ff.bat | Launches the **FireFox** browswer from the standard installation location with a few **starting** webpages for training |
|
||||
| setalias.bat | A quick way to setup my normal development git alias'. It is a bit annoying when you keep using your alias' and the people your training don't have them setup as well. |
|
||||
| start_training.bat | Launch the killprogs.bat, unsetalias.bat, and launch_ff.bat scripts |
|
||||
| unsetalias.bat | Quickly unset some of my common git alias' so I am forced to use the long hand command for training.|
|
||||
|
||||
## Customization
|
||||
If you need to add more programs to the `killprogs.bat` file you can simply run `tasklist` from a Windows command line to see the full name of the program to kill.
|
||||
|
||||
If you have any suggestions/comments please feel free to leave issues on this repository, if you would like to help with other platforms I look forward to working with you.
|
|
@ -0,0 +1,8 @@
|
|||
taskkill /f /IM slack.exe
|
||||
taskkill /f /IM outlook.exe
|
||||
taskkill /f /IM Lync.exe
|
||||
taskkill /f /IM Evernote.exe
|
||||
taskkill /f /IM Chrome.exe
|
||||
taskkill /f /IM iTunesHelper.exe
|
||||
taskkill /f /IM iTunes.exe
|
||||
taskkill /f /IM BtITunesPlugIn.exe
|
|
@ -0,0 +1 @@
|
|||
"c:\Program Files (x86)\Mozilla Firefox\firefox.exe" https://guides.github.com/introduction/flow/ http://git-school.github.io/visualizing-git/ http://learngitbranching.js.org/?NODEMO https://services.github.com/on-demand/images/config-levels.jpg https://services.github.com/on-demand/images/two-stage-commit-a.jpg https://services.github.com/on-demand/images/reset-modes.jpg
|
|
@ -0,0 +1,2 @@
|
|||
git config --global alias.s "status"
|
||||
git config --global alias.lg "log --graph --format=short --decorate=short --all"
|
|
@ -0,0 +1,3 @@
|
|||
call killprogs.bat
|
||||
call unsetalias.bat
|
||||
call launch_ff.bat
|
|
@ -0,0 +1,2 @@
|
|||
git config --global --unset alias.s
|
||||
git config --global --unset alias.lg
|
Загрузка…
Ссылка в новой задаче