I'm trying to create an NSTimer in Swift but I'm having some trouble. NSTimer(timeInterval: 1, targ
How do you get the length of a String? For example, I have a variable defined like: var test1: String = "Scot
In C/C++/Objective C you can define a macro using compiler preprocessors. Moreover, you can include/exclude so
Is there a function that I can use to iterate over an array and have both index and element, like Python'
I was implementing an algorithm in Swift Beta and noticed that the performance was very poor. After digging de
My application has a dark background, but in iOS 7 the status bar became transparent. So I can't see anyt
I'm new to iOS and Objective-C and the whole MVC paradigm and I'm stuck with the following: I have a
I have a big object I want to convert to JSON and send. However it has circular structure. I want to toss what
I want to work with promises but I have a callback API in a format like: 1. DOM load or other one time event:
I've found the following contract in a Node.js module: module.exports = exports = nano = function databas
I just started trying out node.js a few days ago. I've realized that the Node is terminated whenever I ha
How do I list the user-installed package ONLY in npm? When I do npm -g list it outputs every package and their
Currently I am using Node.js v0.6.16 on Mac OS X 10.7.4. Now I want to upgrade it to the latest Node.js v0.8.1
Here is my simple form: <form id="loginformA" action="userlogin" method="post"> <div>
So, I have Node.js installed and now when I tried to install Mongoosejs I got an error telling me that I don&a
I installed Express.js with the following command: sudo npm install -g express I get the following warnings
I'm fairly new to Node.js and I am having some issues. I am using Node.js 4.10 and Express 2.4.3. When
How can I make an outbound HTTP POST request, with data, in node.js?
The scripts portion of my package.json currently looks like this: "scripts": { "start": "node ./script.js