Skip to content

Instantly share code, notes, and snippets.

@teknolog1k
teknolog1k / NixOS_UsernameChange.md
Created February 10, 2025 02:58
Instructions on how to change a user's username on NixOS whilst preserving their home directory

Changing a NixOS user's username without breaking everything

A step-by-step guide to not deleting your entire home directory.

Disclaimer:

I do not know what I am doing. I am not some secret Nix expert. Most importantly, I am not immune to things changing unexpectedly and rendering this guide worthless or actively detrimental. By following this guide, you assume the risk of things not working out properly, including, but not limited to:

  • Deleting your home directory
  • Leaving you unable to log in due to no user password being set
  • Things going wrong in new and unexpected ways that neither of us could have reasonably expected
@bpsib
bpsib / BBC-Radio-HLS.m3u
Last active November 23, 2026 18:27 — forked from stengland/BBC-Radio.m3u
BBC Radio Streams
#EXTM3U
#EXTINF:-1,BBC - Radio 1
http://as-hls-ww-live.akamaized.net/pool_01505109/live/ww/bbc_radio_one/bbc_radio_one.isml/bbc_radio_one-audio%3d96000.norewind.m3u8
#EXTINF:-1,BBC - Radio 1Xtra
http://as-hls-ww-live.akamaized.net/pool_92079267/live/ww/bbc_1xtra/bbc_1xtra.isml/bbc_1xtra-audio%3d96000.norewind.m3u8
#EXTINF:-1,BBC - Radio 1Dance
http://as-hls-ww-live.akamaized.net/pool_62063831/live/ww/bbc_radio_one_dance/bbc_radio_one_dance.isml/bbc_radio_one_dance-audio%3d96000.norewind.m3u8
#EXTINF:-1,BBC - Radio 1 Anthems (UK Only)
http://as-hls-uk-live.akamaized.net/pool_11351741/live/uk/bbc_radio_one_anthems/bbc_radio_one_anthems.isml/bbc_radio_one_anthems-audio%3d96000.norewind.m3u8
#EXTINF:-1,BBC - Radio 2
@sadeghbarati
sadeghbarati / YouTube_auto_subscriber.js
Created July 26, 2022 04:07 — forked from FUNExtreme/YouTube_auto_subscriber.js
YouTube Auto Subscriber which can be used to transfer your subscriptions from one account to another.
/*
* DESCRIPTION
* This script will go through all the subscription buttons on the YouTube page you execute it on, and subscribes to the ones that
* you're not subscribed to yet.
* A random delay is added to each subscription request, this is due to the fact that YouTube starts blocking subscriptions after
* a certain number of consecutive requests. Randomising the delays should trick the detection into thinking it's a valid user doing
* the requests.
*
* HOW TO USE
* Navigate to the page containing the channels you would like to subscribe to. (The subscribe button should be visible!)
@marcan
marcan / canon-ef-protocol-notes.md
Last active November 23, 2026 18:19
Canon EF protocol notes

Testing done using a Canon EOS 600D and a Canon EF-S18-55mm f/3.5-5.6 IS II.

Pinout

  1. VBAT
  2. DET (common with P-GND on lens side)
  3. P-GND
  4. VDD
  5. DCL
  6. DLC
@KarlRamstedt
KarlRamstedt / FirstPersonCameraRotation.cs
Created January 8, 2020 10:17
A simple First Person Camera rotation script for Unity.
using UnityEngine;
/// <summary>
/// A simple FPP (First Person Perspective) camera rotation script.
/// Like those found in most FPS (First Person Shooter) games.
/// </summary>
public class FirstPersonCameraRotation : MonoBehaviour {
public float Sensitivity {
get { return sensitivity; }
@dermesser
dermesser / rope.cpp
Last active November 23, 2026 18:15
A simple rope implementation in C++ – should work well enough.
// Licensed under MIT license.
// (c) Lewin Bormann 2014
# include <string>
# include <iostream>
# include <list>
# include <cstring>
# include <algorithm>
using std::string;
@madhurimarawat
madhurimarawat / GATE-CSE-DS-Resources.md
Last active November 23, 2026 18:03
A collection of the best free GATE preparation resources for CSE & Data Science. Contributions are welcome!

πŸ“Œ GATE Resources - CSE & Data Science

I have compiled all the resources that helped me in my GATE preparation, and I hope they help you too! πŸš€

@madhurimarawat
madhurimarawat / standout-dev-project-ideas-ai-ml-fullstack.md
Created February 13, 2026 06:42
A curated collection of unique, slightly crazy, and placement-worthy AI, ML, and Full Stack project ideas. Built to solve one real developer problem: running out of strong project ideas.

πŸš€ Project Ideas for GitHub AI, ML and Full Stack

Contains AI, ML and Full Stack projects with links and also unique ideas without GitHub references. You can pick from here, implement them in your own way, and then add your repository link here later.

Project Illustration

So first of all, the reason behind this gist. I thought about something we all have in common as developers, the constant struggle to find project ideas. So for that, I made this gist. It contains all my ideas for some cool, slightly crazy projects.

[!IMPORTANT]

@careyi3
careyi3 / README.md
Last active November 23, 2026 17:50
Arduino PID Implementation

Arduino PID

This is a basic implementation of a PID controller on an Arduino.

system_diagram

To replicate this, wire up the system as shown below:

system_diagram