Skip to content

Instantly share code, notes, and snippets.

@kenwilcox
kenwilcox / vmdk-shrink.md
Last active August 29, 2015 14:07
How to properly shrink the VMWare disk image

I know this is found online, This Gist is so I can easily find it.

  • Delete any Snapshots
  • In a terminal of the guest OS type:
  cat /dev/zero > whipefile; rm whipefile
  # That command fills the disk with zeros, once full it removes the file - This can take some time
  • From the terminal of the host OS type:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
namespace CSharpBug
{
class Program
{
@kenwilcox
kenwilcox / Roy-G.-Biv.markdown
Created May 17, 2014 07:51
A Pen by kenwilcox.

Roy G. Biv

Playing with bubbles.js on codecademy.com, thought it would be fun to use the whole rainbow.

A Pen by kenwilcox on CodePen.

License.

This is a test, This is only a test.