Skip to content

Instantly share code, notes, and snippets.

View sitle's full-sized avatar

Léonard TAVAE sitle

View GitHub Profile
@sitle
sitle / pokemon.csv
Created May 29, 2022 23:02 — forked from simsketch/pokemon.csv
pokemon.csv
NUMBER CODE SERIAL NAME TYPE1 TYPE2 COLOR ABILITY1 ABILITY2 ABILITY HIDDEN GENERATION LEGENDARY MEGA_EVOLUTION HEIGHT WEIGHT HP ATK DEF SP_ATK SP_DEF SPD TOTAL
1 1 11 Bulbasaur Grass Poison Green Overgrow Chrolophyll 1 0 0 0.7 6.9 45 49 49 65 65 45 318
2 1 21 Ivysaur Grass Poison Green Overgrow Chrolophyll 1 0 0 1 13 60 62 63 80 80 60 405
3 1 31 Venusaur Grass Poison Green Overgrow Chrolophyll 1 0 0 2 100 80 82 83 100 100 80 525
3 2 32 Mega Venusaur Grass Poison Green Thick Fat 1 0 1 2.4 155.5 80 100 123 122 120 80 625
4 1 41 Charmander Fire Red Blaze Solar Power 1 0 0 0.6 8.5 39 52 43 60 50 65 309
5 1 51 Charmeleon Fire Red Blaze Solar Power 1 0 0 1.1 19 58 64 58 80 65 80 405
6 1 61 Charizard Fire Flying Red Blaze Solar Power 1 0 0 1.7 90.5 78 84 78 109 85 100 534
6 2 62 Mega Charizard X Fire Dragon Black Tough Claws 1 0 1 1.7 110.5 78 130 111 130 85 100 634
6 3 63 Mega Charizard Y Fire Flying Red Drought 1 0 1 1.7 90.5 78 104 78 159 115 100 634
@sitle
sitle / app.py
Created July 14, 2020 20:53 — forked from thomasdarimont/app.py
Simple python example using flask, flask_oidc and keycloak, needs a small patch of flask_oidc: https://github.com/puiterwijk/flask-oidc/issues/35
import json
import logging
from flask import Flask, g
from flask_oidc import OpenIDConnect
import requests
logging.basicConfig(level=logging.DEBUG)
app = Flask(__name__)
@sitle
sitle / gist:a3e44803444f739341234cc567363ea8
Created December 8, 2016 03:00 — forked from philipz/gist:2eb126f6c68568a1ef57
Docker-Machine for VMware vSphere

Docker Machine and VMware vSphere

  1. Install govc go get github.com/vmware/govmomi/govc and go install github.com/vmware/govmomi/govc
  2. export GOVC_URL='https://[USERNAME]:[PASSWORD]@[ESXI-OR-VCENTER-HOSTNAME-OR-IP]/sdk' and export GOVC_INSECURE=1 from govmomi (vSphere SDK for Go), govc CLI & Kubernetes on vSphere
  3. docker-machine create vmdocker --driver vmwarevsphere --vmwarevsphere-datacenter ha-datacenter --vmwarevsphere-vcenter 192.168.2.12 --vmwarevsphere-username root --vmwarevsphere-password PASSWORD --vmwarevsphere-datastore 500G --vmwarevsphere-network "VM Network"
  4. For RancherOS on VMware vSphere
@sitle
sitle / ldap.yml
Created July 1, 2016 18:01
Authenticates a Ruby on Rails User model via LDAP and saves their LDAP photo if they have one
# config/ldap.yml
# LDAP server configuration settings
# Host is a Windows Domain Controller
development:
host: examplehost
port: 389
default_domain: EXAMPLEDOMAIN
base: examplebase # OU=US-Tampa Bay,OU=North America,OU=Accounts,DC=ourdomain,DC=org

OS X Preferences


#Disable window animations
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false

#Enable repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false
@sitle
sitle / graylog2.md
Created March 11, 2014 21:42 — forked from hggh/graylog2.md