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
$ cabal install | |
Resolving dependencies... | |
In order, the following would be installed: | |
hashtables-1.1.2.1 (reinstall) changes: hashable-1.1.2.5 -> 1.2.1.0 | |
unordered-containers-0.2.4.0 (reinstall) changes: hashable-1.1.2.5 -> 1.2.1.0 | |
accelerate-0.14.0.0 (reinstall) changes: hashable-1.1.2.5 -> 1.2.1.0 | |
accelerate-io-0.14.0.0 (reinstall) | |
$ | |
$ cabal install hashtables-1.1.2.1 unordered-containers-0.2.4.0 accelerate-0.14.0.0 accelerate-io-0.14.0.0 | |
Resolving dependencies... |
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
;; define several class of keywords | |
(setq mylsl-keywords (quote (".*" "{" "}" "class" "extends" "implements" "interface" ";" "throws" "(" ")" ":" "=" "," "else" "finally" "while" "." "instanceof" "?" "||" "&&" "|" "^" "&" "==" "!=" "<" ">" "<=" ">=" "<<" ">>" ">>>" "+" "-" "*" "/" "%" "++" "--" "[" "]" ".this" ".class"))) | |
(setq mylsl-types (quote (";" "abstract" "final" "public" "protected" "private" "transient" "volatile" "native" "synchronized" "static" "char" "short" "int" "long" "float" "double" "byte" "boolean" "[]" "super" "this" "null" "true" "false" "+" "-" "~" "!" "=" "*=" "/=" "%=" "+=" "-=" "<<=" ">>=" ">>>=" "&=" "^=" "|="))) | |
(setq mylsl-functions (quote ("package" "import" "final" "{" "case" "default" "if" "switch" "else if" "break" "continue" "return" "throw" "synchronized" "try" "catch" "while" "do" "for" "(" "++" "--" "new" "["))) | |
;; create the regex string for each class of keywords | |
(setq mylsl-keywords-regexp (regexp-opt mylsl-keywords (quote words))) | |
(setq mylsl-types-regexp (regexp-opt my |
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
actor image_receiver() int(size=9) IMAGE_IN ==> String ACK_OUT : | |
procedure showImage (List(type:int(size=9),size=9) img) | |
begin | |
println(img[0] + img[1] + img[2] + "\n" + | |
img[3] + img[4] + img[5] + "\n" + | |
img[6] + img[7] + img[8] | |
); | |
end |
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
actor image_sender() String ACK_IN ==> int(size=9) IMAGE_OUT : | |
List(type: int(size=9), size=9) image = [ | |
123, 222, 242, | |
109, 13, 1, | |
209, 224, 96 | |
]; | |
bool sent := false; |
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
[rob@serena atomic-primops]$ which ghc | |
~/sw/ghc/ghc-7.8.20140130-BUILD/bin/ghc | |
[rob@serena atomic-primops]$ | |
[rob@serena atomic-primops]$ cabal install primitive --reinstall | |
Resolving dependencies... | |
In order, the following will be installed: | |
primitive-0.5.1.0 (reinstall) | |
Warning: Note that reinstalls are always dangerous. Continuing anyway... | |
Configuring primitive-0.5.1.0... | |
Building primitive-0.5.1.0... |
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
=erl_crash_dump:0.2 | |
Sun Jan 26 17:33:30 2014 | |
Slogan: init terminating in do_boot () | |
System version: Erlang R16B02 (erts-5.10.3) [source] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false] | |
Compiled: Mon Nov 25 18:08:35 2013 | |
Taints: | |
Atoms: 7393 | |
=memory | |
total: 7983848 | |
processes: 3104436 |
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
!SESSION 2014-01-07 17:01:00.928 ----------------------------------------------- | |
eclipse.buildId=M20120914-1800 | |
java.version=1.7.0_45 | |
java.vendor=Oracle Corporation | |
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US | |
Command-line arguments: -os linux -ws gtk -arch x86_64 | |
!ENTRY org.eclipse.equinox.p2.operations 4 0 2014-01-07 17:02:21.640 | |
!MESSAGE Operation details | |
!SUBENTRY 1 org.eclipse.equinox.p2.director 4 1 2014-01-07 17:02:21.640 |
This file has been truncated, but you can view the full file.
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
* OK [CAPABILITY IMAP4REV1 AUTH=LOGIN IDLE MOVE] IMAP4rev1 DavMail 4.4.0-2198 server ready | |
IMAP warning: SSL support not available | |
gpg: original file name='.mbsyncpass' | |
gpg: WARNING: message was not integrity protected | |
*** IMAP Warning *** Password is being sent in the clear | |
>>> 1 LOGIN <user> <pass> | |
1 OK Authenticated | |
>>> 2 LIST "" "*" | |
* LIST (\HasChildren) "/" "Archives" | |
* LIST (\HasNoChildren) "/" "Archives/2011" |
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
#include <stdio.h> | |
int main(){ | |
int i, j, k; | |
do { | |
if (i == 6){ | |
k=0; | |
} | |
else{ | |
i++; |
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
~/sw/erc/erc hides ~/.emacs.d/erc | |
/home/rob/.emacs.d/elpa/auctex-11.87/tex hides ~/.emacs.d/tex | |
/home/rob/.emacs.d/elpa/auctex-11.87/tex-info hides /usr/share/emacs/site-lisp/auctex/tex-info | |
/home/rob/.emacs.d/elpa/auctex-11.87/tex-jp hides /usr/share/emacs/site-lisp/auctex/tex-jp | |
/home/rob/.emacs.d/elpa/auctex-11.87/context-nl hides /usr/share/emacs/site-lisp/auctex/context-nl | |
/home/rob/.emacs.d/elpa/auctex-11.87/font-latex hides /usr/share/emacs/site-lisp/auctex/font-latex | |
/home/rob/.emacs.d/elpa/auctex-11.87/context-en hides /usr/share/emacs/site-lisp/auctex/context-en | |
/home/rob/.emacs.d/elpa/auctex-11.87/tex-buf hides /usr/share/emacs/site-lisp/auctex/tex-buf | |
/home/rob/.emacs.d/elpa/auctex-11.87/toolbar-x hides /usr/share/emacs/site-lisp/auctex/toolbar-x | |
/home/rob/.emacs.d/elpa/auctex-11.87/multi-prompt hides /usr/share/emacs/site-lisp/auctex/multi-prompt |