This file contains hidden or 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
(defun get-faces (pos) | |
"Get the font faces at POS." | |
(remq nil | |
(list | |
(get-char-property pos 'read-face-name) | |
(get-char-property pos 'face) | |
(plist-get (text-properties-at pos) 'face)))) |
This file contains hidden or 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
;;; logstash-conf.el -- basic mode for editing logstash configuration | |
;; Copyright (C) 2014 Wilfred Hughes <[email protected]> | |
;; | |
;; Author: Wilfred Hughes <[email protected]> | |
;; Created: 21 October 2014 | |
;; Version: 0.2 | |
;;; Commentary: | |
;; `conf-mode' offers adequate highlighting for Logstash configuration |
This file contains hidden or 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
ERROR: b not defined | |
in include at boot.jl:245 | |
in include_from_node1 at loading.jl:128 | |
in process_options at client.jl:285 | |
in _start at client.jl:354 | |
while loading /home/wilfred/projects/comparative_macrology/swap.jl, in expression starting on line 3 |
This file contains hidden or 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
Sep 3 22:36:47 localhost kernel: [18275188.609070] ata2: lost interrupt (Status 0x58) | |
Sep 3 22:36:47 localhost kernel: [18275188.612581] ata2: drained 65536 bytes to clear DRQ | |
Sep 3 22:36:47 localhost kernel: [18275191.787792] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen | |
Sep 3 22:36:47 localhost kernel: [18275191.788836] sr 1:0:0:0: CDB: | |
Sep 3 22:36:47 localhost kernel: [18275191.788844] Get event status notification: 4a 01 00 00 10 00 00 00 08 00 | |
Sep 3 22:36:47 localhost kernel: [18275191.788865] ata2.00: cmd a0/00:00:00:08:00/00:00:00:00:00/a0 tag 0 pio 16392 in | |
Sep 3 22:36:47 localhost kernel: [18275191.788865] res 40/00:02:00:08:00/00:00:00:00:00/a0 Emask 0x4 (timeout) | |
Sep 3 22:36:47 localhost kernel: [18275191.790746] ata2.00: status: { DRDY } | |
Sep 3 22:36:47 localhost kernel: [18275191.791426] ata2: soft resetting link | |
Sep 3 22:36:47 localhost kernel: [18275191.946953] ata2.00: configured for MWDMA2 |
This file contains hidden or 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
#!/bin/bash | |
BLACK=$(tput setaf 0) | |
BLUE=$(tput setaf 1) | |
GREEN=$(tput setaf 2) | |
CYAN=$(tput setaf 3) | |
RED=$(tput setaf 4) | |
MAGENTA=$(tput setaf 5) | |
YELLOW=$(tput setaf 6) | |
WHITE=$(tput setaf 7) |
This file contains hidden or 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
'From Pharo3.0 of 18 March 2013 [Latest update: #30848] on 7 June 2014 at 6:57:07.57647 pm'! | |
Object subclass: #Fizzbuzz | |
instanceVariableNames: '' | |
classVariableNames: '' | |
poolDictionaries: '' | |
category: 'Fizzbuzz'! | |
!Fizzbuzz commentStamp: '<historical>' prior: 0! | |
! | |
"-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- "! |
This file contains hidden or 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
// The Z80 is an 8-bit chip. | |
type Register = u8; | |
type ProgramCounter = u16; | |
type StackPointer = u16; | |
#[deriving(Show)] | |
struct CPU { | |
// Generic registers. | |
a: Register, | |
b: Register, |
This file contains hidden or 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
#!/bin/sh | |
# This script will setup Evm and Cask on Travis to use for Emacs Lisp testing. | |
# | |
# In .travis.yml, add Evm and Cask to PATH. | |
# | |
# - export PATH="/home/travis/.cask/bin:$PATH" | |
# - export PATH="/home/travis/.evm/bin:$PATH" | |
sudo mkdir /usr/local/evm |
This file contains hidden or 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 Data.Array | |
data Piece = | |
Pawn | Rook | Knight | Bishop | Queen | King | Empty | |
deriving Show | |
type Board = [[Piece]] | |
emptyRow = [Empty | x <- [0..7]] | |
emptyBoard = [emptyRow | x <- [0..7]] |
This file contains hidden or 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
[translation:info] Error: | |
[translation:info] File "/home/wilfred/projects/trifle/src/pypy/rpython/translator/goal/translate.py", line 318, in main | |
[translation:info] drv.proceed(goals) | |
[translation:info] File "/home/wilfred/projects/trifle/src/pypy/rpython/translator/driver.py", line 534, in proceed | |
[translation:info] return self._execute(goals, task_skip = self._maybe_skip()) | |
[translation:info] File "/home/wilfred/projects/trifle/src/pypy/rpython/translator/tool/taskengine.py", line 114, in _execute | |
[translation:info] res = self._do(goal, taskcallable, *args, **kwds) | |
[translation:info] File "/home/wilfred/projects/trifle/src/pypy/rpython/translator/driver.py", line 283, in _do | |
[translation:info] res = func() | |
[translation:info] File "/home/wilfred/projects/trifle/src/pypy/rpython/translator/driver.py", line 350, in task_rtype_lltype |