Skip to content

Instantly share code, notes, and snippets.

View chaudhary27's full-sized avatar

Faisal Farooq chaudhary27

  • AWS
  • New York City
View GitHub Profile

Keybase proof

I hereby claim:

  • I am chaudhary27 on github.
  • I am chaudhary27 (https://keybase.io/chaudhary27) on keybase.
  • I have a public key whose fingerprint is F2E7 B897 FE67 A39F 9CE1 5134 5EC0 79FC 1A4A B279

To claim this, I am signing this object:

@chaudhary27
chaudhary27 / Google-Drive-API.rb
Created January 23, 2016 20:32
google drive api read/write options
require "google/api_client"
require "google_drive"
# Creates a session. This will prompt the credential via command line for the
# first time and save it to config.json file for later usages.
session = GoogleDrive.saved_session("config.json")
# Gets list of remote files.
session.files.each do |file|
p file.title
@chaudhary27
chaudhary27 / .rb
Created August 6, 2015 23:30
Quiz_2_OOP
class Dog
attr_accessor :name, :kind
def initialize(name, kind)
@name = name
@kind = kind
end
def output_details
puts "This dog\'s name is #{@name} and its kind is #{@kind}"
@chaudhary27
chaudhary27 / .rb
Last active August 29, 2015 14:26
image_blur_test
require 'minitest/autorun'
class Image
def initialize(pixels)
@pixels = pixels
end
def output_image
@pixels.each do |i|