Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View IndianGuru's full-sized avatar

IndianGuru IndianGuru

View GitHub Profile
@IndianGuru
IndianGuru / numverify.go
Last active October 25, 2020 19:56
numverify.go
package main
import (
"encoding/json"
"fmt"
"log"
"net/http"
"net/url"
)
@IndianGuru
IndianGuru / myfirstbot.go
Last active May 22, 2020 11:37
My First Telegram Bot
package main
import (
"encoding/json"
"fmt"
"log"
"net/http"
"strconv"
)
@IndianGuru
IndianGuru / person.go
Created September 4, 2015 05:05
person.go
package main
import (
"log"
"os"
"text/template"
)
type Person struct {
Name string
@IndianGuru
IndianGuru / text.go
Last active March 10, 2018 20:11
Reads the text within images
package main
import (
"encoding/base64"
"flag"
"fmt"
"io/ioutil"
"os"
"path/filepath"
@IndianGuru
IndianGuru / mongohqconnect.go
Created September 25, 2015 07:30
mongohqconnect.go
package main
import (
"fmt"
"gopkg.in/mgo.v2"
"gopkg.in/mgo.v2/bson"
"log"
"os"
)
@IndianGuru
IndianGuru / type.go
Last active October 29, 2016 05:44
type.go
type Numverify struct {
Valid bool `json:"valid"`
Number string `json:"number"`
LocalFormat string `json:"local_format"`
InternationalFormat string `json:"international_format"`
CountryPrefix string `json:"country_prefix"`
CountryCode string `json:"country_code"`
CountryName string `json:"country_name"`
Location string `json:"location"`
Carrier string `json:"carrier"`
@IndianGuru
IndianGuru / mycf.go
Last active October 7, 2016 23:33
Go program to access Clarifai API
package main
import (
"encoding/json"
"fmt"
"net/http"
"net/url"
"strings"
)
@IndianGuru
IndianGuru / temp.go
Last active October 7, 2016 23:32
Program to access tags
package main
import (
"encoding/json"
"fmt"
"net/http"
"net/url"
"strings"
)
@IndianGuru
IndianGuru / pwnedtest.go
Created September 27, 2016 06:28
A Go program that uses the pwned.go library
package main
import (
"fmt"
"time"
"github.com/SatishTalim/pwned"
)
func main() {
@IndianGuru
IndianGuru / pwned.go
Created September 27, 2016 06:03
A go package for the HaveIBeenPwned Rest API
package pwned
import (
"encoding/json"
"fmt"
"io/ioutil"
"log"
"net/http"
"time"
)