https://itunes.apple.com/de/app/macos-sierra/id1127487414?l=en&mt=12
Link: canonical Link: amphtml Close Ad Link: http://www.macworld.com * Subscribe ▲ Learn more about Macworld's Digital Edition Macworld Magazine Cover
[Unit] | |
Description=MyService Description | |
[Service] | |
WorkingDirectory=/path/to/app/ | |
ExecStart=/usr/bin/dotnet /path/to/app/App.dll | |
Restart=always | |
# Restart service after 10 seconds if the dotnet service crashes: | |
RestartSec=10 | |
KillSignal=SIGINT |
https://itunes.apple.com/de/app/macos-sierra/id1127487414?l=en&mt=12
Link: canonical Link: amphtml Close Ad Link: http://www.macworld.com * Subscribe ▲ Learn more about Macworld's Digital Edition Macworld Magazine Cover
Last updated March 13, 2024
This Gist explains how to sign commits using gpg in a step-by-step fashion. Previously, krypt.co was heavily mentioned, but I've only recently learned they were acquired by Akamai and no longer update their previous free products. Those mentions have been removed.
Additionally, 1Password now supports signing Git commits with SSH keys and makes it pretty easy-plus you can easily configure Git Tower to use it for both signing and ssh.
For using a GUI-based GIT tool such as Tower or Github Desktop, follow the steps here for signing your commits with GPG.
#!/bin/bash | |
# Copyright (c) 2016 Jacob Martin | |
# MIT license | |
# Fixes the permissions of the application for secure serving. | |
# Note that "www-data" is used here; feel free to change this for your own | |
# web server's username. | |
# If you don't have permissions to modify files and folders in the first place, | |
# this script will not work for you until you fix that with: |
# Redis Cheatsheet | |
# All the commands you need to know | |
redis-server /path/redis.conf # start redis with the related configuration file | |
redis-cli # opens a redis prompt | |
# Strings. |
'/Applications/Google Chrome.app/Contents/MacOS/Google Chrome' --disable-xss-auditor --enable-devtools-experiments --disable-features=enable-automatic-password-saving |
server { | |
listen 80 default_server; | |
listen [::]:80 default_server ipv6only=on; | |
location / { | |
proxy_pass http://localhost:5000; | |
} | |
} | |
server { | |
listen 8080 default_server; |
function mime2ext($mime){ | |
$all_mimes = '{"png":["image\/png","image\/x-png"],"bmp":["image\/bmp","image\/x-bmp","image\/x-bitmap","image\/x-xbitmap","image\/x-win-bitmap","image\/x-windows-bmp","image\/ms-bmp","image\/x-ms-bmp","application\/bmp","application\/x-bmp","application\/x-win-bitmap"],"gif":["image\/gif"],"jpeg":["image\/jpeg","image\/pjpeg"],"xspf":["application\/xspf+xml"],"vlc":["application\/videolan"],"wmv":["video\/x-ms-wmv","video\/x-ms-asf"],"au":["audio\/x-au"],"ac3":["audio\/ac3"],"flac":["audio\/x-flac"],"ogg":["audio\/ogg","video\/ogg","application\/ogg"],"kmz":["application\/vnd.google-earth.kmz"],"kml":["application\/vnd.google-earth.kml+xml"],"rtx":["text\/richtext"],"rtf":["text\/rtf"],"jar":["application\/java-archive","application\/x-java-application","application\/x-jar"],"zip":["application\/x-zip","application\/zip","application\/x-zip-compressed","application\/s-compressed","multipart\/x-zip"],"7zip":["application\/x-compressed"],"xml":["application\/xml","text\/xml"],"svg": |