- Create a react app with typescript template
npx create-react-app . --template typescript
- Create .editorconfig on the root folder:
# https://editorconfig.org | |
root = true | |
[*] | |
charset = utf-8 | |
indent_style = space | |
indent_size = 2 | |
end_of_line = lf | |
insert_final_newline = true |
#!/bin/bash | |
# Script that import VMware images (ovf based) to Proxmox VE | |
# Your VM_NAME needs to be the same for: VM_NAME (directory) and VM_NAME.ovf | |
PROXMOX_USER=root | |
PROXMOX_PASS=ch4ng3m3! | |
PROXMOX_HOST=1.2.3.4 | |
PROXMOX_PORT=22 | |
PROXMOX_STORAGE=local-lvm | |
VM_PATH=/mnt/hgfs/shared/VM-Backup/ |
using System; | |
using System.Collections.Generic; | |
using System.Collections.Specialized; | |
using System.Dynamic; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
using Microsoft.AspNetCore.Http; | |
using Microsoft.Extensions.Primitives; | |
using SharpRaven.Data; |
upstream api_node_js { | |
server 127.0.0.1:8080; | |
} | |
server { | |
listen 80 default_server; | |
listen [::]:80 default_server ipv6only=on; | |
root /var/www/my-kickass-domain/public_html; | |
index index.html index.htm; |
# Ask for the user password | |
# Script only works if sudo caches the password for a few minutes | |
sudo true | |
# Install kernel extra's to enable docker aufs support | |
# sudo apt-get -y install linux-image-extra-$(uname -r) | |
# Add Docker PPA and install latest version | |
# sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9 | |
# sudo sh -c "echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list" |