Skip to content

Instantly share code, notes, and snippets.

View Kuo-TingKai's full-sized avatar
🏠
Working from home

Kuo Ting-Kai Kuo-TingKai

🏠
Working from home
View GitHub Profile
@cerebrate
cerebrate / README.md
Last active February 6, 2025 00:37
Recompile your WSL2 kernel - support for snaps, apparmor, lxc, etc.

WARNING

THIS GIST IS EXTREMELY OBSOLETE. DO NOT FOLLOW THESE INSTRUCTIONS. SERIOUSLY.

IF YOU IGNORE THE ABOVE WARNING, YOU AGREE IN ADVANCE THAT YOU DIDN'T GET THESE INSTRUCTIONS FROM ME, THAT I WARNED YOU, AND THAT I RESERVE THE RIGHT TO POINT AND LAUGH MOCKINGLY IF AND WHEN SOMETHING BREAKS HORRIBLY.

I'll do a write-up of current custom-kernel procedures over on Random Bytes ( https://randombytes.substack.com/ ) one day soon.

NOTE

@primaryobjects
primaryobjects / ghc-2019.md
Last active January 7, 2020 09:14
GHC19: Quantum Computing @ Grace Hopper Conference 2019

Quantum Computing @ Grace Hopper Conference 2019 GHC19

I had recently attended the Grace Hopper 2019 conference in Orlando, and had the opportunity to speak with researchers from IBMQ and Qiskit about the current state of quantum computing. Although, I did not get a chance to obtain a ticket to IBMQ's Universal Studios event at The Wizarding World of Harry Potter (the line was extremely long!), I still wanted to share some of the topics surrounding the emerging tech of quantum computing.

I spoke with Cihan Kurter, Research Scientist at IBM Watson, after her presentation titled, "Near-Term Applications of Quantum Computers", and asked, how exactly does the mysterious IBMQ qubit work?

IBMQ Quantum Computer

How does a qubit work?

@chrissimpkins
chrissimpkins / ast2text.py
Created January 14, 2020 21:44 — forked from kylehowells/ast2text.py
Extract the plain text from markdown, for plain text search.
import commonmark
with open('test.md', 'r') as myfile:
text = myfile.read()
parser = commonmark.Parser()
ast = parser.parse(text)
# Returns the text from markdown, stripped of the markdown syntax itself
def ast2text(astNode):