Skip to content

Instantly share code, notes, and snippets.

View rolandboon's full-sized avatar

Roland Boon rolandboon

View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am rolandboon on github.
  • I am rolandboon (https://keybase.io/rolandboon) on keybase.
  • I have a public key whose fingerprint is AE8F 5CFB 6BE7 366A A808 B2F9 C7DF F2EB 0918 D34D

To claim this, I am signing this object:

@rolandboon
rolandboon / disable.sass
Created February 5, 2016 13:42
Disable random blue links in iOS
View disable.sass
a[x-apple-data-detectors]
color: inherit !important
text-decoration: none !important
font-size: inherit !important
font-family: inherit !important
font-weight: inherit !important
line-height: inherit !important
@rolandboon
rolandboon / VMware ESXi(5.5) Fix networking and SATA for Gigabyte GA-Z97N-WIFI
Last active February 18, 2017 15:39
VMware ESXi(5.5) Fix networking and SATA for Gigabyte GA-Z97N-WIFI
View VMware ESXi(5.5) Fix networking and SATA for Gigabyte GA-Z97N-WIFI
== ESXi on Gigabyte GA-Z97N-WIFI ==
Default driverset of ESXi5.5 doesn't support the Gigabyte GA-Z97N-WIFI onboard Network Controller and SATA Controller. During install you will be stopped on the error "No support network interfaces available".
== Intel NIC drivers ==
To be able to install ESXi you need to add "unofficial" drivers to the install ISO. Gigabyte doesn't really mention which specific Intel Network Controller it is used, but it is the Intel I217-V. To add the drivers. To add the drivers to the install ISO use ESXi-customizer to merge the VIB file (drivers) with the official ESXi ISO.
- ESXi-customizer: http://www.v-front.de/p/esxi-customizer.html
- VIB file: http://shell.peach.ne.jp/~aoyama/wordpress/download/net-e1000e-2.3.2.x86_64.vib
- More info: http://www.ivobeerens.nl/2013/09/20/enable-the-intel-i217-v-network-card-in-vmware-esxi/
@rolandboon
rolandboon / android-sdk.md
Last active December 5, 2020 08:46
Install Android SDK
View android-sdk.md

Install Android SDK on Ubuntu

Download latest version:
wget http://dl.google.com/android/android-sdk_r23.0.2-linux.tgz

Unpack:
tar -zxvf android-sdk_r23.0.2-linux.tgz -C ~/

Add SDK to path:
echo 'export PATH="$HOME/android-sdk-linux/tools:$HOME/android-sdk-linux/platform-tools:${PATH}"' >> ~/.bashrc

View phppgadmin.conf
server {
server_name pgadmin.example.com; # Make sure to create a DNS record that refers to your droplet
root /home/deploy/phppgadmin;
allow 123.123.123.123; # Limit access based on IP
deny all;
location / {
index index.php;
try_files $uri $uri/ /index.php; # http://wiki.nginx.org/Pitfalls#Check_IF_File_Exists
}
@rolandboon
rolandboon / gist:6294381
Created August 21, 2013 13:21
nginx-tweetactivity-proxy.conf
View gist:6294381
server {
server_name collector.example.com;
location / {
proxy_pass http://127.0.0.1:1080;
proxy_set_header Host $http_host;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
}
}
@rolandboon
rolandboon / nginx-php-vhost.conf
Created January 2, 2013 19:43
Example config file for a php vhost on nginx, implementing a couple of best practices from http://wiki.nginx.org/Pitfalls.
View nginx-php-vhost.conf
server {
server_name www.domain.com;
root /home/vhosts/www.domain.com/public;
location / {
index index.php index.html index.htm index.phtml;
try_files $uri $uri/ /index.php; # http://wiki.nginx.org/Pitfalls#Check_IF_File_Exists
}
location ~ \.php$ {
@rolandboon
rolandboon / test-post-encoding.coffee
Created September 20, 2012 08:37
Test case POST-data encoding
View test-post-encoding.coffee
http = require('http')
post_body = 'track=%3A)'
headers =
'Accept': '*/*',
'Connection': 'close',
'Host': 'rolandboon.com',
'Content-length': Buffer.byteLength(post_body)
'Content-Type': 'application/x-www-form-urlencoded';