Skip to content

Instantly share code, notes, and snippets.

Lanzay lanzay

Block or report user

Report or block lanzay

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@lanzay
lanzay / ssl_smtp_example.go
Created Dec 17, 2017 — forked from chrisgillis/ssl_smtp_example.go
Golang SSL SMTP Example
View ssl_smtp_example.go
package main
import (
"fmt"
"log"
"net"
"net/mail"
"net/smtp"
"crypto/tls"
)
View Golang Web Crawler Solution
package main
import (
"fmt"
)
type Fetcher interface {
// Fetch returns the body of URL and
// a slice of URLs found on that page.
Fetch(url string) (body string, urls []string, err error)
@lanzay
lanzay / ZennoPoster POST-запрос
Created Feb 3, 2016
POST-запрос в ZennoPoster через C#
View ZennoPoster POST-запрос
string str = project.Variables["keyword"].Value;
var resultHttpPost = ZennoPoster.HttpPost("https://lc-api.sdl.com/translate", str, "application/json", "", "utf-8", ZennoLab.InterfacesLibrary.Enums.Http.ResponceType.HeaderAndBody, 30000, "", "", true, 5, new[] { "Authorization: LC apiKey=" });
return resultHttpPost;
You can’t perform that action at this time.