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
编号 代码 命令分解 命令 | |
//switchtabpos switch tab pos 更改底部功能按钮位置的命令 | |
//multiwebview multi web view 微信多窗口显示命令 | |
//opentrace open trace 打开跟踪 | |
//getfpkey get fp key 得到手机基本信息 | |
//pickpoi pick poi 定位当前位置 | |
//fullexit full exit 完全退出微信 | |
//testwaitsms test wait sms 测试验证手机号码 | |
//sightinfo sight info 打开查看小视频参数 | |
//testsetpageowner test set page owner 检测你是否拥有页面的所有权 |
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
// dotnet add package Azure.Storage.Blobs | |
// dotnet add package Azure.Storage.Blobs.Batch | |
using Azure.Storage.Blobs; | |
using Azure.Storage.Blobs.Models; | |
using Azure.Storage.Blobs.Specialized; | |
// Get a connection string to our Azure Storage account. | |
const string connectionString = ""; | |
const string containerName = ""; |
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
div { | |
background: | |
linear-gradient(45deg, red 25%, transparent 25%), | |
linear-gradient(125deg, red 25%, transparent 25%); | |
} |
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
#! /bin/bash | |
version=`git diff HEAD^..HEAD -- "$(git rev-parse --show-toplevel)"/package.json | grep '^\+.*version' | sed -s 's/[^0-9\.]//g'` | |
if [ "$version" != "" ]; then | |
git tag -a "v$version" -m "`git log -1 --format=%s`" | |
echo "Created a new tag, v$version" | |
fi |
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
rm -rf /data/data/com.chaozhuo.texteditor.phoenixos | |
rm -rf /data/data/com.chaozhuo.filemanager.phoenixos | |
rm -rf /data/data/com.chaozhuo.browser.x86 | |
rm -rf /data/data/com.tencent.tmgp.pubgmhd/files/tss_tmp | |
echo "O98K" |
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
declare global { | |
interface Date { | |
format(fmt: string): string; | |
isToday(): boolean; | |
} | |
} | |
let week = ["一", "二", "三", "四", "五", "六", "日"]; | |
let week_pre = ["", "周", "星期"]; | |
Date.prototype.format = function (fmt: string): string { | |
var o = { |
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
#!/usr/bin/env python3 | |
import collections | |
def get_isosceles_trapezoid_num(edges): | |
d={} | |
sorted(edges) | |
for edge in edges: | |
d[edge] = d.get(edge,0) + 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
#删除文件和历史记录 | |
git filter-branch --force --index-filter 'git rm --cached --ignore-unmatch {path-of-remove-file}' --prune-empty --tag-name-filter cat -- --all | |
#删除远程分支 | |
git push origin --delete {branchname} | |
git push origin --delete tag {tag name} |
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
alias YAF='docker run -it --rm -p8080:80 -v"$(pwd)":/newfuture/yaf newfuture/yaf' |
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
#!/bin/bash | |
set -e | |
### BEGIN INIT INFO | |
# Provides: sslocal | |
# Required-Start: $syslog $remote_fs | |
# Required-Stop: $syslog $remote_fs | |
# Should-Start: | |
# Should-Stop: | |
# Default-Start: 2 3 4 5 |
NewerOlder