This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import sys | |
import time | |
s = ('|', '/', '-', '\\', '|', '/', '-', '\\') | |
while 1: | |
for i in s: | |
sys.stdout.write(str(i)+"\r") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import curses | |
import traceback | |
import time | |
DIGIT_WIDTH = 5 | |
DIGIT_HEIGHT = 5 | |
DIGIT_SPACING = 2 | |
POINT_SPACING = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding: utf8 -*- | |
import curses | |
import curses.wrapper | |
import sys | |
import locale | |
locale.setlocale(locale.LC_ALL, '') | |
code = locale.getpreferredencoding() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[((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)]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
------------------------------------------------------------------------------- | |
-- 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 |