This file contains 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
#!/usr/bin/zsh | |
for file in ./h265x/*(.); | |
do | |
echo $file; | |
newfile="${file%.*}.h265" | |
if [[ ! -a $newfile ]]; then | |
mv "${file%.*}.h265x" $newfile; | |
fi |
This file contains 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
0x151515 - dark background | |
0x9ed700 - bright green | |
0x1d99f3 - sky blue | |
0xfbb02d - orange orange | |
0xe0e0e0 - light grey |
This file contains 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
{ | |
} |
This file contains 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
{ | |
} |
This file contains 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
[colors.bright] | |
black = "0x7f8c8d" | |
blue = "0x3daee9" | |
cyan = "0x16a085" | |
green = "0x1cdc9a" | |
magenta = "0x8e44ad" | |
red = "0xc0392b" | |
white = "0xffffff" | |
yellow = "0xfdbc4b" |
This file contains 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
mount -o subvol=@ /dev/nvme1n1p2 /mnt | |
mount -o subvol=@home /dev/nvme1n1p2 /mnt/home | |
mount -o subvol=@var /dev/nvme1n1p2 /mnt/var | |
mount -o subvol=@tmp /dev/nvme1n1p2 /mnt/tmp | |
mount /dev/nvme1n1p1 /mnt/boot | |
arch-chroot /mnt | |
pacman -Syu grub efibootmgr os-prober | |
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB [--removable] | |
# mount windows efi |
This file contains 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
export PATH=$PATH:~/bin |
This file contains 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
SetCapsLockState "AlwaysOff" | |
+CapsLock::CapsLock | |
CapsLock:: | |
{ | |
Send "{Ctrl down}{Shift down}{Shift up}{Ctrl up}" | |
return | |
} |
This file contains 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
CREATE USER 'yii_demo'@'%' IDENTIFIED BY 'yii_demo_passwd1234'; | |
CREATE DATABASE yii_demo; | |
GRANT CREATE, ALTER, DROP, INSERT, UPDATE, DELETE, SELECT ON yii_demo.* TO 'yii_demo'@'%'; |
This file contains 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
version: "3.7" | |
services: | |
ng: | |
build: | |
dockerfile: ./Dockerfile | |
context: . | |
args: | |
HOST_USER_ID: ${HOST_USER_ID:-1000} | |
HOST_GROUP_ID: ${HOST_GROUP_ID:-1000} | |
command: /bin/sh -c "npm install && ng serve --host=0.0.0.0 --configuration=en --disable-host-check" |
NewerOlder