I agree with Alex. I also use this thing to read offline which has a nice
search feature
http://kapeli.com/dash
I know there are some similar products.
El jun 24, 2014 6:06 AM, Alex Kocharin a...@kocharin.ru escribió:
Similar/related things are grouped together, i.e. (in case of net)
Here is another that I like a lot
http://devdocs.io
El jun 24, 2014 7:42 AM, José F. Romaniello jfromanie...@gmail.com
escribió:
I agree with Alex. I also use this thing to read offline which has a nice
search feature
http://kapeli.com/dash
I know there are some similar products.
El jun
Is it possible to use npm shrinkwrap but at the same time allowing
different repositories?
When I do npm shrinkwrap the generated JSON contains the urls to the
official repository, then npm install will always fetch from the oficial
repository url ignoring the global repository configured
ws.on('message', function(message) {
var msg = JSON.parse(message);
console.log(msg.b);
});
Since you can only send and receive string messages, you will need some way
to identify the different messages. One trick I usually do with this
particular module in the server is this:
var
Yes, I've this exact same issue with npm prune --production (I dont know if
it was reported early on npm).
This commands remove devDependencies, but sometimes a dependency has a
dependency on the same version that a devDependency and npm install
installs only once.
My only advice will be to do:
As far I understand with service like this or http://hidemyass.com/ you
can't.
You shouldn't use the X-Forwarded-For header for anything related to
security.
More info here:
http://r.va.gg/2011/07/wrangling-the-x-forwarded-for-header.html
Also, if you use nginx in front of node, you might
this easier.
2014/1/16 José F. Romaniello jfromanie...@gmail.com
I don't know nexe, but another aproach is to make an installable for every
platform you will want to support.
I did one for windows (using msi) for one of our artifacts and I extracted
a template here:
https://github.com/auth0/nodejs
I don't know nexe, but another aproach is to make an installable for every
platform you will want to support.
I did one for windows (using msi) for one of our artifacts and I extracted
a template here:
https://github.com/auth0/nodejs-msi
I've read a series of blog posts from AJ ONeal about
I saw this few months ago, and I had one question how many times do you
change your package.json manually? I use:
- npm i module —save (or —save-dev)
-
npm remove module —save
-
npm version patch/minor/major
And things like that which does not only change the package but do the
Hi, we wrote a blog post about this specific subject here:
http://blog.auth0.com/2014/01/07/angularjs-authentication-with-cookies-vs-token/
In the example we use express-jwt which is a simple middleware that parses
the Authorization header and validates the JWT using jsonwebtoken:
if req is request http://github.com/mikeal/request , it doesn't have a url
property.
What are you trying to do?
2014/1/10 JPJen caroline@gmail.com
0 down vote
I’m looking for a way to proxy an NTLM server with node. NTLM
handshake/negotiation requires the same TCP connection, so for instance
this will not work:
var http = require('http');
var request = require('request');
http.createServer(function (req, res) {
req.pipe(request('http://upstream/'
Can you not perform an HTTP redirect to the upstream url instead?
No, it is not what I'm looking for.
2014/1/10 mscdex msc...@gmail.com
On Friday, January 10, 2014 4:51:56 PM UTC-5, José F. Romaniello wrote:
I’m looking for a way to proxy an NTLM server with node. NTLM
handshake
One of the problem I had with the native driver over and over was that you
should keep the db instance somewhere, but it is returned asynchronous from
the connect method. So, you have to make sure that you call connect only
once and you keep that instance somewhere. I didn't like this API so using
I do something like this but with process.env.HOME just for linux in my
case
El dic 24, 2013 8:55 p.m., Nathan Rajlich nat...@tootallnate.net
escribió:
On Tue, Dec 24, 2013 at 1:59 PM, Sam Roberts s...@strongloop.com wrote:
On Tue, Dec 24, 2013 at 1:07 PM, Sitnin sit...@ya.ru wrote:
Is there
Does this one works on Linux? https://github.com/WindowsAzure/node-sqlserver
Last time I check was Windows only, so we used tedious
El dic 13, 2013 5:09 a.m., Tomasz Janczuk tom...@janczuk.org escribió:
For connecting from Node.js to MS SQL check out Edge.js (
I have a module with a bunch of bundled dependencies (bundledDependencies
in package.json). I've noticed that if the bundled dependency is native
(compiled/node-gyp) it will be rebuild when I install my module. However,
it the bundled dependency has a dependency on a native module this will not
I use 'nodev script.js' (or nodev --debug-brk)
https://npmjs.org/package/nodev
El nov 17, 2013 12:52 p.m., Floby florent.j...@gmail.com escribió:
I haven't had the need for a debugger in probably years.
I recently used node-inspector and it worked reasonably well for me
(breaking on
What about publish? Is it possible to publish to a replica and have that
pushed to the main one?
El nov 15, 2013 5:58 p.m., Maciej Małecki m...@mmalecki.com escribió:
I'm planning to set up a DNS server - for example domain best.npmjs.org,
which'd redirect you to the closest registry basing on
13, 2013 7:04:51 PM UTC-8, José F. Romaniello
wrote:
I use a puppet module that installs with Isaac's nave :
https://github.com/danheberden/puppet-nodejs
Nave is fast on debians because it downloads the binaries.
My fork of the puppet moduke works on redhats too.
El nov 13, 2013 10:26 p.m
it seems to be matching a regular expression, NODE_DEBUG should contain the
string request.
So, you can run your application as follows:
NODE_DEBUG=request node your_app.js
2013/11/14 Reza Razavipour reza.razavip...@gmail.com
Still fairly new to node.js !!!
I am using node-soap and it uses
Reza Razavipour reza.razavip...@gmail.com
thanks for the response.
How do I do that in the code itself? and how do I do multiple ones? lets
say debugging for http and request and xyz package.
On Thursday, November 14, 2013 10:17:53 AM UTC-8, José F. Romaniello wrote:
it seems to be matching
I use a puppet module that installs with Isaac's nave :
https://github.com/danheberden/puppet-nodejs
Nave is fast on debians because it downloads the binaries.
My fork of the puppet moduke works on redhats too.
El nov 13, 2013 10:26 p.m., Aaron Boyd aa...@nomic.com escribió:
We've been using
No. Quoting wikipedia:
Minified source code is especially useful for interpreted
languageshttp://en.wikipedia.org/wiki/Interpreted_language deployed
and transmitted on the Internet (such as
JavaScripthttp://en.wikipedia.org/wiki/JavaScript),
because it reduces the amount of data that needs to be
Usually this works for me in this case:
npm remove -g module_name
2013/11/10 cgcgbcbc cgcgb...@163.com
I run npm link in my project directory and without any parameters. This
makes a link /usr/local/lib/node_modules to my project.
And run npm unlink got a warn : npm WARN uninstall
I usually register my node.js servers as daemons (services) with upstart.
Upstar scripts can have setuid :
http://upstart.ubuntu.com/cookbook/#setuid
To run a command from the CLI as another user you can use sudo -u user
command eg: sudo -u user node server.js
2013/11/8 Robert Steckroth
:48 AM, José F. Romaniello
jfromanie...@gmail.com wrote:
I usually register my node.js servers as daemons (services) with upstart.
Upstar scripts can have setuid :
http://upstart.ubuntu.com/cookbook/#setuid
To run a command from the CLI as another user you can use sudo -u user
command eg
We do not version node_modules for our deploying apps but we use shrinkwrap
and packaging all deps in CI after running all tests using
http://github.com/carlos8f/bundle-deps. This little cli utility move all
dependencies to bundleDependencies.
The CI script is something along these lines:
npm
is important.
2013/11/5 Alex Kocharin a...@equenext.com
On Monday, November 4, 2013 10:54:12 PM UTC+4, José F. Romaniello wrote:
2013/11/4 Simon simon@gmail.com
app.get('/users/:id[int]', function(req, res, id) { ... });
app.get('/users/:name', function(req, res, username
same here, some Error: socket hang up
2013/11/4 Chris Scribner scr...@gmail.com
I'm getting a lot of error parsing json errors when trying to install
npm today.
$ npm install lru-cache
npm http GET https://registry.npmjs.org/lru-cache/2.3.0
npm http 500
2013/11/4 Simon simon.stur...@gmail.com
app.get('/users/:id[int]', function(req, res, id) { ... });
app.get('/users/:name', function(req, res, username) { ... });
Besides the syntax, IMHO this particular example doesn't sound like a good
API, some of my concerns:
- It means that
When you call
module.exports.token=
You are actually creating a property with an empty string.
You can change module.exports.token inside your gentoken function and it
will work as expected.
El oct 30, 2013 7:52 p.m., rendallo roen...@gmx.net escribió:
Hi and sorry in advance for this very
What I like about puppet (the DSL) is that it describes an state of the
configuration a node should have rather than a recipe to get there.
It is at some point the same difference between imperative and declarative.
It means node v0.8.26 instead of download node 0.8.26 binary from this
url and
nodejitsu has opensource a tool like this called opsmezzo
http://www.opsmezzo.com/
haven't tried yet.
We use Puppet a lot.
2013/10/21 Bruno Jouhier bjouh...@gmail.com
I googled a bit but did not find anything like it. Did anyone consider it?
Cool features would be:
* It's JavaScript
*
I had the same problem, cache clean doesn't work, what really works for me
is to retry... so I use this on my build server:
https://github.com/jfromaniello/npm-install-retry
2013/9/25 Zac Feuerborn risingf...@gmail.com
The standard npm cache clean (or npm cache clear as some people type it
This is similar to any application using var/log is vulnerable to run out
of diskpace. This is why there is a Logrotate(8)
http://linuxcommand.org/man_pages/logrotate8.html and tmpwatch
http://linux.die.net/man/8/tmpwatch
El sep 6, 2013 8:25 p.m., Andrew Kelley superjo...@gmail.com escribió:
Have a look to node-forge, is entirely js. We are using it on my selfsigned
module to generate self signed certs.
El ago 31, 2013 6:36 a.m., i...@bodokaiser.io escribió:
Hello,
you all know OpenSSL key pairs used for SSL connections.
I want to create one in node.js natively unfortunately I
This one https://github.com/digitalbazaar/forge
El ago 31, 2013 10:13 a.m., José F. Romaniello jfromanie...@gmail.com
escribió:
Have a look to node-forge, is entirely js. We are using it on my
selfsigned module to generate self signed certs.
El ago 31, 2013 6:36 a.m., i...@bodokaiser.io
We are deploying our application to a new environment where it has to run
behind an httpproxy.
We already know how to use http.request behind a proxy, but refactoring all
our code and dependencies to work like that is very difficult. For now we
monkey patched http.request and everything seems to
, José F. Romaniello
jfromanie...@gmail.com wrote:
We are deploying our application to a new environment where it has to run
behind an httpproxy.
We already know how to use http.request behind a proxy, but refactoring
all our code and dependencies to work like that is very difficult. For now
this is not what I want, node-http-proxy allows you to build reverse
proxies and so on.. I'm looking for a transparent way to make requests from
node behind a proxy
2013/8/29 john.tiger john.tigernas...@gmail.com
On 08/29/2013 04:52 AM, José F. Romaniello wrote:
We are deploying our
This is incorrect, screen allows you to partition a console but will not
guarantee your service is automatically started at boot time or restarted
if it fail.
As Ryan said, it depends what OS are you targeting. The way you do services
in ubuntu is with upstart. You put an script under
you can use the request module, with followRedirect: false
https://github.com/mikeal/request#requestoptions-callback
then check the Location header.
By default request only follows redirects for GETs.
2013/8/14 Maxim Yefremov maxy...@gmail.com
How to write test checking that urlFrom is
I so agree with you Tim in this post in the previous one.
2013/8/6 Tim Caswell t...@creationix.com
In other words, he's worried programmers won't be aware that yield can
suspend you and shared mutable state can change while you're suspended.
in fact this is one of the most useful things
, // ravi ravi-li...@g8o.net escribió:
On Aug 7, 2013, at 9:39 AM, José F. Romaniello jfromanie...@gmail.com
wrote:
Move on this is a SOLVED PROBLEM, we have had this thing in many
programming languages for decades and any mediocre software developer know
what yield means at the middle
I've a project like yours, when i run the first time, i check if there is a
certificate in some directory and if it is not there I call my selfsigned
module to generate a one:
https://github.com/jfromaniello/selfsigned
2013/7/18 Mark Hahn m...@hahnca.com
I have a node server app that I want
Screw websockets, it doesn't work the same way on all browsers, it doesn't
work with some reverse proxies, it doesn't work on some PaaS and even those
PaaS that advertise websockets sometimes have problems. And now even the
frameworks with fallback support have problems.
For most applications
I used that one but have some problems with failures, this is not when the
test fail but when everything fails before, so I changed to the bdd and
added an ansi color pluging for jenkins. After all logs were pretty clear.
I've had lot of problems with jenkins so I switched to Teamcity few weeks
AFAIK that's not quite accurate, have been experimenting with share.js and
ot.js for our pet project mdocs.io and what you send initially is an
snapshot that can be fetched with a normal ajax request, then you broadcast
every operation which is a really small json with two or three properties
Do you pack/publish with package.yaml inside? How does that works with the
npm service?
El 23/06/2013 13:12, Alex Kocharin a...@equenext.com escribió:
Hi guys,
TL;DR: I developed a package that monkey-patches npm to work with
package.yaml files without any json ever written to a disk. Hope it
I did a little experiment yesterday, tortu is an small utility to use
Angel ajlogo https://github.com/ajlopez/AjLogoJs (LOGO implementation)
directly in the terminal:
https://github.com/jfromaniello/tortu
(screenshot in the readme)
you can use even shebang for logo :)
I'm wondering now what's
check TernJS http://ternjs.net/ works for Emacs, Vim, Sublime and
Brackets(?)
2013/6/12 Luke Arduini luke.ardu...@gmail.com
vim is pretty good
On Wednesday, June 12, 2013, Robert Steckroth wrote:
So hasd anyone got the *perfect* editor for Nodejs? I find that Qt
Creator works really well
req.user.identities[0] provider is something specific for my app ignore
that line.. The rest you can use it as is.
Invalid grant usually means that you didn't set the correct oauth scopes.
Have a look to Google's playground:
https://developers.google.com/oauthplayground/?hl=es-419
2013/6/10
2013/6/10 Jyoti Chettri jy...@zyoba.com
'Authorization': 'GoogleLogin auth=' + access_token,
? in my code the authorization header is set to 'OAuth ' + access_token not
GoogleLogin
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
You need a valid access token with the right scopes. Then you can do this
(getContactsFromGoogleApi)
https://github.com/auth0/mdocs/blob/master/lib/routes/users-routes.js
El 09/06/2013 07:14, Jyoti Chhetri nitrous.ooox...@gmail.com escribió:
I'm working on an application which requires me to
you should write a book build your reputation in a weekend with github
2013/5/21 Ray Connell rayconn...@usa.net
1. Publish your project idea to git. At this point it doesn't matter if it
works. Someone will immediately contribute it and fix up the bugs.
2. Make sure it has a fairly high
this reputation? -_-
--
// alex
22.05.2013, 01:04, José F. Romaniello jfromanie...@gmail.com:
you should write a book build your reputation in a weekend with github
2013/5/21 Ray Connell rayconn...@usa.net
1. Publish your project idea to git. At this point it doesn't matter if it
works
+1 . I use this a lot
2013/5/17 Peter Rust pe...@cornerstonenw.com
Perhaps a little simpler than what you have above (though perhaps you want
the additional layer, I'm not sure) is to put your tests in a loop, like:
var fruits = [{'name': 'apple', 'juicy': true}, {'name': 'orange',
in Express 3 you can do it as:
req.header(custom-header)
req.get(custom-header)
and also since express request is a node IncomingMessage you can use:
req.headers[custom-header]
Please check the *subtle* differences,
- all three examples uses REQUEST not response as in one of your
examples.
It will be good to have a log with a warning.. some module is overriding
your require.extension for the reasons you described before.
El sábado, 11 de mayo de 2013, Ben Noordhuis escribió:
On Sat, May 11, 2013 at 9:05 AM, ~flow wolfgang.l...@gmail.comjavascript:;
wrote:
what conventions /
notice that you can also put your node application as a windows service
https://github.com/jfromaniello/winser
2013/5/9 Pradeep Simha pradeepsimha.ecli...@gmail.com
Hi All,
I am looking for a way to stop a node.js's server from a batch file. For
eg: I have a batch file calledstart.bat in
I think there isn't a license like that and I am not a law expert (as most
of you), but I'd like to put my opinion:
- really rich seems very subjective.
- what is the role your library have in the final product? and what is
fair?. If you have a library like let's say node-redis and someone make a
Tern.js and some other projects I've seen was crow-founded in a similar way
http://www.indiegogo.com/projects/tern-intelligent-javascript-editing
The author says I am going to do this anyway, but if I reach X amount
before some date it will be opensource, otherwise will be a paid-product
forever,
what most people do is to open a webview for authentication, you can use
oauth or any authentication mechanism, after finishing the oauth flow you
get a token into your android app
If you need to access an api from the same Identity Provider, you might
just get the access token into the android
W. T. F.
El 25/04/2013 19:12, trillian trilliansou...@gmail.com escribió:
About to sign up to a service which uses node.js to provide a real-time
chat window where the info is time sensitive. Is it possible to relay those
messages to another application in a Windows 7 or Linux VM environment?
2013/4/24 AJ ONeal coola...@gmail.com
Someone else was telling me that they've had no problem with NSSM or
node-windows installing to Program Files,
+1, it works perfectly fine for me.
I have a module called Winser that does uses nssm and install as shwon here:
Hi I just published mongo-getdb which is the way I use to connect to
mongodb. I did this module because connecting to mongodb with the defacto
driver, right is far from trivial.
Most of the time you just want to have a the url to mongo in your env and
call something to return a db instance which
We http://qraftlabs.com are very proud to share with you guys our product
named Auth0 http://auth0.com which is based on a lot of opensource
modules some from us and some from the community.
I'm not going to talk about Auth0 since it is not the purpose of this mail.
We tried to extract most of
I think this might be of interest:
https://github.com/creationix/luvmonkey
quoting:
This project is an effort to create a custom SpiderMonkey runtime that
has libuv built-in. This will give it very node.js-like semantics, but
using a different JavaScript engine.
2013/4/3 cpprototypes
Suppose you build a node clone with mozilla js engine and you can use
asm.js, would that, to some extend, reduce the need of native addons?
Ps: +1 on kickstarter.
El 03/04/2013 21:23, Stephen Belanger cyruzdr...@gmail.com escribió:
To Kickstarter! :O
On 3 Apr 2013 17:12, Ben Noordhuis
decodeURI and decodeURIComponent works on browsers and node
2013/3/26 Angelo Chen angelochen...@gmail.com
Hi,
is there a function nodejs can urldecode a string? Thanks,
Angelo
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
I was talking about this few days ago and I love what Travisi does.
Previously, I used to have an xunit kind of formater for my tests because
that is what most CI servers understand, but sometimes this is kind of
overengineer, and it fails, which make me think if it is really important
for a CI
he uses node in the clandestinity, just hasn't come out of the closet yet.
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups nodejs group.
To
IMHO there is not a rigid technical distinction between application and
module from the npm stand point. Your application will have a package.json
like any other module, with the dependencies.
If your application is a command line utility you have to put a
*bin*attribute in your package.json
Looks great, already told you on twitter.
There are cases where I would prefer this to an mq/worker solution.
A good example that I was thinking is a middleware to log events in windows
event log. It is not a CPU bound operation but event log will be easy to
use from .net. I already did a native
sorry I didn't see your repository before, I understand now
2013/2/26 xixixao xixi...@seznam.cz
Thanks for the answers, but if any of you have actually looked at my repo,
it is a parser generator which embeds CoffeeScript. I really don't know how
to make examples in JavaScript for it.
I
time you emit an event called
Error the runtime exits if there is no listener?
On Mon, Feb 25, 2013 at 3:12 AM, José F. Romaniello
jfromanie...@gmail.com wrote:
+1 on event emitter. Callback with an array of errors is not that common.
You should return an event emitter with complete
, 2013 at 3:12 AM, José F. Romaniello
jfromanie...@gmail.com wrote:
+1 on event emitter. Callback with an array of errors is not that common.
You should return an event emitter with complete and error events. be
aware that when you emit an 'error' event and no one is listening in the
application
Not that I disagree with Isaacs, but regardless of what you use for your
module and regardless if you prebuild before pushing it or your module
depends on coffescript (i dont suggest this), it seems important to me that
you document it with javascript examples so you can reach a bigger audience
Windows-service looks very nice, well done!
Jeremy: winser is a wrapper around nssm with some friendly defaults for
node.js. It will install the application as a service and it will run it
with npm start. Some PROs I see in *winser/nssm*:
- nssm in my opinion has more time around and it has
Sure thing Stephen! I am the author of winser and I gave my point of view
on your project and as I said it looks *very nice*, I will consider next
time i have to deploy something to a windows server.
for me node.js is about alternatives, so i am really glad winser is not the
only option to run
I used nssm once and did this https://github.com/jfromaniello/winser
El sábado, 16 de febrero de 2013, Stephen Vickers escribió:
Hi All,
I am considering an attempt to implement native Windows service support
for Node.js.
For myself it's purely a learning excercise, and at this stage I
, 2013 2:17:19 PM UTC+5:30, greelgorke wrote:
yes, passportjs is a good choice. the examples on passportjs.org use
express routes, but the important parts are passport.authenticate calls.
it's agnostic enough.
Am Freitag, 15. Februar 2013 01:02:26 UTC+1 schrieb José F. Romaniello:
Ob sorry, i
://passportjs.org/guide/configure/ how
to handle sessions. you could throw in a memory db like memcached or redis,
or just hold it in memory by yourself. for distributed proxy i'd suggest
redis or even a rdbms.
Am Freitag, 15. Februar 2013 17:07:53 UTC+1 schrieb José F. Romaniello:
@greelgorke
If you need more than basic auth (user and pass in a header) you will
need also sessions, so rather than the http-proxy i will recommend you
using connect/express + passport, and to pipe the requests after
validating the user thru mikeal/request.
This is more than just a proxy. Imho there is no
Ob sorry, i nver used passport other than as a connect middleware, and as
I said he probabily needs some kind of sessions to store at least the user
is logged in. So, i think connect will be easier. But if you know any other
way please go ahead
i know also you could use connect and http proxy on
by the Esta bueno, pero... though, I think node.js on
windows is a first-class citizen, and not just for multi-platform, and the
eventlog is an excellent transport choice.
Regards,
On Thursday, January 31, 2013 12:11:51 PM UTC-3, José F. Romaniello wrote:
Hi, I just wanted to share my small native
kind of off-topic but I used to hate to calculate relative paths when
doing require, so what i did is to build an extension for my code editor
that let me search files by name or folder name, and when I select it it
auto calculate the relative path from the file i am editing and insert the
right
Is there a way to configure de binding.gyp in order to use /clr option in
msbuild.
I am getting this error when I try to build
..\src\myaddon.cpp(3): fatal error C1190: managed targeted code requires a
'/clr' option
thanks
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
'
}
}
}]
],
'include_dirs': ['.'],
'sources': [
'src/EventLog.cpp'
]
}
]
}
On Thursday, January 31, 2013 9:29:03 AM UTC-3, José F. Romaniello wrote:
Is there a way to configure de binding.gyp in order to use /clr option in
msbuild.
I am getting this error when I try
2013/1/31 José F. Romaniello jfromanie...@gmail.com
'ClCompile': {
* 'ExceptionHandling': 'Async', *
'CompileAsManaged':'true'
}
I am close now..
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You
Hi, I just wanted to share my small native addon to write logs in the
Windows Eventlog (suffice it to say that it only works on Windows
operative systems).
https://github.com/jfromaniello/windowseventlogjs
there is also a winston transport:
https://github.com/jfromaniello/winston-winlog
2013/1/22 Matt Walters mattwalte...@gmail.com
I built a nearly identical module with a nearly identical name. :P
https://github.com/mateodelnorte/mockrequire
'npm install mockrequire' will get it.
Wow, I didn't see yours when i did mine, I had a look at your code and for
instance this
You can use
fs.existsSynchttp://nodejs.org/api/fs.html#fs_fs_existssync_pathbut
I have read in this list several times it is discouraged, what happen
if the file is deleted from disk *after* you ask if it exists and
*before*you require it.
You will be better with a try/catch.
2013/1/29 Norman
Khine wrote:
On Tuesday, January 29, 2013 7:00:53 PM UTC+1, José F. Romaniello wrote:
You can use
fs.existsSynchttp://nodejs.org/api/fs.html#fs_fs_existssync_pathbut I
have read in this list several times it is discouraged, what happen
if the file is deleted from disk *after* you ask
I do this for my windows-eventlog module
https://github.com/jfromaniello/windowseventlogjs
It is packaged with the two nodes files. I wish I have a build script for
this with node-gyp, haven't figure out yet, but shiping precompiled for
windows is a must, since I usually don't want to install
as an administrator
i got this err
when i run this on win server 2003
i logon this server as an administrators group member
在 2012年6月3日星期日UTC+8上午10时37分02秒,José F. Romaniello写道:
I did this, and works very fine for me:
http://jfromaniello.github.**com/winser/http
.
The specified account name is already a member of the local group.
在 2013年1月26日星期六UTC+8上午6时02分57秒,José F. Romaniello写道:
what happen if you open a console and run whoami?
maybe is related to this issue:
https://github.com/**jfromaniello/winser/issues/6https://github.com/jfromaniello/winser/issues/6
This doesnt work in practice because you might want to use different test
doubles for different tests, there are several ways to mock module
dependencies, on option is to use vm.runInNewContext
I did a module for this
https://github.com/jfromaniello/mockuire
it is like commonjs's require, but
Maybe you can use passport.js with google oauth2, ask for an access
token with 'offline ' so you can get a refresh token as well. I wrote
a module to autorefresh the tokens and i use it with a provisioning
client library i did, is on my github
2013/1/13, Angel Java Lopez ajlopez2...@gmail.com:
1 - 100 of 180 matches
Mail list logo