Standard escape codes are prefixed with Escape
:
- Ctrl-Key:
^[
- Octal:
\033
- Unicode:
\u001b
- Hexadecimal:
\x1B
- Decimal:
27
The package that linked you here is now pure ESM. It cannot be require()
'd from CommonJS.
This means you have the following choices:
import foo from 'foo'
instead of const foo = require('foo')
to import the package. You also need to put "type": "module"
in your package.json and more. Follow the below guide.await import(…)
from CommonJS instead of require(…)
.https://statici.icloud.com/fmipmobile/deviceImages-9.0/iPhone/iPhone9,4-2-3-0/online-infobox__3x.png | |
A B C D E F G | |
A: deviceImages version seems to determine the format of the image specifier (C, D, E, F) | |
B: device marketing name | |
C: device model identifier | |
D: color cover glass (front color) | |
1 - Black | |
2 - White | |
E: device enclosure color (back color) |
# @ your EC2 instance
sudo apt update
sudo apt install openjdk-8-jre unzip
wget https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip
unzip sdk-tools-linux-4333796.zip -d android-sdk
sudo mv android-sdk /opt/
export ANDROID_SDK_ROOT=/opt/android-sdk
If you hate git submodule
, then you may want to give git subtree
a try.
When you want to use a subtree, you add the subtree to an existing repository where the subtree is a reference to another repository url and branch/tag. This add
command adds all the code and files into the main repository locally; it's not just a reference to a remote repo.
When you stage and commit files for the main repo, it will add all of the remote files in the same operation. The subtree checkout will pull all the files in one pass, so there is no need to try and connect to another repo to get the portion of subtree files, because they were already included in the main repo.
Let's say you already have a git repository with at least one commit. You can add another repository into this respository like this:
Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt
Create free AWS Account at https://aws.amazon.com/
I would be creating a t2.medium ubuntu machine for this demo.
""" | |
This example demonstrates using anysync with httpx. | |
""" | |
import logging | |
from anysync import anysync | |
from anysync.httpx_patch import Client | |
logging.basicConfig(level=logging.INFO) |
Mailcow is a easy to set up Mailserver running in Docker.
Unfortunately, most ISPs block port 25. In addition to that, residential IP addresses are generally blacklisted, making it impossible to self-host a mailserver at home. Mailcow by itself requires at least 6GB of RAM, which makes hosting it on a VPS rather expensive.
The solution: Running Mailcow at home and tunneling it's traffic through a cheap VPS.
The final setup will look like this:
#!/bin/bash | |
yarn add -D @typescript-eslint/eslint-plugin \ | |
typescript ts-node-dev \ | |
@typescript-eslint/parser @typescript-eslint/eslint-plugin eslint eslint-config-prettier eslint-plugin-prettier eslint-plugin-vue prettier | |
cat > .eslintrc.js <<EOF | |
module.exports = { | |
root: true, | |
env: { |
Download and install these two CLI tools:
Create a permanent folder on your file explorer named something like BetterDiscordReinstall
.
Depending on your Discord client, place the two batch programs in the folder: