Padding File names with zeros
need to pad some file names with zeros? couldnt be simpler!
for f in foo[0-9]*; do mv $f `printf foo%05d ${f#foo}`; done
rename 's/\d+/sprintf("%05d",$&)/e' foo*
I just noticed I had 8 kernels installed on a machine. dont need but one…. so I rebooted to make sure I was using the newest, and removed all the old ones via these simple commands : Ubuntu / Debian / dpkg / Apt: dpkg -l ‘linux-*’ | sed ‘/^ii/!d;/'”$(uname -r | sed “s/\(.*\)-\([^0-9]\+\)/\1/”)”‘/d;s/^[^…
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,…
PHP PDO MySQL Needed to make a simple php script with mysql in it, so I decided to use PDO because… well peer pressure 😐 so heres a basic PHP PDO MYsql script. The idea is I have a table called table with a field called field in a database called somedatabase. We have 1000…
WordPress is a popular content management system (CMS) used to create and manage websites. It allows users to easily create and publish content using a user-friendly interface. Running WordPress in a Docker container allows for easier management, scalability, and portability of the WordPress installation. It provides a consistent environment for running WordPress, simplifies deployment, and allows for easy testing and experimentation with different configurations.
Appwrite is an open-source backend-as-a-service (BaaS) platform that simplifies the development process for web and mobile applications by providing pre-built tools and services for server-side logic, data storage, and authentication. BaaS platforms like Appwrite can speed up development, improve scalability, enhance security, and reduce costs for developers.
[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”] Just found this snippet in one of my local snippet files. i think I got this from some blog…….