Skip to content

Instantly share code, notes, and snippets.

Visual Studio 2026 18.x
Professional: NVTDK-QB8J9-M28GR-92BPC-BTHXK
Enterprise: VYGRN-WPR22-HG4X3-692BF-QGT2V
Product Year Version Product Keys
Visual Studio 2022 2021 17.x
Professional: TD244-P4NB7-YQ6XK-Y8MMM-YWV2J
Enterprise: VHF9H-NXBBB-638P6-6JHCY-88JWH
Visual Studio 2019 2019 16.x
@markasoftware
markasoftware / enterprise_token.rb
Last active August 20, 2026 17:53
OpenProject Enterprise mode for free
############ If you are using DOCKER all-in-one image, create Dockerfile like: ################
############ FROM openproject/openproject:16 ################
############ COPY ./enterprise_token.rb app/models/enterprise_token.rb ################
############ If you are runing a manual installation: ################
############ REPLACE app/models/enterprise_token.rb in the source code with this file! ################
############ also be sure to RESTART OpenProject after replacing the file. ################
############ If using some other set up (eg docker-compose), read the comments on ################
############ https://gist.github.com/markasoftware/f5b2e55a2c2e3abb1f9eefcdf0bfff45 ################
@ivanskodje
ivanskodje / ubuntu-setup.sh
Last active August 20, 2026 17:40
Ivan Skodje's Ubuntu 22.04/24.04 Setup Scripts for installing various tools and apps
#!/bin/bash
install_sdkman() {
echo "Installing SDKMan ( https://sdkman.io/ )"
curl -s "https://get.sdkman.io" | bash
export SDKMAN_DIR="$HOME/.sdkman"
[ -s "$SDKMAN_DIR/bin/sdkman-init.sh" ] && source "$SDKMAN_DIR/bin/sdkman-init.sh"
if ! grep -q 'sdkman-init.sh' ~/.bashrc && [ -f ~/.bashrc ]; then
@khanhduytran0
khanhduytran0 / _MissedRevoke.md
Last active August 20, 2026 17:39
Bypass revoke and expired certs for iOS 26.x

This is for iOS 26+ only. Read mineek's secret.txt for more info.

I didn't plan to release this that early, but as iOS 27 has already nuked partial restore; and A12/A13 being jailbreakable (including A12 iPads EOL at 26) as soon as a new kernel exploit drops, there is not much to lose.

MissedRevoke

(the "secret.txt" for iOS 26)

iOS has had a long time storing revocation details in separate plists, it was trivially bypassable by zeroing and chflags immutable on them. Since iOS 26.0b2, all of these files have been migrated to mis.db.

@hypafrag
hypafrag / ps4-send.py
Last active August 20, 2026 17:27
Serve local .pkg files to PS4 Remote Package Installer with space-free URLs. Files are renamed to <md5-of-abs-path>.pkg so paths never contain spaces. Connections are restricted to the PS4 IP only. Exits 5 seconds after the last PS4 connection closes. Usage: python3 ps4-send.py file1.pkg [file2.pkg ...]
#!/usr/bin/env python3
"""
Serve local .pkg files to PS4 Remote Package Installer with space-free URLs.
Files are renamed to <md5-of-abs-path>.pkg so paths never contain spaces.
Connections are restricted to the PS4 IP only.
Exits 5 seconds after the last PS4 connection closes.
Usage: python3 ps4-send.py file1.pkg [file2.pkg ...]
"""
@dmitry-osin
dmitry-osin / git-cheatsheet-rus.md
Created April 30, 2025 07:37
Шпаргалка по Git

Шпаргалка по Git

Git - это распределённая система контроля версий, которая позволяет отслеживать изменения в файлах, сотрудничать с другими разработчиками и управлять историей проекта.

Основные концепции Git

Репозиторий

Репозиторий (repository) - это хранилище вашего проекта вместе с историей изменений.

@wojteklu
wojteklu / clean_code.md
Last active August 20, 2026 17:23
Summary of 'Clean code' by Robert C. Martin

Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.


General rules

  1. Follow standard conventions.
  2. Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
  3. Boy scout rule. Leave the campground cleaner than you found it.
  4. Always find root cause. Always look for the root cause of a problem.

Design rules

--- a/src/script/interpreter.cpp
+++ b/src/script/interpreter.cpp
@@ -504,6 +504,14 @@ bool EvalScript(std::vector<std::vector<unsigned char> >& stack, const CScript&
return set_error(serror, SCRIPT_ERR_MINIMALDATA);
}
stack.push_back(vchPushValue);
+ if ((flags & SCRIPT_VERIFY_DISCOURAGE_UPGRADABLE_NOPS) && opcode == OP_FALSE) {
+ auto pc_tmp = pc;
+ opcodetype next_opcode;
+ valtype dummy_data;
We can't make this file beautiful and searchable because it's too large.
news,type
"China had role in Yukos split-up
China lent Russia $6bn (£3.2bn) to help the Russian government renationalise the key Yuganskneftegas unit of oil group Yukos, it has been revealed.
The Kremlin said on Tuesday that the $6bn which Russian state bank VEB lent state-owned Rosneft to help buy Yugansk in turn came from Chinese banks. The revelation came as the Russian government said Rosneft had signed a long-term oil supply deal with China. The deal sees Rosneft receive $6bn in credits from China's CNPC.
#!/usr/bin/perl
# This file was written as an executable to be used in the auto report function
# of csf and lfd. By replacing $YOUR_API_KEY below with your abuseipdb api key,
# allows you to use this code to integrate your csf system with abuseipdb.com
use strict;
use warnings;
use HTTP::Tiny;
use JSON;
# Gather the information from the commandline passed by lfd