I hereby claim:
- I am danielbodnar on github.
- I am bodnar (https://keybase.io/bodnar) on keybase.
- I have a public key ASDY_ThTK9zTo8_Bv3kfqVH0gx1bjOY5zLLACDuA1YAaVgo
To claim this, I am signing this object:
| # Generated by iptables-save v1.4.7 on Fri Feb 5 03:38:03 2016 | |
| *mangle | |
| :PREROUTING ACCEPT [2677699:382708357] | |
| :INPUT ACCEPT [2642907:360435547] | |
| :FORWARD ACCEPT [34582:22257518] | |
| :OUTPUT ACCEPT [1415284:5834808616] | |
| :POSTROUTING ACCEPT [1449866:5857066134] | |
| COMMIT | |
| # Completed on Fri Feb 5 03:38:03 2016 | |
| # Generated by iptables-save v1.4.7 on Fri Feb 5 03:38:03 2016 |
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env bash | |
| set -e | |
| ID_PREFIX="io.buildpacks.samples.stacks" | |
| DEFAULT_PREFIX=cnbs/sample-base | |
| DEFAULT_PLATFORM=amd64 | |
| REPO_PREFIX=${DEFAULT_PREFIX} | |
| PLATFORM=${DEFAULT_PLATFORM} |
| #!/usr/bin/env bash | |
| set -e | |
| # Find next available container ID starting from 1000 | |
| function get_next_ctid() { | |
| local NEXT_ID=1000 | |
| local EXISTING_IDS=$(pct list | tail -n +2 | awk '{print $1}') | |
| if [ -n "$EXISTING_IDS" ]; then | |
| local MAX_ID=$(echo "$EXISTING_IDS" | sort -n | tail -1) |
Today we are going to connect to a TCP server from the browser (an arbitrary Web page).
We will be full-duplex streaming messages sent to the server and from the server to the browser.
Chrome has implemented Direct Sockets
The initial motivating use case is to support creating a web app that talks to servers and devices that have their own protocols incompatible with what’s available on the web. The web app should be able to talk to a legacy system, without requiring users to change or replace that system.
gated behind Isolated Web Apps (IWA)
| # primary | |
| wget --mirror -p --html-extension --convert-links http://www.test.de | |
| # alternative | |
| wget -r --no-parent http://www.test.de | |
| # advanced | |
| wget --page-requisites --span-hosts --convert-links --adjust-extension --wait 1 --recursive --level 1 https://www.test.de | |
| # recursively download ftp contents (only changes) |
| # One liner | |
| wget --recursive --page-requisites --adjust-extension --span-hosts --convert-links --restrict-file-names=windows --domains yoursite.com --no-parent yoursite.com | |
| # Explained | |
| wget \ | |
| --recursive \ # Download the whole site. | |
| --page-requisites \ # Get all assets/elements (CSS/JS/images). | |
| --adjust-extension \ # Save files with .html on the end. | |
| --span-hosts \ # Include necessary assets from offsite as well. | |
| --convert-links \ # Update links to still work in the static version. |
| 'system': | |
| [ | |
| { | |
| 'type': 'text', | |
| 'text': "You are Claude Code, Anthropic's official CLI for Claude.", | |
| 'cache_control': {'type': 'ephemeral'} | |
| }, | |
| { | |
| 'type': 'text', | |
| 'text': 'You are an interactive CLI tool that helps users with software engineering tasks. |