This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mkdir ~/chromium && cd ~/chromium | |
| fetch --nohooks --no-history chromium | |
| cd src | |
| git fetch https://chromium.googlesource.com/chromium/src.git +refs/tags/118.0.5993.71:chromium_118.0.5993.71 --depth 1 | |
| git checkout tags/118.0.5993.71 | |
| gclient sync -D --force --reset --with_branch_heads |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const fs = require('fs'); | |
| fs.readFile('./data/backfile.json', 'utf8', (err, data) => { | |
| if (err) throw err; | |
| const backup = JSON.parse(data); | |
| processBackup(backup); | |
| }); | |
| function processBackup(backup) { | |
| const posts = backup.db[0].data.posts; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <cstdio> | |
| #include <cmath> | |
| #include <string> | |
| #include "raylib.h" | |
| #include "waterpool.hpp" | |
| const int WIDTH = 160; | |
| const int HEIGHT = 160; | |
| using PoolType = Sapphire::WaterPool<WIDTH, HEIGHT>; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Git commands Cheat Sheet | |
| Initialize a new git repository: | |
| git init | |
| Set configuration values for your username and email: | |
| git config --global user.name <your-name> | |
| git config | |
| --global user. email <your-email> | |
| Clone a repository: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| http://ftp.tu-chemnitz.de/pub/linux/ubuntu-ports | |
| http://ports.ubuntu.com/ubuntu-ports | |
| https://mirror.kumi.systems/ubuntu-ports | |
| https://mirrors.aliyun.com/ubuntu-ports/ | |
| http://mirrors.mit.edu/ubuntu-ports/ | |
| https://ftp.ubuntu-tw.org/mirror/ubuntu-ports/ | |
| https://mirror.yandex.ru/ubuntu-ports/ | |
| https://mirror.scaleuptech.com/ubuntu-ports/ | |
| https://mirrors.ustc.edu.cn/ubuntu-ports/ | |
| https://mirror.csclub.uwaterloo.ca/ubuntu-ports/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| deb http://ports.ubuntu.com/ubuntu-ports focal main restricted universe multiverse | |
| deb-src http://ports.ubuntu.com/ubuntu-ports focal main restricted universe multiverse | |
| deb http://ports.ubuntu.com/ubuntu-ports focal-updates main restricted universe multiverse | |
| deb-src http://ports.ubuntu.com/ubuntu-ports focal-updates main restricted universe multiverse | |
| deb http://ports.ubuntu.com/ubuntu-ports focal-backports main restricted universe multiverse | |
| deb-src http://ports.ubuntu.com/ubuntu-ports focal-backports main restricted universe multiverse | |
| deb http://ports.ubuntu.com/ubuntu-ports focal-security main restricted universe multiverse |
Open vimrc:
vim ~/.vim/vimrcAdd Vundle plugin to vimrc:
Plugin 'prettier/vim-prettier'NewerOlder