Skip to content

Instantly share code, notes, and snippets.

cd /Library/Preferences
sudo rm com.sophos.sav.plist

cd /Library/Application\ Support/Sophos/cloud/Installer.app/Contents/MacOS/tools/
sudo ./InstallationDeployer —force_remove
@headdetect
headdetect / NotEnoughMoney.cs
Last active December 19, 2015 18:38
Just a nice little way that displays that you are actually a poor bastard.
using System;
namespace QuickCalc
{
class Program
{
//TODO: Change to fit your needs //
static double WAGE = 7.25;
static double HOURS_PER_WEEK = 19;
@ryanflorence
ryanflorence / static_server.js
Last active July 3, 2025 03:26
Node.JS static file web server. Put it in your path to fire up servers in any directory, takes an optional port argument.
var http = require("http"),
url = require("url"),
path = require("path"),
fs = require("fs")
port = process.argv[2] || 8888;
http.createServer(function(request, response) {
var uri = url.parse(request.url).pathname
, filename = path.join(process.cwd(), uri);