This is a Taskfile that would start claude in an isolated Docker container in the "unhinghed" node with --dangerously-skip-permissions.
Creates:
zmv -n '(*.)(<->)(.[^.]#)' '$1$(($2+1))$3' # would rename x.0001.y to x.2.y.
zmv -n '(*.0#)(<->)(.[^.]#)' '$1$(($2+1))$3' $ zmv '*' '${(L)f}'| FROM debian:10-slim | |
| RUN apt-get update -y && \ | |
| apt-get install -y awscli curl gnupg && \ | |
| apt-key adv --fetch-keys "https://nginx.org/keys/nginx_signing.key" && \ | |
| echo "deb http://nginx.org/packages/debian buster nginx" > /etc/apt/sources.list.d/nginx.list | |
| RUN curl --silent --show-error --location --output /tmp/amazon-ssm-agent.deb "https://s3.us-east-1.amazonaws.com/amazon-ssm-us-east-1/latest/debian_amd64/amazon-ssm-agent.deb" && \ | |
| dpkg -i /tmp/amazon-ssm-agent.deb |
| -- Adapted from these sources: | |
| -- http://peterdowns.com/posts/open-iterm-finder-service.html | |
| -- https://gist.github.com/cowboy/905546 | |
| -- | |
| -- Modified to work with files as well, cd-ing to their container folder | |
| on run {input, parameters} | |
| tell application "Finder" | |
| set my_file to first item of input | |
| set is_folder to (do shell script "file -b " & quoted form of (POSIX path of my_file)) | |
| if is_folder ends with "directory" then |
| #include <Servo.h> | |
| Servo myservo; | |
| const int servoPin = 9; | |
| const int buttonPin = 12; | |
| const int ledPin = 13; | |
| void setup() { | |
| myservo.attach(servoPin); |
| #!/bin/sh | |
| # Replace chat_id value with your chat id from @myidbot | |
| # Replace XXXXXXXXX:xxxxxxxxxxxxxxxxxxxxx with your bot token from @BotFather | |
| curl --data chat_id=XXXXXXXXX --data-urlencode text=�~\~E\ $TR_TORRENT_NAME "https://api.telegram.org/botXXXXXXXXX:xxxxxxxxxxxxxxxxxxxxx/sendMessage" |
$ uname -r
No need for homebrew or anything like that. Works with https://www.git-tower.com and the command line.
gpg --list-secret-keys and look for sec, use the key ID for the next stepgit to use GPG -- replace the key with the one from gpg --list-secret-keys| $ git clone -b 1.22 https://github.com/crosstool-ng/crosstool-ng.git | |
| $ cd crosstool-ng | |
| $ ./bootstrap | |
| $ ./configure --prefix=/usr/local | |
| $ make | |
| $ sudo make install | |
| $ cd .. | |
| $ mkdir ctng | |
| $ cd rpi1 | |
| $ ct-ng menuconfig |