May
19
comment How to determine if object exists AWS S3 Node.JS sdk
I'm sure there's a reason for not returning an error when the object doesn't exist. It sure is a pain in the butt!
May
8
comment How to apply DRY principle in javascript code snippet
That was my first thought but the amount of escaping makes this more unreadable. IMO.
May
7
comment How to allow Chrome to access my camera on localhost?
That's exactly what I do too!
Apr
27
revised How do you work around the need for apostrophes in certain function names?
edited body
Apr
26
answered Replacement for underscore's toArray
Apr
26
revised What are the advantages and disadvantages of pretty printing JSON?
added 1 character in body
Apr
26
answered What are the advantages and disadvantages of pretty printing JSON?
Apr
25
comment SQl injection getting current user and database priv
What DB are you using, Oracle from the use of SQLPlus? Google told me about this page: pentestmonkey.net/cheat-sheet/sql-injection/…
Apr
25
revised Dynamically adding and updating style block
Better code formatting
Apr
24
answered parse tag with regex in javascript
Apr
24
answered Transform an array into a comma separated variables WITHOUT apply
Apr
22
answered Verifying function call and inspecting arguments using sinon spies
Apr
22
comment Error compiling bcrypt - node.js
The performance is a lot slower though. github.com/adrianblynch/bcrypt-vs-bcrypt
Apr
22
comment Grouping Table rows without access to the HTML
How do you want to group them? References to groups of rows?
Apr
21
comment JS Onload Works In One Instance But Not Another
The test page returns 403 - Forbidden
Apr
21
comment Access to parent scope from socket.io handler
Is this all your code?
Apr
21
comment mixed-case lettering in JS function variables
It is a simple fix, but the takeaway from this is, compare like for like.
Apr
21
comment mixed-case lettering in JS function variables
Regarding your second problem, if you ignore regex for now, think about how you would manually find out how many times a character appears in line of text. You'd look at each one and say, "Are you the character I'm looking for?" - If yes, add one to a count. If no, move onto the next character. In my mind, that's what they might be after, some basic programming logic to count something. However, if you look at the regex methods, one will "match" the problem you're facing :D
Apr
21
comment Deploying to hundreds of mysql databases
Do any of the answers here help: stackoverflow.com/questions/4754365/…
Apr
21
comment jQuery clone elements will not remain in div even when page is refreshed
It's not out of the question to keep it all client-side with local storage etc. but for the sake of an easier answer, I guess describing the issue in these terms is best!
1 2 3 4 5