Skip to content

Instantly share code, notes, and snippets.

View alvnfaiz's full-sized avatar
💭
Energic

Alvin Faiz alvnfaiz

💭
Energic
View GitHub Profile
@cccaldas
cccaldas / gist:3695486
Created September 11, 2012 02:26
proxy.php
<?php
$filename = $_GET["url"];
$fsize = getSizeFile($filename);
header("Content-Type: image/jpeg");
header("Content-Length: ".$fsize);
readfile($filename);
function getSizeFile($url) {
if (substr($url, 0, 4) == "http") {
@ck3g
ck3g / proxies.rb
Last active October 20, 2018 15:23
Proxies
PROXIES = %W(
118.97.208.194:3128
118.97.247.107:3128
118.97.211.5:3128
175.136.226.87:3128
200.35.90.38:3128
95.70.208.245:8080
120.203.214.182:83
@hubgit
hubgit / list-files-in-folder.js
Created September 20, 2012 11:20
List all files in a folder (Google Apps Script)
function listFilesInFolder() {
var folder = DocsList.getFolder("Maudesley Debates");
var contents = folder.getFiles();
var file;
var data;
var sheet = SpreadsheetApp.getActiveSheet();
sheet.clear();
@scriptnull
scriptnull / thirugram.js
Last active October 8, 2023 20:02
spam telegram via telegram web
//spam message the chats with thirugram.js
//open up telegram web and go to the chat you want to spam
//open console ( Ctrl + Shift + J )
//execute the code
var message = ""; //spam message
var interval = 1 ; // in seconds
var count = 10 ; //number of times to send
var notifyInterval = 5 ; //notify
var i = 0 ;
var timer = setInterval(function(){
@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
*
@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.
"""
@jaylinski
jaylinski / kodi_playlist
Last active May 3, 2024 19:33
Kodi playlist containing free and public TV streams from DE/AT/CH.
#EXTM3U
# Use https://epggw.a1.net/img/station/darkbg/200x200/ as logo URL.
# Use https://tvthek.orf.at/livestream/_token for new DRM tokens.
# See https://github.com/iptv-org/iptv/blob/master/streams/at.m3u
# TV
#EXTINF:-1 tvg-id="908",ORF 1
#KODIPROP:inputstream=inputstream.adaptive
#KODIPROP:inputstream.adaptive.manifest_type=mpd
#KODIPROP:inputstream.adaptive.license_type=com.widevine.alpha
@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>";
function urlMatchesOneOfPatterns(url, patterns) {
for (var i = 0; i < patterns.length; i++) {
var pattern = patterns[i];
if (url.match(pattern)) {
return true;
}
}
return false;
}
@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