All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker
. This will install the whole docker suite, left only Tini to be compiled manually.
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
bind-addr: 0.0.0.0:9898 | |
host: http://coder.localhost | |
auth: password | |
password: eweewr | |
cert: false | |
name: test | |
template: https://github.com/bpmct/coder-templates/tree/main/desktop-container |
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
{ | |
} |
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
{ | |
"version": "2.0.0", | |
"presentation": { | |
"echo": false, | |
"reveal": "always", | |
"focus": true, | |
"panel": "dedicated", | |
"showReuseMessage": true | |
}, | |
"tasks": [ |
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
Note for me to remember how to set Android Home on Mac | |
Open Terminal and type in.. | |
nano ~/.bash_profile | |
Add the below paths | |
The path should be where your android installation is located | |
export ANDROID_HOME=/Users/username/Library/Android/sdk | |
export PATH=${PATH}:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools | |
Save file and type in terminal... | |
source ~/.bash_profile |
GL-AR750S-EXT Slate upgrade guide
Uboot guide here
- v3.104(Uboot img) here
- v.3.105 (sysupgrade tar through web gui local upgrade) here
- v.3.212 (web gui system auto check upgrade) http://192.168.8.1
- latest 3.215 beta 2 (local upgrade) source
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
Analysis of sampling nwjs Helper (Renderer) (pid 61391) every 1 millisecond | |
Process: nwjs Helper (Renderer) [61391] | |
Path: /Applications/Popcorn-Time 15.app/Contents/Frameworks/nwjs Framework.framework/Versions/119.0.6045.105/Helpers/nwjs Helper (Renderer).app/Contents/MacOS/nwjs Helper (Renderer) | |
Load Address: 0x104b80000 | |
Identifier: nwjs Helper (Renderer) | |
Version: ??? | |
Code Type: ARM64 | |
Platform: macOS | |
Parent Process: ??? [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
const doAwait = async (promise) => { | |
try { | |
const data = await promise; | |
return [undefined, data]; | |
} catch (error) { | |
return [error, undefined]; | |
} | |
}; | |
const [error, result] = await doAwait(myPromise); |
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
type TryCatchProps<T> = { | |
tryFn: () => T; | |
catchFn: (error: unknown) => T; | |
} | |
function tryCatch<T>({ tryFn, catchFn }: TryCatchProps<T>): T { | |
try { | |
return tryFn(); | |
} catch (error) { | |
return catchFn(error); |
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
const literalSchema = z.union([z.string(), z.number(), z.boolean(), z.null()]); | |
type Literal = z.infer<typeof literalSchema>; | |
type Json = Literal | { [key: string]: Json } | Json[]; | |
const jsonSchema: z.ZodType<Json> = z.lazy(() => | |
z.union([literalSchema, z.array(jsonSchema), z.record(jsonSchema)]) | |
); | |
jsonSchema.parse(data); |
NewerOlder