I hereby claim:
- I am ecarrara on github.
- I am ecarrara (https://keybase.io/ecarrara) on keybase.
- I have a public key ASDd_q8PBmySFWygu8AS3R78iXngLT4zP4RlV8jcyrZoMAo
To claim this, I am signing this object:
| use std::{ | |
| ffi::{c_char, c_int, CStr, CString}, | |
| fmt::Debug, | |
| }; | |
| use pyo3::{ | |
| ffi::{ | |
| PyEval_GetFrame, PyFrameObject, PyFrame_GetCode, PyInterpreterState, PyObject_Call, | |
| PyObject_CallFinalizer, PyObject_GetItem, PyObject_SetItem, PyThreadState, | |
| PyThreadState_Get, PyThreadState_GetDict, PyUnicode_AsUTF8, PyUnicode_AsUTF8AndSize, |
| #!/bin/bash | |
| e[1]=":bowtie:" | |
| e[2]=":smile:" | |
| e[3]=":simple_smile:" | |
| e[4]=":laughing:" | |
| e[5]=":blush:" | |
| e[6]=":smiley:" | |
| e[7]=":relaxed:" | |
| e[8]=":smirk:" |
| #include <iostream> | |
| #include <vector> | |
| #include <list> | |
| #include <set> | |
| #include <map> | |
| #include <queue> | |
| #include <cassert> | |
| using namespace std; |
| """ | |
| Crawlerzinho do resultado de pesquisa por imagens do Google | |
| usando o Selenium. | |
| Baixar uma por uma é muito chato. | |
| Não use isso para coisas que o Google não deixaria você usar isso. | |
| """ | |
| import sys |
| #include <cmath> | |
| #include <cstdio> | |
| #include <vector> | |
| #include <string> | |
| #include <sstream> | |
| #include <map> | |
| #include <iostream> | |
| #include <algorithm> | |
| using namespace std; |
| import warnings | |
| warnings.filterwarnings('ignore') | |
| import sys | |
| import timeit | |
| import numba | |
| import numpy as np | |
| import skimage.io | |
| import pyopencl as cl | |
| # testar: |
I hereby claim:
To claim this, I am signing this object:
| <html> | |
| <head> | |
| <script src='https://api.mapbox.com/mapbox-gl-js/v0.48.0/mapbox-gl.js'></script> | |
| <link href='https://api.mapbox.com/mapbox-gl-js/v0.48.0/mapbox-gl.css' rel='stylesheet' /> | |
| </head> | |
| <body> | |
| <div id='map' style='width: 1024px; height: 768px;'></div> | |
| <script> | |
| mapboxgl.accessToken = 'xxx'; | |
| var map = window.MAP = new mapboxgl.Map({ |
| local ltn12 = require("ltn12") | |
| local http = require("ssl.https") | |
| local API_KEY = "..." | |
| function wtfismyip () | |
| local resp = http.request("https://ipv4.wtfismyip.com/text") | |
| return resp | |
| end |
| # -*- coding: utf-8 -*- | |
| """ | |
| raster2tiles | |
| ~~~~~~~~~~~~ | |
| Utility to convert GDAL readable file to TMS tiles. | |
| .. reference: https://github.com/commenthol/gdal2tiles-leaflet/blob/master/gdal2tiles.py | |
| """ |