time.google.com
time1.google.com
time2.google.com
time3.google.com
<?php | |
//replace it with your own key | |
$key = 'TVpI8MlRPQcUH0mOyrKKrJgnIcVM9kXb8Ke6XZkJXW7WyHYbUDMYdNMWgq9e'; | |
$encrypted_str = encrypt_string('John Doe is Here'); | |
$decrypted_str = decrypt_string($encrypted_str); |
<?php | |
defined('BASEPATH') OR exit('No direct script access allowed'); | |
$active_group = 'default'; | |
$query_builder = TRUE; | |
$db['default'] = array( | |
'dsn' => '', | |
'hostname' => 'Driver={SQL Server};Server=DESKTOP-123456;Database=database_name', |
function binarySearch(arr = [], b_start, b_end, x){ | |
if (b_end < b_start) | |
return false; | |
var mid = Math.floor((b_end + b_start)/2); |
<?php | |
$ALGORITHM = 'AES-128-CBC'; | |
$IV = '12dasdq3g5b2434b'; | |
$error = ''; | |
if (isset($_POST) && isset($_POST['action'])) { | |
$password = isset($_POST['password']) && $_POST['password']!='' ? $_POST['password'] : null; |
<?php | |
$hourly_rate = 2.5; | |
$startTime = new DateTime("2020-05-14 08:00:00"); | |
$endTime = new DateTime("2020-05-14 17:00:00"); | |
$duration = $startTime->diff($endTime); //$duration is a DateInterval object | |
$worked_hours = (int)$duration->format("%H"); | |
echo $worked_hours * 2.5; |
1 adb backup -noapk com.developername.appname | |
2 dd if=backup.ab bs=24 skip=1|openssl zlib -d > backup.tar; | |
3 tar -xvf backup.tar | |
https://medium.com/@k1d_bl4ck/how-to-extract-the-database-and-other-things-from-an-enterprise-android-app-2194a52b249b |
<?php | |
date_default_timezone_set('Asia/Manila'); | |
function isBetween($from, $till, $input) { | |
$fromTime = strtotime($from); | |
$toTime = strtotime($till); | |
$inputTime = strtotime($input); | |
return($inputTime >= $fromTime and $inputTime <= $toTime); | |
} |
[ | |
{ | |
"brgy":"Agsoso", | |
"Lat":"9.7897", | |
"Lon":"123.8203" | |
}, | |
{ | |
"brgy":"Badbad Occidental", | |
"Lat":"9.8030", | |
"Lon":"123.8133" |
{ | |
"rows": [ | |
{ | |
"type": 3, | |
"data": { | |
"source": 3, | |
"id": 1, | |
"x": 0, | |
"y": 733 | |
}, |