Skip to content

Instantly share code, notes, and snippets.

View jghibiki's full-sized avatar
💀
owo

Jordan Goetze jghibiki

💀
owo
View GitHub Profile
import csv
with open("my_file.csv", "w") as f: # with is a context manager, as long as you are in this block, f is an open file
writer = csv.writer(f) # wraps our file (f) in a csv writer. This handles writing to CSV for us.
for r in range(5): # This is just to generate some fake data
# writer.writerow takes a list of values to write as one row in the file. The csv writer handles
# formatting the file for you.
writer.writerow((r, r+1, r+2, r+3))
mm login cjmcqi1i2000201q8pciiqstp
@jghibiki
jghibiki / pubkey.txt
Last active August 17, 2018 20:59
public key
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQENBFtqH2MBCAChsfygy+75TmeKJd9A1ol4ZxngVODuP8lyNdzSB6s2JLmJ2yDC
FJmdnmyb0q4kGs5jwivijl+TljBJeM0G3/zaELLNHmf3fz8+7TLjORQ2JEEIVqyb
zNg7YtIu6baerOebmbKc2oG2pzBjtj69RTo66JYKCXtDc5TDFUoFdcukywe41CQv
3F/Ovijqv7yy5mfmScsbxB3BP1DeDYJEI/abJl5+qzDygbqofcBSWSkrXlg/XP9V
awxW5ySn86rohcDF63ePXxH7GAr18bcu0AYMD9HlXbuLMUjjhAd9b3B13FTG9HOm
U93rJWxOTbNwJ0MF/EgffdC2LPSIaG0V4GiNABEBAAG0KEpvcmRhbiBHb2V0emUg
PGpvcmRhbi5nb2V0emVAdGFyZ2V0LmNvbT6JAVEEEwEKADsCGwMFCwkIBwMFFQoJ
CAsFFgIDAQACHgECF4AWIQTKSXHt3leWHM9JQv0pNjjHOK1snAUCW3c1ZAIZAQAK
/alias nick_recover msg NickServ GHOST $0 $1; wait 2000; msg NickServ RELEASE $0 $1; wait 2000; nick henry; wait 2000; msg NickServ IDENTIFY $1
#!/bin/bash
# Delete all containers
docker rm $(docker ps -a -q)
# Delete all images
docker rmi $(docker images -q)
@jghibiki
jghibiki / Renpy
Created February 21, 2014 03:57
This script will attempt to search through all Renpy classes, attempting to find docstrings with the :odoc: and a keyword corresponding to one of those listed in the keywords list. If a docstring containing both those things is found, we will parse the docstring for :type: and :name: doc strings as well. If the string following :type: is the str…
label buildDocStrings:
python:
#configuration values
keywords = ["logger"] #the list of keywords that can follow an :odoc: tag
fileHeader = ".. Automatically generated file - do not modify." #this file header should be added to each file at the top.
incPath = _config.gamedir + "/../sphinx/source/inc/" ## this should be changed to point to a dir called inc in your sphinx source dir
#The guts are below