Skip to content

Instantly share code, notes, and snippets.

@1wErt3r
1wErt3r / SMBDIS.ASM
Created November 9, 2012 22:27
A Comprehensive Super Mario Bros. Disassembly
;SMBDIS.ASM - A COMPREHENSIVE SUPER MARIO BROS. DISASSEMBLY
;by doppelganger (doppelheathen@gmail.com)
;This file is provided for your own use as-is. It will require the character rom data
;and an iNES file header to get it to work.
;There are so many people I have to thank for this, that taking all the credit for
;myself would be an unforgivable act of arrogance. Without their help this would
;probably not be possible. So I thank all the peeps in the nesdev scene whose insight into
;the 6502 and the NES helped me learn how it works (you guys know who you are, there's no
@danbst
danbst / README.md
Last active November 3, 2026 17:44
Matrix multiplication in logarithmic space. Incoming matrices are logs of their values, result values are logs of real values. The benefit is that multiplication is not used

Matrix multiplication without multiplication

The basic idea is to transform dot product into log form:

log(a.b) = log(a1*b1 + a2*b2 + ... + an*bn) 
  = log(exp(log a1+log b1) + exp(log a2+log b2) + ... + exp(log an+log bn))

and then apply something like Horner's method, but for exp-s, so result looks like (I'll simplify log a1 to la1, log a2 to la2, ...):

@praneeth-katuri
praneeth-katuri / git-ssh-setup-windows.md
Created May 20, 2025 03:35
Complete guide to setup Git using SSH on Windows

🛠 Complete Guide: Set Up Git with SSH on Windows

✅ 1. Generate an SSH Key (ED25519 Recommended)

Open PowerShell and run:

ssh-keygen -t ed25519 -C "your_email@example.com"
@demiacle
demiacle / index.html
Created August 29, 2017 21:36
Simon Game
<button id='reset'>Reset</button>
<div id="game">
<div id="yellow"></div>
<div id="green"></div>
<div id="red"></div>
<div id="blue"></div>
<div id="center"><p id="counter">0</p></div>
</div>
<p id="count"></p>
<div id="buttonBox">
@albttx
albttx / main.go
Created January 13, 2020 09:17
oauth2 facebook login
package main
// from: https://stackoverflow.com/questions/27368973/golang-facebook-authentication-using-golang-org-x-oauth2
import (
"fmt"
"io/ioutil"
"log"
"net/http"
"net/url"
@L33T
L33T / main.go
Last active November 3, 2026 17:25
GhostRed CTF - Shopaholic
/*
Author: Or Kliger
*/
package main
import (
"fmt"
"net/http"
"log"
@EnriqueBrach
EnriqueBrach / SunProt-Modules-LEGAL.md
Last active November 3, 2026 16:53
SunProt-Modules-LEGAL
@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 가 보이면 성공
@maniishbhusal
maniishbhusal / postman_installation.md
Created January 29, 2024 05:33
Install Postman in Linux and enabling sign-in

Download Postman:

Visit https://www.postman.com/downloads/ and download the Linux 64-bit version.

Extract the Archive:

Open a terminal and navigate to your Downloads directory:

cd ~/Downloads

Extract the archive:

tar -xf postman-linux-x64.tar.gz -C ~/