- Get PAT (personal access token)
Personal Settings > Developer settings > Personal access tokens
- ghcr login test
| #!/bin/bash | |
| declare -A TOOLS=( | |
| ["EvtxECmd"]=true | |
| ["AmcacheParser"]=true | |
| ["AppCompatCacheParser"]=true | |
| ["JLECmd"]=true | |
| ["LECmd"]=true | |
| ["MFTECmd"]=true | |
| ["PECmd"]=true |
| #!/bin/bash | |
| #=============================================================================== | |
| # mirror-repo.sh | |
| # | |
| # Clones a source repository and mirrors it to a new private repository on | |
| # your GitHub account. | |
| # | |
| # Usage: | |
| # ./mirror-repo.sh <source_repository_url> |
| ## install uv on OS | |
| curl -LsSf https://astral.sh/uv/install.sh | sh | |
| ## create new project | |
| uv init myproj | |
| ## install packages | |
| uv add django requests "pandas>=2.3" | |
| ## remove package |
Personal Settings > Developer settings > Personal access tokens
Create API Key on Github
Edit to Read (I tested this with Edit)Zone ResourceClient IP Adress FilteringContinue to summaryCreate Token| tr -dc A-Za-z0-9 </dev/urandom | head -c 32 ; echo |
| # remote | |
| ./cloudflared --url tcp://127.0.0.1:3389 | |
| # local | |
| ./cloudflared access tcp --hostname uncertainty-saints-newark-martin.trycloudflare.com --url 127.0.0.1:3388 | |
| # rdp to 127.0.0.1:3388 |
| def string_to_fromcharcode(input_string): | |
| # Convert each character in the string to its char code | |
| char_codes = [str(ord(char)) for char in input_string] | |
| # Create the JavaScript String.fromCharCode representation | |
| fromcharcode_str = "String.fromCharCode(" + ",".join(char_codes) + ")" | |
| return fromcharcode_str | |
| # Example usage | |
| input_string = input() | |
| result = string_to_fromcharcode(input_string) |
| import http from 'k6/http'; | |
| import { check, sleep } from 'k6'; | |
| import { randomString } from 'https://jslib.k6.io/k6-utils/1.1.0/index.js'; | |
| // Options for the load test scenario | |
| export let options = { | |
| stages: [ | |
| { duration: '30s', target: 50 }, | |
| { duration: '3m', target: 100 }, | |
| { duration: '30s', target: 0 }, |