Skip to content

Instantly share code, notes, and snippets.

View zawmyohtet's full-sized avatar

Zaw Myo Htet zawmyohtet

View GitHub Profile
@zawmyohtet
zawmyohtet / geojson
Created August 6, 2026 16:54
myanmar-admin3-simplified.geojson
This file has been truncated, but you can view the full file.
{"type":"FeatureCollection", "features": [
{"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[95.2131254447835,17.646604785782298],[95.22322774786232,17.64839833521505],[95.22594960988664,17.63223424991077],[95.22105474478072,17.62532635043078],[95.20885267131376,17.619694625806392],[95.207210085677,17.615001521802867],[95.21346861888175,17.5982754411587],[95.22457457165922,17.60162617480819],[95.24123509262546,17.597871689626793],[95.24827883739847,17.597871689626796],[95.25271341239416,17.5941584716362],[95.25463859019885,17.585627800382714],[95.25439366883279,17.56456453232739],[95.25941999503682,17.56017125959601],[95.26247608560294,17.540562200685084],[95.26835420738082,17.52880595892794],[95.26933389284494,17.520233699425713],[95.25659796472434,17.515825107642627],[95.25537335519626,17.505783317246365],[95.26076163244346,17.494761837788644],[95.2610357404072,17.482936662996615],[95.27740919957495,17.475810480069644],[95.28728639335242,17.47722775765494],[95.29106910735351,17.47453641592289]
@zawmyohtet
zawmyohtet / HappyNewYear.php
Created December 31, 2015 10:36
My CodeFight HappyNewYear Challenge solution
<?php
function happyNewYear($wish){
$st = explode(" ", addslashes($wish));
$mx = max(array_map("strlen", $st));
$re[] = str_repeat("*", $mx + 4);
for ($i = 0; $i < sizeof($st); $i++ ){
@zawmyohtet
zawmyohtet / new_gist_file_0
Created December 8, 2014 08:16
Android Opacity Value
100% — ff
99% — fc
98% — fa
97% — f7
96% — f5
95% — f2
94% — f0
93% — ed
92% — eb
91% — e8
@zawmyohtet
zawmyohtet / 0_reuse_code.js
Created October 7, 2013 07:18
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console