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
{ | |
"$schema": "https://zed.dev/schema/themes/v0.1.0.json", | |
"name": "Ajep", | |
"appearance": "dark", | |
"author": "Karuna Murti", | |
"themes": [ | |
{ | |
"appearance": "dark", | |
"name": "Ajep Blue", | |
"style": { |
This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
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
package main | |
import ( | |
"fmt" | |
"io" | |
"strings" | |
"time" | |
) | |
const ( |
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
version: '3.8' | |
services: | |
prometheus: | |
image: prom/prometheus:latest | |
container_name: prometheus | |
restart: always | |
ports: |
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
image: 'rust:latest' | |
stages: | |
- test | |
- doc | |
- build | |
variables: | |
CARGO_HOME: $CI_PROJECT_DIR/cargo | |
APT_CACHE_DIR: $CI_PROJECT_DIR/apt |
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
{ | |
"version": "0.2.0", | |
"debugServer": 4711, | |
"configurations": [ | |
{ | |
"name": "Launch", | |
"type": "go", | |
"request": "launch", | |
"mode": "debug", | |
"program": "${workspaceRoot}", |
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
tap "caskformula/caskformula" | |
tap "caskroom/cask" | |
tap "caskroom/versions" | |
tap "homebrew/bundle" | |
tap "homebrew/completions" | |
tap "homebrew/core" | |
tap "homebrew/dupes" | |
tap "homebrew/nginx" | |
tap "homebrew/php" | |
tap "homebrew/services" |
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
# Linux Example (assumes ~/bin is in PATH). | |
curl -sL -o ~/bin/gvm https://github.com/andrewkroh/gvm/releases/download/v0.0.5/gvm-linux-amd64 | |
chmod +x ~/bin/gvm | |
eval "$(gvm 1.10)" | |
go version | |
function go_162 { | |
export GOROOT="/Users/fincep005/.gvm/versions/go1.6.2.darwin.amd64" | |
export PATH="$GOROOT/bin:$PATH" | |
} |
This guide uses the domain your-domain.tld
and its www.
prefixed version.
It starts the rocket application on 127.0.0.1:1337
and as the user www-data
. The proxy listens on port 80 and 443 though.
If you need other values, update them accordingly in your nginx and systemd configs.
NewerOlder