Re: [nodejs] Node.JS for sysadmin scripting or non-web stuff - books, guides, examples?

2013-11-21 Thread Andre Contreras
I've used in my company to make a tiny web hosting panel, it is working
very well.


2013/11/21 Tim Smart t...@fostle.com

 Grunt.js is a great place to start: http://gruntjs.com/

 On Thu, Nov 21, 2013 at 05:23:59PM -0800, Victor Hooi wrote:
  Hi,
 
  I'm curious on people's experiences with using Node.JS for sys-admin
  scripts or non-Web glue stuff - i.e. the sorts of things you might use
 Perl
  or Python for (e.g. log parsing, manipulating config files etc.)
 
  Is Node.JS suitable for these things?
 
  Are there any books or guides out there on these sorts of things? (Most
 of
  the books I've seen are geared to Node.JS purely as a web app language).
 
  Or any detailed examples people have posted up of what they use it for?
 
  Cheers,
  Victor
 
  --
  --
  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 post to this group, send email to nodejs@googlegroups.com
  To unsubscribe from this group, send email to
  nodejs+unsubscr...@googlegroups.com
  For more options, visit this group at
  http://groups.google.com/group/nodejs?hl=en?hl=en
 
  ---
  You received this message because you are subscribed to the Google
 Groups nodejs group.
  To unsubscribe from this group and stop receiving emails from it, send
 an email to nodejs+unsubscr...@googlegroups.com.
  For more options, visit https://groups.google.com/groups/opt_out.


-- 
-- 
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 post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
nodejs group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [nodejs] Socket.io throught new Nginx version 1.3

2013-02-19 Thread Andre Contreras
I just get:
debug - client authorized
   info  - handshake authorized b9XMag_ay5Jti2KQ8VxB
   debug - setting request GET /socket.io/1/websocket/b9XMag_ay5Jti2KQ8VxB
   debug - set heartbeat interval for client b9XMag_ay5Jti2KQ8VxB
   warn  - websocket connection invalid
   info  - transport end (undefined)
I can't find any information in how to implement websockets with nginx. I
have nginx 1.3.13 from chris lea PPA


2013/2/19 Philipp Klose m...@thehippo.de

 The current developer version of Nginx now supports Websockets. (
 http://nginx.com/news/nginx-websockets.html) Does any one have tried this
 yet and could give some insight if it is now possible to proxy 
 socket.ioconnections through Nginx?

 --
 --
 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 post to this group, send email to nodejs@googlegroups.com
 To unsubscribe from this group, send email to
 nodejs+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/nodejs?hl=en?hl=en

 ---
 You received this message because you are subscribed to the Google Groups
 nodejs group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to nodejs+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
-- 
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 post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
nodejs group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [nodejs] Socket.io throught new Nginx version 1.3

2013-02-19 Thread Andre Contreras
I've found this: http://thechangelog.com/nginx-gains-support-for-websockets/
Just this lines:
location /chat/ {

proxy_pass http://backend;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection upgrade;

}


2013/2/19 Andre Contreras inu.c...@gmail.com

 I just get:
 debug - client authorized
info  - handshake authorized b9XMag_ay5Jti2KQ8VxB
debug - setting request GET /socket.io/1/websocket/b9XMag_ay5Jti2KQ8VxB
debug - set heartbeat interval for client b9XMag_ay5Jti2KQ8VxB
warn  - websocket connection invalid
info  - transport end (undefined)
 I can't find any information in how to implement websockets with nginx. I
 have nginx 1.3.13 from chris lea PPA


 2013/2/19 Philipp Klose m...@thehippo.de

 The current developer version of Nginx now supports Websockets. (
 http://nginx.com/news/nginx-websockets.html) Does any one have tried
 this yet and could give some insight if it is now possible to proxy
 socket.io connections through Nginx?

 --
 --
 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 post to this group, send email to nodejs@googlegroups.com
 To unsubscribe from this group, send email to
 nodejs+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/nodejs?hl=en?hl=en

 ---
 You received this message because you are subscribed to the Google Groups
 nodejs group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to nodejs+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
-- 
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 post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
nodejs group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[nodejs] Mixed data?

2012-04-22 Thread Andre Contreras
I have in my app:
var friends={};
then I populate with data and looks like this:
friends['1'] = {'id':1};
but in other browser I have the same data... Why?

-- 
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 post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en