A personal diary of DataFrame munging over the years.
Convert Series datatype to numeric (will error if column has non-numeric values)
(h/t @makmanalp)
| # Basic Makefile for Golang project | |
| # Includes GRPC Gateway, Protocol Buffers | |
| SERVICE ?= $(shell basename `go list`) | |
| VERSION ?= $(shell git describe --tags --always --dirty --match=v* 2> /dev/null || cat $(PWD)/.version 2> /dev/null || echo v0) | |
| PACKAGE ?= $(shell go list) | |
| PACKAGES ?= $(shell go list ./...) | |
| FILES ?= $(shell find . -type f -name '*.go' -not -path "./vendor/*") | |
| # Binaries | |
| PROTOC ?= protoc |
A personal diary of DataFrame munging over the years.
Convert Series datatype to numeric (will error if column has non-numeric values)
(h/t @makmanalp)
| #!/usr/bin/env lua | |
| local http=require("socket.http"); | |
| local request_body = [[login=user&password=123]] | |
| local response_body = {} | |
| local res, code, response_headers = http.request{ | |
| url = "http://httpbin.org/post", | |
| method = "POST", | |
| headers = |
| 1033edge.com | |
| 11mail.com | |
| 123.com | |
| 123box.net | |
| 123india.com | |
| 123mail.cl | |
| 123qwe.co.uk | |
| 126.com | |
| 150ml.com | |
| 15meg4free.com |
| function download(url, cb) { | |
| var data = ""; | |
| var request = require("http").get(url, function(res) { | |
| res.on('data', function(chunk) { | |
| data += chunk; | |
| }); | |
| res.on('end', function() { | |
| cb(data); |