Note where home is
(RaspberryPi2)root@localhost:~# df -h /home/
Filesystem Size Used Avail Use% Mounted on
/dev/mmcblk0p4 1.6G 1.3G 160M 89% /oem
(RaspberryPi2)root@localhost:~# df -h
Note where home is
(RaspberryPi2)root@localhost:~# df -h /home/
Filesystem Size Used Avail Use% Mounted on
/dev/mmcblk0p4 1.6G 1.3G 160M 89% /oem
(RaspberryPi2)root@localhost:~# df -h
| <?php | |
| //----------------------------------------------------------/ | |
| // responsive images [ 1) add img-responsive class 2) remove dimensions ] | |
| //----------------------------------------------------------/ | |
| function bootstrap_responsive_images( $html ){ | |
| $classes = 'img-responsive'; // separated by spaces, e.g. 'img image-link' | |
| // check if there are already classes assigned to the anchor | |
| if ( preg_match('/<img.*? class="/', $html) ) { |
| #!/bin/sh | |
| SITEMAP=$1 | |
| if [ "$SITEMAP" = "" ]; then | |
| echo "Usage: $0 http://domain.com/sitemap.xml" | |
| exit 1 | |
| fi | |
| XML=`wget -O - --quiet $SITEMAP` |