View example.rb
require "kramdowN"
require "kramdown"
require "RubyGem"
Vehicle role definition:
H: heavium, assault tank
C: cavalry, "true" medium tank
S: scout
F: mobile fire support
D: dreadnaught, slow brick
<space>: other stuff, including arty
View 90-custom-kbd.conf
# /etc/X11/xorg.conf.d/90-custom-kbd.conf
Section "InputClass"
Identifier "keyboard defaults"
MatchIsKeyboard "on"
Option "XKbOptions" "caps:swapescape"
View gist:6477296
Starting new HTTP connection (1):
Traceback (most recent call last):
File "", line 199, in <module>
AttributeError: 'property' object has no attribute 'get_t2c4n3v3_vertices'
AL lib: (EE) alc_cleanup: 1 device not closed
def deco_factory():
print "1. Creating a decorator function"
def deco(cls):
print "3. Actually decorating the class {}".format(cls.__name__)
return cls
return deco
class M(type):
def __new__(mcls, name, bases, ns):
cls = super(M, mcls).__new__(mcls, name, bases, ns)
cls.__abstractmethods__ = ['foo']
return cls
class Base(object):
__metaclass__ = M
def foo(self):
import unittest
class Foo(object):
__abstractmethods__ = frozenset(['iter'])
class TestFoo(unittest.TestCase):
def test_init(self):
self.assertRaises(BaseException, Foo)
View colors.yaml
# Sup color scheme based on vim's wombat.
# Credit goes to
# Usage: put the file at ~/.sup/colors.yaml
# ======================================
# globals
View power_of_pointer.c
#include <stdio.h>
#include <stdlib.h>
int modify(int *num)
*num = 42;
int main()
View test.mbox
From whyme@whymeDesk Tue Apr 30 04:14:02 2013
Return-path: <whyme@whymeDesk>
Envelope-to: whyme@whymeDesk
Delivery-date: Tue, 30 Apr 2013 04:14:02 +0800
Received: from whyme by whymeDesk with local (Exim 4.80.1)
(envelope-from <whyme@whymeDesk>)
id 1UWuSY-0002qf-CB
for whyme@whymeDesk; Tue, 30 Apr 2013 04:14:02 +0800
From: whyme@whymeDesk (Cron Daemon)
To: whyme@whymeDesk