install termux from F-Droid.
apt update
<?php | |
/* | |
Author: Monteiro, Bruno | |
E-mail: [email protected] | |
*/ | |
// Simple cURL settings to retrive all data from the submitted URL | |
function page_status_checker( $url ) { | |
$user_agent='Mozilla/5.0 (Windows NT 6.1; rv:8.0) Gecko/20100101 Firefox/8.0'; |
function convertMiliseconds(miliseconds, format) { | |
var days, hours, minutes, seconds, total_hours, total_minutes, total_seconds; | |
total_seconds = parseInt(Math.floor(miliseconds / 1000)); | |
total_minutes = parseInt(Math.floor(total_seconds / 60)); | |
total_hours = parseInt(Math.floor(total_minutes / 60)); | |
days = parseInt(Math.floor(total_hours / 24)); | |
seconds = parseInt(total_seconds % 60); | |
minutes = parseInt(total_minutes % 60); |
(function($) { | |
$.fn.countdown = function(options, callback) { | |
//custom 'this' selector | |
thisEl = $(this); | |
//array of custom settings | |
var settings = { | |
'date': null, | |
'format': null |