apt-get update upgrade reboot | how to change a cookie php in my webpage | class rss | php date time code
 


 

Archive (60 posts)


Manage UPS Using Power Management on Ubuntu 16.04

Power Management module on Ubuntu 16.04 is a flexible tool to manage your computer UPS.

How To Setup Virtualbox on Ubuntu 16.04

A simple guide to setup Oracle Virtualbox on Ubuntu 16.04

How to Create Partition Image Backup and Restore Using Clonezilla

In this tutorial Clonezilla Live is used to create partition image and then to restore it in a virtual machine (Virtualbox).

Easily Compress and/or Encrypt Files in Linux Using 7z (p7zip) Archiver

7z is an excellent archiving software offering high compression ratio and strong AES-256 encryption.

Fix Mouse Sensitivity in Ubuntu 16.04

After installation of Ubuntu Desktop 16.04, mouse is very sensitive (practically unusable) in most systems with wireless mouse.

Package Management and System Update in Ubuntu Desktop

Find out how to add and remove software and apply system updates in Ubuntu Desktop (GUI utilities and command line version).

How to Remove Old Kernels in Debian and Ubuntu

After installing a new Linux kernel, old kernels are not automatically deleted. They remain in your disk. You have to delete them manually. Why?

How To Create Fast And Reliable Backup Using Rsnapshot

rsync is probably the most common solution for backup on Linux. rsnapshot offers advanced functionality, using rsync and perl.

Update Postgres Major Version in Debian Jessie

Upgrading to a minor version is done through the upgrade process of Debian. For major versions, the process is much more complex.

A Simple Guide to Obtain and Install an SSL Certificate

Criteria for selecting the right SSL Certificate. Detailed instructions on how to setup the certificate in a Debian server. Validate your certificate.

Upgrade Debian 7 Wheezy to 8 Jessie

A guide to upgrade a server machine from Debian 7 Wheezy to 8 Jessie using apt-get. Remember to create a full backup before.

Debian 8 Jessie Dedicated Web Server Setup Step by Step

Dedicated server setup, using Debian 8 Jessie step by step. It is a Hetzner EX40 server. Apache, php, MySQL, memcached. Basic monitoring and security tools.

Securing web applications with modsecurity on Debian Wheezy

Simple steps to enable and configure mod-security Apache module on Debian Wheezy, using Core Rule Set (CRS)

How to setup a workstation computer with Debian Wheezy and XFCE4

Debian 7 Wheezy with Xfce4 is a lightweight desktop environment, fast and user friendly. Support for sound, Flash, Nvidia and networking "out of the box".

How to setup OpenVPN on Debian server

Detailed guide to create OpenVPN server on Debian. Manage VPN users. Connect from any operating system.

Gmail smarthost with Exim4 on Debian

Avoid reverse DNS errors when sending mail from a machine without public IP or domain available. Adjust exim4 to use SMARTHOST.

How to Install PostgreSQL 9.3 on Debian 7 Wheezy

How to Install PostgreSQL 9.1 or the latest PostgreSQL version 9.3 on Debian 7 Wheezy. Basic settings after installation.

How to Create, Read, Update and Delete a Cookie with PHP or Javascript

Detailed examples to Create, Read, Update and Delete a Cookie with PHP or Javascript. Check if cookies are enabled. Manage cookies in all browsers.

PHP and Javascript Internationalization using Gettext and Poedit

gettext is an ideal way for internationalization of software application resources. It extracts terms parsing source code. Poedit is an excellent front end.

How and When To Enable MySQL Logs

Logs is the best place to start troubleshooting. Concerning MySQL (or MariaDB), you need to refer to: General query Log, Error Log and Slow Query Log

Dynamically Bind Params in Prepared Statements with MySQLi

Fortunately, it is possible to use prepared statements with MySQL and PHP using MySQLi extension. But, how to bind params, if their number is variable?

A Workaround to use Secondary icon to jQuery-UI buttons with jQuery-UI-bootstrap

Use of secondary icon in jQuery-UI button with jQuery-UI-bootstrap breaks the button layout. Here is a simple CSS fix as a workaround.

How to Auto Post on Facebook with PHP

Automatically post on Facebook with PHP using Facebook PHP SDK. How to create a Facebook app. Obtain and extend Facebook access tokens. Cron automation.

How to Auto Post on Twitter with PHP

Automatically post on Twitter with PHP using Codebird-php. How to create a Twitter app. A PHP solution with cron automation.

A Simple PHP Class to Create RSS Feed

A Simple PHP Class to Create RSS 2.0 Feed. This post covers RSS version 2.0. In simple words, an rss feed consists of a CHANNEL and channel ITEMS. You can

How to Create a jquery-ui Autocomplete Step by Step

Detailed instructions to create a jquery-ui autocomplete using php and Mysql as server side technologies. Support for prepared statements.

Upgrade Debian 6 Squeeze to 7 Wheezy

A guide to upgrade a server machine from Debian 6 Squeeze to Debian 7 Wheezy using apt-get. Remember to create a full backup before.

Install and Config Psad in Debian 7 Wheezy

Psad is an intrusion prevention software, which makes use of iptables log messages to detect and (optionally) block port scans and other suspect traffic.

Install and Config Fail2Ban in Debian 7 Wheezy

Fail2Ban is an intrusion prevention software which analyzes log files and ban possible attacks (mainly Brute-force), using firewall (iptables and more).

Debian 7 Wheezy Dedicated Web Server Setup Step by Step

Dedicated server setup, using Debian 7 Wheezy step by step. It is a Hetzner EX4S server. Apache, php, MySQL, memcached. Basic monitoring and security tools.

Memcached Installation and Configuration with PHP on Debian server

Installation and Configuration of Memcached, free & open source, high-performance, distributed memory object caching system with PHP on production Debian Server

Memcached Installation and Configuration with PHP on Arch Linux

Installation and Configuration of Memcached, free & open source, high-performance, distributed memory object caching system with PHP on Arch Linux

Clean Up your CSS code Removing Unused Selectors

Remove unused style rules to speed-up browser rendering. Use Dust-Me Selectors on Firefox, Audit tools on Chrome or tools as gtmetrix.com or unused-css.com

How to Blend Images using GIMP

GIMP Tutorial: How to Blend Images with GIMP using Layer Masks

SociaLink: Send and Receive Friend and Follow Requests

SociaLink allows two people with the app to friend or follow each other instantly and in-person on Facebook, Twitter, LinkedIn and Instagram.

Improve your Pinterest Experience in Any Browser

Cool Pinterest tools! Pin an image using right click, or pin entire screenshot, or a Twitter post or pin a quote! Measure your Pinterest influence.

Migration from initscripts to systemd on Archlinux

systemd is a new system and service manager for Linux, a replacement for sysvinit, with remarkable adoption. Archlinux will not support initscripts anymore.

Debian 7 Wheezy RC1 LAMP Server Setup Step by Step

Detailed instructions to create a LAMP server using recently released Debian 7 Wheezy RC1. We select systemd as Linux init daemon.

Is it time to Remove MySQL in favor of MariaDB in Production Servers?

Recently, many popular Linux distributions have moved from MySQL to MariaDB. Think if you have to move to MariaDB in your production servers.

How to Use PHP Improved MySQLi extension (and Why You Should)

PHP MySQL extension is deprecated. PHP MySQLi extension is Object Oriented, supports Transactions and protects from SQL Injection, using Prepared Statements.

How to Collaborate on Github Open Source Projects

Github is an ideal place to collaborate on Open Source Projects. Just fork the project, make your changes and submit a Pull request. Enjoy social coding!

Cheap Quality Images for your Blog

Get quality stock photos for your website with less than 1.00 USD at 123RF, Fotolia, Dreamstime, Depositphotos, Bigstockphoto , Photaki and more.

Speed Up your Website with Gzip Compression

Enabling GZIP compression saves bandwidth and may increase website response. Use web server logs or various online tools to check gzip compression setup.

How to Write Code for Any Database with PHP ADODB

Using php ADODB database abstraction layer, you can create PHP applications, which are functioning with many databases without modification to source code.

MySQL in a Nutshell

Using MySQL command line client and mysqldump to perform the most important tasks for everyday use, every administrator or web developer needs to know.

10 Web Development Blogs You Should Follow

10 Web Development Blogs You Should Follow: useful resources for modern web development, maintained by developers and updated almost daily.

Simple Steps to Update a Debian Server

Updating Debian Server: how to get notifications, how urgent is to upgrade, which are security updates, when reboot required, which services need restart.

BigWebStats: Free Detailed Statistics for Any Website

BigWebStats is a new online service, provides free, in-depth statistics for any website (traffic, social buzz, SEO, domain info, similar sites and more).

How to Maintain your Blog's URL Consistency

Preserve your Blog's URL consistency for better SEO results: redirect non-www to www (or the opposite), strip unwanted query string from incoming URLs.

How to Update Your Blog’s Thumbnail Image in Technorati

Update your Blog’s thumbnail image in Technorati by updating thumbnail in ShrinkTheWeb.com

Top 10 resources for jQuery plugins

Top 10 resources for jQuery plugins. The official plugin registry, unheap, jquer.in, jqueryrain, jquery4u, myjqueryplugins, and more.

Free Images for your Blog

Use Creative Commons search or Google advanced search to find free images or media for your blog. Featured resources: Pixabay, morgueFile, IconFinder.

Easily Get Important SEO information for any Webpage

Easily get important SEO information for any webpage you visit: google pagerank, indexed pages, backlinks, traffic graphs, social shares for a url.

Creating Dynamic XML Sitemaps using PHP

Creating Dynamic XML Sitemaps using PHP

Five Big Social Networks you probably Ignore

Five big Social Networks you probably ignore: Pheed, VK (Russia), Sina Weibo & RenRen (China), Indyarocks (India)

Dance Sirtaki with Zorba the Greek in your Browser

Dance Sirtaki with Zorba the Greek in your Browser. An amazing 8-bit video game.

Mark Zuckerberg and Bill Gates urge kids to learn coding

Every student in every school should have the opportunity to learn to code, said Code.org, a non-profit foundation dedicated to growing computer education.

Easily Share to Social Media using Links

Use share links to easy share to social networks, as an alternative of share buttons.

Five Reasons to use Debian as a Server

Debian should be the first choice for server, as it offers Upgradability, Security, Stability, Packages pre-configuration and it's Free and Open Source.

Handling Dates with PHP5 in Any Database

You can handle dates in php5 in any database storing date as string in varchar(14) fields and format UTC yyyymmddhhnnss