Skip to content

Instantly share code, notes, and snippets.

View vikashvikram's full-sized avatar

Vikash Vikram vikashvikram

  • McKinsey & Company
  • Gurgaon, India
View GitHub Profile
#use `` to execute shell commands
#use expr shell command to do math
echo "add 4 and 5"
a=4
b=5
echo `expr $a + $b`
#Suppose you have file called 'hotel.txt' with 100 lines data, And from 'hotel.txt'
#you would like to print contains
<!DOCTYPE html>
<html>
<head>
<title>Hello React</title>
<script src="https://fb.me/react-with-addons-0.13.2.js"></script>
<script src="https://fb.me/JSXTransformer-0.13.2.js"></script>
<script src="https://code.jquery.com/jquery-2.1.3.min.js"></script>
<style>
.example-enter {
opacity: 0.01;