Skip to content

Instantly share code, notes, and snippets.

How to setup a minimal X11 environment on Debian GNU/Linux

  1. Install the following packages

    • xserver-xorg-core (server)
    • xserver-xorg-video-XXX (video driver, XXX depends on your hardware)
    • xserver-xorg-input-XXX (input device driver, XXX depends on your hardware. evdev works well for most cases)
    • x11-xserver-utils (xmodmap, xrandr)
    • x11-xkb-utils (setxkbmap)
  • x11-utils (xdpyinfo, xev, xkill, xprop, xwininfo)
@perveziqbal
perveziqbal / 00_notes.md
Created April 4, 2016 03:45 — forked from Deraen/00_notes.md
Compojure-api and Buddy
  • (:identity req) is auth backend independent way to access user data
  • login and logout implementation depends on auth backend
  • :current-user doesn't imply that authentication is required, route should also have :auth-rules if authentication is required
@perveziqbal
perveziqbal / reactive-programming-cycle-js.md
Created February 2, 2016 14:09 — forked from Cmdv/reactive-programming-cycle-js.md
Reactive Programming & Cycle.js list of learning material
@perveziqbal
perveziqbal / setup.sh
Created December 10, 2015 11:44
Minimal Ubuntu 15.04 with MATE
sudo apt-get update
sudo apt-get upgrade
# Prerequisits
mkdir ~/bin
sudo apt-get install curl
sudo apt-get install htop
# http://blogging.dragon.org.uk/ubuntu-minimal-install-with-mate-as-the-desktop-14-04-lts/
sudo apt-get install mate-desktop-environment-core mate-themes plymouth-theme-ubuntu-mate-logo
@perveziqbal
perveziqbal / ants.clj
Created November 12, 2015 21:20 — forked from michiakig/ants.clj
Clojure ant sim from Rich Hickey
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Ant sim ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright (c) Rich Hickey. All rights reserved.
; The use and distribution terms for this software are covered by the
; Common Public License 1.0 (http://opensource.org/licenses/cpl.php)
; which can be found in the file CPL.TXT at the root of this distribution.
; By using this software in any fashion, you are agreeing to be bound by
; the terms of this license.
; You must not remove this notice, or any other, from this software.
;dimensions of square world
@perveziqbal
perveziqbal / gist:1aa45140862ccb58bf1d
Created November 9, 2015 04:37 — forked from rtaibah/gist:0922731c452c6d1ab682
Linux Mint 17 + Xmonad on Macbook Pro Retina 15

Base installations

sudo apt-get install blueman build-essentials calcurse chromium-browser cpufrequtils gnupg2 gparted hfsprogs imagemagick linux-tools-common lxappearance mplayer rtorrent ruby skype ubuntu-restricted-essentials urlview vagrant vim xclip

System Configurations

Lastpass

@perveziqbal
perveziqbal / Custom.css
Created November 18, 2012 19:25 — forked from andrespagella/Custom.css
IR_Dark_Monokai
/**********************************************/
/*
/* IR_Dark_Monokai
/* Designed and developed by Andres Pagella (@mapagella)
/* http://www.andrespagella.com/customising-chrome-devtools
/*
/* Based on Ben Truyman's IR_Black
/* which is...
/* Based on Todd Werth's IR_Black:
/* http://blog.toddwerth.com/entries/2