Skip to content

Instantly share code, notes, and snippets.

@gingray
gingray / firefox_disable_hsts.md
Created March 23, 2016 15:10
firefox disable hsts
According to several forums, you can disable HSTS by introducing a new configuration variable. First, go to the Firefox configuration page (about:config), right-click, choose "New Integer", then provide the name "test.currentTimeOffsetSeconds" (no quotes) with a value of 11491200. This should bypass HSTS, although you may also need to clear the Cache and Active Logins in the Clear Recent History dialog (Ctrl-Shift-Del).

This apparently works because of a function called GetPreloadListEntry that checks to see if the current time is less than the next list expiration time; since the time is effectively calculated to be later than the expiration time, no check is performed. This effectively disables HSTS checks.
@0xjac
0xjac / private_fork.md
Last active October 6, 2026 09:28
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 git@github.com:usi-systems/easytrace.git

@DomPizzie
DomPizzie / README-Template.md
Last active October 6, 2026 09:10
A simple README.md template

Project Title

Simple overview of use/purpose.

Description

An in-depth paragraph about your project and overview of use.

Getting Started

@84436
84436 / KMSpico_10.2_fixed.b64
Created March 25, 2020 11:59
KMSpico 10.2 (fixed)
This file has been truncated, but you can view the full file.
-----BEGIN CERTIFICATE-----
TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAA6AAAAA4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5v
dCBiZSBydW4gaW4gRE9TIG1vZGUuDQ0KJAAAAAAAAADd4R1XmYBzBJmAcwSZgHME
Gpx9BICAcwSvpnkE2YBzBBeILASYgHMEmYByBCGAcwQaiC4EkIBzBK+meATUgHME
9vbZBJ6AcwT29u0EmIBzBF6GdQSYgHMEUmljaJmAcwQAAAAAAAAAAFBFAABMAQUA
91PlTAAAAAAAAAAA4AAPAQsBBgAAmgEAAMQAAAAAAAAESwEAABAAAACwAQAAAEAA
ABAAAAACAAAEAAAABgAAAAQAAAAAAAAAAMACAAAEAADCJS0AAgAAAAAAEAAAEAAA
AAAQAAAQAAAAAAAAEAAAAAAAAAAAAAAA5OkBAGQAAAAAcAIADUgAAAAAAAAAAAAA
@githubfoam
githubfoam / windows event logs cheat sheet
Last active October 6, 2026 09:01
windows event logs cheat sheet
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
# PS : ChatGPT makes mistakes, consider "trust but verify" principle
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
#Events to Monitor
https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/plan/appendix-l--events-to-monitor
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
#run
eventvwr.msc Event viewer
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Event Viewer(Local)-Windows Logs (shutdown / restart )
@vlOd2
vlOd2 / gist:1c3c15ac559c30b90cde709d84b39e60
Last active October 6, 2026 08:55
Install .NET Framework 4.0 and 4.5 on VS 2022
This guide explains how to install .NET Framework 4.0 and 4.5 on VS 2022, as it doesn't support these versions out of the box.
Microsoft says these versions are outdated but many people still need them to maintain legacy apps.
Requirements:
- VS 2022
- 7-zip (I haven't tested WinRar)
Notes:
- When .NET 4.0 is mentioned, it means .NET Framework 4.0
- When it's mentioned to open as an archive or un-zip, use 7-zip
@wonseokjung
wonseokjung / 0_사용법.md
Created October 2, 2026 11:26
AI로만 운영되는 1인 기업 만들기 — 프롬프트 전문 (CONNECT AI LAB · AI 멘토 제이)

AI로만 운영되는 1인 기업 만들기 — 프롬프트 전문 (무료)

영상: 「JEV 같은 AI, 내 컴퓨터에서 0원으로 돌립니다 | AI 1인 기업 만들기 (클로드 vs GPT vs 제미나이)」 만든 사람: AI 멘토 제이 · CONNECT AI LAB (https://www.youtube.com/@CONNECT-AI-LAB)

준비 (운영비 0원)

  1. 올라마 0.35 이상 설치: https://ollama.com/download
  2. 터미널: ollama pull tev1:0.8b
  3. 확인: ollama list 에 tev1:0.8b 가 보이면 성공
extends CharacterBody3D
# Movement constants - based on Quake/Half-Life physics
const MAX_VELOCITY_AIR = 0.6
const MAX_VELOCITY_GROUND = 6.0
const MAX_ACCELERATION = 10 * MAX_VELOCITY_GROUND
const STOP_SPEED = 1.5
const FRICTION = 8.0 # Increased for less sliding, more Quake-like stopping
# Exported settings
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8" />
<script src="Scripts/jquery-1.9.1.min.js"></script>
<link href="Content/bootstrap.min.css" rel="stylesheet" />
<script src="Scripts/isRockFx.js"></script>
<script>
$(function () {