VBoxManage sharedfolder add “VM name” –name “sharename” –hostpath “C:\test”
Tagged: shell RSS
-
bayu
-
bayu
VBoxManage clonehd VBoxManage createvm V…
quick-and-dirty guide how to produce new vbox from pre-made vdi
VBoxManage clonehd [sourcevdi] [new_vdi]
VBoxManage createvm –name [new_vm_name] –ostype [ostype] –register
VBoxManage modifyvm [new_vm_name] –memory [mem] –nic1 bridged –bridgeadapter1 [ethx] –vrdp on –vrdpport [port]
VBoxManage storagectl [new_vm_name] –name “IDE” –add ide –controller PIIX4
VBoxManage storageattach [new_vm_name] –storagectl “IDE” –port 0 –device 0 –type hdd –medium [new_vdi]
VBoxManage storageattach [new_vm_name] –storagectl “IDE” –port 1 –device 0 –type hdd –medium /path/to/iso-ora-iso -
bayu
linux command lines cheatsheet
-
bayu
command line vlc streaming how to
http://wiki.videolan.org/Documentation:Streaming_HowTo/Command_Line_Examples
-
bayu
quickly and easily creating daemons with perl
use Proc::Daemon;
use Proc::PID::File; -
bayu
vi search and replace
all lines :%s/search_string/replacement_string/g OR :1,$s/search_string/replacement_string/g
some lines :5,20s/search_string/replacement_string/g -
bayu
I use these to do mail-to-db: http://download.gna.org/hpr/fetchmail/FAQ/gmail-pop-howto.html AND http://www.evolt.org/incoming_mail_and_php AND http://userpages.umbc.edu/~ian/procmail.html
-
bayu
perl read STDIN: while () { print $_; }
-
bayu
php read STDIN
$fp = fopen(‘php://stdin’, ‘r’); while($line = fgets($fp, 4096)) { echo $line; }; -
bayu
the other half (cron-ed php script)
mysql_query(‘SELECT * FROM kerja ORDER by id ASC LIMIT 1′)$ret=system(‘/usr/bin/uptime’);
$ret=trim($ret);
lukman 5:54 pm on March 12, 2010 Permalink
http://www.zedge.net/ringtones/