Skip to content

Instantly share code, notes, and snippets.

Raymond Edwards rayray

Block or report user

Report or block rayray

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@rayray
rayray / HNApi.js
Created Oct 2, 2018 — forked from Swizec/HNApi.js
Unofficial HackerNews write API wrapper
View HNApi.js
import cheerio from 'cheerio-without-node-native';
const convertRequestBodyToFormUrlEncoded = (data) => {
const bodyKeys = Object.keys(data);
const str = [];
for (let i = 0; i < bodyKeys.length; i += 1) {
const thisKey = bodyKeys[i];
const thisValue = data[thisKey];
str.push(`${encodeURIComponent(thisKey)}=${encodeURIComponent(thisValue)}`);
@rayray
rayray / flac2mp3.rb
Created Jun 26, 2012 — forked from mxcl/flac2mp3.md
Simple FLAC to MP3 converter, allows for V2..V0|320CBR.
View flac2mp3.rb
moved to https://github.com/rmndk/flac2mp3
You can’t perform that action at this time.