Skip to content

Instantly share code, notes, and snippets.

View sid-r-singh's full-sized avatar
:shipit:

Sidharth R sid-r-singh

:shipit:
  • India
View GitHub Profile
@fpatelm
fpatelm / dev.yml
Last active May 10, 2022 15:13
Github actions to deploy to Firebase hosting
# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ dev ]
pull_request:
@AnandChowdhary
AnandChowdhary / 🎵 My last week in music
Last active June 28, 2024 01:31
🎵 Last week in music
Taylor Swift ███▋░░░░░░░░░░░░░ 16 plays
Maisie Peters ██▊░░░░░░░░░░░░░░ 12 plays
Olivia Rodrigo ██▌░░░░░░░░░░░░░░ 11 plays
Sabrina Carpenter ██▌░░░░░░░░░░░░░░ 11 plays
Billie Eilish █▏░░░░░░░░░░░░░░░ 5 plays
Gracie Abrams ▉░░░░░░░░░░░░░░░░ 4 plays
Harry Styles ▉░░░░░░░░░░░░░░░░ 4 plays
Noah Kahan ▉░░░░░░░░░░░░░░░░ 4 plays
Conan Gray ▋░░░░░░░░░░░░░░░░ 3 plays
Hozier ▋░░░░░░░░░░░░░░░░ 3 plays
@captainhook
captainhook / SpotifyWhitelist
Last active December 29, 2023 17:32
Spotify whitelist, Pi-hole compatible. Original source: https://github.com/x0uid/SpotifyAdBlock
# Spotify's Anti-Adveritsing blocking servers, tricking services to stop music services (DONT BLOCK THESE!):
gcdn.2mdn.net
r9---sn-n4v7kn76.c.2mdn.net
gew1-accesspoint-b-zzfg.ap.spotify.com
ns1.p23.dynect.net
ns3.p23.dynect.net
ns4.p23.dynect.net
dns1.p07.nsone.net
dns2.p07.nsone.net
dns3.p07.nsone.net
@nvbn
nvbn / app.py
Last active March 11, 2023 13:16
Sound lights with spotify, esp8266 and neopixel strip
from __future__ import annotations
import array
import asyncio
from bisect import bisect_left
from dataclasses import dataclass
import logging
import os
import socket
import time
@nvbn
nvbn / playlist.ipynb
Last active November 15, 2021 10:02
Playlist analysis
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@estorgio
estorgio / Mounting VirtualBox shared folders on Ubuntu Server 16.04 LTS.md
Last active June 19, 2024 15:50
Mounting VirtualBox shared folders on Ubuntu Server 16.04 LTS

Update 28 July 2019: An updated version of this guide for Ubuntu Server 18.04 LTS is now available. Feel free to check it out.

Update 23 May 2020: This guide is ALREADY OUTDATED and might no longer work with new versions of Ubuntu and VirtualBox. Please consider switching to the updated guide instead. I will no longer respond to the replies to this gist. Thank you.

Mounting VirtualBox shared folders on Ubuntu Server 16.04 LTS

This guide will walk you through steps on how to setup a VirtualBox shared folder inside your Ubuntu Server guest. Tested on Ubuntu Server 16.04.3 LTS (Xenial Xerus)

@ahallora
ahallora / getSpotifyAccessToken
Last active March 17, 2023 09:44
Get Spotify Access Token (client credentials) with PHP and cURL
<?php
$client_id = '<insert your spotify app client id>';
$client_secret = '<insert your spotify app client secret>';
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://accounts.spotify.com/api/token' );
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1 );
curl_setopt($ch, CURLOPT_POST, 1 );
curl_setopt($ch, CURLOPT_POSTFIELDS, 'grant_type=client_credentials' );
@krman009
krman009 / Like a Mac(OS X) Window (one div).markdown
Last active July 1, 2021 05:29
Like a Mac(OS X) Window (one div)