This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run the following code in the terminal | |
# Find all processes running on a specific port (you can replace 3000 with any port): | |
[sudo] lsof -i :3000 | |
# Get the PID id of the process you want to kill. | |
# Then with the PID id run the following command to kill it: | |
kill -9 <PID> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul> | |
{{ $data := getJSON "https://cms.dev:8890/api/1.1/tables/settings/rows?access_token=vpqBqeRX4CGw2OgDdZxv9H26Rw8mIo4Z" }} | |
{{ range $data.data }} | |
{{ if .site_name }} | |
<li>{{ .site_name }}</li> | |
{{ end }} | |
{{ end }} | |
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<!-- Run in full-screen mode. --> | |
<meta name="apple-mobile-web-app-capable" content="yes"> | |
<!-- Make the status bar black with white text. --> | |
<meta name="apple-mobile-web-app-status-bar-style" content="black"> |