start new:
tmux
start new with session name:
tmux new -s myname
CB_color_cycle = ['#377eb8', '#ff7f00', '#4daf4a', | |
'#f781bf', '#a65628', '#984ea3', | |
'#999999', '#e41a1c', '#dede00'] |
license: gpl-3.0 | |
height: 2910 | |
border: no | |
redirect: https://observablehq.com/@d3/d3-calendar-view |
*.acn | |
*.acr | |
*.alg | |
*.aux | |
*.bak | |
*.bbl | |
*.bcf | |
*.blg | |
*.brf | |
*.bst |
require "rubygems" | |
require "twitter" | |
# get these from apps.twitter.com | |
CONSUMER_KEY = "foo" | |
CONSUMER_SECRET = "bar" | |
OAUTH_TOKEN = "blee" | |
OAUTH_TOKEN_SECRET = "baz" | |
TWITTER_USER = "your_username" # needs to be the one associated with keys above |
In your Opalstack dashboard create a new "Nginx Proxy Port" application and attach it to a site with Let's Encrypt enabled on the site. Make a note of the app's name and port assignment, and the site domain.
In your Opalstack dashboard create a new MariaDB database and user. Make a note of the DB name, DB user name, and password.
SSH to your app's shell user and run the following commands:
cd ~/apps/appname
git clone -b opalstack https://github.com/rsanden/userspace-fpm-installer.git
cd userspace-fpm-installer
/** | |
* diskutil list shows you the partitions currently connected to your unit | |
**/ | |
imac:~ user$ diskutil list | |
/dev/disk0 | |
#: TYPE NAME SIZE IDENTIFIER | |
0: GUID_partition_scheme *1.0 TB disk0 | |
1: EFI 209.7 MB disk0s1 | |
2: Apple_HFS Macintosh HD 987.2 GB disk0s2 |
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# The above two lines specify two things. The order must always be the same if both are used. | |
# The first line is a shebang, used by Unix-like systems to determine how to run a file. | |
# The second is a way to specify the encoding used by the file. | |
# Neither are necessary, especially the second one, since Python 3 is UTF-8 by default. | |
""" |