Skip to content

Instantly share code, notes, and snippets.

View jkmartindale's full-sized avatar
:shipit:
Procrastinating

James Martindale jkmartindale

:shipit:
Procrastinating
View GitHub Profile
@nikcub
nikcub / README.md
Created October 4, 2012 13:06
Facebook PHP Source Code from August 2007
<?php
/*
Made by Kudusch (blog.kudusch.de, kudusch.de, @Kudusch)
---------
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2004 Sam Hocevar <[email protected]>
@sokcuri
sokcuri / key.md
Last active March 6, 2025 03:00
Twitter (un)official Consumer Key

Twitter Official Consumer Key

Twitter for Android

type:            PIN
Consumer key:    3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys

Twitter for iPhone

type:            PIN

Consumer key: IQKbtAYlXLripLGPWd0HUA

@Shugabuga
Shugabuga / shugaGreeter.js
Last active November 13, 2017 01:28
Greeter for the JavaScript console.
// Paste this into your JavaScript console. Seems to work in all browsers but Firefox.
console.log("%c_____%c Welcome to shuga.co!%c\nHi, I'm Shuga. Given that you are in the JavaScript console, I assume you're into computers in some degree. If so, you should check out my Twitter (@HeyItsShuga) or my GitHub (@Shugabuga), as I have some content that might interest you (such as cybersecurity and programming).", "background-image:url('https://shuga.co/inspectLogo.png');font-size:45px;font-family:'Times New Roman';color:transparent", "font-family:'PT Sans Caption';font-size:48px", "font-family:'PT Sans Caption';font-size:16px")
// Inspired off of console.image by adriancooney and James Martindale's implementation, but no code is shared.
@acutmore
acutmore / README.md
Last active December 23, 2025 02:44
Emulating a 4-Bit Virtual Machine in (TypeScript\JavaScript) (just Types no Script)

A compile-time 4-Bit Virtual Machine implemented in TypeScript's type system. Capable of running a sample 'FizzBuzz' program.

Syntax emits zero JavaScript.

type RESULT = VM<
  [
    ["push", N_1],         // 1
    ["push", False],       // 2
 ["peek", _], // 3
@coolreader18
coolreader18 / segfault.py
Last active August 12, 2025 17:18
CPython segfault in 5 lines of code
class E(BaseException):
def __new__(cls, *args, **kwargs):
return cls
def a(): yield
a().throw(E)
@TerrorBite
TerrorBite / bashttpd.sh
Last active February 5, 2021 11:37
A webserver… written as a shell script. This is a terrible idea. MIT license
#!/bin/bash
# Let's write a webserver in Bash because haha why not
# Copyright (c) 2017-2020 TerrorBite <[email protected]>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
[alias]
br = branch -vv
brr = branch -r -vv
ci = commit
co = checkout
cp = cherry-pick
d = diff
dm = diff --submodule=log
ds = diff --staged
dsm = diff --staged --submodule=log
@lrvick
lrvick / github-troll.md
Last active May 24, 2025 01:11
Trolling Github's DMCA repo with their own security flaws.