Tag Archives: Snippets

Guid To Windows Clipboard Using Cygwin

Guid Generation This will give you a guid to your Windows clipboard using Cygwin. uuidgen | awk ‘{print “{” toupper($0) “}” }’ | putclip If you don’t like the newline that gets added, you can do this: uuidgen | awk … Continue reading

Posted in Bash, Cygwin, Snippets | Tagged , | Leave a comment

Oracle VirtualBox Snippets

Enumerate Guest Properties VBoxManage guestproperty enumerate Youre_VM_Name_Here Get IP (ipV4) Address Of Guest VBoxManage guestproperty get Youre_VM_Name_Here /VirtualBox/GuestInfo/Net/0/V4/IP Run Bash Command Inside Linux Guest VBoxManage –nologo guestcontrol Youre_VM_Name_Here execute –image “/sbin/ifconfig” –username guestUser –password guestUserPassword –wait-exit –wait-stdout — -a NOTE: … Continue reading

Posted in Snippets, VirtualBox | Tagged , | Leave a comment

Changed Owned Schema For User In SQL Server

I accidentally set “Owned Schemas” for a new user in SQL Server 2005 to db_backupoperator and db_owner. Not what I wanted, and then discovered I couldn’t change them back using SQL Management Studio. Oh, well, the following http://blog.sqlauthority.com/2008/04/05/sql-server-2005-transferring-ownership-of-a-schema-to-a-user/ helped out. … Continue reading

Posted in Snippets, SQL Server | Tagged , | Leave a comment

VIM Snippets and Resources

Sometimes you have to get yourself to use VIM. It is a good tool, but when you are starting out, it can be frustrating. Come here for some links to resources and useful snippets; it’s cheaper than a therapist. I … Continue reading

Posted in Snippets | Tagged | Leave a comment