I use Ubuntu’s Uncomplicated firewall because it is available on Ubuntu and it's very simple.
if ufw is not installed by default be sure to install it first.
d-i debian-installer/locale string en_US.UTF-8 | |
d-i debian-installer/language string en | |
d-i debian-installer/country string ES | |
d-i keyboard-configuration/xkb-keymap select us | |
d-i netcfg/choose_interface select auto | |
d-i hw-detect/load_firmware boolean true | |
d-i mirror/protocol string http |
If you can connect using psql, then you can use this command:
postgres=# SHOW data_directory;
data_directory
-----------------------
/opt/postgres/data/
| directory | description |
BEGIN TRANSACTION; | |
ALTER SCHEMA public RENAME TO public_original; | |
ALTER SCHEMA my_db RENAME TO public; | |
DROP SCHEMA public_original CASCADE; | |
COMMIT; |
package main | |
import ( | |
"fmt" | |
"net/http" | |
) | |
func helloWorld(w http.ResponseWriter, r *http.Request) { | |
// this is what you want | |
if r.URL.Path != "/" { |
#!/usr/bin/env bash | |
# | |
# Certbot Nginx Reload | |
# | |
# Let's Encrypt Certbot post hook command for Nginx which checks the updated | |
# configuration files and reloads the server if everything validates. | |
# | |
# Author : Justin Hartman <code@justinhartman.co> | |
# Version : 1.0.1 | |
# License : MIT <https://opensource.org/licenses/MIT> |
# This will hide | |
defaults write com.apple.finder CreateDesktop -bool false; killall Finder | |
# This will show them back | |
defaults write com.apple.finder CreateDesktop -bool true; killall Finder |
-- Made by Jairo Tylera | |
-- (github.com/Tylerian) | |
-- (c) 2019 - present | |
-- Released under MIT X11 License | |
CREATE | |
DEFINER=`root`@`localhost` | |
FUNCTION | |
`ST_Epgs3857_DWithin`(p1 POINT, p2 POINT, distance_mts FLOAT) | |
RETURNS |