Instalando Ubuntu en un HP EliteBook 8440p
* Version 9.04 (Jaunty), no reconoce la interfaz de red
* Version 10.04 (Lucid Lynx), no funciona el video a la hora de instalacion.
Solucion:
= Selecionar la opcion de adicionar parametros de boot =
- sustituir splash por nosplash
- adicionar nomodeset xforcevesa
martes, 12 de octubre de 2010
jueves, 5 de agosto de 2010
Perl regex
Hace unos dias me pregunto alguien como sustituir el $ por un caracter n veces, despues de buscar encontre que es asi:
#!/usr/bin/perl
$cadena="uno";
$cadena =~ s/$/" " x 2 /e;
print $cadena;
Referencia: Perlop
#!/usr/bin/perl
$cadena="uno";
$cadena =~ s/$/" " x 2 /e;
print $cadena;
Referencia: Perlop
miércoles, 17 de marzo de 2010
Comandos protocolo POP...
telnet machine 110
POP commands:
USER uid Log in as "uid"
PASS password Substitue "password" for your actual password
STAT List number of messages, total mailbox size
LIST List messages and sizes
RETR n Show message n
DELE n Mark message n for deletion
RSET Undo any changes
QUIT Logout (expunges messages if no RSET)
TOP msg n Show first n lines of message number msg
POP commands:
USER uid Log in as "uid"
PASS password Substitue "password" for your actual password
STAT List number of messages, total mailbox size
LIST List messages and sizes
RETR n Show message n
DELE n Mark message n for deletion
RSET Undo any changes
QUIT Logout (expunges messages if no RSET)
TOP msg n Show first n lines of message number msg
viernes, 12 de febrero de 2010
Just Another Perl / Unix Hacker
#!/usr/bin/perl
@P=split//,".URRUU\c8R";@d=split//,"\nrekcah xinU / lreP rehtona tsuJ";sub p{@p{"r$p","u$p"}=(P,P);pipe"r$p","u$p";++$p;($q*=2)+=$f=!fork;map{$P=$P[$f^ord ($p{$_})&6];$p{$_}=/ $P/ix?$P:close$_}keys%p}p;p;p;p;p;map{$p{$_}=~/^[P.]/&&close$_}%p;wait until$?;map{/^r/&&<$_>}%p;$_=$d[$q];sleep rand(2)if/\S/;print
Referencia:
@P=split//,".URRUU\c8R";@d=split//,"\nrekcah xinU / lreP rehtona tsuJ";sub p{@p{"r$p","u$p"}=(P,P);pipe"r$p","u$p";++$p;($q*=2)+=$f=!fork;map{$P=$P[$f^ord ($p{$_})&6];$p{$_}=/ $P/ix?$P:close$_}keys%p}p;p;p;p;p;map{$p{$_}=~/^[P.]/&&close$_}%p;wait until$?;map{/^r/&&<$_>}%p;$_=$d[$q];sleep rand(2)if/\S/;print
Referencia:
Suscribirse a:
Entradas (Atom)