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 / scala-course.md
Created January 26, 2016 14:31
scala course

Haskell

Haskell/FP

  • folds
  • lazy evaluation
  • IO
  • type classes

Haskell/FP Essentials

@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 / .emacs
Created December 4, 2012 12:46
final .emacs file
;; emacs 23 config
(add-to-list 'load-path "~/.emacs.d/")
(add-to-list 'load-path "~/.emacs.d/elpa/ecb-20120612.1129")
(add-to-list 'load-path "~/.emacs.d/elpa/color-theme-20080305.834")
(add-to-list 'load-path "~/.emacs.d/elpa/color-theme-tango-0.0.2")
(add-to-list 'load-path "~/.emacs.d/elpa/zenburn-theme-20121110.837")
(add-to-list 'load-path "~/.emacs.d/elpa/auto-complete-20121022.2254")
(add-to-list 'load-path "~/.emacs.d/elpa/helm-20121104.1900")
@perveziqbal
perveziqbal / .emacs
Created November 26, 2012 14:23
test .emacs
(add-to-list 'load-path "~/.emacs.d/")
(add-to-list 'load-path "~/.emacs.d/elpa/")
(require 'package)
(setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/")
("marmalade" . "http://marmalade-repo.org/packages/")
("melpa" . "http://melpa.milkbox.net/packages/")))
(package-initialize)
(setq x-select-enable-clipboard t) ;; work with clipbaord
@perveziqbal
perveziqbal / .emacs
Created November 21, 2012 13:14
my current .emacs file
(setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/")
("marmalade" . "http://marmalade-repo.org/packages/")
("melpa" . "http://melpa.milkbox.net/packages/")))
(load-file "~/.emacs.d/elpa/gtags-3.3/gtags.el")
(load-file "~/.emacs.d/elpa/popup-20121020.1203/popup.el")
(load-file "~/.emacs.d/elpa/auto-complete-20121022.2254/auto-complete.el")
(fset 'yes-or-no-p 'y-or-n-p)