This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mm login cjmcqi1i2000201q8pciiqstp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -----BEGIN PGP PUBLIC KEY BLOCK----- | |
| mQENBFtqH2MBCAChsfygy+75TmeKJd9A1ol4ZxngVODuP8lyNdzSB6s2JLmJ2yDC | |
| FJmdnmyb0q4kGs5jwivijl+TljBJeM0G3/zaELLNHmf3fz8+7TLjORQ2JEEIVqyb | |
| zNg7YtIu6baerOebmbKc2oG2pzBjtj69RTo66JYKCXtDc5TDFUoFdcukywe41CQv | |
| 3F/Ovijqv7yy5mfmScsbxB3BP1DeDYJEI/abJl5+qzDygbqofcBSWSkrXlg/XP9V | |
| awxW5ySn86rohcDF63ePXxH7GAr18bcu0AYMD9HlXbuLMUjjhAd9b3B13FTG9HOm | |
| U93rJWxOTbNwJ0MF/EgffdC2LPSIaG0V4GiNABEBAAG0KEpvcmRhbiBHb2V0emUg | |
| PGpvcmRhbi5nb2V0emVAdGFyZ2V0LmNvbT6JAVEEEwEKADsCGwMFCwkIBwMFFQoJ | |
| CAsFFgIDAQACHgECF4AWIQTKSXHt3leWHM9JQv0pNjjHOK1snAUCW3c1ZAIZAQAK |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /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 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Delete all containers | |
| docker rm $(docker ps -a -q) | |
| # Delete all images | |
| docker rmi $(docker images -q) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |