Skip to content

Instantly share code, notes, and snippets.

View Lawouach's full-sized avatar
🏠
Reliably

Sylvain Hellegouarch Lawouach

🏠
Reliably
View GitHub Profile
@xiangshen-dk
xiangshen-dk / gke-fluentbit-workload-identity.sh
Created September 29, 2021 17:39
GKE fluentbit with workload identity
region=us-east1
zone=${region}-b
project_id=[YOUR_PROJECT_ID]
gcloud config set compute/zone ${zone}
gcloud config set project ${project_id}
gcloud container clusters create custom-fluentbit \
--zone $zone \
--logging=SYSTEM \
@bishboria
bishboria / springer-free-maths-books.md
Last active June 8, 2024 06:39
Springer made a bunch of books available for free, these were the direct links
@mkulke
mkulke / show-cluster-utilization.sh
Last active October 1, 2015 08:53
No-frills bash script to get memory utilization of your kubernetes cluster. depends on jq
#!/bin/bash
# The MIT License (MIT)
# Copyright (c) 2015 Magnus Kulke <mkulke at gmail dot com>
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@wbroek
wbroek / genymotionwithplay.txt
Last active February 12, 2024 03:22
Genymotion with Google Play Services for ARM
NOTE: Easier way is the X86 way, described on https://www.genymotion.com/help/desktop/faq/#google-play-services
Download the following ZIPs:
ARM Translation Installer v1.1 (http://www.mirrorcreator.com/files/0ZIO8PME/Genymotion-ARM-Translation_v1.1.zip_links)
Download the correct GApps for your Android version:
Google Apps for Android 6.0 (https://www.androidfilehost.com/?fid=24052804347835438 - benzo-gapps-M-20151011-signed-chroma-r3.zip)
Google Apps for Android 5.1 (https://www.androidfilehost.com/?fid=96042739161891406 - gapps-L-4-21-15.zip)
Google Apps for Android 5.0 (https://www.androidfilehost.com/?fid=95784891001614559 - gapps-lp-20141109-signed.zip)
FROM centos
RUN yum install -y passwd
RUN yum install -y openssh
RUN yum install -y openssh-server
RUN yum install -y openssh-clients
RUN yum install -y sudo
## Install Chef Omnibus
# RUN curl -L http://www.opscode.com/chef/install.sh | bash
@jperras
jperras / twitter-tornado.py
Created December 5, 2011 16:33
Tornado Twitter Streaming Example
from tornado.httpclient import HTTPClient, HTTPRequest
import simplejson
def handle_tweet_stream(response):
try:
# Print the parsed twitter stream.
print simplejson.loads(response)
except ValueError:
return
print