Skip to content

Instantly share code, notes, and snippets.

View digitalWestie's full-sized avatar

Rory digitalWestie

View GitHub Profile
@lunarmoon26
lunarmoon26 / README.md
Last active July 29, 2023 22:01
D3 V5 - Faux-3d Shaded Globe With Zoom, Places and Arcs

A D3 V5 implementation of a shaded globe mimic the 3d effect. Drag to rotate and middle wheel to zoom. The flyer arcs are interpolated from 2 control points.

You can modify the dataset (Topojson format) to change landmarks.

@apollolm
apollolm / nginx-ssl-config
Last active January 12, 2023 14:47
Nginx Configuration with multiple port apps on same domain, with SSL.
# the IP(s) on which your node server is running. I chose port 3000.
upstream app_geoforce {
server 127.0.0.1:3000;
}
upstream app_pcodes{
server 127.0.0.1:3001;
}
@helder-robalo
helder-robalo / Can't find sdkmanager.jar
Last active October 27, 2016 16:05
can't find sdkmanager.jar
After installing android-sdk via homebrew, follow the console guide's suggestion: Add android to .bashrc PATH
And if you still receiving this message when trying run the command: android
"can't find sdkmanager.jar"
Try this one:
sudo find /usr/local/Cellar/android-sdk/<version>/tools -type d | xargs sudo chmod a+rx
Apparently homebrew can't change the authorization to this directory.
@ondrek
ondrek / gist:7413434
Created November 11, 2013 13:48
Smallest Base64 image
data:image/gif;base64,R0lGODlhAQABAAAAACw=
@nov
nov / gist:2490428
Created April 25, 2012 15:05
Parallel Payment in PayPal Express Gem
require File.join(File.dirname(__FILE__), 'paypal_debugger')
Paypal.sandbox!
mode = :setup
paypal = Payment::Paypal.new
request1 = Paypal::Payment::Request.new(
:amount => 10,
:description => 'Instant Payment Request',