Skip to content

Instantly share code, notes, and snippets.

View utkarshmalik211's full-sized avatar
🎯
Focusing

Utkarsh Malik utkarshmalik211

🎯
Focusing
View GitHub Profile
@utkarshmalik211
utkarshmalik211 / stack.go
Created August 19, 2020 10:59 — forked from bemasher/stack.go
A simple LIFO stack backed by a linked list implemented with golang.
package main
import (
"fmt"
)
type Stack struct {
top *Element
size int
}
@utkarshmalik211
utkarshmalik211 / i3-cheat-sheet.md
Created March 4, 2018 12:06 — forked from JeffPaine/i3-cheat-sheet.md
i3 Window Manager Cheat Sheet

i3 Window Manager Cheat Sheet

$mod refers to the modifier key (alt by default)

General

  • startx i3 start i3 from command line
  • $mod+<Enter> open a terminal
  • $mod+d open dmenu (text based program launcher)
  • $mod+r resize mode ( or to leave resize mode)
  • $mod+shift+e exit i3
@utkarshmalik211
utkarshmalik211 / main.cpp
Created November 4, 2017 05:54 — forked from nikotan/main.cpp
face detection sample code for OpenCV
#include <opencv/cv.h>
#include <opencv/highgui.h>
#include <opencv/ml.h>
void doMosaic(IplImage* in, int x, int y,
int width, int height, int size);
int main (int argc, char **argv)
{
int i, c;