Skip to content

Instantly share code, notes, and snippets.

View ammarfaizi2's full-sized avatar
🐀
Baby Opossum Posse

Ammar Faizi ammarfaizi2

🐀
Baby Opossum Posse
View GitHub Profile
<?php
class Q
{
public static function qurl($url, $opt = [])
{
$ch = curl_init($url);
$optf = [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_SSL_VERIFYPEER => false,
(function(cf_a, cf_b) {
var cf_c = function(cf_d) {
while (--cf_d) {
cf_a['push'](cf_a['shift']());
}
};
cf_c(++cf_b);
}(df_a, 0x139));
var df_b = function(cf_e, cf_f) {
<?php
$data = [
"20 Agustus 2018" => [
"negatif" => rand(1, 6000),
"positif" => rand(1, 6000),
"netral" => rand(1, 6000)
],
"21 Agustus 2018" => [
"negatif" => rand(1, 6000),
<?php
use PhpPy\PhpPy;
/**
* @author Ammar Faizi <[email protected]> https://www.facebook.com/ammarfaizi2
* @license MIT
* @version 0.0.1
*/
final class Analyzer
<?php
namespace PhpPy;
/**
* @author Ammar Faizi <[email protected]>
* @package \PhpPy
* @since 0.0.1
*/
final class PhpPy
<?php
/**
* @author Ammar Faizi <[email protected]>
* @license MIT
* @version 0.0.1
*/
class TelegramMonitoringAPI
{
/**
#!/usr/bin/env php
<?php
if (! isset($argv[1])) {
printf("Please provide \$argv[1] for session identifier!\n");
exit(1);
}
use danog\MadelineProto\API;
use TelegramDaemon\EventHandler;
<?php
$errno = $error = NULL;
$host = "www.indopremier.com";
$handle = fsockopen("ssl://{$host}", 443, $errno, $error, 100);
if (is_resource($handle)) {
$requestHeaders =
"GET /module/saham/include/stock-streaming.php HTTP/1.1\r\n".
"Host: {$host}\r\n".
"User-Agent: Mozilla/5.0 (X11; Ubuntu; Linu…) Gecko/20100101 Firefox/61.0\r\n\r\n";
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <sys/wait.h>
#include <sys/types.h>
int main(int argc, char const *argv[])
{
int pid;
<?php
$typeProxy = 'http'; //http/socks
if ($typeProxy === 'http') {
$url = 'https://free-proxy-list.net/';
} else if($typeProxy === 'socks') {
$url = 'https://www.socks-proxy.net/';
}
$get = curl($url);