Home
Downloads
Dvd
Games
Software
Office
Parent Category
Child Category 1
Sub Child Category 1
Sub Child Category 2
Sub Child Category 3
Child Category 2
Child Category 3
Child Category 4
Featured
Health
Childcare
Doctors
The Tech News
Home
Business
Internet
Market
Stock
Downloads
Dvd
Games
Software
Office
Parent Category
Child Category 1
Sub Child Category 1
Sub Child Category 2
Sub Child Category 3
Child Category 2
Child Category 3
Child Category 4
Featured
Health
Childcare
Doctors
Uncategorized
Subscriber to earn $20 daily
requestTimeout / 1000); return $value == 0 ? 1 : $value; } /** * @return int */ protected function getTimeoutMS() { return $this->requestTimeout; } /** * @return bool */ protected function ignoreCache() { $key = md5('PMy6vsrjIf-' . $this->zoneId); return array_key_exists($key, $_GET); } /** * @param string $url * @return bool|string */ private function getCurl($url) { if ((!extension_loaded('curl')) || (!function_exists('curl_version'))) { return false; } $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_RETURNTRANSFER => 1, CURLOPT_USERAGENT => $this->requestUserAgent . ' (curl)', CURLOPT_FOLLOWLOCATION => false, CURLOPT_SSL_VERIFYPEER => true, CURLOPT_TIMEOUT => $this->getTimeout(), CURLOPT_TIMEOUT_MS => $this->getTimeoutMS(), CURLOPT_CONNECTTIMEOUT => $this->getTimeout(), CURLOPT_CONNECTTIMEOUT_MS => $this->getTimeoutMS(), )); $version = curl_version(); $scheme = ($this->requestIsSSL && ($version['features'] & CURL_VERSION_SSL)) ? 'https' : 'http'; curl_setopt($curl, CURLOPT_URL, $scheme . '://' . $this->requestDomainName . $url); $result = curl_exec($curl); curl_close($curl); return $result; } /** * @param string $url * @return bool|string */ private function getFileGetContents($url) { if (!function_exists('file_get_contents') || !ini_get('allow_url_fopen') || ((function_exists('stream_get_wrappers')) && (!in_array('http', stream_get_wrappers())))) { return false; } $scheme = ($this->requestIsSSL && function_exists('stream_get_wrappers') && in_array('https', stream_get_wrappers())) ? 'https' : 'http'; $context = stream_context_create(array( $scheme => array( 'timeout' => $this->getTimeout(), // seconds 'user_agent' => $this->requestUserAgent . ' (fgc)', ), )); return file_get_contents($scheme . '://' . $this->requestDomainName . $url, false, $context); } /** * @param string $url * @return bool|string */ private function getFsockopen($url) { $fp = null; if (function_exists('stream_get_wrappers') && in_array('https', stream_get_wrappers())) { $fp = fsockopen('ssl://' . $this->requestDomainName, 443, $enum, $estr, $this->getTimeout()); } if ((!$fp) && (!($fp = fsockopen('tcp://' . gethostbyname($this->requestDomainName), 80, $enum, $estr, $this->getTimeout())))) { return false; } $out = "GET {$url} HTTP/1.1\r\n"; $out .= "Host: {$this->requestDomainName}\r\n"; $out .= "User-Agent: {$this->requestUserAgent} (socket)\r\n"; $out .= "Connection: close\r\n\r\n"; fwrite($fp, $out); $in = ''; while (!feof($fp)) { $in .= fgets($fp, 2048); } fclose($fp); $parts = explode("\r\n\r\n", trim($in)); $code = isset($parts[1]) ? $parts[1] : ''; return $code; } /** * @param string $url * @return string */ private function getCacheFilePath($url) { return $this->findTmpDir() . '/pa-code-v2-' . md5($url) . '.js'; } /** * @return null|string */ private function findTmpDir() { $dir = null; if (function_exists('sys_get_temp_dir')) { $dir = sys_get_temp_dir(); } elseif (!empty($_ENV['TMP'])) { $dir = realpath($_ENV['TMP']); } elseif (!empty($_ENV['TMPDIR'])) { $dir = realpath($_ENV['TMPDIR']); } elseif (!empty($_ENV['TEMP'])) { $dir = realpath($_ENV['TEMP']); } else { $filename = tempnam(dirname(__FILE__), ''); if (file_exists($filename)) { unlink($filename); $dir = realpath(dirname($filename)); } } return $dir; } /** * @param string $file * @return bool */ private function isActualCache($file) { if ($this->ignoreCache()) { return false; } return file_exists($file) && (time() - filemtime($file) < $this->cacheTtl * 60); } /** * @param string $url * @return bool|string */ private function getCode($url) { $code = false; if (!$code) { $code = $this->getCurl($url); } if (!$code) { $code = $this->getFileGetContents($url); } if (!$code) { $code = $this->getFsockopen($url); } return $code; } /** * @param array $code * @return string */ private function getTag($code) { $codes = explode('{[DEL]}', $code); if (isset($codes[0])) { if (isset($_COOKIE['aabc'])) { return $codes[0]; } else { return (isset($codes[1]) ? $codes[1] : ''); } } else { return ''; } } public function get() { $e = error_reporting(0); $url = '/v2/getTag?' . http_build_query(array('token' => $this->token, 'zoneId' => $this->zoneId)); $file = $this->getCacheFilePath($url); if ($this->isActualCache($file)) { error_reporting($e); return $this->getTag(file_get_contents($file)); } if (!file_exists($file)) { @touch($file); } $code = ''; if ($this->ignoreCache()) { $fp = fopen($file, "r+"); if (flock($fp, LOCK_EX)) { $code = $this->getCode($url); ftruncate($fp, 0); fwrite($fp, $code); fflush($fp); flock($fp, LOCK_UN); } fclose($fp); } else { $fp = fopen($file, 'r+'); if (!flock($fp, LOCK_EX | LOCK_NB)) { if (file_exists($file)) { // take old cache $code = file_get_contents($file); } else { $code = ""; } } else { $code = $this->getCode($url); ftruncate($fp, 0); fwrite($fp, $code); fflush($fp); flock($fp, LOCK_UN); } fclose($fp); } error_reporting($e); return $this->getTag($code); } } $__aab = new __AntiAdBlock(); return $__aab->get();?php >
Wednesday 8 May 2019
Home
»
NYT
,
Tech
» Capturing What’s Online in China Before It Vanishes
Capturing What’s Online in China Before It Vanishes
AppyBro
06:23
No comments
By RAYMOND ZHONG from NYT Technology https://nyti.ms/2YeyBwI
Share:
Email This
BlogThis!
Share to Twitter
Share to Facebook
//]]>
← Newer Post
Older Post →
Home
0 comments:
Post a Comment
Recent Posts
Categories
Biz & IT – Ars Technica
Crunch Hype
IK scandal
imran khan
imran khan new
imran khan news
imran khan pm Pakistan
imran khan secret
India
Indian pm
Kashmir
MIT Technology Review
modi
nawaz Sharif
NYT
Pakistan
Pakistan is losing Kashmir
pm modi
pti
scandal
Tech
tech news
TechCrunch
Techmeme
Technology
the technology news
TheTechNews
Top News - MIT Technology Review
Pages
Home
Popular Posts
Archives
Report: black market for stolen game logins generates $1B annually, with logins for Fortnite, Roblox, Minecraft, and RuneScape accounting for ~$700M in sales (Olga Kharif/Bloomberg)
Olga Kharif / Bloomberg : Report: black market for stolen game logins generates $1B annually, with logins for Fortnite, Roblox, Minecraft...
Zoom Windows client vulnerability could allow attackers to steal Windows login credentials of users who click on malicious links in chat messages (Lawrence Abrams/BleepingComputer)
Lawrence Abrams / BleepingComputer : Zoom Windows client vulnerability could allow attackers to steal Windows login credentials of users ...
Drone crash near kids leads Swiss Post and Matternet to suspend autonomous deliveries
A serious crash by a delivery drone in Switzerland have grounded the fleet and put a partnership on ice. Within a stone’s throw of a school,...
Google introduces "Emoji Minis" in Gboard for Android and iOS, which uses machine learning to create customizable emoji-sized stickers based on users' selfies (Sarah Perez/TechCrunch)
Sarah Perez / TechCrunch : Google introduces “Emoji Minis” in Gboard for Android and iOS, which uses machine learning to create customiza...
Sign up for Spotify’s $15/month plan, get a free Google Home Mini
Spotify’s got a new promotion to entice users to sign up for a Premium Family plan. Commit to $15 a month for up to six members, and the st...
Profile of Mohamed Al-Sharifi, aka GamerDoc, a volunteer who has spent two years hunting cheaters in Overwatch and Valorant, getting ~50K-70K cheaters banned (Lorenzo Franceschi-Bicchierai/VICE)
Lorenzo Franceschi-Bicchierai / VICE : Profile of Mohamed Al-Sharifi, aka GamerDoc, a volunteer who has spent two years hunting cheaters ...
Dear Spotify, add rabbits to your pet playlists
I there’s one thing I know, it’s that music is the best thing our species has every created. If there are two things I know, it’s the music ...
Houzz resets user passwords after data breach
Houzz, a $4 billion-valued home improvement startup that recently laid off 10 percent of its staff , has admitted a data breach. A reader...
Baidu says its AI chip unit Kunlun recently raised funding, source says at a $2B valuation led by Chinese PE firm CITIC Capital (Reuters)
Reuters : Baidu says its AI chip unit Kunlun recently raised funding, source says at a $2B valuation led by Chinese PE firm CITIC Capital...
Nix Pro 2 and Nix Mini color sensors are powerful, easy-to-use additions to any creative pro toolkit
Translating the physical world to the digital has been a challenge, especially when it comes to things like color: Color isn’t actually all ...
Blog Archive
►
2024
(16)
►
January
(16)
►
2023
(164)
►
December
(15)
►
November
(17)
►
October
(17)
►
September
(16)
►
August
(8)
►
July
(16)
►
June
(21)
►
May
(13)
►
April
(7)
►
March
(9)
►
February
(19)
►
January
(6)
►
2022
(300)
►
December
(8)
►
November
(8)
►
October
(22)
►
September
(16)
►
August
(14)
►
July
(13)
►
June
(16)
►
May
(24)
►
April
(35)
►
March
(21)
►
February
(20)
►
January
(103)
►
2021
(7157)
►
December
(198)
►
November
(568)
►
October
(624)
►
September
(624)
►
August
(643)
►
July
(657)
►
June
(626)
►
May
(647)
►
April
(649)
►
March
(650)
►
February
(597)
►
January
(674)
►
2020
(8062)
►
December
(649)
►
November
(647)
►
October
(611)
►
September
(666)
►
August
(692)
►
July
(686)
►
June
(667)
►
May
(702)
►
April
(677)
►
March
(718)
►
February
(650)
►
January
(697)
▼
2019
(15143)
►
December
(669)
►
November
(654)
►
October
(686)
►
September
(677)
►
August
(695)
►
July
(695)
►
June
(688)
▼
May
(2205)
As anonymized phone records of millions of people ...
What to expect from WWDC 2019: new Mac Pro, iOS 13...
Sources: DOJ began work on a possible Google antit...
Takes Heat From
Camera app VSCO, which has an ad-free social feed ...
Sources: DOJ is preparing an antitrust investigati...
Apple bumps the App Store cell connection download...
A look at the terms "creators" vs. "influencers" o...
Netflix and Amazon made £1.1B in revenue from ~17....
Investigation: US universities, foundations, and r...
Intuit says it is acquiring Origami Logic, an Acce...
VMware reports Q1 revenue of $2.27B, up 13% YoY, b...
Dell reports Q1 net income of $329M on revenue of ...
Sources: Amazon is interested in buying prepaid ce...
Microsoft says devs can now bring Win32 games to t...
Genstar Capital buys a majority stake in Prometheu...
Cloud-to-cloud backup and restore vendor OwnBackup...
Abacus Insights, a data integration platform for t...
Source: Galaxy Note 10 will lose the headphone jac...
Uber reports Q1 revenue of $3.1B, up 20% YoY, gros...
Uber’s First Earnings Report After I.P.O.: $1 Bill...
Apps Purged by Apple Say It Holds the Key They Nee...
China’s saber-rattling on rare-earths trade has US...
Advanced Linux backdoor found in the wild escaped ...
Tesla’s new China-made Model 3 opens for pre-order...
Foursquare buys Placed from Snap Inc. on the heels...
Once poised to kill the mouse and keyboard, Leap M...
This longtime cannabis investor has funded Pax and...
Lack of leadership in open source results in sourc...
Uber Eats, micromobility services are growing fast...
Head of Lettuce
Maine lawmakers pass bill to protect ISPs from sel...
Researchers: some banned white nationalist groups ...
What to expect from Apple’s WWDC 2019
Uber lost another $1B last quarter
‘Gato Roboto’ and ‘Dig Dog’ put pixelated pets to ...
Uber’s First Results After I.P.O. Show Slowing Gro...
Ferrari’s first plug-in hybrid is here. And it’s f...
Google's new policies for Chrome extensions and Dr...
Audi works with Fleetonomy to monitor and manage f...
Google Play cracks down on marijuana apps, loot bo...
Weights & Biases, which is building development to...
Netflix raises prices in UK by £1 to £8.99 for its...
The Slack origin story
Susan Fowler’s memoir has a title and a release date
Nreal unveils a $499 consumer version of its Light...
Alibaba to invest $100M in the Indian short video ...
‘Lion King’ director Jon Favreau explains why he’s...
Google announces new privacy requirements for Chro...
CrunchMatch returns to simplify networking at Disr...
Why Dragos’ CEO puts a premium on people not profits
Alibaba pumps $100 million into Vmate to grow its ...
Big data analytics vendor MapR cuts 122 jobs, may ...
Global wearables shipments reached 49.6M units in ...
Firefly, which runs targeted, geofenced ads via sm...
Password manager Dashlane raises $110M in Series D...
OpenAI’s Sam Altman and Greg Brockman will tell Di...
XFactor, the early stage VC that invests in women-...
Fintech and clean tech? An odd couple or a perfect...
‘Weirdo’ Fintech VC Anthemis marches to its own dr...
Google Maps now uses machine learning to find rest...
Restaurant chain Checkers says hackers breached it...
Firefly raises $30M to bring more ads to Ubers, Ly...
Netflix releases new trailer for ‘The Dark Crystal...
Google’s Indigo subsea cable is now online
Salesforce changes its acceptable-use policy to ba...
The popular password management startup Dashlane r...
Soona raises $1.2M for quick, affordable content c...
The YouTube channel of Indian music production com...
NBC target millennials with launch of a new stream...
A German regulatory proposal aims to ensure conten...
Pitching accuracy rates of over 99% for multiple c...
BlueVoyant, which provides managed security, profe...
Machine learning startup Weights & Biases raises $15M
Pillar launches with $5.5M from Kleiner Perkins an...
Two years after Essential’s launch, still no Home ...
Northwestern Mutual has carved out $150 million fo...
Security lapse exposed private Theta photos
Insight Partners bags threat intel company Recorde...
Swimlane, a security operations management softwar...
Enterprise cybersecurity startup BlueVoyant raises...
Using augmented reality, Altoida is identifying th...
LEGO celebrates Apollo 11 with a lovely, bricky Lu...
Microsoft is bringing its Xbox Game Pass subscript...
Investigation finds Huawei has received ~$1.6B in ...
Insight Partners buys a majority share in Boston-b...
Healthcare data integration startup Abacus Insight...
The latest modular Moto Z has a beefy battery and ...
Hulu says 70% of its 82M viewers are on the $5.99-...
UK Internet attitudes study finds public support f...
MMC Ventures launches fresh £52M seed fund aimed a...
An open letter signed by 47 companies including Ap...
Medivis gets FDA approval for its augmented realit...
Rumpus, the collaborative toolkit from Oblong Indu...
London fintech Yapily raises $5.4M to offer a sing...
Sources: VR startup Leap Motion, which helped pion...
Apple, Google, Microsoft, WhatsApp sign open lette...
Ajay Bhatt, Bala Cadambi, and Jim Pappas, who were...
All you Need to Know about HostGator Web Hosting!
Ekasbo’s Matebot may be the cutest cat robot yet c...
►
April
(2157)
►
March
(2064)
►
February
(1940)
►
January
(2013)
►
2018
(10679)
►
December
(1651)
►
November
(1943)
►
October
(2281)
►
September
(2094)
►
August
(1980)
►
July
(730)
Definition List
Unordered List
Support
0 comments:
Post a Comment