https://youtu.be/LMyenNxIZxA
Apr 29
Newest Jobs from Crunchboard
Apr 29
Market Today
"Today’s MarketsIn Asia, Japan closed. Hong Kong +4%. China +2.4%. India -0.8%.
In Europe, at midday, London +0.2%. Paris +0.6%. Frankfurt +0.8%.
Futures at 6:20, Dow -0.4%. S&P -0.7%. Nasdaq -1%. Crude +1% to $106.40. Gold +1.4% to $1917.70. Bitcoin -1.4% to $39,178.
Ten-year Treasury Yield +1 bps to 2.88%
Today’s Economic Calendar
8:30 Personal Income and Outlays
8:30 Employment Cost Index
9:45 Chicago PMI
10:00 Consumer Sentiment
1:00 PM Baker-Hughes Rig Count
3:00 PM Farm Prices"
Apr 28
From Very Old Code: Geo/Country Based Addvertisement Display
<?php
require_once "geo/geoip/geoip.inc";
function main()
{
global $country, $ip, $currentTime;
$currentTime = time(); //mktime();
$gi = geoip_open("geo/geoip/GeoIP.dat", GEOIP_STANDARD);
$ip = $_SERVER["REMOTE_ADDR"];
$country = geoip_country_code_by_addr($gi, $ip);
//echo $country;
geoip_close($gi);
setcookie("geo", $country, time() + 15552000, "/", $base . $domain, 0); //6 month cookie
$link = connect();
displayClientWebSite($ip, $country, $currentTime, $link);
}
//logic to decide whether to display a site or not
//also display a site
function displayClientWebSite($ip, $country, $currentTime, $link)
{
//check if the ip is in our database
$sqlCheckIp = " select * from ip_and_display_track where ip=’$ip’ order by accessed desc limit 1";
$result = mysqli_query($link, $sqlCheckIp);
if (!$result) {
} else {
if (mysqli_num_rows($result) > 0) {
$row = mysqli_fetch_assoc($result);
$accessed = $row['accessed'];
if (abs($currentTime – $accessed) >= 0) {
require ‘geo/campaign.php’;
exit;
} else {
//die(‘i am dead’);
//exit;
}
} else {
require ‘geo/campaign.php’;
exit;
}
}
}
/* connect to database */
function connect()
{
// we connect to example.com and port 3307
$link = mysqli_connect(‘localhost’, "db", "pass");
if (mysqli_connect_errno()) {
die(‘Could not connect: ‘ . mysqli_connect_error());
}
if (!mysqli_select_db($link, "client_traffic")) {
echo "Unable to select mydbname: " . mysqli_error($link);
exit;
}
return $link;
}
$country = "";
$ip = "";
$gi = "";
$currentTime = "";
time();
main();
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
?>
<script src="//rtb.adx1.com/pixels/pixel.js?id=166606&event=conversion&value=55"></script>
Apr 28
Select Add: Google vs Adserver
<?php
$isGoogleActive = 1;
$adHeight = $_GET['adHeight'];
$adWidth = $_GET['adWidth'];
$adSource = $_GET['adSource'];
$advertiser = $_GET['advertiser'];
$folder = ($advertiser!=”)? $advertiser:’google’;
switch($isGoogleActive){
case 1:
include("$folder/{$adWidth}{$adHeight}.php");
echo("$folder/{$adWidth}{$adHeight}.php");
?>
<?php
break;
case 0:
include("adserver/{$adWidth}_{$adHeight}.php");
break;
}
?>
Apr 27
WordPress Security PHP Object Injection Vulnerability in Booking Calendar Plugin
|
Apr 27
Discuss: Dynamic Multiscale Graph Neural Networks for 3D Skeleton Based Human Motion Prediction
https://youtu.be/6QI_yrsOgcc
