Skip to content

Instantly share code, notes, and snippets.

View joshlewis's full-sized avatar

Josh Lewis! joshlewis

View GitHub Profile
@joshlewis
joshlewis / light-through-the-veins.ck
Last active September 4, 2023 16:37
This ChucK program will play the loop heard in Jon Hopkins's song Light Through the Veins (hear it at https://www.youtube.com/results?search_query=light+through+the+veins+jon+hopkins )
//Notes in loop
392.00 => float G4;
440 => float A4;
466.16 => float Asharp4;
523.25 => float C5;
587.33 => float D5;
659.25 => float E5;
698.46 => float F5;
@joshlewis
joshlewis / analyze-buzzfeed-clickbait.php
Last active July 8, 2021 15:47
What kind of clickbait numbers is BuzzFeed using in their titles? Let's see some stats, based on their RSS feeds.
<?php
//What kind of clickbait numbers is BuzzFeed using in their titles these days?
$feeds = [
"animals",
//"celeb",
"tvandmovies",
"food",
"fwd",
"lgbt",
### Keybase proof
I hereby claim:
* I am joshlewis on github.
* I am joshlewis (https://keybase.io/joshlewis) on keybase.
* I have a public key whose fingerprint is CA3E 74DC 50BC 517C 2940 D620 78A4 CB8B FA98 A1E8
To claim this, I am signing this object:
@joshlewis
joshlewis / googlesuggest.php
Last active July 8, 2021 15:44
A fun little toy written in PHP that will show you google suggest results for any given phrase.
<?php
/*
A script to display the top ten Google suggestions for any given string
First version by Josh Lewis https://github.com/joshlewis
Original script at https://gist.github.com/joshlewis/7882722
*/
if ($argc > 1) {
array_shift($argv);
} else {