One of the problem was to do simple API requests to back-end server. There was a lot of solutions like creating custom function or wrappers but at that moment (November 2016) no one tried simply to extend Angular HTTP class and so here we are - today I want to share my solution to this problem.
Today I want to talk about date/time pickers in Ionic 2 framework because there are several ways to do it.
We will test it on two platforms available at the moment:
- Android 5.1 (Huawei Lua-L21)
- Chromium 56.0.2924.76 (LinuxMint 18 (64-bit))
Quite often programming on Node.JS I have to perform various types of HTTP requests. To do this, I simply use the library Request, but sometimes there are situations when you need to perform a query in a certain way and it becomes a problem. As a result, I decided to write a small module that solves this problem.
Recently I have noticed that one of my PHP scripts that was sending emails via the mail() function were hanging for roughly one minute while waiting for Sendmail to work.
The problem was that Sendmail requires that the result of "hostname" be a fully qualified domain name to start cleanly.
To get the domain name type hostname command and then copy it to /etc/hosts like this:
127.0.0.1 kiril-macbook.localdomain kiril-macbook localdev localhost
Recently I had a need for rapid notifications of the user about the specific changes in the MySQL database. So I decided to use Socket.IO which I already used before in similar situations. The only problem was that I had to solve how to check if the connected Socket.IO client was authenticated in my Laravel 5 application and get its id to show specific data
I faced this problems while I was rewriting file section of my blog. At first, I meant to use files only for blog, but recently I decided to create portfolio section which will also use uploaded files so the easiest way to do this was to add type column and map with other tables by id.
So, the blog is open! Yay .
This is my first experience of creating a multilingual blog (swithc icon is in the heder), before that there were some attempts to create the it in Lithuanian and Russian.
The source code can be found at GitHub. Blog is currently in development, so in near future there will be a lot of new features.