Showing posts with label nodejs. Show all posts
Showing posts with label nodejs. Show all posts

Thursday, November 26, 2015

Analyze Your All Network Traffic with Chrome DevTools


Chrome DevTools has a powerful network panel. If you want to analyze your traffic outside the browser kdzwinel/betwixt electron based application will help you.  


Installation

# Clone this repository
$ git clone https://github.com/kdzwinel/betwixt.git
# Go into the repository
$ cd betwixt
# Install dependencies and run the app
$ npm install && npm start


After installation you should configure your traffic to use proxy as localhost:8008



Wednesday, July 22, 2015

Vogels - DynamoDB data mapper for node.js

Check out vogels on github https://github.com/ryanfitz/vogels/


Features


You can configure vogels to automatically add createdAt and updatedAt timestamp attributes when saving and updating a model. updatedAt will only be set when updating a record and will not be set on initial creation of the model.
var Account = vogels.define('Account', {
  hashKey : 'email',

  // add the timestamp attributes (updatedAt, createdAt)
  timestamps : true,

  schema : {
    email : Joi.string().email(),
  }
});
If you want vogels to handle timestamps, but only want some of them, or want your timestamps to be called something else, you can override each attribute individually:
var Account = vogels.define('Account', {
  hashKey : 'email',

  // enable timestamps support
  timestamps : true,

  // I don't want createdAt
  createdAt: false,

  // I want updatedAt to actually be called updateTimestamp
  updatedAt: 'updateTimestamp'

  schema : {
    email : Joi.string().email(),
  }
});
You can override the table name the model will use.
var Event = vogels.define('Event', {
  hashkey : 'name',
  schema : {
    name : Joi.string(),
    total : Joi.number()
  },

  tableName: 'deviceEvents'
});
if you set the tableName to a function, vogels will use the result of the function as the active table to use. Useful for storing time series data.
var Event = vogels.define('Event', {
  hashkey : 'name',
  schema : {
    name : Joi.string(),
    total : Joi.number()
  },

  // store monthly event data
  tableName: function () {
    var d = new Date();
    return ['events', d.getFullYear(), d.getMonth() + 1].join('_');
  }
});

See more at examples https://github.com/ryanfitz/vogels/tree/master/examples
Read more at https://github.com/ryanfitz/vogels/

Wednesday, September 17, 2014

This Week's Open Source Projects on Github

Here my starred repositories for this week. Mostly javascript/nodejs projects


omeka / omeka-s
The Omeka S web publication system for galleries, libraries, archives, and museums. A local network of independently curated exhibits sharing a collaboratively built pool of items and their metadata.

omeka / Omeka
A flexible web publishing platform for the display of library, museum and scholarly collections, archives and exhibitions.

sindresorhus / awesome-nodejs
A curated list of delightful Node.js packages and resources.

marmelab / ng-admin
Add an AngularJS admin GUI to any RESTful API

voronianski / melchior.js
Chainable Module Definition (CMD) dependency loader for JavaScript

yatish27 / linkedin-scraper
Scrapes the public profile of the linkedin page

okulbilisim / awesome-datascience
An awesome Data Science repository to learn and apply for real world problems.

KnpLabs / Gaufrette
PHP5 library that provides a filesystem abstraction layer − will be a feast for your files!

erming / shout
A web IRC client

Friday, April 25, 2014

baudio by @substack

Eğer takip etmiyorsanız @substack takip edilecek kişilerdendir.

Javascript ile müzik yapmak için geliştirilmiş çok sevdiğim şu paketin de geliştiricisi : baudio

Yarım saatlik şu videosunu da izlerseniz bu paket hakkında daha çok fikre sahip olursunuz.



Baudio ile muzik yapmak javascript geliştiriciler için çok daha eğlenceli :)

Örnek :
var baudio = require('baudio');

var n = 0;
var b = baudio(function (t) {
    var x = Math.sin(t * 262 + Math.sin(n));
    n += Math.sin(t);
    return x;
});
b.play();

Tuesday, February 18, 2014

Duruma uygun şarkılar seçin - songs-for app

Aslında benim kendim için bir youtube müzik bookmark servisi olarka düşünmüştüm.
Ama herkesin kullanmasında sakınca yok.

https://songs-for.herokuapp.com


Kaynak  : https://github.com/hasantayyar/songs-for

Tuesday, February 1, 2011

installing node.js - for lazy guys

Üşengeçseniz ve konuya yeniyseniz, vaktiniz yoksa vs Node.js kurmak ve hemen denemek için

sudo apt-get install g++ libssl-dev curl apache2-utils
sudo apt-get install git-core
git clone git://github.com/ry/node.git
git clone https://github.com/joyent/node.git
cd node
./configure
make
sudo make install