Skip to content

Instantly share code, notes, and snippets.

View fanlushuai's full-sized avatar
🟢

auh fanlushuai

🟢
View GitHub Profile
@Aaron-Bird
Aaron-Bird / yuque-markdown-download
Last active June 16, 2024 04:54
yuque-markdown-download
!(async () => {
// 配置
//是否下载储存在语雀上的图片
const DOWNLOAD_IMAGE = true;
// 修改 markdown 的图片路径
// 示例:MARKDOWN_IMAGE_PATH = "/image/";
// 效果:![](foo.png) -> ![](/image/foo.png)
const MARKDOWN_IMAGE_PATH = "";
class YuqueMarkdownDownload {
@skoqaq
skoqaq / build4123.sublime4.key
Last active July 20, 2024 14:46
Sublime Text 4 License Key
—– BEGIN LICENSE —–
Mifeng User
Single User License
EA7E-1184812
C0DAA9CD 6BE825B5 FF935692 1750523A
EDF59D3F A3BD6C96 F8D33866 3F1CCCEA
1C25BE4D 25B1C4CC 5110C20E 5246CC42
D232C83B C99CCC42 0E32890C B6CBF018
B1D4C178 2F9DDB16 ABAA74E5 95304BEF
9D0CCFA9 8AF8F8E2 1E0A955E 4771A576
@h1code2
h1code2 / readme.md
Last active July 25, 2024 08:43
整理一些常见的app跳转scheme url #小红书 #微信 #快手 #抖音

今天整理脚本时,发现存了挺多跳转app的代码,大部分是我在百度上搜索得来的,所以你们也不用问我获取方法了,用就完了。当然之前我也写过一个快手的提取scheme url的方法,想学的话在我公众号(3分钟学堂)历史文章自行搜索。

多余的话我就不多说了直接上代码。注:向右滑动可以查看完整代码。

抖音作品页

Import "shanhai.lua"
shanhai.execute("am start -a android.intent.action.VIEW -d snssdk1128://aweme/detail/6814634004747193615")
@toddlerya
toddlerya / base62.py
Last active January 14, 2024 18:16
62进制与10进制转换,主要用于短URL生成解析
#!/usr/bin/env python
# encoding: utf-8
# author: toddlerya
# date: 2019/03/31
# python_version: 3.7.1
import string
import unittest
@jgrodziski
jgrodziski / docker-aliases.sh
Last active June 23, 2024 03:01
Useful Docker Aliases
############################################################################
# #
# ------- Useful Docker Aliases -------- #
# #
# # Installation : #
# copy/paste these lines into your .bashrc or .zshrc file or just #
# type the following in your current shell to try it out: #
# wget -O - https://gist.githubusercontent.com/jgrodziski/9ed4a17709baad10dbcd4530b60dfcbb/raw/d84ef1741c59e7ab07fb055a70df1830584c6c18/docker-aliases.sh | bash
# #
# # Usage: #
# lazyload nvm
# all props goes to http://broken-by.me/lazy-load-nvm/
# grabbed from reddit @ https://www.reddit.com/r/node/comments/4tg5jg/lazy_load_nvm_for_faster_shell_start/
lazynvm() {
unset -f nvm node npm npx
export NVM_DIR=~/.nvm
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
if [ -f "$NVM_DIR/bash_completion" ]; then
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
@simonista
simonista / .vimrc
Last active July 21, 2024 14:41
A basic .vimrc file that will serve as a good template on which to build.
" Don't try to be vi compatible
set nocompatible
" Helps force plugins to load correctly when it is turned back on below
filetype off
" TODO: Load plugins here (pathogen or vundle)
" Turn on syntax highlighting
syntax on
@andelf
andelf / smtp_login_auth.go
Created March 8, 2013 18:40
golang net/smtp SMTP AUTH LOGIN Auth Handler
// MIT license (c) andelf 2013
import (
"net/smtp"
"errors"
)
type loginAuth struct {
username, password string
@gresrun
gresrun / redisBitSetTests.java
Created May 23, 2012 03:41 — forked from gmuller/redisBitSetTests.java
An attempt to understand byte and bit ordering in redis bitsets
import java.util.Arrays;
import java.util.BitSet;
import redis.clients.jedis.Jedis;
public class SieveOfEratosthenes {
/**
* @param args
*/