Comment by Arman P. on How to write console.log to a file instead
Possible duplicate of Node: log in a file instead of the console
View ArticleComment by Arman P. on Limiting Result with Subscription
@RxJS_Learner I've updated my answer for your second part of the question. If your questions are answered please consider accepting and answer.
View ArticleComment by Arman P. on Angular lazy loading with children for named outlets
This is just a workaround and a wrong one. app-routing.module doesn't need to know the specifics of home-routing.module routes. It breaks all the purpose of angular modules and encapsulation.
View ArticleComment by Arman P. on Angular lazy loading with children for named outlets
@Manoj You can check my update with all the details in it.
View ArticleComment by Arman P. on to change some css property once backing to an...
@Ravenous Yep, thanks. Never used it, nor was aware about it. Updated the answer to reflect that option.
View ArticleComment by Arman P. on Equivalent of explode() to work with strings in MySQL
@Boolean_Type Thanks, I haven't taken into account unicode characters/symbols that take variable length.
View ArticleComment by Arman P. on Use of aggregate with self join
First of all I get error with your code and second I'm not sure how this gonna work. Your 3rd join subquery has AVG(t1.price_per_acre) which is wrong, as t1 is not available during that subquery. If...
View ArticleComment by Arman P. on Use of aggregate with self join
@FaNo_FN Nope, it actually works as I'm averaging the result of the join query (in subquery). Your fiddle shows incorrect result as you only have 1 row, I've updated the fiddle, check here...
View ArticleComment by Arman P. on Apex Oracle Student database tutorial question
Could you please add an error (if any) you get and also your table/DB structure that may help to understand your issue and help you.
View ArticleComment by Arman P. on How to insert an object into a specific index. Splice...
Does this answer your question? How to insert an item into an empty array at a specific index?
View ArticleComment by Arman P. on How to destroy a context properly in react?
Your lazy service provider is great, but I think it doesn't work correctly with Strict mode on in React. As the component calling the useContext is rendered twise, the service is destroyed on first...
View ArticleUpgrade/Update from mariadb 5.5 to 10
Recently MariaDB 10 became stable.MySQL 5.6 features were added to 10 release. I need to use some new features, so I'm interested:Has anybody upgraded from MariaDB 5.5 to 10 on production server?What...
View ArticleIs there any way to completely disable pageSizeLimit [yii2]
yii2 REST API uses ActiveDataProviderto fetch and show data. This class has pageSizeLimit (docs) parameter which by default limit our pageSize to 50, so no matter how high is per-page (pageSizeParam)...
View ArticleAnswer by Arman P. for GitLab-CI PHPunit Composer laravel
Follow their instructions to register gitlab-ci-multi-runner with docker executor. Than in your .gitlab-ci.yml give an appropriate image that contains bare minimum for your requirements. Everything...
View ArticleMessaging schema between users
There are users. Each user can have multiple properties. Users can initiate conversation with the owner of the property from property's page, if it isn't their own property.I have following tables:User...
View ArticleAnswer by Arman P. for Determine if checkboxes are selected when button is...
When the button is clicked get the parent view group (assuming everything in your layout is in one viewgroup) and iterate through them. Check if any of them is checkbox and do what you need.public void...
View ArticleAnswer by Arman P. for Using :: for non static methods?
It works for backwards compatibility with PHP 4, if your error reporting is on you will get warning:Strict Standards: Non-static method A::nice() should not be called staticallyEDIT Actually you will...
View ArticleAnswer by Arman P. for Wordpress if is in category for single.php
I think you're not in The Loop while checking category in header. You must be either in loop to check that or you must pass also post ID to the method like in_category($categoryId, $postId).
View ArticleAnswer by Arman P. for How to print pdf portfolio in tag using javascript or...
Solution may be to use 3rd-party pdf library as viewer and intercept print functionality to do your own job beforehand.You can use Mozilla's pdf.js for example.
View ArticleAnswer by Arman P. for How to emit object using socket.io?
Convert to json your result before emitting it. Try to emit JSON.stringify(dupa).EDITYour output is actually JSON already (JSON array), so if you want to get only JSON string on client side, convert...
View Article
More Pages to Explore .....