Skip to content

Instantly share code, notes, and snippets.

View svrl's full-sized avatar

O. Celen svrl

  • Istanbul, Turkey
View GitHub Profile
dir | ForEach-Object { & "C:\[path of 7za.exe]\7za.exe" a $_.BaseName $_.Name -sdel }
@svrl
svrl / tomatousb-privateinternetaccess.com-configuration-tutorial.md
Created April 5, 2014 12:06
Tomatousb privateinternetaccess.com Configuration Tutorial

rcbarnes Aug 2012 Posts: 38

I'm running Tomato Firmware v1.28.7498 MIPSR2-Toastman-VLAN-RT K26 USB VPN-NOCAT, so YMMV, but I believe all currently-maintained versions of Tomato (particularly TomatoUSB) will match my interface so long as they have VPN support at all.

Click VPN Tunneling menu, then OpenVPN Client submenu
Choose the Client 1 tab and then Basic tab below
Check Start with WAN if you want to auto-connect whenever your router is online/starts up
Set Interface Type to TUN

Set Protocol to UDP

@svrl
svrl / how-to-add-ntfs-write-support-to-os-x-10.9-mavericks-with-brew.md
Created December 6, 2013 07:34
How to add NTFS write support to OS X 10.9 Mavericks with Brew

You need to install fuse4x and ntfs-3g for NTFS write support in OS X Mavericks:

brew update
brew install fuse4x
brew install ntfs-3g
sudo mv /sbin/mount_ntfs /sbin/mount_ntfs.orig
sudo ln -s /usr/local/Cellar/ntfs-3g/2013.1.13/sbin/mount_ntfs /sbin/mount_ntfs
brew info fuse4x-kext

After "brew info fuse4x-kext" command, you'll see two commands:

@svrl
svrl / nginx-php-fpm-homebrew-10.9.md
Created November 7, 2013 06:57
Installing NGINX and PHP-FPM on OS X 10.9 with Homebrew

OS X 10.9 - Nginx, php commands

Installing PHP 5.5 (with FPM) on Mac OS X

Search for available PHP formulas (formula’s in homebrews are equivalent to packages in aptitude)

brew search php

It will return long list of php 5.2, 5.3, 5.4, 5.5 packages. We need 5.5. Tap it using: