I hereby claim:
- I am markomitranic on github.
- I am markomitranic (https://keybase.io/markomitranic) on keybase.
- I have a public key whose fingerprint is 68CF 270C 566B CB39 8DC5 6200 7355 9A15 03E7 DB25
To claim this, I am signing this object:
| #!/bin/bash | |
| set -e | |
| for d in `docker ps -a | awk '{print $1}' | tail -n +2`; do | |
| d_name=`docker inspect -f {{.Name}} $d` | |
| echo "=========================================================" | |
| echo "$d_name ($d) volumes:" | |
| VOLUME_IDS=$(docker inspect -f "{{.Config.Volumes}}" $d) |
| // IMPORTANT: Either A Key/Value Namespace must be bound to this worker script | |
| // using the variable name EDGE_CACHE. or the API parameters below should be | |
| // configured. KV is recommended if possible since it can purge just the HTML | |
| // instead of the full cache. | |
| // API settings if KV isn't being used | |
| const CLOUDFLARE_API = { | |
| email: "", // From https://dash.cloudflare.com/profile | |
| key: "", // Global API Key from https://dash.cloudflare.com/profile | |
| zone: "" // "Zone ID" from the API section of the dashboard overview page https://dash.cloudflare.com/ |
| <?php | |
| use Monolog\Handler\StreamHandler; | |
| use Monolog\Logger; | |
| use Psr\Log\LoggerInterface; | |
| final class Log { | |
| /** @var string */ | |
| private const OUTPUT_STREAM = 'php://stderr'; |
| <!-- USAGE: --> | |
| <!-- Paste the whole UL with the comments (remember to load them all) --> | |
| <!-- Put the id="list" on it --> | |
| <!-- Attach to htmlPasta or similar service for sending to mobile --> | |
| <!-- https://htmlpasta.com/ --> | |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> |
| /* open up chrome dev tools (Menu > More tools > Developer tools) | |
| * go to network tab, refresh the page, wait for images to load (on some sites you may have to scroll down to the images for them to start loading) | |
| * right click/ctrl click on any entry in the network log, select Copy > Copy All as HAR | |
| * open up JS console and enter: var har = [paste] | |
| * (pasting could take a while if there's a lot of requests) | |
| * paste the following JS code into the console | |
| * copy the output, paste into a text file | |
| * open up a terminal in same directory as text file, then: wget -i [that file] | |
| */ |
I hereby claim:
To claim this, I am signing this object:
| var socket = new WebSocket('ws://localhost:8080'); | |
| socket.addEventListener('error', function(message) { | |
| console.log('Wow guy, there was an eror.'); | |
| console.log('Heres the message:', message); | |
| }); | |
| socket.addEventListener('open', function(message) { | |
| console.log('Open now!!'); | |
| console.log('Heres the message:', message); |