Skip to content

Instantly share code, notes, and snippets.

View sukrosono's full-sized avatar
🎯
Focusing pushing my shogi rank

Adi Prasetyo sukrosono

🎯
Focusing pushing my shogi rank
View GitHub Profile
@sukrosono
sukrosono / grub.cfg
Created May 10, 2021 19:02
sda1 /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 138,9M 1 loop /var/lib/snapd/snap/chromium/1568 loop1 7:1 0 65,1M 1 loop /var/lib/snapd/snap/gtk-common-themes/1515 loop2 7:2 0 32,3M 1 loop /var/lib/snapd/snap/snapd/11588 loop3 7:3 0 162,9M 1 loop /var/lib/snapd/snap/gnome-3-28-1804/145 loop4 7:4 0 295,3M 1 loop /var/lib/snapd/snap/vlc/2103 loop5 7:5 0 55,4M 1 loop /var/lib/snapd/snap/core18/1997 sda 8:0 0 465,8G 0 disk ├─sda1 8:1 0 115,6G 0 part / ├─sda2 8:2 0 1K 0 part

@sukrosono
sukrosono / arch.blkid.md
Created May 10, 2021 18:41
blkid result

/dev/sda1: LABEL="arch manjaro 21" UUID="7f0432ae-9163-4e0f-9a32-4b996a360fb6" BLOCK_SIZE="4096" TYPE="ext4" PTTYPE="dos" PARTUUID="d9fa2484-01" /dev/sda3: PARTUUID="d9fa2484-03" /dev/sda5: LABEL="DATA" BLOCK_SIZE="512" UUID="01CF064A1CD436D0" TYPE="ntfs" PARTUUID="d9fa2484-05" /dev/sda6: LABEL="my-mint" UUID="3f3fce91-72f7-403f-90d2-aaaadc657cbc" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="d9fa2484-06" /dev/sda7: UUID="fcf2d5c1-3286-44c0-bf35-d66694ef3e74" TYPE="swap" PARTUUID="d9fa2484-07" /dev/sda8: LABEL="folatile" BLOCK_SIZE="512" UUID="0677156534D6E353" TYPE="ntfs" PARTUUID="d9fa2484-08" /dev/loop0: TYPE="squashfs" /dev/loop1: TYPE="squashfs" /dev/loop2: TYPE="squashfs" /dev/loop3: TYPE="squashfs"

@sukrosono
sukrosono / nginx.manjaro.md
Last active May 10, 2021 16:19
nginx installation on manajaro
@sukrosono
sukrosono / php.arch.md
Created May 10, 2021 12:20
installing php7.4 on arch linux
@sukrosono
sukrosono / fstab
Created May 8, 2021 21:10
old fstab before purification of windows8.1
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda9 during installation
UUID=3f3fce91-72f7-403f-90d2-aaaadc657cbc / ext4 errors=remount-ro 0 1
/dev/sda7 none swap sw
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
UUID=7f0432ae-9163-4e0f-9a32-4b996a360fb6 / ext4 defaults,noatime,rw 0 1
/dev/disk/by-uuid/fcf2d5c1-3286-44c0-bf35-d66694ef3e74 none swap sw 0 0
#UUID=3f3fce91-72f7-403f-90d2-aaaadc657cbc /boot ext4 defaults 0 2

2 crucial file is vmlinuz and initramfs It will invoke linux vmlinuz and initrd initramfs

On technical it will r

@sukrosono
sukrosono / obs-studio-git 27.0.0.rc1.r9.md
Last active May 6, 2021 22:23
hint when you got error to install obs studio rc from aur package

install the required dep with pacman, such as:

  • vlc
  • swig

for the other you need to install another aur like cef-minimal

by installing cef from the aur will make sure the obs-studio installed properly. Please remember to be patient when installing obs from the aur packages, the cpp building will take sometimes, but it worth it. As many people also spend many hours to developing the obs

@sukrosono
sukrosono / composer-install-fail.md
Created May 4, 2021 16:42
prob on composer installation

If you got

require-dev.mikey179/vfsStream is invalid, it should not contain uppercase characters. Please use mikey179/vfsstream instead. Make sure you fix this as Composer 2.0 will error.

read this