Skip to content

Instantly share code, notes, and snippets.

View SanthoshVijayabaskar's full-sized avatar
🎯
Focusing

Santhosh Vijayabaskar SanthoshVijayabaskar

🎯
Focusing
View GitHub Profile
@SanthoshVijayabaskar
SanthoshVijayabaskar / Android.md
Last active September 13, 2016 05:23
Getting Started with Android

7 Lifecycle methods of an Activity

  • onCreate
  • onStart
  • onResume
  • onPause
  • onStop
  • onRestart
  • onDestroy
@SanthoshVijayabaskar
SanthoshVijayabaskar / ES6_BoilerPlates.md
Last active December 9, 2015 15:36
ES6 BoilerPlates

Hello World Program 🙏

STEP 1: Setup Babel CommandLine Utility [https://babeljs.io/docs/setup/]
``` npm install -g babel-cli ```
STEP 2: Install Babel Preset for ES2015
``` npm install babel-preset-es2015 ```
@SanthoshVijayabaskar
SanthoshVijayabaskar / gist:47d9d8380c52ac507ff2
Created January 18, 2016 09:54 — forked from olivierlacan/gist:4062929
Code School Screencasting Framework

Screencasting Framework

The following document is a written account of the Code School screencasting framework. It should be used as a reference of the accompanying screencast on the topic.

Why you should care about screencasting?

You're probably aren't going to take the time to read this document if you're not interested, but there are a lot of nice side effects caused by learning how to create quality screencasts.

  1. Communicating more effectively - At Envy Labs we produce screencasts for our clients all the time. Whether it's demoing a new feature or for a presentation for an invester, they're often much more effective and pleasent than a phone call or screen sharing.
@SanthoshVijayabaskar
SanthoshVijayabaskar / React-HelloWorld-basic-CSS
Created May 21, 2016 08:27
This is a sample CSS for my ReactJS Training Program - Hello World
html {
height: 100%;
}
body {
background: #f2f2f2;
font-family: Roboto;
display: flex;
justify-content: center;
align-items: center;
@SanthoshVijayabaskar
SanthoshVijayabaskar / MyReactComponent.js
Last active May 21, 2016 20:39 — forked from thmain/MyReactComponent.js
Skeleton React Component with descriptions for all of its lifecycle methods
/**
* @jsx React.DOM
*/
var React = require('react'),
MyReactComponent = React.createClass({
// The object returned by this method sets the initial value of this.state
getInitialState: function(){
return {};
@SanthoshVijayabaskar
SanthoshVijayabaskar / index.html
Last active May 22, 2016 11:08
Index HTML File for React Firebase Demo
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>CGI Dev Central</title>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"/>
<style>
.form-control,
.btn,
.badge {
<nav className="navbar navbar-default navbar-fixed-top">
<div className="container-fluid">
<div className="navbar-header">
<a className="navbar-brand" href="#">
<img alt="Brand" src="http://jsrocks.org/images/icon-logo-js.png"></img>
</a>
</div>
<div className="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul className="nav navbar-nav">
@SanthoshVijayabaskar
SanthoshVijayabaskar / App.js
Last active May 25, 2016 08:44
For Movies Application in React Training
import React from 'react';
import ReactDOM from 'react-dom';
import {Router, Route, browserHistory } from 'react-router';
import HomePage from './home-page'
import MoviePoster from './movie-poster';
import MovieDetails from './movie-details';
//ES6 Const Keyword
const app = document.getElementById('app');
@SanthoshVijayabaskar
SanthoshVijayabaskar / package.json
Created June 11, 2016 06:55
React-Redux-Demo Training - CGI
{
"name": "react-redux-demo",
"version": "1.0.0",
"description": "CGI React-Redux Training",
"author": "Santhosh Vijay",
"license": "MIT",
"dependencies": {
"babel-polyfill": "6.8.0",
"bootstrap": "3.3.6",
"jquery": "2.2.3",
import React, {Component} from 'react';
import {connect} from 'react-redux';
import {bindActionCreators} from 'redux';
class DummyTemplatePage extends React.Component {
constructor(props, context){
super(props,context);
}