Skip to content

Instantly share code, notes, and snippets.

@nathanathan
nathanathan / README.md
Last active December 11, 2015 18:58
A version of the howdoi code search tool that runs in a webpage.
howdoi.js
---------
[Based on the shell script here.](https://github.com/gleitz/howdoi)
YQL is used for getting search results.
Stack overflow has an excellent api that provides the answer bodies.
<!doctype html>
<head>
<meta charset="utf-8">
<title>Widget</title>
<base target="_blank" />
</head>
<body>
<h3>Example Language Queries</h3>
<ul>
<li><a href="https://language-nathanathan.rhcloud.com/?q=%28%2B+1+2+%28%2B+3+4+5%29%29">(+ 1 2 (+ 3 4 5))</a></li>

Cordova Enhanced Media API for Android spec

Extends the Cordova Media API

Has ability to choose output encoding/format: If you ever want to upload recorded audio to the cloud, there is no browser support for 3gp AMR-NB. AAC might be better? What are the trade-offs?

Has pauseRecording method implemented by concatenating multiple audio files on stopRecording. Unfortunately, the Android MediaRecorder class does not support just pausing the recording

I wrote this before I found out about bounty source, so nevermind.

Open Source Bounties

Open Source Bounties is a site where users can post open-source software programming tasks and offer money for their completion. It differs from outsourcing sites like freelancer.com in that it would be based on crowd funding where multiple people add to the the bounty for a particular project (being open source, projects may benefit many people). It would be a bit like Kickstarter except that anyone could complete a project and claim the bounty rather than only the project poster.

Feature ideas

Adding a prompt that gives the option to launch a subform:

type name label
launch_subform [subform_name] ? Press the button below to fill out the initial visit form.

Adding a prompt that shows all the subforms created so far, and gives the options to add/remove them.

type name label
@nathanathan
nathanathan / FavoriteBashCommands.md
Last active December 18, 2015 10:39
This is a list of random shell commands that solved problems for me.

Show processes and sub-processes in a tree:

pstree

Restart networking stuff in Ubuntu:

sudo /etc/init.d/networking restart

zoho mail Webmail provider that supports custom domains (see also: mail.live.com)

mx domain lookup Used it to debug issues when setting up custom email domains.

image proxy Caches and resizes images for websites

picozu web image editor I like this one because there is no sign-up and you can drag and drop onto it.