So if you're using Proxmox you need to open up ssh and run the following commands:
- Setup a root password
sudo passwd root
// String p # s | |
// S: a a b # a a b a a b a a b | |
// LPS: 0 1 0 0 1 2 3 1 2 3 1 2 3 | |
vector<int> KMP(string& s){ | |
vector<int> LPS(s.length(), 0); | |
for(int i = 1 ; i < s.length(); i++){ | |
int prev_idx = LPS[i-1]; | |
while(prev_idx > 0 && s[i] != s[prev_idx]){ |
module.exports = { | |
root: true, | |
env: { browser: true, es2020: true }, | |
extends: [ | |
"eslint:recommended", | |
"plugin:react/recommended", | |
"plugin:react/jsx-runtime", | |
"plugin:react-hooks/recommended", | |
], | |
ignorePatterns: ["dist", ".eslintrc.cjs"], |
shader_type spatial; | |
render_mode unshaded, depth_prepass_alpha; | |
void vertex() { | |
POSITION = vec4(VERTEX, 1.0); | |
} | |
uniform sampler2D BackBufferTex : hint_screen_texture, repeat_disable, filter_nearest; | |
uniform sampler2D DepthBufferTex : hint_depth_texture, repeat_disable, filter_nearest; |
Struktur folder ini dibuat berdasarkan prinsip enkapsulasi dan modularisasi. Jadi kodingan-kodingan yang ada dipisah-pisah menjadi modul-modul kecil sesuai fungsi masing masing. Dalam menjalankan fungsinya, setiap modul tidak boleh ada ketergantungan langsung dengan modul yang lain. Di projek android ini secara umum ada beberapa fungsi:
{ fontWeight: '100' }, // Thin | |
{ fontWeight: '200' }, // Ultra Light | |
{ fontWeight: '300' }, // Light | |
{ fontWeight: '400' }, // Regular | |
{ fontWeight: '500' }, // Medium | |
{ fontWeight: '600' }, // Semibold | |
{ fontWeight: '700' }, // Bold | |
{ fontWeight: '800' }, // Heavy | |
{ fontWeight: '900' }, // Black |
Typing vagrant
from the command line will display a list of all available commands.
Be sure that you are in the same directory as the Vagrantfile when running these commands!
vagrant init
-- Initialize Vagrant with a Vagrantfile and ./.vagrant directory, using no specified base image. Before you can do vagrant up, you'll need to specify a base image in the Vagrantfile.vagrant init <boxpath>
-- Initialize Vagrant with a specific box. To find a box, go to the public Vagrant box catalog. When you find one you like, just replace it's name with boxpath. For example, vagrant init ubuntu/trusty64
.vagrant up
-- starts vagrant environment (also provisions only on the FIRST vagrant up)