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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="description" content="Moment JS clock for beginners."> | |
<meta name="keywords" content="HTML,CSS,MOMENT, JAVASCRIPT, JQUERY, CLOCK, TIME"> | |
<meta name="author" content="Praneeth Nidarshan"> | |
<title>MOMENT CLOCK</title> | |
<script src="https://code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script> |
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
server { | |
listen 80; ## listen for ipv4; this line is default and implied | |
listen [::]:80; ## listen for ipv6 | |
# Replace/ set your directory path here | |
root /var/www/html/prestashop; | |
index index.html index.htm index.php; | |
# Make site accessible from http://localhost/ |
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
<?php | |
// use this to capture data that not from GET OR POST | |
// refer http://stackoverflow.com/questions/19004783/reading-json-post-using-php | |
$json = file_get_contents('php://input'); | |
$obj = json_decode($json); | |
?> |
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
/** | |
* Created by praneeth on 8/27/2016. | |
*/ | |
var capital = 100000; | |
var period = 12; | |
var rate = 12; | |
var r = parseFloat(rate) / (100 * period) ; | |
// console.log(r); |
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
/** | |
* Created by Praneeth Nddarshan on 10/25/2016. | |
*/ | |
var from_date = '2016-01-01'; | |
var to_date = '2016-02-20'; | |
var dates = getDates(from_date, to_date); |
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
<?php | |
/*$dir_files = glob($_SERVER["DOCUMENT_ROOT"]."/*"); | |
getFolderFiles($dir_files);*/ | |
$dir = "D:\MUSICS\English\Collections\FAVS"; | |
$dir = "F:\MOVIES"; | |
$final_array = array(); | |
$file_filter = array( | |
'video' => array('mkv','mov','mp4','flv', 'avi'), |
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
/*! | |
* Select2 4.0.3 | |
* https://select2.github.io | |
* | |
* Released under the MIT license | |
* https://github.com/select2/select2/blob/master/LICENSE.md | |
*/ | |
(function (factory) { | |
if (typeof define === 'function' && define.amd) { | |
// AMD. Register as an anonymous module. |
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
# ~~start~~ Do not remove this comment, prestashop will keep automatically the code outside this comment when .htaccess will be generated again | |
# .htaccess automaticaly generated by prestashop e-commerce open-source solution | |
# http://www.prestashop.com - http://www.prestashop.com/forums | |
<IfModule mod_rewrite.c> | |
<IfModule mod_env.c> | |
SetEnv HTTP_MOD_REWRITE On | |
</IfModule> | |
RewriteEngine on |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>API TEST</title> | |
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> | |
</head> | |
<body> | |
<div class="container"> | |
<div class="row"> | |
<div class="col-md-8 col-md-offset-1"> |
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
<?php | |
/** | |
* TIMEZONE GRABBER | |
* @author PRANEETH NIDARSHAN | |
*/ | |
$zones = timezone_identifiers_list(); | |
$new_list = array(); |
OlderNewer