Skip to content

Instantly share code, notes, and snippets.

Currently working on

Anthony Som half-cambodian-hacker-man

Currently working on
Block or report user

Report or block half-cambodian-hacker-man

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View APIKey.ts
import crypto from "crypto";
import { Column, Entity, ManyToOne, PrimaryGeneratedColumn } from "typeorm";
import { User } from "./User";
export class APIKey {
public id: number;
half-cambodian-hacker-man /
Created Apr 6, 2018
Full size Instagram profile picture fetcher
#!/usr/bin/env python3
import requests
import json
def get_pp_url(username):
api_response = json.loads(requests.get(f"{username}/?__a=1").text)
user_id = api_response["graphql"]["user"]["id"]
user_api_response = json.loads(requests.get(f"{user_id}/info/").text)
View mlp_movie_review.txt
Well, My Little Bronies, I've seen the new My Little Pony theatrical film, and while positive reviews are rolling in,
praising the film's colourful characters and child-friendly message, some of what I saw in the theatre shocked me.
What everypony in this fandom deserves is a rational, in-fandom examination of how this film ties into all of the pre-existing My Little Pony canon.
Beware, everypony! There are spoilers ahead.
While watching this film, I became overwhelmed by the sheer number of glaring oversights and internal inconsistencies in this story.
This film shows a blatant and irresponsible disregard for the pre-established canon of the My Little Pony universe!
The film begins with Princess Twilight Sparkle nervous about the arrival of Songbird Serenade: A singing pop-star pony that is voiced by, and resembles real-life pop-star Sia.
half-cambodian-hacker-man /
Last active Oct 3, 2017
2D array transformation string mangle
from itertools import count
# Count is a convenience method from the standard library's `itertools` module that infinitely yields higher numbers
# It looks cleaner than manually creating a variable and using a while True loop
user_input = None # Initialize the user_input to none
while not user_input: # When user_input's boolean coercion resolves to true, the string is non-empty
user_input = input("Enter your message: ") # We ask the user to enter a message.
array_dimensions = 0
# The array_dimensions variable will hold the width and height of the array -

Keybase proof

I hereby claim:

  • I am half-cambodian-hacker-man on github.
  • I am half_kh_hacker ( on keybase.
  • I have a public key whose fingerprint is 4026 3EAD 0A4B BE01 C484 5BAB 5207 9D44 CD0C A477

To claim this, I am signing this object:

half-cambodian-hacker-man /
Created Jul 17, 2016
Event Bus in 58 lines of Java
package site.hackery.photon;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.function.BooleanSupplier;
import java.util.function.Consumer;
import static java.util.Arrays.asList;
You can’t perform that action at this time.