- Download at https://iterm2.com/downloads.html
- Move into Applications
- Download a theme https://github.com/mbadolato/iTerm2-Color-Schemes
This file contains hidden or 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
#user nobody; | |
worker_processes 1; | |
#error_log logs/error.log; | |
#error_log logs/error.log notice; | |
#error_log logs/error.log info; | |
#pid logs/nginx.pid; |
This file contains hidden or 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
const crypto = require('crypto'); | |
const assert = require('assert'); | |
const algorithm = 'aes-256-gcm'; | |
// From env | |
const password = 'CDcmzxwnDgJ581XYOJqBqWdbVDcdsSGr'; | |
const encrypt = (message, salt) => { | |
const iv = crypto.randomBytes(16); |
This file contains hidden or 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
const axios = require('axios'); | |
const APP_URL = 'https://meek-forgetful-play-dnk3e.ondigitalocean.app'; | |
const TOKEN = 'eyJhbGciOiJ...'; | |
const sendRequest = async (endpoint) => { | |
try { | |
await axios.get(`${APP_URL}${endpoint}`, { | |
headers: { | |
authorization: `Bearer ${TOKEN}`, |