Kevin Chung
  • Home
  • Github
  • Twitter
Subscribe
Tagged

programming

A collection of 3 posts

programming

How to Save Your Wordle Scores

This is a simple guide on copying your Wordle scores between devices.

  • Kevin Chung
Kevin Chung Feb 9, 2022 • 3 min read
Faster Python with Go shared objects (the easy way)
python

Faster Python with Go shared objects (the easy way)

There's no two ways about it, Python is slow. I felt this in particular when exploring how to sanitize potentially malicious HTML content in the CTFd content editor. The two options for sanitizing/processing HTML in Python both have some tradeoffs: Poorly but quickly parse HTML with the available HTML4

  • Kevin Chung
Kevin Chung Apr 13, 2021 • 12 min read
python

Encoding Non-Printable Bytes in Python 3

TL;DR bytes -> str: In []: b'\x90\x90\x90\x90'.decode('latin-1') Out[]: '\x90\x90\x90\x90' str -> bytes: In []: '\x90\x90\x90\x90'.encode('latin-1') Out[]: b'\x90\x90\x90\x90' But Why Tho Sometimes when you're programming or you're playing CTFs, you'll

  • Kevin Chung
Kevin Chung Dec 4, 2018 • 2 min read
Kevin Chung © 2022
Powered by Ghost