Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/python3
import sys
import sqlite3
import random
import os
import re
import uuid
import subprocess
#!/bin/bash
# this script complains about needing a captcha, or clicks-- JUST ONCE
# so run it in a while loop or something if you'd like it to continue :)
colah=$(xwd -root -silent | convert xwd:- -depth 8 -crop "1x1+338+259" txt:- | grep -om1 '#\w\+')
# take a screenshot -->
# crop it to one pixel that (on my screen, adjust for yours) is the blue in the captcha -->
# get a hex code version of the color of that pixel
if
Initializing daemon...
Swarm listening on /ip4/127.0.0.1/tcp/4001
Swarm listening on /ip4/192.168.1.102/tcp/4001
Swarm listening on /ip4/192.168.122.1/tcp/4001
Swarm listening on /ip6/::1/tcp/4001
API server listening on /ip4/127.0.0.1/tcp/5001
Gateway (readonly) server listening on /ip4/127.0.0.1/tcp/8080
ERRO[17:36:38:000] error mounting: %!s(<nil>) fusermount: exit status 1 module=core/commands
Error: fuse failed to access mountpoint /ipns
import Graphics.Element exposing (..)
import Mouse
import Color exposing (..)
import Graphics.Collage exposing (..)
import Window
main : Signal Element
main =
Signal.map2 scene Mouse.position Window.dimensions