Skip to content

Instantly share code, notes, and snippets.

View errordeveloper's full-sized avatar

Ilya Dmitrichenko errordeveloper

View GitHub Profile
# Sphinx version: 0.6.4
# Docutils version: 0.5 release
Traceback (most recent call last):
File "/usr/lib64/python2.6/site-packages/sphinx/cmdline.py", line 169, in main
warningiserror, tags)
File "/usr/lib64/python2.6/site-packages/sphinx/application.py", line 94, in __init__
self.config = Config(confdir, CONFIG_FILENAME, confoverrides, self.tags)
File "/usr/lib64/python2.6/site-packages/sphinx/config.py", line 126, in __init__
execfile(config['__file__'], config)
File "/home/110101/devel/xmos/git/xdoc/xsphinx/conf.py", line 15, in <module>
# Sphinx version: 1.0.7
# Python version: 2.6.4
# Docutils version: 0.5 release
# Jinja2 version: 2.2.1
Traceback (most recent call last):
File "/usr/lib64/python2.6/site-packages/sphinx/cmdline.py", line 187, in main
warningiserror, tags)
File "/usr/lib64/python2.6/site-packages/sphinx/application.py", line 104, in __init__
confoverrides or {}, self.tags)
File "/usr/lib64/python2.6/site-packages/sphinx/config.py", line 168, in __init__
@errordeveloper
errordeveloper / makefile.verilator
Created August 1, 2011 17:08
Makefile for Verilator
%.newdir:
mkdir -p $(@:.newdir=) && cd $(@:.newdir=)
%.delete:
rm -rf $(@:.delete=)
test:
@echo "\
module our;\n\
initial begin $$ \bdisplay(\"Hello World\");\n$$ \bfinish;\nend\n\
include header.mk
include hashmeta-git.mk
HASH1_FORMAT = $(HASH_PATH)/$(ENV_HASH)
HASH2_FORMAT = `cat $< | $(HASH_TEXT)`
HASH2_EXTRAS += HASHMETA_GIT_LOG=$$h2/hashmeta-git.log
usage:
@echo "$@: make test.o"
@errordeveloper
errordeveloper / gist:1173211
Created August 26, 2011 11:18
Notes on Altera Quartus II ...
Default installation path: /opt/altera10.0sp1
@errordeveloper
errordeveloper / install-qda.csh
Created August 26, 2011 12:43
Install Altera device libraries (.qda)
#!/bin/tcsh -f
set quartus_version = "10.0"
set install_command = "/opt/Altera/${quartus_version}/quartus/bin/quartus_sh --qinstall"
set output_log = install-`date +%y%m%d@%H%M`-{$quartus_version}.log
set devices = ""
set counter = 0
% strace $owd/altera_installer_cmd --all -n --download_only --temp=~/ >& test.strace
execve("/home//dump/misc/bin/altera_installer_cmd", ["/home//dump/misc/bin/altera_inst"..., "--all", "-n", "--download_only", "--temp=~/"], [/* 62 vars */]) = 0
brk(0) = 0x804f000
uname({sys="Linux", node="newbrik", ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xfffffffff776b000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=178955, ...}) = 0
mmap2(NULL, 178955, PROT_READ, MAP_PRIVATE, 3, 0) = 0xfffffffff7723000
close(3) = 0
--------- beginning of /dev/log/system
I/Vold ( 67): Vold 2.1 (the revenge) firing up
D/Vold ( 67): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 67): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)
D/Vold ( 67): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted)
I/SystemServer( 98): Entered the Android system server!
I/SystemServer( 98): Entropy Service
I/SystemServer( 98): Power Manager
I/SystemServer( 98): Activity Manager
I/ActivityManager( 98): Memory class: 16
--------- beginning of /dev/log/system
I/Vold ( 67): Vold 2.1 (the revenge) firing up
D/Vold ( 67): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 67): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)
D/Vold ( 67): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted)
I/SystemServer( 98): Entered the Android system server!
I/SystemServer( 98): Entropy Service
I/SystemServer( 98): Power Manager
I/SystemServer( 98): Activity Manager
I/ActivityManager( 98): Memory class: 16
//
// Hello World client
// Connects REQ socket to tcp://localhost:5555
// Sends "Hello" to server, expects "World" back
//
#define ROLE "Client"
#include "common.h"
#define URL "tcp://localhost:5555"