Joseph Hsu

Apr 12

Github Highlight: Annyong

Annyong starts a public static Web server in the current directory, allowing people in your local network to browse your files.

— remiprev, https://github.com/remiprev/annyong

Annyong

A very simple and nice static file browser.

I liked it a lot, so i forked it and added audio tags for mp3|ogg files. A quick and dirty addition, but it works.

Get my fork of Annyong.

(Source: onethingwell.org)

Apr 10

even pro-er jenga (Taken with picplz in Amherst, NY.)

even pro-er jenga (Taken with picplz in Amherst, NY.)

pro jenga (Taken with picplz in Amherst, NY.)

pro jenga (Taken with picplz in Amherst, NY.)

Mar 30

about to go on my video card (Taken with picplz.)

about to go on my video card (Taken with picplz.)

Mar 14

“Anonymity is authenticity. It allows you to share in a completely unvarnished, raw way…” — Moot via http://ow.ly/4ekTV

Feb 11

Rails: Edit the most recent migration

Handy little alias to quickly edit the most recent Rails migration in one command.

Jan 24

[video]

Jan 03

Open All Modified Files Tracked by Git in Default Editor

Quick way to open modified files… in cases where you close your editor.

Updated from comments (Thanks Ixguma)

Place this file somewhere in PATH and name it git-edit (or whatever you want to call it), mark it chmod +x git-edit and then inside a git dir, run git edit (replace edit with whatever you named it after ‘git-‘)

Dec 20

littlebigdetails:

Google Reader - Search filter drop down turns into a form field

littlebigdetails:

Google Reader - Search filter drop down turns into a form field

Oct 13

Hidden in Rack-Contrib

Here’s some helpful Rack Middleware found in Rack-Contrib.

Rack::Evil

Force a certain response from anywhere. This is useful if you need to debug something from anywhere.

Rack::Profiler

“Uses ruby-prof to measure request time.”

Rack::Rackety (not in contrib)

Something I started to act as an API end-point to test connectors, somewhat like the other half of Hurl.

With Rackety, you can hit a url and have it respond with the contents of a file, such as sample JSON, XML, HTML, etc. You can also POST to it (right now it just returns the params, but will change to return sample response).

It’s an app right now since it’s not meant to really act as middleware, but I will reorganize it so it can.