Skip to content

Instantly share code, notes, and snippets.

View gist:e2f6f3c35103460629fae54a5cc97109
http://jsfiddle.net/ts4oyyn0/10/
cc http://coagisweb.cabq.gov/arcgis/rest/services/public/environmentalissues/MapServer/1/query&#8221
http://bl.ocks.org/wboykinm/29ef7eda9e28932353fd
http://stackoverflow.com/questions/35468510/binning-data-into-a-hexagonal-grid-in-google-maps
http://stackoverflow.com/questions/19830527/using-d3-to-create-a-density-value-heatmap-layer-for-leaflet
python:
@geraldstanje
geraldstanje / rand_location.js
Last active Apr 14, 2017
generate random location (lat, long)
View rand_location.js
function getRandomCoordinates(radius, uniform) {
// Generate two random numbers
var a = Math.random(),
b = Math.random();
// Flip for more uniformity.
if (uniform) {
if (b < a) {
var c = b;
b = a;
View print4.html
%html{:lang => "en", "ng-app" => "myApp"}
%head
%script{:src => "http://ajax.googleapis.com/ajax/libs/angularjs/1.0.5/angular.min.js"}
%script{:src => "https://maps.googleapis.com/maps/api/js?v=3.6&?key=AIzaSyAkyvfxLRt8uJ3gZlduH38ZQSF30_5N9cA&sensor=true"}
%script{:src => "http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"}
%meta{:charset => "utf-8"}/
%title My AngularJS App
%body
.container-fluid
.row
View gist:4e1d7c0d3f9b7f02350e
https://www.shadertoy.com/view/XdsXRf
https://www.shadertoy.com/view/4s2SRt
http://stackoverflow.com/questions/18353107/radar-scanner-effect-using-jquery
http://jsbin.com/AMag/6/edit?html,css,js,console,output
https://github.com/lucasfilippi/d3-radar
http://codepen.io/jackrugile/pen/wqLsn
view-source:http://lab.hakim.se/radar/
http://stackoverflow.com/questions/18353107/radar-scanner-effect-using-jquery
https://github.com/shineforyou/PlaneRadar
view-source:http://s.codepen.io/jackrugile/fullpage/wqLsn?
View gist:50ba6ce5fa872fb51b9a
http://www.merixstudio.com/blog/webgl-hype-future-digital-interactive/
http://jsfiddle.net/ksRyQ/?utm_source=website&utm_medium=embed&utm_campaign=ksRyQ
https://aerotwist.com/tutorials/getting-started-with-three-js/
https://webglfundamentals.org/
@geraldstanje
geraldstanje / gist:6d51cbb84702bff4bb06
Last active Jan 18, 2016
get the max memory usage of an app
View gist:6d51cbb84702bff4bb06
# start the app:
while true; do ./main; sleep 0.1; done;
# monitor:
max=0;
for i in {1..200};
do
x=`ps aux | grep -m1 main | awk '{print $6}'`;
if [ $x -gt $max ]; then
max=$x;
View gist:31d257581de0bff6e565
http://www.jonathanbeard.io/tutorials/FlexBisonC++
https://github.com/melihovv/JsonParser/tree/master/JsonParser
https://github.com/51103220/Assembly-Parser
@geraldstanje
geraldstanje / gist:885782cc3f6570637ca9
Last active Oct 23, 2015
C++ performance tutorials / talks
View gist:885782cc3f6570637ca9
http://people.cs.clemson.edu/~dhouse/courses/405/papers/optimize.pdf
Chandler Carruth "Efficiency with Algorithms, Performance with Data Structures":
https://www.youtube.com/watch?v=fHNmRkzxHWs
Scott Meyers - The evolving search for effective C++ - Keynote @ Meeting C++ 2014:
https://www.youtube.com/watch?v=smqT9Io_bKo
Writing Quick Code in C++, Quickly:
https://www.youtube.com/watch?v=MvFj8qo1iuA
View gist:c0782002c1f959aacec8
https://medium.com/@rakyll/go-1-5-cross-compilation-488092ba44ec
View gist:196225f2aef2bb0ca329
http://adriansampson.net/blog/llvm.html
You can’t perform that action at this time.