« first day (3284 days earlier)      last day (1654 days later) » 

1:01 AM
3
Q: npm install - how to avoid bowercopy dependency? To install dependencies using grunt

overexchangebowercopy is deprecated tool Below task(from here) is the grunt task using bowercopy tool as dependency: var JS_VENDOR_PATH = 'public/js/vendor', CSS_VENDOR_PATH = 'public/css/vendor'; module.exports = function(grunt) { grunt.loadNpmTasks('grunt-bowercopy'); grunt.loadNpmTasks('grunt-...

 
1:32 AM
@SagarV thanks sagar , accepted it as answer
 
 
3 hours later…
4:33 AM
how to get a character of a key pressed on keyboard using js
event.key
event.code
which.key
which.code
these doesn't returned me anything
 
4:45 AM
@CommonMan combine both
event.keyCode
@JBis yup. it allow to put address as ../../../../../../../etc/passwd
or anything that leads to lfi or rce
 
keycode will return character?
key code is returning an integer value of the ke
where i require... if enter key is pressed i require the below
["↵"]
 
@overexchange I can't see any info on it's deprecation. The last commit on the repo is on 5th Aug github.com/timmywil/grunt-bowercopy
 
 
What's the error with e.key?
 
5:02 AM
no error but i m leading somwhere here...
let me try and return back
how to convert a unicode character to a unicode numerical value?
in js
 
 
1 hour later…
6:25 AM
@SagarV try cloning the repo shared in the question.....and run npm install
you will reproduce the problem
 
6:46 AM
Hi, I need some help
I'm getting this symbol [External] when logging a Qt Event object. The problem is, no matter what I do, everything is undefined. If I try to call any property as a function, I don't even get undefined. No crash, nothing. What does [External] mean and how can I overcome it?
 
7:32 AM
@overexchange This is my output i.stack.imgur.com/te77e.png
npm shows an info that it doesn't recommend bower. But no warning at all
I didn't used grunt before. I use webpack. But I can't find the issue you said
 
7:55 AM
Hi. Does anyone know how can I find a script in vendor.js? it is brekaing for me in IE11 and im trying to find the problematic script
Angular 7
 
 
1 hour later…
9:13 AM
@SagarV Even without CF; it ain't working.
Had you made any changes in DNS record? @SagarV ....... Looks like No:hastebin.com/ipipugipod.rb
 
9:30 AM
or in your GitHub repo settings?
 
9:49 AM
Hi Everyone
can anyone please guide me how to to axios ajax request mocking.
everywhere I am getting solution for jest and react. but i am not using JEST

i tried to create mock adapter and included it in rootApp.js but its not working
 
@TheLittleNaruto no. I used A records which points to github. Your A records is pointing to cloudflare.
This is my dns records in namecheap
> @ 185.199.108.153 Automatic
@ 185.199.110.153 Automatic
Did you changed cloudflare nameserver to registrar default?
 
10:04 AM
hey guys how to turn arrow function to self invoke function
 
@Nasr (() => console.log(1))()
 
thanks it was an interview question i had ;_;
 
wrap it inside () and append () after closing it
 
thks bro
 
anytym
 
10:11 AM
does any oneh have experience in socket and stream ? i have a sceniaro in which i dont know how to complete it
 
hi everyone
i ask question here, anyone have suggestion
0
Q: getting error when using pipes and ngModel in Angular

hafiziI got a custom dropdown where value from selected dropdown will bind in input value in my reactive form using ngModel, also I had applied mask in my input fields using pipe, here is all relevant code : html file <form [formGroup]="creditCardForm" (ngSubmit)="submitCreditCardForm()"> <input ...

 
10:40 AM
Hello guys, I'm a help vampire today! I would like to get some feedback for this project "homepage" on github: github.com/rewe-digital-incubator/Konversation/blob/feature/…
@hafizi I never used Angular sorry
 
 
5 hours later…
3:43 PM
@SagarV how do I do this using webpack? Instead of grunt...
Query updated
2
Q: npm install - how to avoid bowercopy dependency? To install dependencies using grunt

overexchangebowercopy is deprecated tool Below task(from here) is the grunt task using bowercopy tool as dependency: var JS_VENDOR_PATH = 'public/js/vendor', CSS_VENDOR_PATH = 'public/css/vendor'; module.exports = function(grunt) { grunt.loadNpmTasks('grunt-bowercopy'); grunt.loadNpmTasks('grunt-...

 
4:41 PM
@SagarV here is the error I get:
$ npm install
npm WARN deprecated bower@1.8.8: We don't recommend using Bower for new projects. Please consider Yarn and Webpack or Parcel. You can read how to migrate legacy project here: bower.io/blog/2017/how-to-migrate-away-from-bower
npm WARN deprecated coffee-script@1.3.3: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
 
4:52 PM
npm version is 6.11
 
5:48 PM
@SagarV Yo! This worked! Arigatou Gozaimas :D
 
is it great idea to create room name combining from+to and sort it Asc of sender and receiver in socket.io ?
so that both sender and receiver will have a private rooms and no other can join that room other then themselves
using id of users eg. . User 1: room=12. User 2: room=21 and after sorting it will become User 1: room=12. User 2: room=12
 
6:10 PM
whats the easiest way to display elements around the diameter of an elipse?
dont really want to use canvas
dont think it would be easy with shape outside()
easy to control the exact position
 
 
3 hours later…
9:15 PM
I have a javascript object like this:

```
<label class="switch">
<input type="checkbox" checked="">
<span class="slider round"></span>
</label>
```
How can I select span or input from this object?
What was the shortcut for making code blocks?
 

« first day (3284 days earlier)      last day (1654 days later) »