Skip to content

Instantly share code, notes, and snippets.

@jclosure
jclosure / play_spotify_via_winamp.md
Last active May 5, 2024 01:39
How to play your Spotify music in Winamp and get Visualizatons

Spotiamp features a builtin Shoutcast® server, so you can easily stream the music to any device supporting Shoutcast, such as Sonos.

Download and install Winamp

I've installed version 5.8

https://www.winamp.com/

@dpaluy
dpaluy / README.md
Last active May 5, 2024 01:36
Download view only protected PDF from Google Drive

Step by step guide to downloading protected PDF from Google Drive

  1. Open the document in Google Docs
  2. Scroll to the bottom of the document, so all the pages are present
  3. Open Developer Tools on separate window and choose the Console tab
  4. Paste the code
  5. Have fun!
@nebhead
nebhead / CustomUSBName.md
Last active May 5, 2024 01:33
Instructions for Adding Custom Naming for Arduino USB Device

The following is capturing instructions on how to add custom naming for an Arduino Leonardo (or generic pro-micro) for my Arcade Controller device. I wanted to have a simple record so that when I inevitably come back to this someday I can recall how I accomplished this. Reference was taken from the following YouTube video (https://youtu.be/hoCOq9Ngp44?t=1156) at approximately 19m16s.

WINDOWS Instructions:

Create a new set of folders: ~\Documents\Arduino\hardware\daemonbite\avr

Copy everything from C:\Program Files (x86)\Arduino\hardware\arduino\avr to this new folder.

@mizunototori
mizunototori / ind2sub.py
Created August 31, 2017 01:49
python ind2sub same with matlab
def ind2sub(array_shape, ind):
# Gives repeated indices, replicates matlabs ind2sub
rows = (ind.astype("int32") // array_shape[1])
cols = (ind.astype("int32") % array_shape[1])
return (rows, cols)
@Facni
Facni / Hypothesidian.js
Created May 5, 2024 01:29 — forked from chrisaldrich/Hypothesidian.js
Hypothes.is - retrieve your annotations into Obsidian (for templater plugin)
<%*
/*
# Hypothes.idian a templater script for retrieving annotations from Hypothes.is
Original Dev: TfTHacker https://github.com/TfTHacker
Fork Dev: chrisaldrich https://github.com/chrisaldrich
This Fork Dev: Facni https://github.com/Facni
# Prerequisites:
+ Templater plugin by https://github.com/SilentVoid13/Templater
+ Free Hypothes.is developer token from: https://hypothes.is/account/developer
@superskirv
superskirv / Civitai Image Highlight Remover.user.js
Last active May 5, 2024 01:28
Civitai Image Highlight Remover: Removes glowing border around images.
// ==UserScript==
// @name Civitai Image Highlight Remover
// @namespace https://civitai.com/user/superskirv
// @version 0.2b
// @description This isnt universal... working on that. Removes glowing border around images. Reload page to remove border. Updated list of users, Im lazy and havent made this global yet.
// @author Super.Skirv and ChatGPT 3.5
// @match https://civitai.com/*
// @icon https://civitai.com/images/android-chrome-192x192.png
// @grant none
// ==/UserScript==
@choco-bot
choco-bot / 1.RegistrySnapshot.xml
Created May 5, 2024 01:14
klayout v0.29.1 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user>S-1-5-21-4052470390-3226813249-2593596705-1000</user>
<keys>
<key installerType="Unknown" displayName="Klayout - Layout Viewer And Editor" displayVersion="0.29.1">
<RegistryView>Registry32</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KLayout</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA[C:\Program Files (x86)\KLayout\klayout-uninstall.exe]]></UninstallString>
@wh0th3h3llam1
wh0th3h3llam1 / colorful_output.bat
Created October 15, 2021 13:36
Colorful output on Python/Bash/Batch/PowerShell
@echo off
echo Gray
echo Red
echo Green
echo Yellow
echo Blue
echo Magenta
echo Cyan
echo White