Skip to content

Instantly share code, notes, and snippets.

View mnuddindev's full-sized avatar
📖
Reading GoLang

Mohammad Nazim Uddin mnuddindev

📖
Reading GoLang
View GitHub Profile
# Generated by Powerlevel10k configuration wizard on 2022-11-07 at 13:04 +06.
# Based on romkatv/powerlevel10k/config/p10k-rainbow.zsh, checksum 19454.
# Wizard options: nerdfont-complete + powerline, small icons, rainbow, unicode,
# 12h time, round separators, round heads, round tails, 1 line, sparse, many icons,
# concise, transient_prompt, instant_prompt=off.
# Type `p10k configure` to generate another config.
#
# Config for Powerlevel10k with powerline prompt style with colorful background.
# Type `p10k configure` to generate your own config based on it.
#
sudo nano /etc/pacman.d/mirrorlist
sudo pacman -Sy archlinux-keyring && sudo pacman -Syyu
useradd --create-home dev
passwd dev
sudo -lU dev
usermod -aG wheel dev
nano /etc/sudoers/
Find and uncomment the following line: "%wheel ALL=(ALL) ALL"
Find and uncomment the following line: " %sudo ALL=(ALL) ALL"
Add the line "qiusheng ALL=(ALL) ALL" after "root ALL=(ALL) ALL"
#!/bin/bash
DIR=$HOME/.config/bspwm
CONFIG_DIR=$HOME/.config/
echo "Installing dependencies"
echo "mnuddin" | sudo -S pacman --noconfirm -Syu
yay -S --noconfirm 'rofi' 'i3' 'rofi' 'polybar' 'git' 'nerd-fonts-jetbrains-mono' 'nerd-fonts-complete' 'kotatogram-dekstop' 'discord' 'vlc' 'firefox' 'ibus' 'ibus-m17n' 'ibus-typing-booster' 'manjaro-asian-input-support-ibus' 'cmake' 'fortune-mod' 'google-chrome'
yay --sync --noconfirm base-devel python python-pip rofi jq --needed
echo "Installing Picom"
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
Extensions im using for the UI
• ⁠CustomizeUI
• ⁠Editor navigation icons
• ⁠Moxer icons
• ⁠Trailing Spaces
- Carbon product icons
• ⁠Vibe (theme)
create a folder wherever you want like: /usr/share/minecraft/
move minecraft.jar and a 96x96px mc.png to that folder
sudo nano /usr/share/applications/appname.desktop
add these lines
[Desktop Entry]
Encoding=UTF-8
Name=AppName
Categories=App Category Name
sudo pacman -S openbangla-keyboard
yay -S ibus-m17n
yay -S m17n-db
yay -S m17n-lib
yay -S manjaro-asian-input-support-ibus
# download file from google drive
https://drive.google.com/file/d/1mWaUlA1AH5LXsTxv553z8UK9hIS-UDTF/view?usp=sharing
and follow the instruction in install.txt
add language from ibus gui
done
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
/* CSS */
vi /etc/phpmyadmin/config.inc.php
Find all that kind of line and remove '//'
// $cfg['Servers'][$i]['AllowNoPassword'] = TRUE;
press esc and type :wq
sudo /etc/init.d/mysql stop
sudo nano /etc/mysql/mysql.conf.d/reset-mysql-password.cnf
[mysqld]
skip-grant-tables
sudo mkdir -p /var/run/mysqld
sudo chown mysql:mysql /var/run/mysqld
sudo mysqld_safe --skip-grant-tables &# start mysql without password
# enter to go