Skip to content

Instantly share code, notes, and snippets.

View sahilshekhawat's full-sized avatar

Sahil Shekhawat sahilshekhawat

  • Sunnyvale, California
View GitHub Profile
$(document).ready(function() {
alert("I am an alert box2!");
});
<?xml version="1.0" encoding="utf-8"?>
<android.support.v4.widget.DrawerLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/drawer"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
tools:openDrawer="start">
<?xml version="1.0" encoding="UTF-8"?>
<style-scheme id="plain" _name="Plain" version="1.0">
<author>Sahil Shekhawat</author>
<_description>Just plain text for interview practice.</_description>
<color name="comment_color" value="#000000"/>
<color name="number_color" value="#000000"/>
<color name="string_color" value="#000000"/>
<color name="boolean_color" value="#000000"/>

Keybase proof

I hereby claim:

  • I am sahilshekhawat on github.
  • I am sahilshekhawat (https://keybase.io/sahilshekhawat) on keybase.
  • I have a public key whose fingerprint is 8D6E 374D 58FC 046A BABC C6FF 829E D817 F43D BC83

To claim this, I am signing this object:

Get the following required documents when you visit branch.
1.Visa application form (Form 14 A) duly filled i.e. Date, Sign, Occupation, Address as per passport, hotel
complete details with telephone number and pin code
2.Passport valid for 6 months
3.Two recent color photographs undamaged, matt finish sized 35 mm x 45 mm with front view on a white
background, without borders. The face should cover 80% of the photograph. Avoid wearing light color shirt/
top in order to have better and clear picture. It is mandatory to write applicants name and passport number
on back of photograph provided with the application
4.Covering letter from the applicant stating purpose of visit
5.Invitation Letter from your Family / Friends in Singapore with their NRIC No or Fin No. mentioned on the
package com.example.sahil.pcsma_ass1_android;
import android.content.Context;
import android.hardware.Sensor;
import android.hardware.SensorEvent;
import android.hardware.SensorEventListener;
import android.hardware.SensorManager;
import android.os.AsyncTask;
import android.os.Environment;
import android.support.design.widget.Snackbar;
@prefix : <http://www.semanticweb.org/shubham/ontologies/2015/9/untitled-ontology-5#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@base <http://www.semanticweb.org/shubham/ontologies/2015/9/untitled-ontology-5> .
<http://www.semanticweb.org/shubham/ontologies/2015/9/untitled-ontology-5> rdf:type owl:Ontology .
from sympy import symbols, Symbol, acos
from sympy.physics.mechanics import *
from sympy.physics.vector import dot
from numpy import linspace
from pydy.system import System
from numpy import pi, sqrt
from pydy.viz.shapes import Cylinder, Sphere
from pydy.viz.scene import Scene
#!/usr/bin/env python
import os
import webbrowser
import BaseHTTPServer
from SimpleHTTPServer import SimpleHTTPRequestHandler
def run_server(port=8000, scene_file="Null", directory="static/"):
#change dir to static first.
os.chdir(directory)
#!/usr/bin/env python
import os
import sys
import signal
import webbrowser
import BaseHTTPServer
from SimpleHTTPServer import SimpleHTTPRequestHandler
class Server(object):