home
to by jonbaine
/*
This program is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation.to by jonbaine
#Replace <> marked args. with the correct value.
mkisofs -pad -l -J -v -V "<Name>" -no-emul-boot -boot-load-size 4 -boot-info-table -b < binary -> isolinux boot/isolinux/isolinux.bin> -c <catalog -> isolinux boot/isolinux/boot.cat> -hide-rr-moved -o <DVD.iso -- output iso> -r </tmp/DVD which dir to take>
to by jonbaine
#include <iostream>
#include <iterator>
#include <deque>
// Implementation of the observer pattern
// its implemented in the java way :Dto by jonbaine
#include <iostream>
//For the pow
#include <math.h>
// stl
#include <vector>to by jonbaine
#Generate CTAGS file for emacs / vim use... with exhuberant ctags
etags -R
#:D
to by jonbaine
-module (ejemplotcp).
-export ([main/0, servidor/0, cliente /0]).
cliente() ->
SomeHostInNet = "localhost", % to make it runnable on one machine
{ok, Sock} = gen_tcp:connect(SomeHostInNet, 5678,to by jonbaine
-module(registered).
-export([main/0, ping /0, ping /1]).
ping ()->
receive
{ping, Id} ->to by jonbaine
#!/usr/bin/expect -f
if {$argc < 4 || $argc > 5} {
puts "Usage: sshErase <file> <user> <passwd> <ip> <port(optional)>"
exit
}to by jonbaine
#include <iostream>
#include <vector>
class decissor
{
public: