Skip to main content

Grzegorz Wierzowiecki

Grzegorz Wierzowiecki's Public Library

May 28, 16

"Copy boot_enable_ssh.rc to boot.rc from /boot in the Raspberry Pi's rootfs (SD card)
Still in the Raspberry Pi's rootfs, edit /etc/network/interfaces in order to have a fixed IP address assigned (so no DHCP server is needed). For example,
auto lo eth0
iface lo inet loopback
iface eth0 inet static
address 192.168.0.202
netmask 255.255.255.0
gateway 192.168.0.200
Boot your Raspberry Pi, use an Ethernet cable to connect it to the same network that your PC is connected to (or connect it directly to your PC) and login via SSH:
ssh pi@192.168.0.202
Install a light VNC server in your Raspberry Pi:
sudo apt-get install tightvncserver
Then start the VNC server (you'll be asked to set a password):
vncserver :1 -name RasPi -depth 16 -geometry 1024x768
Install a VNC client in your PC:
apt-get install xtightvncviewer
Then connect to your Raspberry Pi via VNC from your PC:
xtightvncviewer 192.168.0.202:1"

May 26, 16

"mutt -f imaps://mail.yourdomain.com/
Once you’ve connected and logged in, press SHIFT-D (uppercase d). The status bar of mutt should show:

Delete messages matching:
Type in ~s .* so that the line looks like:

Delete messages matching: ~s .*"

(...)

Or even simpler

D~A

May 26, 16

"
DELETE MESSAGES CONTAINING A KEYWORD IN MUTT
Tagged mutt, mail, bulk, delete  Languages bash
Bulk operations in mutt, a console based email client, are easy. Here's how to delete messages containing the keyword 'Newsletter'.

T
Newsletter
;
d
$
T - asks which messages you want to tag and you reply with 'Newsletter'.

; - asks which action you want to run on the tagged messages.

d - tells that the action you want is delete.

$ - synchronizes the view with the underlying persistence layer.

 
aktagon|Creative Commons Attribution 3.0 License|About this site"

1 - 20 of 9457 Next › Last »
20 items/page

Diigo is about better ways to research, share and collaborate on information. Learn more »

Join Diigo