Skip to content

Instantly share code, notes, and snippets.

View jae-jae's full-sized avatar
🏠
Working from home

Jaeger jae-jae

🏠
Working from home
  • China
View GitHub Profile
@jae-jae
jae-jae / Pipfile
Last active May 21, 2019 01:58
download m3u8
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true
[dev-packages]
[packages]
pysimplegui = "*"
requests = "*"
@jae-jae
jae-jae / PanDownload网页版.user.js
Last active May 16, 2019 10:37
百度网盘不限速直链下载,百度网盘分享链接自动跳转到 PanDownload 网页版去下载。
// ==UserScript==
// @name PanDownload网页版 - 百度网盘不限速直链下载 Jaeger
// @namespace https://github.com/jae-jae
// @version 1.3
// @description 百度网盘分享链接自动跳转到 PanDownload 网页版去下载
// @author Jaeger
// @match https://pan.baidu.com/s/*
// @match https://pan.baidu.com/share/*
// @match https://yun.baidu.com/s/*
// @grant GM_openInTab
@jae-jae
jae-jae / export-cookie.js
Created April 15, 2019 05:15
Electron Export Netscape HTTP Cookie File
@jae-jae
jae-jae / baidu.css
Last active July 18, 2018 02:41
Stylus网页界面自定义样式
/**
基于样式:https://userstyles.org/styles/123858/baidu-lite
**/
@-moz-document url-prefix("http://baidu.com"), url-prefix("http://www.baidu.com"), url-prefix("https://www.baidu.com"), url-prefix("https://baidu.com") {
/*========= Public ========= */
* {
font-family: -apple-system, "Helvetica Neue", Helvetica, "Nimbus Sans L", Arial, "Liberation Sans", "PingFang SC", "Hiragino Sans GB", "Source Han Sans CN", "Source Han Sans SC", "Microsoft YaHei", "Wenquanyi Micro Hei", "WenQuanYi Zen Hei", "ST Heiti", SimHei, "WenQuanYi Zen Hei Sharp", sans-serif;
}
::-webkit-scrollbar {
@jae-jae
jae-jae / amh4.2.sh
Last active January 9, 2018 14:17
amh4.2.sh
#!/bin/bash
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
export PATH
clear;
echo '================================================================';
echo ' [LNMP/Nginx] Amysql Host - AMH 4.2 ( mod by 2014520.cn )';
echo ' http://Amysql.com';
echo '================================================================';
@jae-jae
jae-jae / iframe-sandbox.js
Last active August 27, 2017 08:19
create iframe and append page HTML to iframe 动态创建iframe沙箱
/**
* Create Iframe
*
* Author: Jaeger <JaegerCode@gmail.com>
*
* */
(function(global){
global.iframe = {
create:function (dom,content){
var tpl = '<iframe src="about:blank" style="width:100%;height:100%;border:0px;display: block!important;"></iframe>';
@jae-jae
jae-jae / install-laravel-supervisor.md
Last active September 4, 2018 07:44
laravel supervisor

install-laravel-supervisor

sudo cp install-laravel-supervisor.sh /usr/local/bin/lsp
sudo chmod +x /usr/local/bin/lsp

laravel 项目跟目录 执行:

@jae-jae
jae-jae / install-grive.sh
Last active December 16, 2016 04:09
安装Grive,在Linux VPS上同步文件到Google Drive
#!/bin/bash
# apt-get install software-properties-common -y
add-apt-repository ppa:nilarimogard/webupd8
apt-get update
apt-get install grive -y
mkdir ~/google_drive
cd ~/google_drive
#!/bin/bash
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
#php -r "if (hash_file('SHA384', 'composer-setup.php') === 'aa96f26c2b67226a324c27919f1eb05f21c248b987e6195cad9690d5c1ff713d53020a02ac8c217dbf90a7eacc9d141d') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
cp composer.phar /usr/local/bin/composer
@jae-jae
jae-jae / install-aria2-ui.sh
Last active February 4, 2023 16:29
Ubuntu安装并配置aria2
#!/bin/bash
#
# Ubuntu安装并配置aria2
#
# @Author: Jaeger <JaegerCode@gmail.com>
# @Version: 0.1
#配置文件下载保存路径
downloadPath='/user-files/superuser/dl'