Skip to content

Instantly share code, notes, and snippets.

@OrigamiTech
OrigamiTech / MeinBandCamp
Created February 19, 2011 16:52
Bandcamp Scraper.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Net;
using System.IO;
using HundredMilesSoftware.UltraID3Lib;
namespace MeinBandCamp
@Tatsh
Tatsh / server-rss.js
Created October 13, 2011 20:44
Crawl a site and make an RSS feed
var http = require('http');
var select = require('soupselect').select;
var htmlparser = require('htmlparser');
var ua = 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.83 Safari/535.2';
var updateFromTheSite = function (callback) {
var cookies = 'uid=0000; pass=0000000000000000';
var siteName = 'The Site name';
## How to hide API keys from github ##
1. If you have already pushed commits with sensitive data, follow this guide to remove the sensitive info while
retaining your commits: https://help.github.com/articles/remove-sensitive-data/
2. In the terminal, create a config.js file and open it up:
touch config.js
atom config.js
@andybp85
andybp85 / simpleMidiSynthControl.scd
Last active September 7, 2022 03:43
Supercollider: basic midi control for a simple two sawtooth oscillator synth with midi bend working and midi cc's 32 and 33 to tune the oscs
(
// set up midi
MIDIClient.init;
MIDIIn.disconnectAll;
MIDIIn.connectAll;
)
(
// arrays to store pressed keys and cc messages
~keys = Array.newClear(128);