- LogRus
- ZeroLog
- Slog
- Uber Zap
This file contains hidden or 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
| & ([scriptblock]::Create((iwr 'https://to.loredo.me/Install-NerdFont.ps1'))) |
This file contains hidden or 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
| :Init | |
| @echo off | |
| set OUTPUT=%1 | |
| set MODELPATH=%2 | |
| set OUTPUTPATH=%3 | |
| if not exist %OUTPUTPATH% mkdir %OUTPUTPATH% | |
| goto Install | |
| :Install | |
| :: Will ensure pytorch is installed. |
This file contains hidden or 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
| #Requires -Version 5.1 | |
| param( | |
| [switch]$Cleanup, | |
| [string]$DataPath = ".\data", | |
| [string]$LogLevel = "info", | |
| [switch]$DisableLog | |
| ) | |
| $DataDir = [System.IO.Path]::GetFullPath((Join-Path $PSScriptRoot $DataPath)) |
This file contains hidden or 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
| // ==UserScript== | |
| // @name Chub Desloppifier | |
| // @namespace Violentmonkey Scripts | |
| // @match https://*.chub.ai/* | |
| // @match https://*.characterhub.org/* | |
| // @version 1.7 | |
| // @author khanonnie | |
| // @description Tries to clean up the flood of shit cards on chub.ai. | |
| // @require https://openuserjs.org/src/libs/sizzle/GM_config.js | |
| // @homepageURL https://gist.github.com/khanonnie/b357f20bfe4e920d8e05fd47f1e6fa75 |
This file contains hidden or 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
| FreeFileSync - https://freefilesync.org | |
| UltraCopier - https://community.chocolatey.org/packages/ultracopier |
| title | tags |
|---|---|
LDPlayer AIO (Debloat, AdBlock, Magisk Root, Custom Rom, Burp Suite, Mitmproxy) |
ldplayer, android |
- Brain 🧠 [NOT OPTIONAL]
- LDPlayer
- ADB (optional, included in LDPlayer Root Folder)
This file contains hidden or 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 shows an example of how to generate a SSH RSA Private/Public key pair and save it locally | |
| package main | |
| import ( | |
| "crypto/rand" | |
| "crypto/rsa" | |
| "crypto/x509" | |
| "encoding/pem" | |
| "golang.org/x/crypto/ssh" |
This file contains hidden or 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
| package main | |
| import ( | |
| "context" | |
| "flag" | |
| "fmt" | |
| "log" | |
| "os" | |
| "os/signal" | |
| "syscall" |
This walk through comes from @GalacticFurball who tweeted two images representing the youtube_dl source code as of 2020-09-20. They mentioned later in the thread that they struggled converting the gzip-compressed tarball of the source code with Imagemagick to a PNG, so they ended up using a 3rd party website to do the work. This Gist will show you how to do it cleanly and exactly.
If you would like to convert any non-image binary into PNG, Imagemagick makes this trivial. I will be executing the commands on a Debian Linux system, so you may need to adjust the commands for BSD, macOS, or Windows as necessary.