sudo apt-get update -y
sudo apt-get upgrade
const Annotation = [ | |
{ | |
type: "RenderContextVerticalLineAnnotation", | |
options: { | |
id: "06d771ac-2d59-4d39-aa86-580505169d28", | |
annotationLayer: "AboveChart", | |
isEditable: true, | |
isHidden: false, | |
isSelected: false, | |
opacity: 1, |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>ANSIBlueColor</key> | |
<data> | |
YnBsaXN0MDDUAQIDBAUGBwpYJHZlcnNpb25ZJGFyY2hpdmVyVCR0b3BYJG9iamVjdHMS | |
AAGGoF8QD05TS2V5ZWRBcmNoaXZlctEICVRyb290gAGmCwwXHR4lVSRudWxs1Q0ODxAR | |
EhMUFRZcTlNDb21wb25lbnRzVU5TUkdCXE5TQ29sb3JTcGFjZV8QEk5TQ3VzdG9tQ29s | |
b3JTcGFjZVYkY2xhc3NPEBQwIDAuMDA3MzI4NzM5Njc3IDEgMU8QETAgMCAwLjk5ODE5 |
# Fig pre block. Keep at the top of this file. | |
[[ -f "$HOME/.fig/shell/zshrc.pre.zsh" ]] && builtin source "$HOME/.fig/shell/zshrc.pre.zsh" | |
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH="$HOME/.oh-my-zsh" | |
# Set name of the theme to load --- if set to "random", it will | |
# load a random theme each time oh-my-zsh is loaded, in which case, |
setInterval(() => removeFbMessage(), 3000); | |
function sleep() { | |
return new Promise((resolve) => setTimeout(resolve, 1000)); | |
} | |
const removeFbMessage = async () => { | |
document.querySelector('[aria-label="More"]').click(); | |
await sleep(); | |
document.querySelector('[aria-label="Remove message"]').click(); | |
await sleep(); | |
document.querySelector('[aria-label="Remove"]').click(); |
import React, { | |
ComponentType, | |
ReactNode, | |
useMemo, | |
useState, | |
useEffect, | |
} from "react"; | |
import type { AppProps } from "next/app"; | |
import { GoogleOAuthProvider } from "@react-oauth/google"; | |
import GlobalStyles from "@components/GlobalStyles"; |
server { | |
root /var/www/html; root /var/www/html; | |
# Add index.php to the list if you are using PHP | |
index index.html index.htm index.nginx-debian.html; | |
server_name beweddy.com www.beweddy.com; |
Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt
If you use the referal link below, you get $10 free (1 or 2 months) https://m.do.co/c/5424d440c63a
I will be using the root user, but would suggest creating a new user