How to autorun a Python script using systemd. How to create own systemd service using Python script. How to configure Python script to start...
Wow Easy For Beginner
How to autorun a Python script using systemd. How to create own systemd service using Python script. How to configure Python script to start...
PHP function function getMonthDayNum($month, $year) { $month = (int)$month; $year = (int)$year; $days = 30; switch ($month) { case 1...
The following guide describes how to configire Nginx and PHP-FPM to use Sockets on Centos 6. This guide assumes you have already installed a...
var serialize = function(obj, prefix) { var str = [], p; for(p in obj) { if (obj.hasOwnProperty(p)) { var k = prefix ? prefix...
Do you know a fast and simple way to encode a Javascript Object into a string that I can pass via a GET Request? No jQuery, no other framew...
Here's the most straightforward way to create a drawing application with canvas: Attach a mousedown, mousemove, and mouseup event list...
Well, first of all, this is my folder structure: images/ image1.png image11.png image111.png image223.png generate_zip.php And this i...
The following PHP function returns the time, when a directory has last been modified. The function checks the each of the files in the direc...
Nginx is an event driven web server, that is why it is a perfect choice to create your own CDN server. In order to build your own cdn server...
Sometime you may need to recover a table when all you have is the .ibd file. In this case, if you try to load it into a new instance, your ...
In the previous few tutorials we have seen an example relating to TableLayout they are Basic Android Table Layout and Buidling Dynamic Table...
After my previous post about working with sqlite3 on #perl, here’s an other quick script to explore how to use this simple DB in #bash. #!/...
I don’t usually need to convert string case in C++ so when the need comes up I’ve usually forgotten how to do it and have to Google. While t...
[DllImport("user32.dll")] [return: MarshalAs(UnmanagedType.Bool)] static extern bool SetForegroundWindow(IntPtr hW...
One of the quickest and easiest website performance optimizations is decreasing image loading. That means a variety of things, including mi...
Example I've deliberately made the image quite a large filesize so you'll have a chance to see the 'loading…' message b...
On a recent project we needed to add UTM query parameters (for Google Analytics tracking) to all outbound links to a specific domain. I did...
Many times systems faced low memory issues of Linux systems running a while. The reason is that Linux uses so much memory for disk cache is ...
Using json_encode and JSON_UNESCAPED_UNICODE constants json_encode($response,JSON_UNESCAPED_UNICODE) Using json_encode, iconv and preg_mat...
I’ve seen many web crawlers written in other languages like PHP, Python, Ruby, etc. However, there’s no one that notices node.js is also goo...