Skip to content

Instantly share code, notes, and snippets.

View nex3's full-sized avatar

Natalie Weizenbaum nex3

  • Google
  • Seattle
View GitHub Profile
X: warning; process set to priority -1 instead of requested priority 0
X.Org X Server 1.5.2
Release Date: 10 October 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-19-server i686 Ubuntu
Current Operating System: Linux Clara 2.6.27-9-generic #1 SMP Thu Nov 20 21:57:00 UTC 2008 i686
Build Date: 24 October 2008 08:00:16AM
xorg-server 2:1.5.2-2ubuntu3 (buildd@rothera.buildd)
Before reporting problems, check http://wiki.x.org
X.Org X Server 1.5.2
Release Date: 10 October 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-19-server i686 Ubuntu
Current Operating System: Linux Clara 2.6.27-9-generic #1 SMP Thu Nov 20 21:57:00 UTC 2008 i686
Build Date: 24 October 2008 08:00:16AM
xorg-server 2:1.5.2-2ubuntu3 (buildd@rothera.buildd)
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
X.Org X Server 1.5.2
Release Date: 10 October 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-19-server i686 Ubuntu
Current Operating System: Linux Clara 2.6.27-9-generic #1 SMP Thu Nov 20 21:57:00 UTC 2008 i686
Build Date: 24 October 2008 08:00:16AM
xorg-server 2:1.5.2-2ubuntu3 (buildd@rothera.buildd)
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
@nex3
nex3 / gist:36969
Created December 17, 2008 06:42 — forked from Sutto/gist:36673
// General PowWow Stylesheets
=round_corners( !radius_tl = 1em, !radius_tr = !radius_tl, !radius_br = !radius_tl, !radius_bl = !radius_tr )
:-moz-border-radius
:topleft= !radius_tl
:topright= !radius_tr
:bottomleft= !radius_bl
:bottomright= !radius_br
:-webkit-border
:top
=mandelbrot(!img_width, !img_height, !iterations=100, !center_x=-0.7, !center_y=0.0, !width=3)
!height = !width * !img_height / !img_width
!x_start = !center_x - !width / 2
!y_start = !center_y - !height / 2
!x_scale = !width / !img_width
!y_scale = !height / !img_height
@for !xpx from 0 to !img_width
@for !ypx from 0 to !img_height
!x = !x_start + !xpx * !x_scale
!y = !y_start + !ypx * !y_scale
[submodule "haml"]
path = haml
url = git://github.com/nex3/haml.git
(add-hook 'after-make-frame-functions
(lambda (frame)
(set-frame-font "Monospace-10")))
diff --git a/game.c b/game.c
index 89bbb33..aaa5221 100644
--- a/game.c
+++ b/game.c
@@ -23,6 +23,11 @@
#define GAME_TITLE "Beret"
+#ifdef __WIN32__
+#define DIRSEP "\\"
## Rubygems documentation lookup
## From http://stephencelis.com/archive/2008/6/bashfully-yours-gem-shortcuts
gemdoc() {
local gemdir=`gem env gemdir`
gnome-open $gemdir/doc/`ls $gemdir/doc/ | grep $1 | sort | tail -1`/rdoc/index.html
}
_gemdocomplete() {