First, install arch-install-scripts:
sudo pacman -S --needed arch-install-scriptsSecondly, mount your partitions in all the internal hard drives.
Thirdly, generate and validate your config by piping it out to stdout:
First, install arch-install-scripts:
sudo pacman -S --needed arch-install-scriptsSecondly, mount your partitions in all the internal hard drives.
Thirdly, generate and validate your config by piping it out to stdout:
Recently, I deleted some files by mistake in a Ubuntu machine with an ext4 fs. These notes document the steps I took to get them back.
With that out the way, let's begin.
| ''' | |
| Implementation of python progress bar (or status bar) | |
| without using Progressbar library. | |
| Result: | |
| Completed: [==================================================] 100% | |
| Created by Sibo, 12 Oct. | |
| ''' | |
| import time |
| ! model | |
| pc101 Generic 101-key PC | |
| pc102 Generic 102-key (Intl) PC | |
| pc104 Generic 104-key PC | |
| pc105 Generic 105-key (Intl) PC | |
| dell101 Dell 101-key PC | |
| latitude Dell Latitude series laptop | |
| dellm65 Dell Precision M65 | |
| everex Everex STEPnote | |
| flexpro Keytronic FlexPro |
| #!/usr/bin/python | |
| import os, sys | |
| import random | |
| import time | |
| import string | |
| import mysql.connector | |
| import threading | |
| from mysql.connector import errorcode |
| $ git clone [email protected]:xxxxx/xxxx.git my-awesome-proj | |
| Cloning into 'my-awesome-proj'... | |
| ssh: connect to host github.com port 22: Connection timed out | |
| fatal: Could not read from remote repository. | |
| $ # This should also timeout | |
| $ ssh -T [email protected] | |
| ssh: connect to host github.com port 22: Connection timed out | |
| $ # but this might work |
sudo su
curl https://pyenv.run | bash
# Load pyenv automatically by adding
# the following to ~/.bashrc:0x8545: Original 84 -> 850x08FF19: Original 75 -> EB0x1932C7: Original 75 -> 74 (remove UNREGISTERED in title bar, so no need to use a license)| const test = (text) => | |
| preg_match_all( | |
| new RegExp( | |
| ` |
| ## ===========================================================> The common stage | |
| FROM node:16.14 AS base | |
| ENV NODE_ENV=production | |
| WORKDIR /app | |
| COPY package*.json ./ | |
| RUN npm ci --only=production | |
| ## Remove unnecessary files from `node_modules` directory |