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
prompt_context() {
if [[ "$USER" != "$DEFAULT_USER" || -n "$SSH_CLIENT" ]]; then
#prompt_segment black default "%(!.%{%F{yellow}%}.)$USER"
fi
}
sudo apt update
sudo apt upgrade -y
sudo apt install apache2
sudo apache2ctl configtest
sudo nano /etc/apache2/apache2.conf
ServerName 127.0.0.1 #add that line
sudo apache2ctl configtest
sudo service apache2 restart
cd /etc/apache2/sites-available
sudo nano 000-default.conf
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
vi /etc/phpmyadmin/config.inc.php
Find all that kind of line and remove '//'
// $cfg['Servers'][$i]['AllowNoPassword'] = TRUE;
press esc and type :wq
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
/* CSS */
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
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
Extensions im using for the UI
• ⁠CustomizeUI
• ⁠Editor navigation icons
• ⁠Moxer icons
• ⁠Trailing Spaces
- Carbon product icons
• ⁠Vibe (theme)
# 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
#!/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"