Skip to content

Instantly share code, notes, and snippets.

View abhirathore2006's full-sized avatar

Abhimanyu Singh Rathore abhirathore2006

View GitHub Profile
https://www.youtube.com/watch?v=MzVFrIAwwS8
http://jonathancreamer.com/
https://basarat.gitbooks.io/typescript/content/docs/project/tsconfig.html
http://henleyedition.com/implicit-code-splitting-with-react-router-and-webpack/
https://github.com/nfl/react-helmet
/**
* jQuery goMap
*
* @url http://www.pittss.lv/jquery/gomap/
* @author Jevgenijs Shtrauss <pittss@gmail.com>
* @version 1.2.0
* This software is released under the MIT License <http://www.opensource.org/licenses/mit-license.php>
*/
(function($) {
brian geotz - java oracle
anil gaur
James Gosling
https://www.youtube.com/watch?v=1OpAgZvYXLQ
Venkat Subramaniam
single method abstract interfaces
https://www.youtube.com/watch?v=JgiJZLgc5WA
@abhirathore2006
abhirathore2006 / windowNotDefined.txt
Created July 16, 2016 08:31
window not defined, $ not defined , document not defined fixes all of them on server side
require("jsdom").env("", function(err, window) {
if (err) {
console.error(err);
return;
}
global.document =window.document;
global.window=window;
global.$ = require("jquery")(window);
});
https://pixabay.com/en/mount-everest-himalayas-nuptse-276995/
https://pixabay.com/en/mount-mckinley-hiker-snow-landscape-898378/
(function () {
// Establish the root object, `window` in the browser, or `global` on the server.
var root = this;
// Create a reference to this
var _ = new Object();
var isNode = false;
#webpack arguments
--display-modules shows list of modules
--profile --json > stats.json --output stats.json to use at http://webpack.github.io/analyse/
##Babel polyfill to support es6
import "babel-polyfill";
With webpack.config.js, add babel-polyfill to your entry array:
module.exports = {
entry: ['babel-polyfill', './app/js']
@abhirathore2006
abhirathore2006 / Java Must Read
Created October 7, 2016 07:13
Java Must Read
http://www.journaldev.com/2856/java-jvm-memory-model-memory-management-in-java
@abhirathore2006
abhirathore2006 / README.md
Created November 18, 2016 20:07 — forked from trinitronx/README.md
A shell script to install latest Ansible via pip + dependencies

omnibus-ansible

Install latest Ansible via pip + dependencies via a shell script

This file is used to install ansible in test kitchen when you set in the kitchen.yaml file

require_ansible_omnibus: true

By default test kitchen will always download and use the latest version of this install file.

WARNING: AS SOON AS YOU MERGE CODE HERE IT IS INSTANTLY AVAILABLE TO EVERYONE DOING OMNIBUS KITCHEN ANSIBLE INSTALLS:

@abhirathore2006
abhirathore2006 / install_jenkins_plugin.sh
Created November 26, 2016 05:49 — forked from micw/install_jenkins_plugin.sh
Script to install one or more jenkins plugins including dependencies while jenkins is offline
#!/bin/bash
set -e
if [ $# -eq 0 ]; then
echo "USAGE: $0 plugin1 plugin2 ..."
exit 1
fi
plugin_dir=/var/lib/jenkins/plugins