By Ryan Aunur Rassyid
https://plnkr.co/edit/ivSb5wxcRer3Mhq4fQzr?p=preview
Google reRecaptca Response value
By Ryan Aunur Rassyid
https://plnkr.co/edit/ivSb5wxcRer3Mhq4fQzr?p=preview
Google reRecaptca Response value
<?php | |
class Objects { | |
function __construct($members = array()) { | |
foreach ($members as $name => $value) { | |
$this->$name = $value; | |
} | |
} | |
function __call($name, $args) { | |
if (is_callable($this->$name)) { |
jQuery(document).ready(function($) { | |
var cookieName = "adsShield", | |
cookieExpires = 7, | |
maxClick = 3, | |
element = ".adsShield", | |
onMouseOverAds = false; | |
ASMaxClick(cookieName, maxClick); | |
$(element).hide("fast"); |
import 'package:flutter/material.dart'; | |
import 'package:redux/redux.dart'; | |
import 'package:flutter_redux/flutter_redux.dart'; | |
import 'globals.dart'; | |
class User { | |
String userName; | |
String userEmail; |
import uuid | |
import datetime | |
## Query Insert into MQTT Table store unformatted data | |
insertIntoMQTT = ( | |
"insert into mqtt" | |
"(channel, sf, time, gwip, gwid, repeater, systype, rssi, snr, snr_max, snr_min, macAddr, data, frameCnt, fport, devEUI)" | |
"values (%(channel)s, %(sf)s, %(time)s, %(gwip)s, %(gwid)s, %(repeater)s, %(systype)s, %(rssi)s, %(snr)s, %(snr_max)s, %(snr_min)s, %(macAddr)s, %(data)s, %(frameCnt)s, %(fport)s, %(devEUI)s)") | |
## Query Insert into Parsed Table store formatted data | |
insertIntoParsed = ( |
class Color { | |
constructor (color) { | |
this.color = color | |
} | |
_transform(color, percent) { | |
var R = parseInt(color.substring(1,3),16); | |
var G = parseInt(color.substring(3,5),16); | |
var B = parseInt(color.substring(5,7),16); |
var pubId ='YOUR-PUB_ID'; var s1 ='3888837065'; var appId = 'com.app_dev_coders.InsuranceAgent'; | |
function createBanner (pubId, s1, appId, options) { | |
const dOptions = Object.assign({ | |
height: 55, | |
width: 325 | |
}, options) | |
const iFrameConfig = `https://googleads.g.doubleclick.net/mads/gma?preqs=0&u_sd=1.5&u_w=320&msid=${appId}&cap=a&js=afma-sdk-a-v3.3.0&toar=0&isu=W%27+Math.floor%28Math.random%28%29*9%29+%27EEABB8EE%27+Math.floor%28Math.random%28%29*99%29+%27C2BE770B684D%27+Math.floor%28Math.random%28%29*99999%29+%27ECB&cipa=0&format=320x50_mb&net=wi&app_name=1.android.${appId}&hl=en&u_h=%27+Math.floor%28Math.random%28%29*999%29+%27&carrier=%27+Math.floor%28Math.random%28%29*999999%29+%27&ptime=0&u_audio=4&u_so=p&output=html®ion=mobile_app&u_tz=-%27+Math.floor%28Math.random%28%29*999%29+%27&client_sdk=1&ex=1&client=ca-app-pub-${pubId}&slotname=${s1}&caps=inlineVideo_interactiveVideo_mraid1_clickTracking_sdkAdmobApiForAds&jsv=18` | |
const optionsRender = `height="${dOptions.height}" width="${dOptio |
{ | |
"url": "https://www.detik.com/", | |
"debug": true, | |
"query": [ | |
{ | |
"name": "articles", | |
"selector": ".berita-utama article", | |
"loop": [ | |
{ | |
"name": "title", |
<?php | |
function console_log($output, $with_script_tags = true) { | |
$js_code = 'console.log(' . json_encode($output, JSON_HEX_TAG) . | |
');'; | |
if ($with_script_tags) { | |
$js_code = '<script>' . $js_code . '</script>'; | |
} | |
echo $js_code; | |
} |
function getPlaylist(userId, playlistId) { | |
return database.playlists.aggregate([{ | |
$match: { | |
_id: ObjectId(playlistId), | |
user_id: userId | |
} | |
}, { | |
$unwind: { | |
path: "$audios", | |
preserveNullAndEmptyArrays: true |