Skip to content

Instantly share code, notes, and snippets.

View abhisheksliam's full-sized avatar

Abhishek Kumar abhisheksliam

View GitHub Profile
@abhisheksliam
abhisheksliam / LearningJavascript.txt
Last active May 31, 2016 10:06
Learning Javascript
https://addyosmani.com/resources/essentialjsdesignpatterns/book/
https://scotch.io/bar-talk/4-javascript-design-patterns-you-should-know
http://javascript.info/tutorial/bubbling-and-capturing
http://codeutopia.net/blog/2010/02/12/can-you-make-javascripts-string-mutable/
http://www.quirksmode.org/js/events_order.html
https://css-tricks.com/return-false-and-prevent-default/
http://ambitionbox.com/
var application_root = __dirname,
express = require("express"),
path = require("path"),
mongoose = require('mongoose');
var app = express.createServer();
// database
mongoose.connect('mongodb://localhost/ecomm_database');
http://latentflip.com/
https://andyet.com/
@abhisheksliam
abhisheksliam / LearningCSS
Last active May 21, 2016 13:00
Learning CSS
http://www.barelyfitz.com/screencast/html-training/css/positioning/
https://developer.mozilla.org/en/docs/Web/CSS/position
https://www.codecademy.com/courses/web-beginner-en-6merh/3/1
https://css-tricks.com/absolute-relative-fixed-positioining-how-do-they-differ/
http://www.webdevbydoing.com/whats-the-difference-between-static-relative-absolute-and-fixed-positioning/
http://learn.shayhowe.com/
http://learnlayout.com/display.html
@abhisheksliam
abhisheksliam / TechnicalPublications
Last active May 24, 2016 08:07
TechnicalPublications
https://www.pubnub.com/blog/2015-01-05-websockets-vs-rest-api-understanding-the-difference/
https://whatwg.org/
https://wiki.whatwg.org/wiki/FAQ
@abhisheksliam
abhisheksliam / SeleniumGrid
Last active June 3, 2016 07:33
Selenium Grid
1. Creating a Hub
java -jar selenium-server-standalone-2.44.0.jar -role hub
2. Registering Nodes
java -jar S:/sel/selenium-server-standalone-2.41.0.jar -role webdriver -browser "browserName=firefox,version=31,platform =WINDOWS",applicationName=abhi1_firefox -port 5555 -hub http://192.168.1.200:4444/grid/register;
java -jar S:/sel/selenium-server-standalone-2.41.0.jar -role webdriver -browser "browserName=firefox,version=31,platform =WINDOWS",applicationName=abhi2_firefox -port 5555 -hub http://192.168.1.200:4444/grid/register;
java -jar /Users/abhisheksliam/Desktop/selenium-server-standalone-2.41.0.jar -role webdriver -browser "browserName=firefox,version=31,platform =MAC" -port 4444 -hub http://192.168.1.200:9090/grid/register;
http://www.mailgun.com/
https://www.statuspage.io/
https://papertrailapp.com/
https://travis-ci.com/
https://coveralls.io
@abhisheksliam
abhisheksliam / WebstormTweak
Created June 14, 2016 07:38
Speed up WebStorm
Here is my recipe how to speed up WebStorm:
Go to Preferences and do next:
Appearance & Behaviour > System Settings > Updates: disable auto update
Appearance & Behaviour > System Settings > Using Statistics: Uncheck allowing sending data
Editor > Live Templates: disable all, leave only what you are really use
Editor > Emmet: disable all emmets
Editor > Intentions: I leave only: CSS, Declaration, JavaScript and Language Injection
Plugins: leave only next (* - can be also disabled in case don't need them):
CoffeeScript *
@abhisheksliam
abhisheksliam / require-js-discussion.md
Created June 15, 2016 00:05 — forked from desandro/require-js-discussion.md
Can you help me understand the benefit of require.js?

I'm having trouble understanding the benefit of require.js. Can you help me out? I imagine other developers have a similar interest.

From Require.js - Why AMD:

The AMD format comes from wanting a module format that was better than today's "write a bunch of script tags with implicit dependencies that you have to manually order"

I don't quite understand why this methodology is so bad. The difficult part is that you have to manually order dependencies. But the benefit is that you don't have an additional layer of abstraction.