Skip to content

Instantly share code, notes, and snippets.

View mimukit's full-sized avatar

Mukitul Islam Mukit mimukit

  • @shopup-tech
  • Dhaka, Bangladesh
  • X @mimukit
View GitHub Profile
@mimukit
mimukit / powershell_profile_setting.txt
Last active January 20, 2021 10:53
Powershell configuration for windows 10
# Ensure that Get-ChildItemColor is loaded
Import-Module Get-ChildItemColor
# Set l and ls alias to use the new Get-ChildItemColor cmdlets
Set-Alias l Get-ChildItemColor -Option AllScope
Set-Alias ls Get-ChildItemColorFormatWide -Option AllScope
# Helper functions
# Show Unicode characters
@mimukit
mimukit / cloudSettings
Last active June 14, 2020 06:20
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-06-14T06:20:21.288Z","extensionVersion":"v3.4.3"}
@mimukit
mimukit / SSH key setup.md
Last active March 27, 2024 06:01
Quick guide for SSH setup on macOS
  1. Setup ssh key on your pc (skip this step if you already have it)
    • Run this command with your email address instead of your_email@example.com .
    ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
    
    • Start the ssh-agent in the background.
    eval "$(ssh-agent -s)"
    
  • Add your SSH private key to the ssh-agent and store your passphrase in the keychain.
@mimukit
mimukit / zsh_terminal_only.txt
Created June 8, 2018 22:12
Custom zsh configuration file for terminal only environments
export PATH="/usr/local/bin:$PATH"
source $HOME/antigen.zsh
# Imports
POWERLEVEL9K_INSTALLATION_PATH=$ANTIGEN_BUNDLES/bhilburn/powerlevel9k
# Load the oh-my-zsh's library.
antigen use oh-my-zsh
@mimukit
mimukit / zsh_config.txt
Last active November 19, 2018 03:16
My custom zsh configuration with oh-my-zsh, antigen, powerline9k theme & some useful plugins
export PATH="/usr/local/bin:$PATH"
source $HOME/.antigen.zsh
# Imports
POWERLEVEL9K_INSTALLATION_PATH=$ANTIGEN_BUNDLES/bhilburn/powerlevel9k
# Load the oh-my-zsh's library.
antigen use oh-my-zsh
@mimukit
mimukit / kde_config.txt
Created November 8, 2017 06:06
Essential config for Linux Mint KDE
# Set mouse customize config on window
Setting > Window Management > Window Behavior > Window Actions > Inner Window, Titlebar & Frame > Modifier key > Meta
======================================
# Set transparency for all window
Setting > Window Management > Window rules > New
@mimukit
mimukit / dual_boot_config.txt
Created November 7, 2017 05:02
Some important post installation config for dual boot for linux && windows
## Change grub to save last boot option:
sudo nano /etc/default/grub
GRUB_DEFAULT=saved
GRUB_SAVEDEFAULT=true
sudo update-grub
@mimukit
mimukit / Utility_Commands.txt
Last active October 7, 2016 08:37
Utility Commands for windows
## Better life check on laptop
powercfg -energy -output <location>
@mimukit
mimukit / OpenGL_Mouse_Keyboard_Interaction.cpp
Created August 1, 2016 07:53
Mouse and keyboard event handling with OpenGL
#include <stdio.h>
#include <GL/glut.h>
static GLfloat spin = 0.0;
static GLfloat spin_speed = 1.0;
float spin_x = 0;
float spin_y = 1;
float spin_z = 0;
float translate_x = 0.0;
@mimukit
mimukit / OpenGL_Missionaries_and_Cannibals.cpp
Last active August 16, 2016 21:15
Missionaries and Cannibals river crossing puzzle game using OpenGL
#include <stdlib.h>
#include <iostream>
#include <math.h>
#include <Windows.h>
#include <GL/glut.h>
using namespace std;
bool isWin, isLost;