Skip to content

Instantly share code, notes, and snippets.

View rbhatia46's full-sized avatar

Rahul Bhatia rbhatia46

  • ServiceNow
  • Hyderabad, India
  • 10:12 (UTC +05:30)
  • LinkedIn in/rbhatia46
View GitHub Profile
import React from 'react'
import {
TouchableOpacity,
StyleSheet,
View
} from 'react-native'
const height = 40
const padding = 10
const margin = 10
@rbhatia46
rbhatia46 / SQL-Social-Network.sql
Created September 18, 2017 12:09
My answers to SQL exercises for db-class.org /Part 2/
/* Delete the tables if they already exist */
drop table if exists Highschooler;
drop table if exists Friend;
drop table if exists Likes;
/* Create the schema for our tables */
create table Highschooler(ID int, name text, grade int);
create table Friend(ID1 int, ID2 int);
create table Likes(ID1 int, ID2 int);
@rbhatia46
rbhatia46 / fb-dl.py
Created July 11, 2017 14:40 — forked from zmwangx/fb-dl.py
Scrape all photos from a public Facebook page.
#!/usr/bin/env python
############################### README ###############################
# External dependencies:
# * libmagic
# * python-dateutil
# * python-magic
# * requests
#
# The shell command call at the end was tested with GNU date from GNU