sudo useradd -m -s /bin/bash alice
sudo passwd aliceAdd user to wheel (sudo) group
| go get -u github.com/vishen/go-chromecast | |
| go-chromecast ls | |
| go-chromecast load video.mp4 | |
| go-chromecast pause | |
| go-chromecast unpause | |
| go-chromecast volume 0.5 | |
| go-chromecast stop | |
| go-chromecast ui |
| <html> | |
| <head> | |
| <title>IP</title> | |
| </head> | |
| <body> | |
| <output id="output"></output> | |
| <script> | |
| const output = document.getElementById('output') | |
| fetch('https://www.cloudflare.com/cdn-cgi/trace') | |
| .then(res => res.text()) |
| session=lxqt | |
| geometry=1920x1080 | |
| localhost # comment this out to allow connections from anywhere | |
| alwaysshared |
| <!-- https://jsfiddle.net/1cehyw54/ --> | |
| <details open> | |
| <summary>Toggle me</summary> | |
| <div> | |
| Hello world | |
| </div> | |
| </details> |
| docker run --log-driver local --log-opt max-size=2gb hello-world |
| package main | |
| import ( | |
| "context" | |
| "encoding/hex" | |
| "fmt" | |
| "strings" | |
| "github.com/ethereum/go-ethereum" | |
| "github.com/ethereum/go-ethereum/accounts/abi" |
| import {IERC20} from "./IERC20.sol"; | |
| contract MintMaxKDAI { | |
| address owner = msg.sender; | |
| constructor() { | |
| IERC20 tDAI = IERC20(0x7d669A64deb8a4A51eEa755bb0E19FD39CE25Ae9); | |
| tDAI.mint( | |
| owner, |
| <username> | |
| <password> |