Skip to content

Instantly share code, notes, and snippets.

View ptomasroos's full-sized avatar

Tomas Roos ptomasroos

View GitHub Profile
@ptomasroos
ptomasroos / install-vmwaretools-ubuntu
Last active August 29, 2015 13:56
This installs vmwaretools on ubuntu and expecting the tools to be mounted via the GUI of vmware fusion / player
# usage curl -s https://gist.github.com/ptomasroos/8914609/raw/ | sudo sh
# !! make sure you have the vmware tools mounted all ready through the UI
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get -y install linux-headers-generic build-essential
cd /media/VMware\ Tools/
sudo cp VM*.tar.gz /tmp
cd /tmp
@ptomasroos
ptomasroos / install-ubuntu
Last active August 29, 2015 13:56
This installs ubuntu 12.04.* with the latest stuff according to my preferences
# usage
# curl -s https://gist.github.com/ptomasroos/8861534/raw/ | sudo sh
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get -y install linux-headers-generic build-essential
# install chrome
cd /tmp
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
@ptomasroos
ptomasroos / install-sublime-text-2
Created December 3, 2013 13:15
Install sublime-text-2 properly on Fedora 19 with Gnome 3 icon
#!/usr/bin/env bash
# Usage: {script} [ OPTIONS ] TARGET VERSION
#
# TARGET Default target is "/usr/local".
# VERSION If not defined tries to get the build into the Sublime Text 2 website.
#
# OPTIONS
#
# -h, --help Displays this help message.
#
using System.Linq;
namespace ClassLibrary2
{
using System;
using System.Reflection;
using NUnit.Core;
using NUnit.Core.Extensibility;
using NUnit.Framework;