This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var BS_MONTHS_FULL_NE = ['वैशाख', 'जेठ', 'असार', 'साउन', 'भदौ', 'असोज', 'कात्तिक', 'मंसिर', 'पुष', 'माघ', 'फागुन', 'चैत']; | |
var BS_DAYS_FULL_NE = ['आईतबार', 'सोमबार', 'मंगलबार', 'बुधबार', 'बिहीबार', 'शुक्रबार', 'शनिबार']; | |
function convertBs2Ad(e){ | |
e.preventDefault(); | |
var form, bsDate, adDate; | |
try { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// http://eslint.org/docs/rules/ | |
"ecmaFeatures": { | |
"binaryLiterals": false, // enable binary literals | |
"blockBindings": false, // enable let and const (aka block bindings) | |
"defaultParams": false, // enable default function parameters | |
"forOf": false, // enable for-of loops | |
"generators": false, // enable generators | |
"objectLiteralComputedProperties": false, // enable computed object literal property names |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Lekhnath Rijal" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"presets": ["es2015"], | |
"plugins": [ | |
"add-module-exports" | |
], | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name SaveFrom.net helper | |
// @namespace http://savefrom.net/ | |
// @version 2.70 | |
// @date 2014-07-12 | |
// @author Magicbit, Inc | |
// @description Youtube Downloader: all in one script to get Vimeo, Facebook, Dailymotion videos for free | |
// @homepage http://savefrom.net/user.php?helper=userjs | |
// @icon http://savefrom.net/img/extension/icon_16.png | |
// @icon64 http://savefrom.net/img/extension/icon_64.png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
COMMAND='puppet parser validate' | |
TEMPDIR=`mktemp -d` | |
echo "### Attempting to validate puppet files... ####" | |
# See https://www.kernel.org/pub/software/scm/git/docs/githooks.html#pre-receive | |
oldrev=$1 | |
newrev=$2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Date Format | |
* Copyright (c) 2011, marlun78 | |
* MIT License, https://gist.github.com/marlun78/bd0800cf5e8053ba9f83 | |
* | |
* Format options inspired by the .NET framework's format. | |
* http://msdn.microsoft.com/en-us/library/8kb3ddd4.aspx | |
* | |
* Non-formatting characters within the format string must be | |
* quoted (single (') or double (") quotes)! The same is true |
OlderNewer