location ~ /.*\.md {
root /www/;
default_type text/html;
charset UTF-8;
add_before_body /strapdown/prepend;
add_after_body /strapdown/postpend;
| select '%TABLE_NAME%' | |
| into @table; | |
| select '%DB_NAME%' | |
| into @schema; | |
| select concat(' public class ', @table) | |
| union | |
| select ' {' | |
| union | |
| select concat(' public ', tps.dest, ' ', column_name, ' { get; set; }') |
| #!/bin/bash | |
| # | |
| # Automate mysql secure installation for Redhat/CentOS systems | |
| # | |
| # - You can set a password for root accounts. | |
| # - You can remove root accounts that are accessible from outside the local host. | |
| # - You can remove anonymous-user accounts. | |
| # - You can remove the test database (which by default can be accessed by all users, even anonymous users), | |
| # and privileges that permit anyone to access databases with names that start with test_. |
Creates an alias on the loopback interface (lo0) with the IP 127.0.0.2 on macOS.
/Library/LaunchDaemons/com.runlevel1.lo0.127.0.0.2.plistsudo chmod 0644 /Library/LaunchDaemons/com.runlevel1.lo0.127.0.0.2.plistsudo chown root:wheel /Library/LaunchDaemons/com.runlevel1.lo0.127.0.0.2.plistsudo launchctl load /Library/LaunchDaemons/com.runlevel1.lo0.127.0.0.2.plist