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
# Maintainer: Øyvind 'Mr.Elendig' Heggstad <mrelendig@har-ikkje.net> | |
pkgname=xorg-xpyb-git | |
pkgver=1.3.1_1_ged0147e | |
pkgrel=1 | |
pkgdesc="XCB-based Python bindings for the X Window System" | |
url="http://xcb.freedesktop.org/" | |
license=('X11') | |
arch=('i686' 'x86_64') | |
depends=('python2' 'xcb-proto' 'libxcb>=1.7') |
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 python3 | |
import time | |
def get_raw_data(): | |
with open("/proc/stat") as s_fd: | |
data = [l.strip().split() for l in s_fd if l.startswith("cpu")] | |
data = {e[0]: [int(x) for x in e[1:]] for e in data} | |
return data |
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
import XMonad | |
import XMonad.Hooks.DynamicLog | |
myConfig = defaultConfig { modMask = mod4Mask } | |
main = xmonad =<< xmobar myConfig |
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
commit 486217d7a2779d35c1177c7b1b7e96c1e5d30441 (HEAD, refs/remotes/origin/python, refs/heads/python) | |
Author: Daniel Micay <danielmicay@gmail.com> | |
Date: Thu Jan 3 02:53:05 2013 -0500 | |
add missing $(CFG_PYTHON) prefixes | |
diff --git a/mk/docs.mk b/mk/docs.mk | |
index 2a7b3ec..9f64712 100644 | |
--- a/mk/docs.mk | |
+++ b/mk/docs.mk |
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: adam vogt <vogt. adam at gmail.com> | |
# Package generated by cabal2arch 0.6 | |
pkgname=xmonad-contrib-darcs | |
pkgrel=1 | |
pkgver=20121207 | |
pkgdesc="Third party extensions for xmonad" | |
url="http://hackage.haskell.org/package/xmonad-contrib" | |
license=('custom:BSD3') | |
arch=('i686' 'x86_64') | |
conflicts=('xmonad-contrib') |
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
[oh@Alice][~/build/bpython-hg]% bpython-urwid | |
Traceback (most recent call last): | |
File "/usr/bin/bpython-urwid", line 9, in <module> | |
load_entry_point('bpython==mercurial', 'console_scripts', 'bpython-urwid')() | |
File "/usr/lib/python3.3/site-packages/bpython/urwid.py", line 1302, in main | |
myrepl.main_loop.screen.run_wrapper(run_with_screen_before_mainloop) | |
File "/usr/lib/python3.3/site-packages/urwid/raw_display.py", line 237, in run_wrapper | |
return fn() | |
File "/usr/lib/python3.3/site-packages/bpython/urwid.py", line 1253, in run_with_screen_before_mainloop |
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
[oh@Alice][~/build/bpython-hg]% bpython-urwid | |
Traceback (most recent call last): | |
File "/usr/bin/bpython-urwid", line 9, in <module> | |
load_entry_point('bpython==mercurial', 'console_scripts', 'bpython-urwid')() | |
File "/usr/lib/python3.3/site-packages/pkg_resources.py", line 337, in load_entry_point | |
return get_distribution(dist).load_entry_point(group, name) | |
File "/usr/lib/python3.3/site-packages/pkg_resources.py", line 2312, in load_entry_point | |
return ep.load() | |
File "/usr/lib/python3.3/site-packages/pkg_resources.py", line 2018, in load | |
entry = __import__(self.module_name, globals(),globals(), ['__name__']) |
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
[oh@Alice][~/build/bpython-hg]% bpython | |
Traceback (most recent call last): | |
File "/usr/bin/bpython", line 9, in <module> | |
load_entry_point('bpython==mercurial', 'console_scripts', 'bpython')() | |
File "/usr/lib/python3.3/site-packages/bpython/cli.py", line 1912, in main | |
banner=banner) | |
File "/usr/lib/python3.3/site-packages/bpython/cli.py", line 1809, in curses_wrapper | |
return func(stdscr, *args, **kwargs) | |
File "/usr/lib/python3.3/site-packages/bpython/cli.py", line 1882, in main_curses | |
exit_value = clirepl.repl() |
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
import XMonad | |
import XMonad.Layout.ResizableTile | |
import XMonad.Util.EZConfig | |
myLayout = rt ||| mirror rt ||| Tall | |
where | |
rt = ResizableTall 1 (3/100) (1/2) [] | |
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
[Desktop Entry] | |
Encoding=UTF-8 | |
Name=XMonad | |
Comment=XMonad ftw! | |
Exec=/usr/bin/xmonad | |
TryExec=/usr/bin/xmonad | |
Type=XSession |
NewerOlder