Skip to content

Instantly share code, notes, and snippets.

View eshwarenm's full-sized avatar

Eshwaren M eshwarenm

  • Kuala Lumpur, Malaysia
View GitHub Profile
@eshwarenm
eshwarenm / gist:a3958afd60072b815353a80306bf46c6
Created March 1, 2018 05:27
MomentJS Malay Proper Greetings Pagi Tengah Hari Petang Malam Tengah Malam
function getGreetingTime (m) {
var g = null; //return g
if(!m || !m.isValid()) { return; } //if we can't find a valid or filled moment, we return.
var split_afternoon = 12; //24hr time to split the afternoon
var split_evening = 13; //24hr time to split the evening
var split_night = 20;
var split_midnight = 0;
@eshwarenm
eshwarenm / gist:065322f578291c6d0b02a6bcf3beacd5
Created January 19, 2018 16:24
Seti UX Seti.tmTheme file for Operator Mono Italic CSS JS HTML
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>author</key>
<string>Ctf0</string>
<key>name</key>
<string>Seti_UX</string>