IT::Helper Blog

об-ако-с-ова-javascript-51590085 0

Axios issue under Internet Explorer 11. Polyfill update

Without a Promise polyfill Axios won’t work in Internet Explorer. It’s covered in the readme. In case if you’re including CDN you may use solution as follows: <script src=”//cdn.polyfill.io/v2/polyfill.min.js”></script> <script src=”//unpkg.com/axios/dist/axios.min.js”></script> Polyfill lib should be loaded...

clean-coding-best-practices 0

Laravel best practices

This article is a list of naming conventions established by Laravel community. The rules are not obligatory, but you’ll avoid chaos in your projects following them. Red rows are not so strict. Both variants are good. Thanks...

laravel-5.4 0

Laravel 5.4: Specified key too long error

Laravel 5.4 made a change to the default database character set, and it’s now utf8mb4 which includes support for storing emojis. This only affects new applications and as long as you are running MySQL v5.7.7 and...

6-30-12_Git1 0

Git useful commands

Beauty brief commits listing $ git log –oneline | nl -v0 | sed ‘s/^ \+/&HEAD~/’ That command will render a listing with the latest commits first and original commit last: 0 b0d9243 Merge pull...

6-30-12_Git1 0

Rebase-based simple Git workflow

The simple workflow I want to describe has two guiding principles: develop is always production-like and deployable rebase during feature development, explicit (non fast-forward) merge when done Pulling change-sets using rebase rewrites the history of the branch you’re working on...

icon-link 0

Symlink a file in Linux

To create a new symlink (will fail if symlink exists already): ln -s /path/to/file /path/to/symlink To create or update a symlink: ln -sf /path/to/file /path/to/symlink

Backup Computer Key In Blue For Archiving And Storage 0

The best way of big MySQL database import

If you’re using Phpmyadmin, normally there are limit of db importing – near 2 Mb. If you`ve got much more than this value you may extend php.ini values like max_execution_time, max_input_time, upload_max_filesize or post_max_size....

url 0

Curl installation and basic usage

Installation of the curl is not so complicated. For Debian it is as follows: apt-get install curl You may also install php library: apt-get install php5-curl There are lot of options you may use...

Ws_Windows_Sucks_1600x1200 0

Windows carriage returns inside shell scripts

‘\n’ writes a new line in UNIX while in Windows there are two character sequence ‘\r\n’ It may cause some problems if windows-like sequence presented in shell scripts. No matter what is the reason....