Start a Command Prompt as an Administrator
.
slmgr.vbs -ipk NPPR9-FWDCX-D2C8J-H872K-2YT43
slmgr.vbs -skms kms.malash.net
const os = require("os"); | |
const benchmark = require("nodemark"); | |
const str = "a".repeat(1 << 10); | |
const buffer = Buffer.from(str); | |
const dataView = new DataView(buffer.buffer, buffer.byteOffset, buffer.length); | |
console.log("NodeJS version:", process.version); | |
console.log("CPU name:", os.cpus()[0].model); |
#!/bin/bash | |
echo "Drag \`.app\` to this shell or press enter to quit:" | |
echo -n "> " | |
read line | |
if [ -z $line ]; then | |
exit 0 | |
fi | |
file=`realpath $line` |
diff --git a/bin/brew b/bin/brew | |
index 6e4416259..c8ddcc6e2 100755 | |
--- a/bin/brew | |
+++ b/bin/brew | |
@@ -198,12 +198,13 @@ then | |
fi | |
# filter the user environment | |
-PATH="/usr/bin:/bin:/usr/sbin:/sbin" | |
+PATH="/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" |
Lean LEDE now official support this wireless card:
Please copy these files to /lib/firmware/ath11k/WCN6855/hw2.1/
Device info:
export class ConcurrencyLimiter { | |
public constructor(private limit: number = Infinity) {} | |
private queue: Array<() => Promise<any>> = []; | |
private currentConcurrency = 0; | |
private async executeQueue() { | |
while (this.queue.length && this.currentConcurrency < this.limit) { | |
const tasks = this.queue.splice(0, this.limit - this.currentConcurrency); |
https://gist.github.com/malash/fc0c573300b080e5745e68522d1617bf
! Tencent | |
||oa.com | |
||webdev.com | |
||ied.com | |
||t.km | |
||server.com | |
||sng.local | |
||qq.com | |
||oa.com | |
||webdev.com |
# 官方:https://bugs.chromium.org/p/chromium/issues/detail?id=649253 | |
# 相关1:http://gold.xitu.io/entry/5800318e7db2a200597bff78 | |
# 相关2:https://twiceyuan.com/2016/09/26/sierra-chrome-bug/ | |
# 相关3:https://www.v2ex.com/t/307911 | |
sudo launchctl remove com.alipay.DispatcherService | |
sudo rm -rf /Library/Application\ Support/Alipay && \ | |
sudo rm -rf /Library/LaunchDaemons/com.alipay.DispatcherService.plist && \ | |
sudo rm -rf ~/Library/LaunchAgents/com.alipay.adaptor.plist && \ | |
sudo rm -rf ~/Library/LaunchAgents/com.alipay.refresher.plist && \ |