Skip to content

Instantly share code, notes, and snippets.

dotnet publish -f netcoreapp2.0 -c Release
-o %(series)s.s%(season_number)02de%(episode_number)02d.%(title)s.%(height)sp-%(id)s.%(ext)s
-f 'bestvideo[height<=720]+bestaudio/best[height<=720]'
--restrict-filenames
server {
listen 80;
server_name example.com www.example.com;
access_log off;
return 301 https://example.com$request_uri;
}
server {
listen 443 ssl;
@granbom
granbom / rsync
Last active January 19, 2018 23:16
rsync -r -e "ssh" --progress ~/repos/granbom.se/_site/ cloud:/var/www/granbom/_site
[user]
name = granbom
email = pg@pgconsulting.se
[credential]
helper = cache --timeout=3600
[push]
default = simple