Sometimes its necessary that your machine gets a static IP-address. For example if you want to run a server or a other service on that machine. On Debian based machines you can do this by: Edit /etc/network/interfaces (f.e.: with nano) auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 192.168.88.6 netmask 255.255.255.0 […]
That’s very useful if you want to control your robot via wireless lan (Remote Control): https://sites.google.com/site/fabboco/home/arduino-manager-for-iphone-ipad https://itunes.apple.com/us/app/arduino-manager/id497240094?ls=1&mt=8
To shred files or partitions securely: $> shred -vun <loops> <File1> <File2> $> shred -vzn <loops> <Device> loop is the count of the loop beginning with 0 (3 means 4-times)!!! You can get the partition table as described in List of partitions or List, partitioning and format drives. If you want to shred a directory recursively, you […]
List all devices: $> sudo fdisk -l That will give you an overview about all your drives like that: Disk /dev/sda: 256.1 GB, 256060514304 bytes 255 heads, 63 sectors/track, 31130 cylinders, total 500118192 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): […]
You can get a sorted list of directory items with a combination of the ls- and sort- command: $> ls -al | sort -nk9,9 With k you can define the column(s) (here 9 till 9) to use for sorting. The parameter n results in a numeric sorting.
$> cat products_delta.xml | xmllint –format – > products_delta_lint.xml Attention: Don’t use the same file as source and destination! That will result in an empty file!
In the last time I had the problem, that my system became very slow and wasn’t usable anymore. Here are the steps I’ve taken to get rid of this problem: Cleanup old packages in the terminal: $> sudo synaptic got to Settings -> Preferences -> Files activate the bullet point Delete downloaded files after installation under Temporary […]
You can do this on the shell: $> sudo su – $> sudo echo none > /sys/class/leds/green:ph24:led1/trigger $> exit
Sometimes it is necessary to install the community channel manually. F.e. in EE. 18.104.22.168 I got the following error massage in the Magento-Connect-Manager shell when I tried to install a package via “Direct package file upload”: CONNECT ERROR: The ‘community’ channel is not installed. Please use the MAGE shell script to install the ‘community’ channel. What […]