Skip to content

Instantly share code, notes, and snippets.

@slv922
slv922 / http_get_request.go
Created August 29, 2017 16:32
golang http post request
package main
import (
"bytes"
"fmt"
"io/ioutil"
"net/http"
"net/url"
)
@slv922
slv922 / install-c9-on-centos.md
Created March 15, 2017 16:04 — forked from gbraad/install-c9-on-centos.md
Install C9 on CentOS

Install C9 on CentOS as SSH remote workspace

To setup a SSH remote workspace for C9 on CentOS do the following on the host:

yum install git
git clone https://github.com/c9/core.git /opt/c9sdk
yum groupinstall "Development Tools"
yum install glibc-static
@slv922
slv922 / send-message.py
Last active January 2, 2023 18:53 — forked from sosukeinu/send-message.py
PYTHON send E-mail from eml file endswith 'eml' recursively
#!/usr/bin/env python
# -*- mode: python; coding: utf-8-unix -*-
import sys
import os.path
import smtplib
import gzip
import re
from email.utils import make_msgid
from datetime import datetime