• BLOG
  • ARCHIVE
  • ABOUT
  • GITHUB
  • RSS
  • Centos 7 upgrade PHP to PHP 7

    Dec 16, 2015

    PHP 7 is available, let’s upgrade with this PHP7 upgrade step-by-step tutorial.

    Continue reading
  • Nodejs memory limit, fatal error js allocation failed - process out of memory

    Dec 10, 2015

    If you get Fatal error js allocation failed - process out of memory when processing large datasets on NodeJS, you should increase memory limit. Learn how to.

    Continue reading
  • Quick tip: using nano with crontab editor

    Nov 30, 2015

    Ever wondered how to use nano instead of vi when editing crontab file?

    1
    sudo env EDITOR=nano crontab -e

    Continue reading
  • How to install NodeJS 4 (or Node 5), NPM and PM2 on Centos 7

    Nov 27, 2015

    Third article in our series (check the first one, the second one), now let’s install NodeJS (0.10, 0.12, 4 or 5) and PM2 on our server.

    Continue reading
  • Install LAMP and PHP 5.6 on Centos 7

    Nov 27, 2015

    This is the second post on Centos 7 setup. In the previous article we hardened ssh and created new users. Today we will install LAMP on Centos 7 and latest PHP 5.6 with all necessary extensions.

    Continue reading
  • Basic Centos 7 setup and security

    Nov 21, 2015

    In this series of articles we will prepare our newly installed Centos 7 for web development: create new user, setup private/public key authentication, disable root access, disable password authentication, enable firewall and file2ban and setup time synchronization. Then we will install LAMP and NodeJS.

    Continue reading
  • Phantomjs memory leak, how to decrease memory usage

    Oct 27, 2015

    PhantomJS (like any modern web browser) is known to consume a lot of memory. Even if it can’t be fixed completely, there are some workarounds to decrease memory usage.

    We’ll be using CasperJS, but tips will work equally well with plain PhantomJS or SlimerJS.

    Continue reading
  • Fixing: mysql can't create/write to file (errcode 2)

    Sep 4, 2015

    Today when running query Mysql returned strange error:

    1
    Can't create/write to file '/tmp/#sql_2d8_1.MYI' (Errcode: 2)

    Here is how to fix it.

    Continue reading
  • Amazon API - get price of a product with PHP

    Jun 14, 2015

    In this php tutorial I’ll show how to use Amazon API, get ASIN by url and get price of product using Amazon Advertising API with PHP.

    Continue reading
  • Moving window (Rolling counters) in Redis, LUA and NodeJS

    May 27, 2015

    This tutorial explains how to implement simple moving window (rolling counter) in NodeJS and Redis. We will use sorted sets to count every request and then will show another approach.
    We will count number of hits made in 24 hours. You can easily modify it to show weekly and monthly statistics.

    Continue reading
PREVNEXT

© 2014 - 2017 Andrey E.

All data and information provided on this site is for informational purposes only. 256cats.com makes no representations as to accuracy, completeness, currentness, suitability, or validity of any information on this site and will not be liable for any errors, omissions, or delays in this information or any losses, injuries, or damages arising from its display or use. All information is provided on an as-is basis. The opinions expressed on 256cats.com represent my own and not those of my employer.

https://gimmeproxy.com/ - Free proxy api

https://ip-api.io/ - Free geo ip api