- Haruki Murakami: 1Q84
- 2666 by Roberto Bolano
- Cloud Atlas ¿ David Mitchell
- Kafka on the Shore ¿ Haruki Murakami
- The Double ¿ José Saramago
- Choke ¿ Chuck Palahniuk
- Under the Skin ¿ Michel Faber
- House of Leaves ¿ Mark Z. Danielewski
- Cryptonomicon ¿ Neal Stephenson
- Infinite Jest ¿ David Foster Wallace
This file contains 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
def collatz(number): | |
if number %2 == 0: | |
number = number // 2 | |
print(number) | |
return number | |
else: | |
number = 3 * number + 1 | |
print(number) | |
return number |
This file contains 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
spam = ['coco', 'balls', 'gold', 'apples', 'bananas', 'tofu', 'cats'] | |
def enumerate(poopoo): | |
for i in poopoo[:-2]: | |
dong = i + ', ' | |
print(dong + poopoo[-2] + ' and ' + poopoo[-1]) | |
enumerate(spam) |
This file contains 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
:: Use with https://www.dropbox.com/s/kjcc2vry5qjcquk/Dark%20Souls%20Auto%20Backup%20Tool.zip?dl=0 | |
@echo off | |
cd "C:\Program Files\DSABT\" | |
start DSABT.exe | |
:: If your game is in a different drive as the OS you need to use /d, otherwise | |
:: just do cd "C:\SteamLibrary\steamapps\common\DARK SOUlS III\Game\" | |
cd /d "D:\SteamLibrary\steamapps\common\DARK SOULS III\Game\" | |
start DarkSoulsIII.exe |
This file contains 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
# Convert units, for now just kg to lbs and viceversa | |
# List of all the variables of typing the units | |
unitKg = ['kg', 'kilogram', 'kilo'] | |
unitLbs = ['lbs', 'pounds', 'freedom units'] | |
# Get number and units to convert | |
# Split | |
pieces = input().split() | |
# Separate number from 'X to Y' | |
number = pieces[0] |
This file contains 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
# take input, lowercase it, and split by spaces | |
pieces = input().lower().split() | |
# determine what type of units to convert | |
# if kg and g, weight, if km and cm distance etc | |
# if none or mismatch, return error | |
# conversion tables | |
# add variables like kilo kilogram gram etc | |
conversionsWeight = {'kg': 100, 'g': 1, 'mg': 0.1, 'lbs': 0.002} |
This file contains 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
# Pizza calculator with baker's percentage | |
# Features: Default master dough recipe, other recipes, mostly from | |
# The Pizza Bible, custom %, saving custom % | |
recipes = {'masterdough': {'water': 65, 'salt': 2, 'yeast': 0.1, 'oil': 1}} | |
def bakersPercentage(flour, component): | |
ingredient = flour * component / 100 | |
return ingredient |
This file contains 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
# Pizza calculator with baker's percentage | |
# Features: Default master dough recipe, other recipes, mostly from | |
# The Pizza Bible, custom %, saving custom % | |
recipes = {'masterdough': {'water': 65, 'salt': 2, 'yeast': 0.1, 'oil': 1}, | |
'chicago': {'water': 60, 'salt': 2, 'yeast': 0.1, 'lard': 1, | |
'butter': 1}} | |
# Calculate Baker's percentage | |
def bakersPercentage(flour, component): |
This file contains 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
# Pizza calculator with baker's percentage | |
# Features: Default master dough recipe, other recipes, mostly from | |
# The Pizza Bible, custom %, saving custom % | |
recipes = {'masterdough': {'water': 64, 'salt': 2, 'yeast': 1, 'oil': 1, | |
'malt': 2}, | |
'chicago': {'water': 60, 'salt': 2, 'yeast': 0.1, 'lard': 1, | |
'butter': 1}, | |
'sicilian': {'water': 70, 'salt': 2, 'yeast': 1, 'malt': 2, | |
'oil': 1}, | |
'refrigerated': {'water': 70, 'salt': 2.6, 'yeast': 0.3}} |