Skip to content

Instantly share code, notes, and snippets.

@SystemJargon
SystemJargon / nz_radio.m3u
Created April 20, 2024 05:52
M3U Playlist containing some New Zealand radio station streams.
#EXTM3U
#RADIOBROWSERUUID:a25700ef-e952-4b73-8b4e-b92d938cb020
#EXTINF:1, Newstalk ZB Auckland
https://ais-nzme.streamguys1.com/nz_002_aac
#RADIOBROWSERUUID:ce5e5e45-7b40-4aa8-9c1c-a9be0331b2ff
#EXTINF:1, Flava Auckland 95.8 FM
https://ais-nzme.streamguys1.com/nz_010_aac
#RADIOBROWSERUUID:9e220835-ca65-4570-94f6-f31f70d6542f
@andreabazerla
andreabazerla / twitter.js
Last active May 2, 2024 23:14
Simple script in JavaScript to like all tweets on Twitter to get more followers and establish a dictatorship
setInterval(function () {
window.scrollTo(0, document.body.scrollHeight);
$('.ProfileTweet-actionButton.js-actionButton.js-actionFavorite:visible').click();
}, 1000);
@mesgarpour
mesgarpour / appsScript_ListFilesFolders_ver.2.js
Last active December 20, 2025 16:25
[Google Apps Script] List all files & folders in a Google Drive folder, & write into a speadsheet
/*
* Copyright 2017 Mohsen Mesgarpour
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
// XPath CheatSheet
// To test XPath in your Chrome Debugger: $x('/html/body')
// http://www.jittuu.com/2012/2/14/Testing-XPath-In-Chrome/
// 0. XPath Examples.
// More: http://xpath.alephzarro.com/content/cheatsheet.html
'//hr[@class="edge" and position()=1]' // every first hr of 'edge' class
@spejman
spejman / Creating Shazam in Java
Created July 8, 2010 15:29 — forked from mort/Creating Shazam in Java
Algoritmo de Shazam
A backup of http://sites.google.com/site/redcodenl/creating-shazam-in-java-1 just in case
Why is this necessary? Read http://sites.google.com/site/redcodenl/patent-infringement
Please fork, tweet about, etc.
----
Creating Shazam in Java
A couple of days ago I encountered this article: How Shazam Works
This got me interested in how a program like Shazam works… And more importantly, how hard is it to program something similar in Java?