This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// download lyrics from genius in browser console | |
const artists = { | |
poppin_party: 2041573, | |
afterglow: 2600308, | |
pastel_palettes: 2967893, | |
roselia: 2599982, | |
hello_happy_world: 2968729, | |
morfonica: 2601112, | |
raise_a_suilen: 2531378, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# RaspAP Portable Object file | |
# Project home: https://github.com/billz/raspap-webgui | |
# Licensed under the GNU General Public License v3.0 | |
# This file is distributed under the same license as the RaspAP package | |
# FIRST AUTHOR billzimmerman@gmail.com, 2017 | |
# | |
#, fuzzy | |
msgid "" | |
msgstr "" | |
"Project-Id-Version: 1.2.1\n" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$b = 0;//stickerpack id | |
$a = file_get_contents('https://store.line.me/stickershop/product/' . $b); | |
preg_match_all('/https:\/\/stickershop.line-scdn.net\/stickershop\/v1\/sticker\/([1-9][0-9]*)\/ANDROID\/sticker.png/',$a,$d); | |
$e = count($d[1]); | |
if(!file_exists(dirname(__FILE__) . '/' . $b . '/')){ | |
mkdir(dirname(__FILE__) . '/' . $b . '/'); | |
} | |
for($x=0;$x<$e;$x++) { | |
file_put_contents(dirname(__FILE__) . '/' . $b . '/' . $d[1][$x] . '.png',file_get_contents($d[0][$x]),LOCK_EX); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$username = '';//email | |
$password = '';//password | |
$months = '12';//months (1-12) | |
$telegram_bot_token = ""; | |
$telegram_chat_id = ""; | |
if(!$username || !$password){ | |
die("freenom_renewer: no username or password...\n"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$bduss = '';//填入bduss | |
$cookie = 'BDUSS='.$bduss; | |
function t($tk,$cookie) { | |
$url = 'https://xueshu.baidu.com/usercenter/show/userinfo?cmd=update_task&task_type='.$tk; | |
$ch = curl_init($url); | |
curl_setopt($ch,CURLOPT_USERAGENT ,'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36'); | |
curl_setopt($ch,CURLOPT_RETURNTRANSFER ,true); | |
curl_setopt($ch,CURLOPT_COOKIE ,$cookie); | |
$content = json_decode(curl_exec($ch),true); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* KDboT | |
* @banka2017 & KD·NETWORK | |
*/ | |
class getBDUSS{ | |
public function getqrcode(){ | |
$get_qrcode = json_decode(file_get_contents('https://passport.baidu.com/v2/api/getqrcode?lp=pc'),true); | |
if(isset($get_qrcode["imgurl"]) && isset($get_qrcode["sign"])){ | |
$r = ["sign" => $get_qrcode["sign"], "imgurl" => $get_qrcode["imgurl"]]; | |
}else{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$task = json_decode(file_get_contents(dirname(__FILE__) . "/task.json"), 1); | |
for ($x = 0; $x < count($task); $x++) { | |
$name = $task[$x]; | |
$ch = curl_init(); | |
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); | |
curl_setopt($ch, CURLOPT_URL, "https://m.apkpure.com/cn/{$name[0]}"); | |
curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36'); | |
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 10); | |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
ignore_user_abort(true); | |
$path=date('Ym'); | |
if(!file_exists(dirname(__FILE__).'/'.$path)){ | |
mkdir(dirname(__FILE__).'/'.$path,0777); | |
} | |
$pathurl = dirname(__FILE__).'/'.$path.'/'.date('d').'.jpg'; | |
if(!is_file($pathurl)){ | |
$str=json_decode(file_get_contents('https://cn.bing.com/HPImageArchive.aspx?idx=0&n=1&format=js'),1) | |
if(!empty($str["images"][0]["urlbase"])){ |