Skip to content

Instantly share code, notes, and snippets.

View deeperton's full-sized avatar

Anton deeperton

View GitHub Profile
/*!
* jQuery JavaScript Library v2.1.1pre
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
@deeperton
deeperton / suspend_vb_vms.cmd
Last active December 16, 2015 02:28
The script suspends all running virtual machines.
@FOR /F "tokens=*" %%G IN ('VBoxManage list runningvms') DO @CALL :suspend %%G
:suspend
@SETLOCAL
@SET _name=%1
@SET _uuid=%2
@IF [%1]==[] GOTO:eof
@echo Suspend: %_name%
VBoxManage controlvm %_uuid% savestate
@ENDLOCAL