Skip to content

Instantly share code, notes, and snippets.

@RuinDig
Last active February 9, 2021 15:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RuinDig/d5b058ac651aaacdcbcf7b58b299f448 to your computer and use it in GitHub Desktop.
Save RuinDig/d5b058ac651aaacdcbcf7b58b299f448 to your computer and use it in GitHub Desktop.
Toast - bash - 04x01 #Ingress
//Toast - bash - 04x01
//codes from Ingress official YouTube video thumbnail: https://www.youtube.com/watch?v=PACMmXBq2iA
Last login: Monday Apr 1 00:00:00 on toast
for april_id in april_ids
# get basic info
city_config = ToastConfig(toast_id)
print "Toast: %s" % toast_jam.toast_name
competitors=butter.jam(aqo62cfs875jt)
jam = len([c for c in competitors if c['faction'] == 'jam'])
butter = len(([c for c in competitors if c['faction'] == 'butter'])
pct_player_enl = float(jam) / (jam + butter)
toast_evironment = {
'bread_name': toast_jam.toast_name,
'jam': jam,
'butter': butter,
'pct_player_toast': pct_player_toast
}
measurement_records = {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment