A "simple" distributed app today.
- HTTP Rest API
- Task Workers (Queue consumers) and Crons (Periodic jobs)
- Web client
- Android / iOS client
| // Browse to https://github.com/watching and run in console: | |
| (function() { | |
| let qx = $x; | |
| let unwatch = function(org) { | |
| let nodes = document.querySelectorAll('.Box-row'); | |
| let rows = [ ...nodes ]; | |
| let orgRows = rows.filter(e => e.innerText.startsWith(` ${org}/`)); | |
| let orgUnsubButtons = orgRows.map(row => row.querySelector('button.select-menu-item[value="included"]')); | |
| orgUnsubButtons.forEach(button => console.log(button.click())); |
I hereby claim:
To claim this, I am signing this object:
| FROM python:3.7-slim | |
| RUN pip install --no-cache-dir falcon | |
| ENTRYPOINT ["python", "app.py"] | |
| WORKDIR /app | |
| COPY . . |
Telegram is so much better than Slack, WhatsApp and HipChat combined.
Unless otherwise stated, all apps are FREE.
| Process: alacritty [96254] | |
| Path: /Applications/Alacritty.app/Contents/MacOS/alacritty | |
| Identifier: alacritty | |
| Version: 0.1.0 (0.1.0) | |
| Code Type: X86-64 (Native) | |
| Parent Process: ??? [1] | |
| Responsible: alacritty [96254] | |
| User ID: 502 | |
| Date/Time: 2017-11-22 09:01:28.420 +0200 |
| set-option -g set-titles on | |
| set-option -g set-titles-string '#T #W tmux{#S}:#I.#P' | |
| set-window-option -g automatic-rename on | |
| set-option -g history-limit 6000 | |
| set-option -s escape-time 0 | |
| set-option -g display-time 4000 | |
| set-option -g repeat-time 300 | |
| set-window-option -g aggressive-resize on | |
| set-option -g base-index 1 | |
| set-window-option -g pane-base-index 1 |
| #!/usr/bin/env bash | |
| echo "workers:" | |
| find roles/ -iname 'celery*' | xargs grep -h 'watcher\|cmd' \ | |
| | gsed "s/'/\"/g" \ | |
| | gsed "s/\s*{{ ansible_nodename }}//g" \ | |
| | gsed 's/--time-limit=//' \ | |
| | gsed 's/\-[OQlnc]\s\+//g' \ | |
| | awk -F'"' '{for(i=2;i<=NF;i++)if(i%2==0)gsub(" ","_",$i);}1' OFS="\"" \ | |
| | gsed "s/{{\s/{{_/g" \ |
| #!/usr/bin/env bash | |
| set -e | |
| set -u | |
| # Exit program with error message. | |
| die() { | |
| echo -e "ERROR: $1" | |
| exit $2 | |
| } |