Skip to content
pontikis.net
  • Blog
  • WordPress
  • Labs
  • About
  • Toggle website search
Search this website
Menu Close

tips

  1. Home>
  2. Blog>
  3. tips>
  4. tips
Read more about the article When to Restart Services or Reboot after Update on Debian or Ubuntu
Credits

When to Restart Services or Reboot after Update on Debian or Ubuntu

  • Post author:Christos Pontikis
  • Post published:October 19, 2016
  • Post category:Linux Administration
  • Reading time:3 mins read

After update Debian (or Ubuntu) using apt-get update && apt-get -V upgrade you need to know which services need restart and if system reboot is required (kernel upgrade). A common…

Continue ReadingWhen to Restart Services or Reboot after Update on Debian or Ubuntu
Read more about the article How to Start Youtube Playlist from Random Video
Credits

How to Start Youtube Playlist from Random Video

  • Post author:Christos Pontikis
  • Post published:August 6, 2014
  • Post category:Social Media
  • Reading time:1 mins read

If you want to start a Youtube playlist from random video, just add: &index=random_number to the src attribute of the embed code. The code To produce a random number, I…

Continue ReadingHow to Start Youtube Playlist from Random Video
Read more about the article Get basename and file extension with PHP or Javascript
Credits

Get basename and file extension with PHP or Javascript

  • Post author:Christos Pontikis
  • Post published:August 6, 2014
  • Post category:Web Development
  • Reading time:4 mins read

Getting file extension and basename is a common development task. PHP internal function pathinfo is very useful. But, Windows paths will not work correctly on Linux servers and vice versa.…

Continue ReadingGet basename and file extension with PHP or Javascript
Read more about the article Easily Backup Virtualbox disks using Immutable Images
Credits

Easily Backup Virtualbox disks using Immutable Images

  • Post author:Christos Pontikis
  • Post published:December 9, 2013
  • Post category:Backup
  • Reading time:4 mins read

Virtual disks (Virtualbox in our case) are very large files, that may change frequently. This is a big problem for backup. A little change (even a simple boot of virtual…

Continue ReadingEasily Backup Virtualbox disks using Immutable Images
Read more about the article How to check if a Request is AJAX call with PHP
Credits

How to check if a Request is AJAX call with PHP

  • Post author:Christos Pontikis
  • Post published:December 9, 2013
  • Post category:Web Development
  • Reading time:2 mins read

It is useful to prevent direct access of AJAX calls (from browser address bar). A solution could be the following simple function check_is_ajax(): /** * Check if request is an…

Continue ReadingHow to check if a Request is AJAX call with PHP
  • Go to the previous page
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • …
  • 9
  • Go to the next page

Categories

Archives

NewsLetter

Click here to subscribe to our free email newsletter.
Unsubscribe anytime with a click.

LIKE OUR PAGE!


Say Hello to Gutenberg with my new Free WordPress Plugin Boilerplate for Developers!

Star it on Github!


  • Opens in a new tab
  • Opens in a new tab
  • Opens in a new tab
  • Opens in a new tab
  • Opens in a new tab
  • Opens in a new tab
  • Opens in a new tab
  • Contact
  • Privacy
  • Terms
© Christos Pontikis 2013 - 2025
Close Menu