A custom status line for Claude Code. It renders a compact, colorized line with your host, the active model, effort level, context-window usage, weekly token usage, and the current git branch with ahead/behind counts.
Example output:
A custom status line for Claude Code. It renders a compact, colorized line with your host, the active model, effort level, context-window usage, weekly token usage, and the current git branch with ahead/behind counts.
Example output:
| # =============================== | |
| # Alpine-based Dockerfile for FFmpeg compilation | |
| # Use Alpine Linux as the base image which uses musl libc | |
| # Should be able to run in OpenWrt (tested in OpenWrt 24.10.2) | |
| # Static build with libx264 + libx265 + libdav1d + libogg + libvorbis + libopus + libmp3lame + libvpx + libtheora + libaom + libfdk-aac + libass + libfreetype + fontconfig + libwebp | |
| # =============================== | |
| # =============================== | |
| # Stage 1: Builder | |
| # =============================== |
| [Unit] | |
| Description=Bitcoin daemon | |
| Documentation=https://github.com/btcsuite/btcd/ | |
| # https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/ | |
| After=network-online.target | |
| Wants=network-online.target | |
| [Service] | |
| ExecStart=/usr/local/bin/btcd \ |
| #!/bin/bash | |
| for port in `seq 50000 60000`; | |
| do | |
| nc -vw3 192.168.0.1 $port & | |
| done | |
| wait |
| hckrnews.com##body:style(background-color:#0e1113!important) | |
| hckrnews.com##a:style(color:#ffffff!important) |
| /** | |
| * Scan networks and print in screen | |
| */ | |
| #include "WiFi.h" | |
| #include "HT_SSD1306Wire.h" | |
| #define BAUDRATE 115200 | |
| // addr , freq , i2c group , resolution , rst |
Scripts I'm using to mine ETH on Linux.
nbminer.service: setup Nvidia Power Limit to 250 and start nbminer
local.conf: disable IPv6
nct6775-fans: Set Fan 2 and Fan 3 to ~78%
| const crypto = require('crypto'); | |
| const vm = require('vm'); | |
| process.env.FLAG = "FLAG" | |
| const secret = (key) => ((key == 1337) ? process.env.FLAG : 'fail'); | |
| const sandbox = {[crypto.randomBytes(32).toString('hex')] : secret}; | |
| const message = 'this.constructor.values(this).shift()(this.constructor.values(this.constructor).concat(this.constructor.values(this.constructor).concat(null).length).concat(this.constructor.values(this.constructor).concat(null).concat(null).concat(null).length).concat(this.constructor.values(this.constructor).concat(null).concat(null).concat(null).length).concat(this.constructor.values(this.constructor).concat(null).concat(null).concat(null).concat(null).concat(null).concat(null).concat(null).length).join(this.constructor.name.repeat()))'; | |
| // ... | |
| if (message.match(/^[a-z.()]+$/)) { | |
| try { |