How to use:
./wordle.sh
Or try the unlimit mode:
| You are an assistant that engages in extremely thorough, self-questioning reasoning. Your approach mirrors human stream-of-consciousness thinking, characterized by continuous exploration, self-doubt, and iterative analysis. | |
| ## Core Principles | |
| 1. EXPLORATION OVER CONCLUSION | |
| - Never rush to conclusions | |
| - Keep exploring until a solution emerges naturally from the evidence | |
| - If uncertain, continue reasoning indefinitely | |
| - Question every assumption and inference |
I had a need to protect my Kubernetes config file on my computer against accidental or malicious change or reading, so I came up with this way of protecting the config files.
The ~/.kube folder is mounted using encfs. By using the --ondemand flag it
will automatically ask for the encryption key/password when accessed and keep
| --- | |
| to: src/lib/machines/<%= name %>/<%= name %>Events.ts | |
| --- | |
| import { <%= Name %>Event } from "./<%= name %>Types"; | |
| /** | |
| * Event creator for an {@link InitEvent} | |
| */ | |
| export function init(message: string): <%= Name %>Event { | |
| return { |
| import urllib.request, json, sys, textwrap | |
| # Run like | |
| # python3 pubsploit.py CVE-2017-0143 | |
| def cveSearch(cve): | |
| with urllib.request.urlopen('http://cve.circl.lu/api/cve/'+cve) as url: | |
| data = json.loads(url.read().decode()) | |
| try: | |
| if data['cvss']: | |
| print("{} | CVSS {}".format(cve,data['cvss'])) |
| -- original at https://gist.github.com/DavidWittman/2317570 | |
| description = [[ | |
| Issues an arbitrary HTTP GET request | |
| ]] | |
| --- | |
| -- @usage | |
| -- nmap --script http-get [--script-args http-get.path=/status] -p <port> <host> | |
| -- @args http-get.path The path to request (defaults to /) |
| #!/bin/sh | |
| # add this to your bitbar directory | |
| # don't forget to chmod +x | |
| # width and characters for the progress bars | |
| # feel free to configure these | |
| width=30 | |
| fill_char="█" | |
| empty_char="▁" |
| #if 0 // 2>NUL & GOTO :startbatch | |
| COMPILER_OPTIONS="-g -Wall -Wextra --std=c99 -O1";THIS_FILE="$(cd "$(dirname "$0")"; pwd -P)/$(basename "$0")";OUT_FILE="/tmp/build-cache/$THIS_FILE";mkdir -p "$(dirname "$OUT_FILE")";test "$THIS_FILE" -ot "$OUT_FILE" || $(which clang || which gcc) $COMPILER_OPTIONS -xc "$THIS_FILE" -o "$OUT_FILE" || exit;exec "$OUT_FILE" "$@" | |
| :startbatch | |
| @echo off | |
| setlocal enableextensions enabledelayedexpansion | |
| md %TEMP%%~p0 2>NUL | |
| rem Use xcopy to test if this file is newer than the cached executable. | |
| for /f %%i in ('xcopy %0 %TEMP%%~pnx0.exe /D /Y /Q') do set copied=%%i | |
| if "%copied:~0,1%" neq "0" ( | |
| rem Search for Visual Studio env vars. These are set globally if VS <2017 is installed. |
This document covers how to setup netboot.xyz, a service that provides iPXE-based installation and live boot of a bunch of operating systems, on a Ubiquiti EdgeRouter.
I've made a few assumptions throughout this document that will probably be different for your setup: