-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnotes.txt
46 lines (27 loc) · 1.09 KB
/
notes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Notes for when I inevitably forget how to do this:
set GIT_SSH=plink.exe
B&W Rose downloaded from here:
https://www.pexels.com/photo/black-and-white-nature-flowers-close-up-view-57905/
favicon from favicon.io
max width fieldset:
https://stackoverflow.com/questions/2302495/is-there-any-way-to-have-a-fieldset-width-only-be-as-wide-as-the-controls-in-the/2302543
random notes on setting up a new instance:
sudo yum -y install yum-utils
sudo yum install emacs git gcc nginx
sudo yum install python36
sudo yum install python36-devel
on centos:
sudo yum -y install https://centos7.iuscommunity.org/ius-release.rpm
sudo yum -y install python36u
sudo yum -y install python36u-pip
sudo yum install python36u-devel
add eval `ssh-agent` to .bashrc, create ssh key
export EDITOR=emacs
git config --global user.name "John Bauer"
git config --global user.email [email protected]
pip install uwsgi
selinux seems to block nginx. fix:
setsebool -P httpd_can_network_connect true
to allow larger images:
sudo emacs /etc/nginx/nginx.conf
http://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size