Skip to content

Instantly share code, notes, and snippets.

@qzm
qzm / Jenkinsfile
Last active April 2, 2023 18:36
Vue.js / Jenkinsfile /Pipelines
pipeline {
agent {
docker {
image 'node'
}
}
stages {
stage('Clone Sources') {
steps {
@ianmcnally
ianmcnally / lazy-image.js
Last active May 15, 2021 22:14
Lazy image loading
//@flow
import React, { Component } from 'react'
import type { ElementRef } from 'react'
type Props = { src: string, alt: string }
type State = { source?: string }
export default class LazyImage extends Component<Props, State> {
state = {}
@masterofpun
masterofpun / player_data.csv
Last active September 6, 2022 00:22
Premier League active players data
We can make this file beautiful and searchable if this error is corrected: It looks like row 3 should actually have 56 columns, instead of 40 in line 2.
id,dob,name,nationality,height,weight,wins,fouls,goals,losses,red_card,total_pass,appearances,goal_assist,yellow_card,att_hd_goal,att_lf_goal,att_rf_goal,total_cross,hit_woodwork,interception,total_tackle,total_offside,total_clearance,big_chance_created,blocked_scoring_att,effective_head_clearance,error_lead_to_goal,accurate_long_balls,duel_won,duel_lost,aerial_won,won_tackle,aerial_lost,won_contest,ball_recovery,accurate_cross,total_through_ball,att_pen_goal,att_freekick_goal,big_chance_missed,total_scoring_att,ontarget_scoring_att,own_goals,clean_sheet,goals_conceded,last_man_tackle,clearance_off_line,saves,punches,goal_kicks,penalty_save,keeper_throws,good_high_claim,total_keeper_sweeper,stand_catch_dive_catch
3452,1990-11-26,Danny Welbeck,England,185cm,73kg,87,89,0.22,35,0,20.27,154,15,12,9,7,18,34,6,132,195,29,84,18,84,43,,,,,,,,,,,,0,0,35,307,38%,,,,,,,,,,,,,
5001,1994-12-01,Emre Can,Germany,184cm,82kg,29,68,0.03,16,1,51.97,60,0,11,0,0,2,26,1,102,158,5,121,8,13,61,3,191,366,287,87,85%,71,74,358,8%,8,0,0
@kevin-smets
kevin-smets / iterm2-solarized.md
Last active September 17, 2024 13:07
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k