Skip to content

Instantly share code, notes, and snippets.

View mimukit's full-sized avatar

Mukitul Islam Mukit mimukit

View GitHub Profile
@mimukit
mimukit / OpenGL_LineAlgo.cpp
Last active June 12, 2016 17:56
OpenGL Line Generation Algorithms Implementation
#include <stdio.h>
#include <math.h>
#include <iostream>
#include <GL/glut.h>
using namespace std;
int pntX1, pntY1, pntX2, pntY2, choice = 0;
double x, y, length, xinc, yinc;
int round(double d)
@mimukit
mimukit / CS_TicTacToe.cs
Last active June 21, 2016 12:42
Tic Tac Toe Console Game with error/exception handling by M MUKIT.
using System;
namespace _1.Tic_Tac_Toe
{
public class TicTacToe
{
public char[,] gameBoard = new char[3,3];
public char choice;
public int player = 0;
@mimukit
mimukit / CS_BasicProductManagement.cpp
Created June 22, 2016 09:21
Basic Product Management Program by M MUKIT
using System;
using System.Collections;
namespace BasicProductManagement
{
class Product
{
private static ArrayList arrItems = new ArrayList();
private string ProductID;
@mimukit
mimukit / OpenGL_Clipping.cpp
Last active July 26, 2016 11:45
Clipping with Cohen-Sutherland algorithm using OpenGL Library
#include <stdio.h>
#include <iostream>
#include <GL/glut.h>
using namespace std;
int minX, minY, maxX, maxY;
int fstX, fstY, sndX, sndY;
int code1[4] = { 0, 0, 0, 0 };
int code2[4] = { 0, 0, 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;
@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 / 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 / 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 / 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