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 Take Screenshot from Command Line
Credits

Take Screenshot from Command Line

  • Post author:Christos Pontikis
  • Post published:August 31, 2013
  • Post category:Linux Administration
  • Reading time:1 mins read

To take a screenshot from command line (even from ssh connection) in a system running X server: xwd -out screenshot.xwd -root -display :0.0 More about xwd here. More options here.

Continue ReadingTake Screenshot from Command Line
Read more about the article How to Get Current Datetime (NOW) with PHP
Credits

How to Get Current Datetime (NOW) with PHP

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

To get current datetime (now) with PHP you can use date with any PHP version, or better datetime class with PHP >= 5.2 Various date format expressions are available here.…

Continue ReadingHow to Get Current Datetime (NOW) with PHP
Read more about the article How to find whether a variable is positive integer with PHP
Credits

How to find whether a variable is positive integer with PHP

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

PHP is_numeric() is useful to find whether a variable is a number or a numeric string. How you can check if a variable is an integer? You may use the…

Continue ReadingHow to find whether a variable is positive integer with PHP
Read more about the article Massive Change of File Permissions
Credits

Massive Change of File Permissions

  • Post author:Christos Pontikis
  • Post published:August 28, 2013
  • Post category:Linux Administration
  • Reading time:1 mins read

Use the powerful find command with exec parameter to change permissions using chmod. To change permissions to 644 for all files in /path/to, use the following command: find /path/to -type…

Continue ReadingMassive Change of File Permissions
Read more about the article Passing Array Variables using POST or GET with PHP
Credits

Passing Array Variables using POST or GET with PHP

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

A convenient way to pass a single or multidimensional (possible utf-8) array is to serialize it ("convert it to a string") and pass it using a hidden input. After post…

Continue ReadingPassing Array Variables using POST or GET with PHP
  • Go to the previous page
  • 1
  • …
  • 4
  • 5
  • 6
  • 7
  • 8
  • 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