Skip to content

Instantly share code, notes, and snippets.

View radiaku's full-sized avatar
💭
I may be slow to respond.

radia radiaku

💭
I may be slow to respond.
View GitHub Profile
@radiaku
radiaku / Fix boot loader on arch linux when installing another os side by side.md
Last active May 22, 2025 05:21
Fix boot loader on arch linux when installing another os side by side

Fix boot loader on arch linux when installing another os side by side

yay -S os-prober-btrfs
sudo os-prober
@radiaku
radiaku / Install mariadb on arch linux.md
Last active May 18, 2025 21:57
Install mariadb on arch linux
sudo pacman -S mariadb

initialized data

sudo mariadb-install-db --user=mysql --basedir=/usr --datadir=/var/lib/mariadb

if failed

@radiaku
radiaku / Install Forticlient on arch linux.md
Last active May 27, 2025 07:51
Install Forticlient on arch linux

Install Forticlient on arch linux

do this:

yay -S forticlient gnome-keyring

if connect of failed hanging without anything disable Invalid Server Certificate

"

@radiaku
radiaku / Install postgres v15 on arch linux.md
Last active May 18, 2025 21:48
Install postgres v15 on arch linux
yay -S postgresql15

run this:

. /opt/postgresql15/bin/pgenv.sh
@radiaku
radiaku / Installing pgadmin4 desktop on archlinux.md
Created May 18, 2025 21:40
Installing pgadmin4 desktop on archlinux

Install

dependencies

yay -S python-virtualenv postgresql-libs electron

clone:

@radiaku
radiaku / custom_fan_control.sh
Last active May 28, 2025 06:28
custom fan control using i8kctl on alienware m15 with cachyos ( arch based linux )
#!/bin/bash
# LOG_FILE="~/fan_control.log"
# Initialize last fan state
LAST_LEFT=-1
LAST_RIGHT=-1
while true; do
# Get CPU temperature
@radiaku
radiaku / Multiple git profile and automatically change when on folder or sufolder.md
Last active March 28, 2025 17:19
Multiple git profile and automatically change when on folder or sufolder

make ssh for your git profile

ssh-keygen -t ed25519 -C "[email protected]" -f ~/.ssh/id_ed25519_global
ssh-keygen -t ed25519 -C "[email protected]" -f ~/.ssh/id_ed25519_work
ssh-keygen -t ed25519 -C "[email protected]" -f ~/.ssh/id_ed25519_personal

usually I cp global to only id_ed25519 for default user

@radiaku
radiaku / _vimrc
Last active May 8, 2024 08:21
_vimrc on windows 11
set nocompatible "be iMproved, required
set exrc
set encoding=UTF-8
set rtp+=$HOME/.vim/bundle/Vundle.vim
call vundle#begin('$HOME/.vim/bundle/')
" ========All the plugins goes here===========
Plugin 'VundleVim/Vundle.vim'
Plugin 'vim-scripts/L9'
Plugin 'dense-analysis/ale'
@radiaku
radiaku / ToHumanLanguage.cs
Created September 18, 2020 06:27
ToHumanLanguage.cs FUCK
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DevConsolas
{
class Program
{
@radiaku
radiaku / youtube api video category id list
Created January 10, 2017 16:57 — forked from dgp/youtube api video category id list
youtube api video category id list
2 - Autos & Vehicles
1 - Film & Animation
10 - Music
15 - Pets & Animals
17 - Sports
18 - Short Movies
19 - Travel & Events
20 - Gaming
21 - Videoblogging
22 - People & Blogs