Skip to content

Instantly share code, notes, and snippets.

View peterellisjones's full-sized avatar

Peter Jones peterellisjones

View GitHub Profile
@peterellisjones
peterellisjones / player-fixtures.csv
Last active July 22, 2018 10:13
Player-fixture performance for all 2018-2019 FPL players' 2017-2018 FPL fixtures
We can't make this file beautiful and searchable because it's too large.
assists,attempted_passes,big_chances_created,big_chances_missed,bonus,bps,clean_sheets,clearances_blocks_interceptions,completed_passes,creativity,dribbles,ea_index,element,errors_leading_to_goal,errors_leading_to_goal_attempt,fixture,fouls,goals_conceded,goals_scored,ict_index,id,influence,key_passes,kickoff_time,kickoff_time_formatted,loaned_in,loaned_out,minutes,offside,open_play_crosses,opponent_team,own_goals,penalties_conceded,penalties_missed,penalties_saved,recoveries,red_cards,round,saves,selected,tackled,tackles,target_missed,team_a_score,team_h_score,threat,total_points,transfers_balance,transfers_in,transfers_out,value,was_home,winning_goals,yellow_cards,player_long_name,player_id_2017_2018,player_id_2018_2019,player_code,opponent_team_code,player_team_code,player_position
0,10,0,0,0,3,0,0,9,0.6,0,0,443,0,0,9,0,2,0,1.9,443,0.4,0,2017-08-13T15:00:00Z,13 Aug 16:00,0,0,9,0,0,12,0,0,0,0,0,0,1,0,25136,0,0,0,0,4,18.0,0,0,0,0,50,False,0,0,Aaron_Cresswell,443,402,55459,1,21,defender
0,21,0,0,0,16,0,6,17,5
jobs:
plan:
- task: say-hello
config:
platform: linux
image_resource:
type: docker-image
source:
repository: alpine
run:
@peterellisjones
peterellisjones / rotate_certs.rb
Last active February 19, 2020 11:22
BOSH-generated certificate rotation script
#!/usr/bin/env ruby
require 'yaml'
require 'json'
#
# Simple Ruby script to rotate bosh-generated certificates
# Requires a BOSH deployment manifest that uses certificate variables and the original credentials file
# Outputs 4 credentials files that should be deployed one at a time, in order
#
@peterellisjones
peterellisjones / app_instance_identity_intro_to_envoy.md
Created January 18, 2022 14:29 — forked from nikhilsuvarna/app_instance_identity_intro_to_envoy.md
Application Instance Identity and Intro to Envoy in PCF