Skip to content

Instantly share code, notes, and snippets.

View vijay22sai's full-sized avatar

Vijay Kumar Chitirala vijay22sai

View GitHub Profile
@vijay22sai
vijay22sai / oracle-code-event-notes
Last active April 5, 2018 14:49
20 ways to boost your developer productivity by @DaschnerS
1. throw mouse :D, try mechanical keyboard e.g: daskeyboard (german) , topre (japanese)
2. embrace keyboard shortcuts (macros etc) (explore gmail vim mode)
3. unix command line
4. shell aliases
5. shell scripts are your friends!! (e.g: ssh and cd to mbaas?) low hanging fruit!?
### USAGE
###
### ./ElasticSearch.sh 1.5.0 will install Elasticsearch 1.5.0
### ./ElasticSearch.sh 1.4.4 will install Elasticsearch 1.4.4
### ./ElasticSearch.sh will fail because no version was specified (exit code 1)
###
### CLI options Contributed by @janpieper
### Check http://www.elasticsearch.org/download/ for latest version of ElasticSearch
### ElasticSearch version

If you haven't read Netflix's Node.js in Flames blog post you should. It is a great deep dive into debugging a node performance problem. The post includes useful tips that can help you solve similar problems.

That said...

My feedback from the perspective of a framework developer is quite different. I found the tone and attitude towards express.js to be concerning and somewhat offensive. Here was a developer blaming the framework he chose for poor architecture when they never bothered to actually learn how the framework works in the first place. Everything that followed originated from this basic lack of understanding.

Express uses a very simple router logic which is at the core of how express works, so let’s examine that first (my knowledge of express is somewhat dated but I think the principle is still the same). Express keeps a hash of the various HTTP methods (GET, POST, etc.) and for each method, an array of middlewares. Each middleware is ju

@vijay22sai
vijay22sai / 0_reuse_code.js
Last active August 29, 2015 14:13
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console

Libraries

  • 960 Grid System - An effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. There are two variants: 12 and 16 columns, which can be used separately or in tandem.
  • Compass - Open source CSS Authoring Framework.
  • Bootstrap - Sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.
  • Font Awesome - The iconic font designed for Bootstrap.
  • Zurb Foundation - Framework for writing responsive web sites.
  • SASS - CSS extension language which allows variables, mixins and rules nesting.
  • Skeleton - Boilerplate for responsive, mobile-friendly development.

Guides

@vijay22sai
vijay22sai / about.md
Last active August 29, 2015 14:13 — forked from yogsototh/about.md
{type,merge} = require "fairmont"
{overload} = require "typely"
ElasticSearchClient = require("elasticsearchclient")
{BaseAdapter,BaseCollection} = require ("./base-adapter")
defaults =
port: 9200
host: "127.0.0.1"
secure: true