Skip to content

Instantly share code, notes, and snippets.

View nitinreddy3's full-sized avatar
🏠
Working from home

Nitin Reddy nitinreddy3

🏠
Working from home
View GitHub Profile
@nitinreddy3
nitinreddy3 / 0_reuse_code.js
Last active August 29, 2015 14:10
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
@nitinreddy3
nitinreddy3 / introrx.md
Last active September 9, 2015 01:49 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing

The introduction to Reactive Programming you've been missing

(by @andrestaltz)

So you're curious in learning this new thing called Reactive Programming, particularly its variant comprising of Rx, Bacon.js, RAC, and others.

Learning it is hard, even harder by the lack of good material. When I started, I tried looking for tutorials. I found only a handful of practical guides, but they just scratched the surface and never tackled the challenge of building the whole architecture around it. Library documentations often don't help when you're trying to understand some function. I mean, honestly, look at this:

Rx.Observable.prototype.flatMapLatest(selector, [thisArg])

Projects each element of an observable sequence into a new sequence of observable sequences by incorporating the element's index and then transforms an observable sequence of observable sequences into an observable sequence producing values only from the most recent observable sequence.

@nitinreddy3
nitinreddy3 / js
Last active October 20, 2016 01:44
Nested Array reduction to Array
/**
Array: [1, [2, 3], 4]
Flattens nested arrays
**/
var nestedArray = [1, [2, 3], 4, [5, 6, 7]];
nestedArray.reduce(function(a, b) {
return a.concat(b)
}, []);
@nitinreddy3
nitinreddy3 / jenikns_ci_on_ubuntu.md
Created February 4, 2017 19:02 — forked from ostinelli/jenkins_ci_on_ubuntu.md
Setup Jenkins CI on Ubuntu.

Jenkins CI

Instructions on how to setup a secured Jenkins CI.

Install Jenkins

$ wget -q -O - https://jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -
$ sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list$ .d/jenkins.list'
$ sudo apt-get update
$ sudo apt-get install jenkins
@nitinreddy3
nitinreddy3 / filterArray.js
Last active August 24, 2017 08:55
Get a 'n' number of elements from an array
/**
* Filters out first 'n' elements from the list
*/
/**
* Represents a array
*/
var list = [ 1, 2, 3, 4, 5, 6, 7, 6, 3, 4, 5, 12, 123, 2, 2, 23, 4, 5, 67, 4, 2, 34, 23, 34, 5, 45];
@nitinreddy3
nitinreddy3 / python_scripting.rst
Created October 21, 2017 15:33 — forked from jasonkeene/python_scripting.rst
Get started with writing your own python scripts to automate system tasks.

Python for System Admins / Operators

Installing Python

Most Unix/Linux systems come with python pre-installed:

$ python -V
@nitinreddy3
nitinreddy3 / Galaxy Of Tutorial Torrents
Created November 12, 2017 07:52 — forked from iHassan/Galaxy Of Tutorial Torrents
Ultimate Galaxy Of Tutorial Torrents
=============================
**http://kickass.to/infiniteskills-learning-jquery-mobile-working-files-t7967156.html
**http://kickass.to/lynda-bootstrap-3-advanced-web-development-2013-eng-t8167587.html
**http://kickass.to/lynda-css-advanced-typographic-techniques-t7928210.html
**http://kickass.to/lynda-html5-projects-interactive-charts-2013-eng-t8167670.html
**http://kickass.to/vtc-html5-css3-responsive-web-design-course-t7922533.html
*http://kickass.to/10gen-m101js-mongodb-for-node-js-developers-2013-eng-t8165205.html
*http://kickass.to/cbt-nuggets-amazon-web-services-aws-foundations-t7839734.html
@nitinreddy3
nitinreddy3 / aws-certification.md
Created December 2, 2017 10:16 — forked from miglen/aws-certification.md
AWS Certification guide and notes on how to prepare for the aws associate certification architect, sysops and developer exams


AWS Certification notes

Those are my personal notes on AWS Solution Architect certification preparation. Hope you find them usefull.

To pass AWS certification, you should have:

  • Sound knowledge about most of the AWS services ( EC2, VPC, RDS, Cloudfront, S3, Route53 etc,)
  • Hands on experience with AWS services.

Step by step to install Scala + Play Framework in Ubuntu 14.04 with Activator.

Install Scala

sudo apt-get remove scala-library scala
wget http://www.scala-lang.org/files/archive/scala-2.11.6.deb
sudo dpkg -i scala-2.11.6.deb
sudo apt-get update
sudo apt-get install scala
{"version":1,"resource":"file:///d%3A/Projects/axinan/b2c-id-web/src/__tests__/utils/common.test.ts","entries":[{"id":"rA8e.ts","source":"Workspace Edit","timestamp":1665658837123},{"id":"46ZA.ts","timestamp":1665658853345},{"id":"uFXv.ts","source":"Workspace Edit","timestamp":1666185864781}]}