Skip to content

Instantly share code, notes, and snippets.

@jscher2000
jscher2000 / export-firefox-tab-titles-urls.js
Last active January 27, 2026 11:56
Export Current Tab Titles/URLs to CSV - Script for Firefox's Browser Console
/* Export Current Tab Titles/URLs to CSV - Script for the Browser Console
NOTE: BEFORE RUNNING THIS SCRIPT, CHECK THIS SETTING:
Type or paste about:config into the address bar and press Enter
Click the button promising to be careful
In the search box type devt and pause while Firefox filters the list
If devtools.chrome.enabled is false, double-click it to toggle to true
Paste this entire script into the command line at the bottom of the Browser Console (Windows: Ctrl+Shift+j)
Then press Enter to run the script. A save dialog should promptly open.
@DrLeucine
DrLeucine / thesis-eisvogel
Created December 2, 2022 12:45
An adaptation of https://github.com/Wandmalfarbe/pandoc-latex-template but for academic thesis with minor changes to the layout
%%
% Copyright (c) 2017 - 2021, Pascal Wagler;
% Copyright (c) 2014 - 2021, John MacFarlane
%
% All rights reserved.
%
% Redistribution and use in source and binary forms, with or without
% modification, are permitted provided that the following conditions
% are met:
%
@x0nu11byt3
x0nu11byt3 / elf_format_cheatsheet.md
Created February 27, 2021 05:26
ELF Format Cheatsheet

ELF Format Cheatsheet

Introduction

Executable and Linkable Format (ELF), is the default binary format on Linux-based systems.

ELF

Compilation

@en4rab
en4rab / WiFi-Lightbulb.md
Last active August 20, 2025 04:37
Flashing an unbranded smart lightbulb to Tasmota

Flashing an unbranded smart lightbulb to Tasmota

Whilst on holiday last week I thought i would do something productive but that seemed like work so I bought some cheap noname wi-fi smart LED lighbulbs off ebay and flashed them with Tasmota firmware, since the particular bulb I bought wasnt listed on the Tasmota Device Templates Repository and I have no idea if they accept an entry for a bulb with no identifying marks I thought i'd put something here incase its of use to anyone.

Reliability: I have at this point had 10 of these bulbs running for about a week, one of them has just died.

TL;DR

The pinout and device string for this light:

  • GPIO4 Cold White PWM 4
@ih2502mk
ih2502mk / list.md
Last active January 27, 2026 01:19
Quantopian Lectures Saved
@Maxzor
Maxzor / remove-all-from-docker-oneliner.sh
Last active January 13, 2026 15:16 — forked from beeman/remove-all-from-docker.sh
Remove all from Docker
echo "Removing containers :" && if [ -n "$(docker container ls -aq)" ]; then docker container stop $(docker container ls -aq); docker container rm $(docker container ls -aq); fi; echo "Removing images :" && if [ -n "$(docker images -aq)" ]; then docker rmi -f $(docker images -aq); fi; echo "Removing volumes :" && if [ -n "$(docker volume ls -q)" ]; then docker volume rm $(docker volume ls -q); fi; echo "Removing networks :" && if [ -n "$(docker network ls | awk '{print $1" "$2}' | grep -v 'ID\|bridge\|host\|none' | awk '{print $1}')" ]; then docker network rm $(docker network ls | awk '{print $1" "$2}' | grep -v 'ID\|bridge\|host\|none' | awk '{print $1}'); fi;
@StoneLabs
StoneLabs / circle.py
Last active October 28, 2024 16:58
Factorio Circle Blueprint Generator
print("Please make sure py_factorio_blueprints is installed (pip install)")
print("Please make sure https://github.com/tzwaan/python-factorio-blueprints is cloned in this directory")
from py_factorio_blueprints.blueprint import Blueprint
print("\nEnter radius: ", end="")
radius = int(input())
print("Enter Thickness: ", end="")
thickness = int(input())
print("\nGenerating Circle...")
@roachhd
roachhd / README.md
Last active January 21, 2026 03:56
Basics of BrainFuck

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

BrainFuck Programming Tutorial by: Katie

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

INTRODUCTION

//
// Regular Expression for URL validation
//
// Author: Diego Perini
// Created: 2010/12/05
// Updated: 2018/09/12
// License: MIT
//
// Copyright (c) 2010-2018 Diego Perini (http://www.iport.it)
//
@lox
lox / autoexec.cfg
Created November 15, 2009 22:27
Quake3 Config
// Lox's Quake3 Config
// copy into the baseq3 directory to use
seta r_customHeight "900"
seta r_customWidth "1440"
seta r_mode "-1"
seta cg_fov 120
seta r_detailtextures "1"
seta r_drawSun "1"