Feeds:
Posts
Comments

Archive for February, 2011

select

http://www.lowtek.com/sockets/select.html One traditional way to write network servers is to have the main server block on accept(), waiting for a connection. Once a connection comes in, the server fork()s, the child process handles the connection and the main server is able to service new incoming requests. With select(), instead of having a process for each [...]

Read Full Post »

http://ozark.hendrix.edu/~burch/cs/230/cso/ch13-sub/index.html Assembly programmers divide the registers into caller-save registers and callee-save registers. Caller-save registers are those that the subroutine may change, such as R0 through R3 in the ARM convention described above: They are caller-save because since a caller of a subroutine must save the registers’ values if it wants the values after the subroutine completes. Callee-save registers are those that [...]

Read Full Post »

gnome-terminal + ssh + command

gnome-terminal -e “ssh -t username@remote_machine ‘command; bash -l’”

Read Full Post »

Follow

Get every new post delivered to your Inbox.