Skip to content

Instantly share code, notes, and snippets.

@sosmongare
sosmongare / AnyDesk-Reset.cmd
Created June 17, 2024 11:44
Reset Anydesk license timer
@echo off & setlocal enableextensions
title Reset AnyDesk
reg query HKEY_USERS\S-1-5-19 >NUL || (echo Please Run as administrator.& pause >NUL&exit)
chcp 437
call :stop_any
del /f "%ALLUSERSPROFILE%\AnyDesk\service.conf"
del /f "%APPDATA%\AnyDesk\service.conf"
copy /y "%APPDATA%\AnyDesk\user.conf" "%temp%\"
rd /s /q "%temp%\thumbnails" 2>NUL
xcopy /c /e /h /r /y /i /k "%APPDATA%\AnyDesk\thumbnails" "%temp%\thumbnails"
@spraints
spraints / 00.md
Last active December 17, 2025 22:41
A really simple postgres protocol analyzer

Simple postgres protocol analyzer

Synopsis:

(Assume postgres is running on localhost.)

$ go run . &

$ psql "host=127.0.0.1 port=5555 sslmode=disable user=... password=..."
@AvasDream
AvasDream / oscp_prep.md
Last active December 17, 2025 22:39
Resource for OSCP like HTB Boxes with Ippsec Videos and Writeups.
@dpossas
dpossas / precifkapp.md
Created December 17, 2025 13:40
Precifikapp - Detalhes técnicos

ZSH CheatSheet

This is a cheat sheet for how to perform various actions to ZSH, which can be tricky to find on the web as the syntax is not intuitive and it is generally not very well-documented.

Strings

Description Syntax
Get the length of a string ${#VARNAME}
Get a single character ${VARNAME[index]}
@aqualad
aqualad / BlockPS4Updates
Created May 20, 2021 19:08
pi hole adlist to block ps4 updates
# Exploited PS4 Blocklist (https://gbatemp.net/threads/aio-ps4-exploit-guide.497858/)
#[community.playstation.net]
asm.np.community.playstation.net
ps4.updptl.np.community.playstation.net
ps4.updptl.sp-int.community.playstation.net
ps4updptl.eu.np.community.playstation.net
ps4updptl.jp.np.community.playstation.net
ps4updptl.jp.sp-int.community.playstation.net
ps4updptl.uk.np.community.playstation.net
@RubenSomsen
RubenSomsen / SwiftSync.md
Last active December 17, 2025 22:21
SwiftSync - smarter synchronization with hints

SwiftSync

Near-stateless, fully parallelizable validation of the Bitcoin blockchain with hints about which outputs remain unspent. All other inputs/outputs are efficiently crossed off inside a single hash aggregate that only reaches zero if validation was successful and the hints were correct.

15-minute talk summarizing the protocol

Introduction

Validation is at the heart of Bitcoin. Any improvements in validation speed will have a direct impact on the scalability of the system, including everything that is built on top of it. For this reason improving validation performance may be one of the most important things we can do.

@BolderLearnerTechSchool
BolderLearnerTechSchool / configure_more_than_one_GitHub_account.md
Last active December 17, 2025 22:20
Configure Your Computer To Use More Than One GitHub Account
@0xjac
0xjac / private_fork.md
Last active December 17, 2025 22:17
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare [email protected]:usi-systems/easytrace.git

@w-e-w
w-e-w / sd-webui-txt2img-img2img-api-example.py
Last active December 17, 2025 22:16
Stable Diffusion web UI txt2img img2img api example script
from datetime import datetime
import urllib.request
import base64
import json
import time
import os
webui_server_url = 'http://127.0.0.1:7860'
out_dir = 'api_out'