Skip to content

Instantly share code, notes, and snippets.

View MrElendig's full-sized avatar
🐈

MrElendig

🐈
  • Nazi moonbase (on the moon)
View GitHub Profile
#!/usr/bin/python
import sys
import time
s = ('|', '/', '-', '\\', '|', '/', '-', '\\')
while 1:
for i in s:
sys.stdout.write(str(i)+"\r")
We couldn’t find that file to show.
#!/usr/bin/python
"""
XTerm Colour Chart 2.0
Ian Ward, 2007
This file is in the Public Domain, do with it as you wish.
"""
import sys
We couldn’t find that file to show.
#!/usr/bin/env python
import curses
import traceback
import time
DIGIT_WIDTH = 5
DIGIT_HEIGHT = 5
DIGIT_SPACING = 2
POINT_SPACING = 0
#!/usr/bin/python
# -*- coding: utf8 -*-
import curses
import curses.wrapper
import sys
import locale
locale.setlocale(locale.LC_ALL, '')
code = locale.getpreferredencoding()
# Contributor: shild <sxp@bk.ru>
# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
pkgname=haskell-x11
pkgver=1.5.0.0
pkgrel=2
pkgdesc="A Haskell binding to the X11 graphics library."
arch=(i686 x86_64)
url="http://hackage.haskell.org/cgi-bin/hackage-scripts/package/X11"
license=('BSD')
depends=(sh)
We couldn’t find that file to show.
[((m .|. modMask, key), screenWorkspace sc >>= flip whenJust (windows . f))
| (key, sc) <- zip [xK_w, xK_e] [0..]
, (f, m) <- [(W.view, 0), (W.shift, shiftMask)]]
-------------------------------------------------------------------------------
-- xmonad.hs for xmonad-darcs
-- Author: Øyvind 'Mr.Elendig' Heggstad <mrelendig AT har-ikkje DOT net>
-------------------------------------------------------------------------------
-- Imports --
-- stuff
import XMonad
import qualified XMonad.StackSet as W
import qualified Data.Map as M
import System.Exit