Skip to content

Instantly share code, notes, and snippets.

View nosami's full-sized avatar

Jason Imison nosami

View GitHub Profile
@nosami
nosami / uninstall-xamarin.sh
Created October 3, 2019 17:20 — forked from jstedfast/uninstall-xamarin.sh
uninstall-xamarin.sh
#!/bin/bash
echo "Uninstalling the Xamarin Installer..."
rm -rf ~/Library/Caches/XamarinInstaller/
rm -rf ~/Library/Caches/VisualStudioInstaller/
rm -rf ~/Library/Logs/XamarinInstaller/
rm -rf ~/Library/Logs/VisualStudioInstaller/
rm -rf ~/Library/Preferences/Xamarin/
echo "Uninstalling Xamarin.Android..."
From dbb849d0228276062fff1acf3a2d49b7ff065b5d Mon Sep 17 00:00:00 2001
From: Aleksey Kliger <alklig@microsoft.com>
Date: Wed, 3 Jan 2018 17:38:07 -0500
Subject: [PATCH] Print some info if we are asked to look up a method token
that's outside the range of the PPDB.
---
mono/metadata/debug-mono-ppdb.c | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
@nosami
nosami / _readme.md
Created March 13, 2016 23:31 — forked from bradwilson/_readme.md
bash-git prompt overrides

CAVEAT: This works for me on Linux Mint 17.3. YMMV, caveat emptor, etc.

If this looks like (like maybe it should be a bash-git theme), hey, I agree with you, but I spent as many hours struggling with doing this "the right way" as I'm willing to put in.

Some of the custom characters come from Font Awesome. You should install the Font Awesome font into your system to use them. They may have what appears to be odd extra-spacing owing to the fact that Font Awesome is not fixed pitch, but Terminal expects it to be.

Add the following three lines to your .bashrc:

source ~/.bash-git-prompt/gitprompt.sh
@nosami
nosami / osx-pkgsrc-release.md
Created November 15, 2015 05:14 — forked from jperkin/osx-pkgsrc-release.md
OSX pkgsrc release procedure

OSX Bulk Builds

This is my log of how to perform a quarterly branch pkgsrc bulk build on my local OSX/SmartOS setup.

Git

On gromit.local

BRANCH=2015Q1
@nosami
nosami / Setup.fsx
Last active August 29, 2015 23:24 — forked from ovatsus/Setup.fsx
Script to setup F# Interactive session, loading everything in the current solution
#r "System.Xml.Linq"
open System
open System.IO
open System.Xml.Linq
let script = seq {
//TODO: this currently loads fsproj's in alphabeticall order, we should instead
//build the dependencies graph of the fsproj's and load them in topological sort order
(require 'prodigy)
;; omnisharp-emacs development hacks
(setenv "PATH" (concat (getenv "PATH")
":/home/mika/.cask/bin"
":/home/mika/bin/"))
(defmacro def-omnisharp-service (name command &optional args-to-command)
(let ((omni-dir "/home/mika/git/omnisharp-emacs/"))
`(prodigy-define-service
Aldgate: @AssociationEC3^+ and @Dose_E1*%
Camden Town: Lola's*%
Farringdon: Prufrock+^% and Dept Coffee & Resp^%
Holborn: Workshop^
Islington: @SaintEspresso+*%
Kings Cross: CaravanX^+@
OldSt/Barbican: TimberYard* and Look Ma No Hands*
OldSt/Hoxton: MacIntyres R.I.P. and Embassy East
Marble Arch: Borough Barista*
TCourtRd: T.A.P. Coffee
g_LastCtrlKeyDownTime := 0
g_AbortSendEsc := false
g_ControlRepeatDetected := false
*CapsLock::
if (g_ControlRepeatDetected)
{
return
}