Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View alvnfaiz's full-sized avatar
💭
Energic

Alvin Faiz alvnfaiz

💭
Energic
View GitHub Profile
const axios = require("axios");
const cheerio = require("cheerio")
async function start() {
const headers = {
'content-type': 'application/x-www-form-urlencoded; charset=UTF-8',
'origin': 'https://idownloader.io',
'referer': 'https://idownloader.io/',
'cookie': 'PHPSESSID=easqd0d1ujiqf1arv4rsfm7jmd; _ga=GA1.1.1541970967.1691152140; __gads=ID=73d79b0404953e47-2265a0e8ace2005b:T=1691152143:RT=1691152143:S=ALNI_MZYOVK4CvhzBgX5BuYv0sXZH0dxqw; __gpi=UID=00000c26fe06658f:T=1691152143:RT=1691152143:S=ALNI_MbRhScE7mqlyPm-7jogXzFURPIFBA; _ga_6ZBFDSJZBL=GS1.1.1691152139.1.1.1691152367.60.0.0'
};
@iniznet
iniznet / Gomunime popup Ads.user.js
Last active June 27, 2021 09:51
Gomunime Auto Popup Close & Auto 720p Player
// ==UserScript==
// @name Gomunime Auto Popup Close & Auto 720p Player
// @namespace https://niznet.my.id/
// @version 1.0.1
// @description Tutup 5 detik pop up / float ads & auto 720p Player
// @author niznet
// @match https://gomunime.online/*
// @icon https://www.google.com/s2/favicons?domain=gomunime.online
// @grant none
// ==/UserScript==
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
// ==UserScript==
// @name AlfaPasser
// @namespace AlfaPasser - Cuma mau lewatin safelink
// @description Download di Fansub dan Fanshare besar tanpa melewati Iklan || By DevStudio
// @copyright 2019+, DevStudio
// @version 2.0.1
// @homepageURL https://devstudio.web.id/
// @icon https://cdn.myanimelist.net/images/characters/2/337013.jpg
// @grant GM_deleteValue
// @grant GM_getValue
@Ashkanph
Ashkanph / MyPHPProxy.php
Created June 30, 2018 13:11
My PHP proxy
<?php
error_reporting(E_ALL);
ini_set("display_errors", 1);
//$ch = curl_init($_GET['url']);
$ch = curl_init();
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($ch, CURLOPT_VERBOSE, TRUE);
@leonardocr10
leonardocr10 / minhalista.m3u
Last active March 25, 2019 11:36
minhalista.m3u
http://premium-iptv.link:6969/live/despina/despina/5681.ts #Name: BR: DISCOVERY
http://premium-iptv.link:6969/live/despina/despina/7364.ts #Name: BR: Discovery Civilization
http://premium-iptv.link:6969/live/despina/despina/8074.ts #Name: BR: Discovery Home Health
http://premium-iptv.link:6969/live/despina/despina/7363.ts #Name: BR: Discovery Science
http://premium-iptv.link:6969/live/despina/despina/7362.ts #Name: BR: Discovery Turbo
http://premium-iptv.link:6969/live/despina/despina/7361.ts #Name: BR: Disney
http://premium-iptv.link:6969/live/despina/despina/7929.ts #Name: BR: Eimax 1
http://premium-iptv.link:6969/live/despina/despina/7357.ts #Name: BR: ESPN
http://premium-iptv.link:6969/live/despina/despina/5328.ts #Name: BR: ESPN Brasil
http://premium-iptv.link:6969/live/despina/despina/5327.ts #Name: BR: ESPN HD
function urlMatchesOneOfPatterns(url, patterns) {
for (var i = 0; i < patterns.length; i++) {
var pattern = patterns[i];
if (url.match(pattern)) {
return true;
}
}
return false;
}
@malikkurosaki
malikkurosaki / download.php
Created March 7, 2018 10:11
download youtube video to server
<?php
preg_match("/^(?:http(?:s)?:\/\/)?(?:www\.)?(?:m\.)?(?:youtu\.be\/|youtube\.com\/(?:(?:watch)?\?(?:.*&)?v(?:i)?=|(?:embed)\/))([^\?&\"'>]+)/","https://www.youtube.com/watch?v=W8drxRl1fiY",$gtlk);
//echo $gtlk[1];
$fg = file_get_contents("https://www.youtube.com/get_video_info?video_id=".$gtlk[1]."&cpn=CouQulsSRICzWn5E&eurl&el=adunit");
$xp = explode(",",$fg);
parse_str($xp[0],$rst);
$url = $rst['url_encoded_fmt_stream_map'];
parse_str($url,$hasil);
echo $judul = $rst['title']; //get title
echo "<br><hr>";
@budanthara
budanthara / @wifi.id_bypass.py
Last active December 27, 2022 13:30
Buat bypass autentikasi login @wifi.id
"""
@WIFI.ID BYPASS WITH PYTHON
Cara menggunakan:
- Install python.
- Install library mechanize.
- Jalankan dengan perintah: python namafile.py
- Tunggu dan silahkan mencoba untuk browsing.
"""
@bshaffer
bshaffer / Drive.php
Created December 28, 2015 19:56
Google Drive API (v3) - PHP
<?php
/*
* Copyright 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*