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();

This is default featured slide 1 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

Thursday, 31 December 2020

A new Golang-based worm has been actively dropping XMRig cryptocurrency malware on Windows and Linux servers since early December, mining Monero (Sergiu Gatlan/BleepingComputer)

Sergiu Gatlan / BleepingComputer: A new Golang-based worm has been actively dropping XMRig cryptocurrency malware on Windows and Linux servers since early December, mining Monero  —  A newly discovered and self-spreading Golang-based malware has been actively dropping XMRig cryptocurrency miners on Windows and Linux servers since early December. from Techmeme https://ift.tt/3rMDv...
Share:

Sony to launch PlayStation 5 in India on February 2

Sony said on Friday that it will launch the PlayStation 5 in India on February 2, suggesting improvements in the supply chain network that has been severely throttled by the coronavirus pandemic. The Japanese firm said it will begin taking pre-order requests for the new gaming console in India, which is the world’s second largest internet market, on January 12. The console will be available for pre-order at Amazon, Flipkart, Croma, Reliance Digital,...
Share:

Flexiv, a Chinese startup that makes general-purpose adaptive robots powered by computer vision and AI, raises $100M+ Series B from investors including Meituan (Rita Liao/TechCrunch)

Rita Liao / TechCrunch: Flexiv, a Chinese startup that makes general-purpose adaptive robots powered by computer vision and AI, raises $100M+ Series B from investors including Meituan  —  As businesses around the world look to automate production lines and supply chains, companies making the robots are attracting great investor interest. from Techmeme https://ift.tt/384Xu...
Share:

NYSE says it will delist three Chinese companies, China Mobile, China Telecom and China Unicom, on January 7 to comply with a US EO imposing restrictions (Max Zimmerman/Bloomberg)

Max Zimmerman / Bloomberg: NYSE says it will delist three Chinese companies, China Mobile, China Telecom and China Unicom, on January 7 to comply with a US EO imposing restrictions  —  The New York Stock Exchange said it will delist three Chinese companies to comply with a U.S. executive order that imposed restrictions … from Techmeme https://ift.tt/385gb...
Share:

7 most valuable US tech companies added a combined $3.4T in market cap in 2020: Apple gained ~$1T, Amazon $710B, Microsoft $480B, Alphabet $268B, Facebook $193B (Ari Levy/CNBC)

Ari Levy / CNBC: 7 most valuable US tech companies added a combined $3.4T in market cap in 2020: Apple gained ~$1T, Amazon $710B, Microsoft $480B, Alphabet $268B, Facebook $193B  —  - Apple's market cap jumped by almost $1 trillion this year, followed by Amazon, which increased by over $700 billion. from Techmeme https://ift.tt/38POq...
Share:

Alphabet's Wing says new FAA drone rules mandating radio-frequency broadcasts for remote identification will erode privacy, suggests internet-based tracking (David Shepardson/Reuters)

David Shepardson / Reuters: Alphabet's Wing says new FAA drone rules mandating radio-frequency broadcasts for remote identification will erode privacy, suggests internet-based tracking  —  Alphabet Inc's drone delivery unit Wing criticized Trump administration rules issued this week mandating broadcast-based remote identification … from Techmeme https://ift.tt/395OK...
Share:

A YouTube channel run from Germany by exiled Turkish journalists was shut due to copyright claims from Turkey; one expert blames YouTube's Turkey office (Cevheri Güven/Turkish Minute)

Cevheri Güven / Turkish Minute: A YouTube channel run from Germany by exiled Turkish journalists was shut due to copyright claims from Turkey; one expert blames YouTube's Turkey office  —  Bold Medya, a YouTube channel run by the German-based International Journalists Association eV (IJA), was shut down due to efforts exerted … from Techmeme https://ift.tt/3o5aS...
Share:

BadVR is using government grants to build a business that’s independent of venture capital

When the Los Angeles-based extended reality data visualization company, BadVR, first heard that one of its earliest benefactors, Magic Leap, was about to shed 1,000 jobs and was fighting for its life, the young startup was unfazed. Despite the very public ties that BadVR had to Magic Leap, as one of the enterprise applications on the platform, the startup was more insulated than other businesses from the pivot away from consumer-focused apps. The...
Share:

Goodbye Flash, goodbye FarmVille

While much of what made 2020 such an absolute nightmare will still be with us on January 1 (sorry!), we will really, truly be leaving Adobe Flash and FarmVille behind as we enter the new year. The end of Flash has been a long time coming. The plugin, which was first released in 1996 and once supported a broad swath online content, has become increasingly irrelevant in a smartphone-centric world: iPhones never supported Flash, and it’s been just over...
Share:

Source: Amazon's acquisition of Wondery values the podcasting company, which began in 2016, at roughly $300M (Lauren Hirsch/New York Times)

Lauren Hirsch / New York Times: Source: Amazon's acquisition of Wondery values the podcasting company, which began in 2016, at roughly $300M  —  The deal, valued at $300 million, is the latest in a string of acquisitions as streaming platforms expand beyond music and video.  —  Amazon is acquiring Wondery … from Techmeme https://ift.tt/3rMsu...
Share:

NYC MTA’s contactless fare system completes rollout, will phase out MetroCard in 2023

On the last day of 2020, New York City’s Metro Transit Authority announced that it has finished its roll out of contactless payment systems. With the addition of a final stop in Brooklyn, every MTA subway station and bus in the five boroughs now sports the OMNY “Tap and Go” system. We got an early demo of the Grand Central terminals when the project rollout began last May. The system involves a major infrastructure overhaul as the transit authority...
Share:

Extra Crunch’s Top 10 stories of 2020

I edited hundreds of stories in 2020, so choosing my favorites would be an exercise in futility. Instead, I’ve tried to gather a sample of Extra Crunch stories that taught me something new. (Which means this top 10 list betrays my ignorance, a humbling admission for a know-it-all like myself.) While narrowing down the field of candidates, I realized that we’re covering each of the topics on this list in greater depth next year. We already have stories...
Share:

Definition List

Unordered List

Support