Skip to content

Instantly share code, notes, and snippets.

@dmpanch
dmpanch / howto_create_online_radio_macos_sierra.txt
Last active June 30, 2024 06:14
How to create internet radio on MacOS Sierra 10.12
All actions are performed in Terminal.app.
1. Install Homebrew http://brew.sh/
2. Install Jack (route audio tool) http://jackaudio.org/. Current stable version from official website doesn't work with
MacOS Sierra (I use 10.12.3) so you need to download beta version from there https://yadi.sk/d/JwT10b7v3Dm5yy.
After installing reboot your computer.
3. Install Darkice (audio streamer) via brew.
@nerijunior
nerijunior / instagram-followers.js
Last active December 8, 2022 15:55
Instagram - Followers get - JAVASCRIPT
const baseUrl = 'https://www.instagram.com/graphql/'
let followers = []
function toQs(obj) {
return Object.keys(obj).reduce(function(a,k){a.push(k+'='+encodeURIComponent(obj[k]));return a},[]).join('&')
}
function request (url, options) {
options = options || {}
options = {