Skip to content

Instantly share code, notes, and snippets.

@jwmcgettigan
jwmcgettigan / bitwarden_duplicate_cleaner.py
Last active December 22, 2025 09:11
Identifies and removes duplicate 'items' and 'folders' from your Bitwarden vault. 🎃
#!/usr/bin/env python3
# Copyright © 2023 Justin McGettigan
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software
# and associated documentation files (the “Software”), to deal in the Software without
# restriction, including without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all copies or
@artem78
artem78 / nokia_registration_reset.bat
Created July 13, 2019 21:32
Symbian sdk trial reset
ECHO HKEY_CURRENT_USER\Software\Nokia\Product Registration [1 8] > _ACL.txt
REGINI _ACL.txt
REG DELETE "HKCU\Software\Nokia\Product Registration" /f
DEL _ACL.txt
PAUSE
@serkodev
serkodev / vue-language-tools-v3.2.md
Last active December 22, 2025 09:06
Vue Language Tools v3.2 Release Notes
@YusukeIwaki
YusukeIwaki / povo_contract_pdf.py
Created May 6, 2025 01:54
POVOの生年月日忘れたときに、契約書類のPDFから生年月日を思い出す
# poetry add pypdf
# poetry add cryptography
from pypdf import PdfReader
def check_password(target_file, password):
"""
指定されたPDFファイルのパスワードが正しいかどうかを判定します
Args:
@z3tt
z3tt / striptext-inside.R
Last active December 22, 2025 08:58
Place Striptext inside Facet Panels with ggplot2
library(ggplot2)
gm_2023 <- readr::read_csv("https://www.cedricscherer.com/data/gapminder-2023.csv")
pal <- c(Africa = "#00D9EE", Americas = "#4CF101", Asia = "#FF4670", Europe = "#FFE702", Oceania = "#CA4ADC")
# base plot
g <-
ggplot(gm_2023, aes(x = gdp_pcap, y = life_exp, size = pop)) +
geom_point(
color = "white",
@Arsenii123
Arsenii123 / `1.sql
Created December 21, 2025 20:20
Запити
--1
SELECT *,(price-price*discount/100)*quantity AS [Overall]
FROM Product
WHERE category LIKE N'продукти'
--2
SELECT *
FROM Product
WHERE DATEDIFF(DAY,GETDATE(),date_of_delivery)>=10
--3
SELECT *
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active December 22, 2025 08:55
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under Discover -> Quests
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:
@artem78
artem78 / SymbianDev-en.md
Last active December 22, 2025 08:53
Developing for Symbian OS guide
@berkus
berkus / xbox-one-wireless-protocol.md
Created April 4, 2019 13:21 — forked from alfredkrohmer/xbox-one-wireless-protocol.md
XBox One Wireless Controller Protocol

Physical layer

The dongle itself is sending out data using 802.11a (5 GHz WiFi) with OFDM and 6 Mbit/s data rate:

Radiotap Header v0, Length 38
    Header revision: 0
    Header pad: 0
    Header length: 38
    Present flags
#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <stdbool.h>
typedef int8_t i8;
typedef int16_t i16;
typedef int32_t i32;
typedef int64_t i64;
typedef uint8_t u8;