I am trying to promisify mysqljs.query with nodejs utils.promisify import mysql from 'mysql'; import { promisify } from 'util'; const pool = mysql.createPool({ /** config **/...
i have this invoice number running in sequence incrementally, when user is creating an invoice, user is able to see the invoice number ( say, XYZ0001 ) although user never sav...
i am trying to ajax a request while closing browser to update user activity saying that user is leaving the app, but within the server side, sometimes it works as expected but...
Gentlemen, how do i show recommended product to a user based on his browsing experience? Say a user before visiting my site, had search for a shoe 👞 with brand X, and when he ...
By the way, do u guys use jshint and/or other linting stuff like eslint tslint etc? 🤔
hi everyone! so in nodejs there is a nvm, node version manager, and I wonder if working with multiple version of php, there will such as php version manager for windows? I hav...
I wonder if javascript supports ?: operator like php does? I remember there is something like var hoho = merryXmas || “default” 🤔
gentlemen! so i am looking for angular component documentation with something like this: <my-component message="hello world"> something awesome here... </my-component>how shou...
Guys is it possible to scan fingerprint on iphone other than authentication purposes?
is it possible to pass function name into data-attribute and execute it without eval? i found it on https://stackoverflow.com/questions/30028331/pass-javascript-function-as-da...
No more free registration on laracast no?
Guys, how do u teach or train junior dev? Anyone?
guys i have got an error in my angular 2 project TS2339: Property 'padStart' does not exist on type 'string'.afaik, padStart should be available in most browser and i am usin...
guys any recommendation for front end mastery from zero to hero class? usually which stuff to be learned? what on my mind was HTML, CSS & Javascript, later on css with preproc...
guys, i have 2 approaches for this salary calculator 1. https://hastebin.com/ahesawatum.xml 2. https://hastebin.com/leyiqeyemo.xml which of it performs better and maintainab...
if I am not mistaken, $closure->call($this, 'your param') will execute the closure right?
Then again we have this? Many to many? I don’t really get it but if many-to-many was the one u r looking for see the docs https://laravel.com/docs/5.5/eloquent-relationships#m...
So it can be used like this Add()(1)()(2)(3)(4)? Right?
Closure::bindTo() expects parameter 1 to be object, string given bindTo acts like javasrcript bind() right?
Is wsl2 stable enough?