Skip to content

Instantly share code, notes, and snippets.

😄
Hello!

Giacomo Lawrance GiacomoLaw

😄
Hello!
Block or report user

Report or block GiacomoLaw

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View invest_total.py
# based on https://github.com/GiacomoLaw/Python-scripts/blob/master/monzoinvest.py
import requests
url = "https://api.monzo.com/crowdfunding-investment/total"
data = requests.get(url).json()
plainnum = int(str(data["invested_amount"])[:-4])
number = "{:,}".format(int(plainnum))
print("£",number)
@GiacomoLaw
GiacomoLaw / checkbox_save.js
Created Mar 14, 2017
Saves the status of checkboxes to your local disk
View checkbox_save.js
var i, checkboxes = document.querySelectorAll('input[type=checkbox]');
function save() {
for (i = 0; i < checkboxes.length; i++) {
localStorage.setItem(checkboxes[i].value, checkboxes[i].checked);
}
}
function load_() {
for (i = 0; i < checkboxes.length; i++) {
@carmichaelalonso
carmichaelalonso / aircraft_ids
Created Dec 6, 2016
Infinite Flight Livery/Aircraft ID list for third-party developers (Dec 2016 Update)
View aircraft_ids
81d9ccd4-9c03-493a-811e-8fad3e57bd05:373cc897-32d5-4e3e-84b3-96103d6cac0e:A-10:Generic:A-10:Generic
982dd974-5be7-4369-90c6-bd92863632ba:1d7dff42-46a5-4c47-a46c-bd39ab9cea8d:Airbus A318:Generic:Airbus A318:Generic
982dd974-5be7-4369-90c6-bd92863632ba:291d9656-eb0a-4608-a8dc-268ac031a448:Airbus A318:Infinite Flight (2015):Airbus A318:InfiniteFlight2015
982dd974-5be7-4369-90c6-bd92863632ba:20bcdb6b-854f-44ee-addc-b30fb5acfe05:Airbus A318:ACJ Livery 1:Airbus A318:ACJ_1
982dd974-5be7-4369-90c6-bd92863632ba:3390fa9c-61f7-4c10-97c4-d0f25a526dfd:Airbus A318:ACJ Livery 2:Airbus A318:ACJ_2
982dd974-5be7-4369-90c6-bd92863632ba:b6481163-3cbf-4212-9616-0bf99b6ac3c3:Airbus A318:ACJ Livery 3:Airbus A318:ACJ_3
982dd974-5be7-4369-90c6-bd92863632ba:268bcb25-0236-45e7-bc24-f5dd596381a7:Airbus A318:ACJ Livery 4:Airbus A318:ACJ_4
982dd974-5be7-4369-90c6-bd92863632ba:299d18dd-b248-488f-b6af-c7ef8cd426fd:Airbus A318:Air France:Airbus A318:AirFrance
982dd974-5be7-4369-90c6-bd92863632ba:6cf01d32-3c56-4007-a084-7de26b7dbe52:Airbus A3
@timsneath
timsneath / profile.ps1
Last active Apr 28, 2020
PowerShell template profile: adds some useful aliases and functions
View profile.ps1
### PowerShell template profile
### Version 1.03 - Tim Sneath <tim@sneath.org>
### From https://gist.github.com/timsneath/19867b12eee7fd5af2ba
###
### This file should be stored in $PROFILE.CurrentUserAllHosts
### If $PROFILE.CurrentUserAllHosts doesn't exist, you can make one with the following:
### PS> New-Item $PROFILE.CurrentUserAllHosts -ItemType File -Force
### This will create the file and the containing subdirectory if it doesn't already
###
### As a reminder, to enable unsigned script execution of local scripts on client Windows,
View README.md

Games on GitHub

Below is a list of open source games and game-related projects that can be found on GitHub - old school text adventures, educational games, 8-bit platform games, browser-based games, indie games, GameJam projects, add-ons/maps/hacks/plugins for commercial games, libraries, frameworks, engines, you name it.

Contributing

If you'd like to add a repository to the list, please create an Issue, or fork this repository and submit a pull request.

Help: MarkDown Help, Markdown Cheatsheet

You can’t perform that action at this time.