A real quick GNU screen crash course with the key features I use.
man screen
- Emulates terminals in a full-screen window manager
- Detachable, so shell sessions aren't attached to a login process
| <!doctype html> | |
| <html> | |
| <head> | |
| <script src="https://code.jquery.com/jquery-3.3.1.min.js"></script> | |
| <script src=" http://blaiprat.github.io/jquery.animateSprite/js/jquery.animateSprite.js"></script> | |
| <style type="text/css"> | |
| .scott { | |
| height: 140px; |
| import requests | |
| def get_url(url, news): | |
| res = requests.get(url) | |
| for new in res.json()['results']: | |
| news.append(new) | |
| if res.json()['next']: | |
| news = get_url(res.json()['next'], news) | |
| return news |
| import json | |
| whitelist = [] | |
| def add_user_whitelist(user_id): | |
| whitelist.append(user_id) | |
| add_user_whitelist(12345678000) |
| ffmpeg -v 0 -y -i "http://calertahls-lh.akamaihd.net/i/calertahls_1@167570/master.m3u8" -vframes 1 img/output.jpeg |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| body { | |
| font: 13px Helvetica, Arial; | |
| } |
| # Add to nginx.conf http section | |
| map $http_upgrade $connection_upgrade { | |
| default upgrade; | |
| '' close; | |
| } |
| #!/bin/bash | |
| set -e | |
| if [ -z "$DIGITALOCEAN_ACCESS_TOKEN" ]; then | |
| echo >&2 "ERROR: You must export DIGITALOCEAN_ACCESS_TOKEN" | |
| exit 1 | |
| fi | |
| docker pull swarm > /dev/null |