Skip to content

Instantly share code, notes, and snippets.

==> Build Environment
CC: /usr/bin/cc
CXX: /usr/bin/c++
LD: /usr/bin/cc
CFLAGS: -O3 -march=core2 -msse4.1 -w -pipe
CXXFLAGS: -O3 -march=core2 -msse4.1 -w -pipe
MAKEFLAGS: -j2
==> Downloading http://downloads.sourceforge.net/project/ghostscript/GPL%20Ghostscript/8.71/ghostscript-8.71.tar.gz
File already downloaded and cached to /Users/valrus/Library/Caches/Homebrew
/usr/bin/tar xf /Users/valrus/Library/Caches/Homebrew/ghostscript-8.71.tar.gz
@valrus
valrus / biscuit.kv
Created January 2, 2013 00:26
Letter widget doesn't show up
#:kivy 1.1.0
<Tile>:
size_hint: (None, None)
canvas.before:
PushMatrix
Translate:
xy: (self.x, self.y)
Scale:
[18:00:21] - naamio.fi.eu.synirc.net Message of the Day -
[18:00:21] - 24/10/2012 20:26
[18:00:21] -
[18:00:21] - ....... .
[18:00:21] - ......?NMMNMMMMMMNMMMD,. .
[18:00:21] - .. :MMMMMMMMMMMMMMMMMMMMMMMM$...
[18:00:21] - ....NMMMMMMMMMMMMMMMMMMMMMMMMMMMMN=. .
[18:00:21] - ..:NMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM$ ,
[18:00:21] - . MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM~.
[18:00:21] - ..DNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMN..
@valrus
valrus / bare_svg_nocollapse.html
Last active June 20, 2016 20:07
SVG element collapses
<!DOCTYPE HTML>
<html><head><meta charset="UTF-8"><title>Keyboard</title><style>html,head,body { padding:0; margin:0; }
body { font-family: calibri, helvetica, arial, sans-serif; }</style>
</head>
<body>
<svg style="border: 1px solid black" height="300px" width="400px">
<path d="" stroke-width="1" stroke="black" fill="none"></path>
</svg>
</body>
</html>
@valrus
valrus / userChrome.css
Last active February 12, 2020 21:46
Favicons on the left with hover for close button in Firefox 57
/*
* Adapted from https://gist.github.com/bramus/724503
* with help from https://support.mozilla.org/en-US/questions/1157451
*
* Do not remove the @namespace line -- it's required for correct functioning
* set default namespace to XUL
*/
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* move favicon, throbber and text to the right so that the close button appears on the left */
@valrus
valrus / biscuit.kv
Last active September 13, 2017 05:36
where's the label?
#:kivy 1.5.0
<Tile>:
size_hint: (None, None)
anchor_x: 'center'
anchor_y: 'center'
canvas.before:
PushMatrix
Translate:

Keybase proof

I hereby claim:

  • I am valrus on github.
  • I am valrus (https://keybase.io/valrus) on keybase.
  • I have a public key ASBA1JALqKtgMhDynpqZVg7HnPNJ1UGMwA-IbDWhs_KRCQo

To claim this, I am signing this object:

@valrus
valrus / rockbox_songs.txt
Created January 18, 2020 19:11
Songs available at the Rockbox karaoke bar in Seattle
This file has been truncated, but you can view the full file.
10 Years - Beautiful
10 Years - Through the Iris
10 Years - Wasteland
10,000 Maniacs - Because the Night
10,000 Maniacs - Candy Everybody Wants
10,000 Maniacs - More Than This
10,000 Maniacs - These Are Days
10,000 Maniacs - Trouble Me
10cc - Don't Turn Me Away
10cc - Donna