Mount box.com as a local folder on ubuntu as webdav
|

Mount box.com as a local folder on ubuntu as webdav

Whats WebDav: Web Distributed Authoring and Versioning (WebDAV) is an extension of the Hypertext Transfer Protocol (HTTP) that facilitates collaboration between users in editing and managing documents and files stored on World Wide Web servers. Whats Box.com [.net]: Box.com is cloud-storage service like Dropbox, SugarSync and google drive. After uploading your various documents, media files,…

SSHFS mount remote file system locally over SSH
|

SSHFS mount remote file system locally over SSH

[et_pb_section admin_label=”Section” fullwidth=”on” specialty=”off”][et_pb_fullwidth_post_title admin_label=”Fullwidth Post Title” title=”on” meta=”on” author=”off” date=”on” categories=”on” comments=”off” featured_image=”on” featured_placement=”background” parallax_effect=”off” parallax_method=”on” text_orientation=”center” text_color=”dark” text_background=”on” text_bg_color=”rgba(255,255,255,0.9)” module_bg_color=”rgba(255,255,255,0)” title_all_caps=”off” use_border_color=”off” border_color=”#ffffff” border_style=”solid”] [/et_pb_fullwidth_post_title][/et_pb_section][et_pb_section admin_label=”section”][et_pb_row admin_label=”row”][et_pb_column type=”4_4″][et_pb_text admin_label=”Text” background_layout=”light” text_orientation=”left” use_border_color=”off” border_color=”#ffffff” border_style=”solid”] SSHFS is a filesystem client based on the SSH File Transfer Protocol. Since most SSH servers already support this…

PHP Image Magick Drop Shadow

PHP Image Magick Drop Shadow

Want to add a simple drop shadow on any image? well here’s how to do it on the fly via PHP and Image Magick. < ?php $img = new Imagick(‘images/image.jpg’); $img->setImageFormat(‘png’); $shadowed = $img->clone(); $drop_shadow = $img->clone(); $drop_shadow->setImageBackgroundColor( new ImagickPixel( ‘black’ ) ); $drop_shadow->shadowImage( 80, 3, 5, 5 ); $drop_shadow->compositeImage( $img, Imagick::COMPOSITE_OVER, 0, 0 );…