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
% 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 |
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
## Sample screenrc for rtorrent | |
## put it in /etc/screen.d/ | |
## and chown for the user you | |
## who wish to run session | |
source /etc/screenrc | |
chdir /home/stuff/dump/ | |
screen -t rtorrent -d . -s . |
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
--------- 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 |
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
--------- 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 |
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
// | |
// 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" |
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
==2355== Memcheck, a memory error detector | |
==2355== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. | |
==2355== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info | |
==2355== Command: ./client | |
==2355== | |
--2355-- Valgrind options: | |
--2355-- -v | |
--2355-- --track-origins=yes | |
--2355-- Contents of /proc/version: | |
--2355-- Linux version 2.6.39-gentoo-r3 (root@newbrik) (gcc version 4.4.5 (Gentoo 4.4.5 p1.3, pie-0.4.5) ) #9 SMP PREEMPT Wed Aug 31 12:11:38 BST 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
alias j 'pgrep -P $$ > /dev/null && jobs && echo -n select: && set sel = $< && eval `echo fg %$sel`;' | |
alias jz 'pgrep -P $$ > /dev/null && jobs && echo -n select: && set sel = $< && eval `echo bg %$sel`;' | |
alias jk 'pgrep -P $$ > /dev/null && jobs && echo -n kill: && set sel = $< && eval `echo kill %$sel`;' |
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
// | |
// Hello World client | |
// Connects REQ socket to tcp://localhost:5555 | |
// Sends "Hello" to server, expects "World" back | |
// | |
#define ROLE "Client" | |
#define LOOPS 10000UL | |
#include "common.h" |
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
/** A simple Node.js script to instantly serve | |
* Processing source code as Processing.js :) | |
* | |
* This is an enhanced version which pre-procs | |
* the code, so each of the clients does not | |
* have to translate the PDE Java code into | |
* PJS. The server will re-load the file only | |
* if it has changed, in the first version | |
* that had been reloaded on each GET request! | |
* |
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
info it worked if it ends with ok | |
verbose cli [ 'node', | |
verbose cli '/opt/devel/src/work/node.git/node_modules/npm/bin/npm.js', | |
verbose cli 'submodule', | |
verbose cli 'mime' ] | |
info using npm@1.0.30 | |
info using node@v0.4.11 | |
verbose config file /home/.npmrc | |
verbose config file /usr/etc/npmrc | |
verbose cache add [ 'mime', null ] |