Skip to content

Instantly share code, notes, and snippets.

View michalsn's full-sized avatar
💭
Always dreaming of things to come

Michal Sniatala michalsn

💭
Always dreaming of things to come
View GitHub Profile
@michalsn
michalsn / vpn.md
Created October 22, 2019 10:31 — forked from joepie91/vpn.md
Don't use VPN services.

Don't use VPN services.

No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.

Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.

A Russian translation of this article can be found here, contributed by Timur Demin. There's also this article about VPN services, which is honestly better written (and has more cat pictures!) than my article.

Why not?

@michalsn
michalsn / index.html
Created February 10, 2016 11:49 — forked from johnschimmel/index.html
Demo of loading Google Maps, fetching Markers with AJAX, Geocoding new location and POSTing new location with AJAX. http://dwd-nodejs-remoteapis.herokuapp.com/
<style>
/* IMPORTANT - must give map div height */
#map-canvas {
height:400px;
}
/* IMPORTANT - fixes webkit infoWindow rendering */
#map-canvas img {
max-width: none;
}
@michalsn
michalsn / kml.php
Created June 8, 2014 17:17
Load KML file using geoxml3
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document>
<?php foreach ($suburbs as $suburb): ?>
<Placemark>
<name><?php echo $suburb->suburb; ?></name>
<?php echo $suburb->geometry; ?>
</Placemark>
<?php endforeach; ?>
</Document>
</kml>