Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am jhansen317 on github.
* I am jakobchansen (https://keybase.io/jakobchansen) on keybase.
* I have a public key ASAMLAlMWCA4U92pg8ljT6HCxNZErA5laoxq-Xjsym35hwo
To claim this, I am signing this object:
@jhansen317
jhansen317 / install_py.ps1
Last active February 20, 2018 18:40
Install python/pip, find latest tortoise svn installer and run it
###
# Download and install python, pip and some useful packages
###
$latestPy='2.7.14'
$pyMsi="python-{0}.amd64.msi" -f $latestPy
$pyUri="https://www.python.org/ftp/python/{0}/{1}" -f ($latestPy, $pyMsi)
$saveTo=$(Join-Path $env:TEMP $pyMsi)
$pipTemp=$(Join-Path $env:TEMP 'get-pip.py')
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
@jhansen317
jhansen317 / iis-asp.md
Created February 1, 2018 15:44
Get IIS/ASP working on Windows 7

How to get IIS and ASP.NET services working on Win7

Enable ASP.NET components of IIS

  • Control Panel -> Programs -> Turn windows features on and off
  • Find IIS -> World Wide Web Services -> Application Development Features -> Make sure ASP.NET is checked

Install ASP.NET MVC 4 in Visual Studio installer

  • Under the installed version, click modify
@jhansen317
jhansen317 / pulseaudio-perf.md
Created March 27, 2017 18:23
How to record pulse crashes with perf

How to record pulseaudio crashes with perf

This comes from a debugging session with Arun

apt-get install linux-tools-4.4 apt-get install linux-perf-4.4

To start recording: perf record -a