Skip to content

Instantly share code, notes, and snippets.

View ckjbgames's full-sized avatar

ckjbgames ckjbgames

View GitHub Profile
@ckjbgames
ckjbgames / wikipage_tmp.md
Last active June 29, 2017 19:13
Temporary Gist for Brain-Flak Wiki

#Debug Flags

Brain-Flak has the useful feature of debug flagsd, which can be enabled by running then enterpreter with -d or --debug.
This page provides info on said debug flags, which can also be found by running Brain-Flak with the -H option. All debug flags in code must be preceded with an @ sign.


Flag Action
ac Print the current stack as ASCII characters.
@ckjbgames
ckjbgames / googlecomp.py
Created April 23, 2017 20:00
Get the first Google autocomplete result of a search.
#!/usr/bin/env python
################################
# googlecomp.py ################
# Get the first autocomplete ###
# result of a Google search. ###
# Dist. under the MIT License. #
# ckjbgames 2017 ###############
################################
import urllib2,json,sys,re
def firstautocomp(kw):