Lean LEDE now official support this wireless card:
Please copy these files to /lib/firmware/ath11k/WCN6855/hw2.1/
Device info:
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); |
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:
#!/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` |
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 |
function Test() {
this.run = function() {
console.log('run', this);
setTimeout(this.run, 1000);
}
}
const t = new Test();
t.run();
import React, { Component } from 'react'; | |
import { connect, state } from '@noflux/react'; | |
const traversal = (node, callback) => { | |
React.Children.map(node, child => { | |
callback(child); | |
if (child.props && child.props.children) { | |
traversal(child.props.children, callback); | |
} | |
}) |