Skip to content

Instantly share code, notes, and snippets.

View ShreyanJain9's full-sized avatar

shreyan ShreyanJain9

View GitHub Profile
require 'json'
require 'net/http'
require 'date'
module ATProto
class Session
def initialize(username, password)
@atp_host = "https://bsky.social"
@atp_auth_token = ""
@did = ""
@username = username
#!/bin/ruby
#This program calls the Bing API and returns some search json_results.
require "net/https" #These are just some dependencies
require "uri"
require "cgi"
require "json"
#API Info
def search(term, safesearch, where)
accessKey = ENV["BING_API_KEY"]
uri = "https://api.bing.microsoft.com"

Keybase proof

I hereby claim:

  • I am shreyanjain9 on github.
  • I am shreyan (https://keybase.io/shreyan) on keybase.
  • I have a public key ASBC11CIdCYDxvB8xYi5r5G5Oo9uqrBBSnMu3Dxi_PtJ4Ao

To claim this, I am signing this object: