Skip to content

Instantly share code, notes, and snippets.

View jacobblock's full-sized avatar

Jacob Block jacobblock

View GitHub Profile
#!/usr/bin/python
"""
msysGit to Unix socket proxy
============================
This small script is intended to help use msysGit sockets with the new Windows Linux Subsystem (aka Bash for Windows).
It was specifically designed to pass SSH keys from the KeeAgent module of KeePass secret management application to the
ssh utility running in the WSL (it only works with Linux sockets). However, my guess is that it will have uses for other
@jacobblock
jacobblock / FreeNAS.md
Last active October 22, 2023 13:01
Ultimate FreeNAS Setup

FreeNAS

I started using FreeNAS in August 2013. It is fantastic piece of software and I have been really impressed by the upgrades just in the few months I've been using it. It looks like they recently went to a plugin system as of version 9 to make installing software easier for end users. I've ran into several issues related to plugins and user + group permissions so I decided to just use the available FreeBSD port system. After fiddling for a few days (now turned into months) I believe I have created something helpful for the community and anyone interested in picking up the port system. The sandbox nature of FreeNAS's jail system is especially helpful for playing around without having any consequence on your core system.

Here are straight-forward instructions to setting up a bunch of different software on FreeNAS. If you make a terrible error, just throw up another plugin sandbox and repeat.

ToC

@jacobblock
jacobblock / NewJSProject.md
Last active December 31, 2015 19:19
New JS project
git clone --depth=1 git://github.com/joshdmiller/ng-boilerplate mynewproject
cd mynewproject
rm -Rf .git *.md
git init
touch README.md
git add README.md
git commit -m "Init commit."

sudo npm -g install grunt-cli karma bower
@jacobblock
jacobblock / Installing Orico WRD150 drivers on linux
Last active December 24, 2015 03:29
Installing Orico WRD150 802.11n chip
ORICO WRD150 High Sensitivity 802.11n 150 Mbps USB 2.0 Mini Nano Wireless Adapter Support AP Model / Windows / Linux / MAC
Plug in the receiver:
lsusb
Bus 001 Device 002: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter
dmesg (after unplugging and plugging in)
[ 165.742647] usb 1-7: >USB disconnect, device number 2
[ 169.204041] usb 1-7: >new high-speed USB device number 4 using ehci_hcd