Skip to content

Instantly share code, notes, and snippets.

View santteegt's full-sized avatar
💭
BuiDLing

Santiago Gonzalez Toral santteegt

💭
BuiDLing
View GitHub Profile
@santteegt
santteegt / keybase.md
Created May 26, 2017 23:11
Proving Github ownership

Keybase proof

I hereby claim:

  • I am santteegt on github.
  • I am santteegt (https://keybase.io/santteegt) on keybase.
  • I have a public key ASCD-Lp_l3D2MjUWhzIvOy4InEjuvNeba-kybyUnsYOhTAo

To claim this, I am signing this object:

@santteegt
santteegt / tweets_data_analysis.ipynb
Created July 24, 2017 03:50
Data Incubator fellowship - My Project data analysis
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@santteegt
santteegt / ConsultaEcuador2018.java
Last active January 31, 2018 21:03
ConsultaPopularEcuador2018 using Java8 & lambda programming
import com.sun.javafx.binding.StringFormatter;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Vector;
import java.util.stream.IntStream;
/**
* Created by santteegt on 31/01/2018.
@santteegt
santteegt / GIF-Screencast-OSX.md
Created January 28, 2020 20:36 — forked from dergachev/GIF-Screencast-OSX.md
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

@santteegt
santteegt / assetDDO.json
Last active May 14, 2020 03:57
Sample Asset to be published on Aquarius
{
"@context": "https://w3id.org/did/v1",
"id": "did:op:89f7f4dd113f486484c53f962d98f9da7f0769efee5245e39e74c734938fe02b",
"publicKey": [
{
"id": "did:op:89f7f4dd113f486484c53f962d98f9da7f0769efee5245e39e74c734938fe02b",
"type": "EthereumECDSAKey",
"owner": "0xc6853698E47a664E96545C24772ca9434BE9A80E"
}
],
@santteegt
santteegt / asset.json
Created May 14, 2020 03:58
Sample asset metadata
{
"additionalInformation":{
"categories":[
"image"
],
"copyrightHolder":"Jayme Hayes",
"description":"EXAMPLE ONLY",
"inLanguage":"en",
"links":[
{
import nbformat
import nbconvert
import logging
import sys
import time
# import wget
logger = logging.getLogger(__name__)
ep = nbconvert.preprocessors.ExecutePreprocessor(timeout=5000)
@santteegt
santteegt / robot-marbles-part-6.ipynb
Created July 17, 2020 00:46
robot-marbles-part-6.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@santteegt
santteegt / index.js
Last active September 8, 2020 02:30
Example code on how to upload files to an S3 bucket using AWS SDK
#!/usr/bin/env node
// HOW to setup a Nodejs project and configure access credentials:
// https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/getting-started-nodejs.html
require('dotenv').config();
const program = require('commander')
const mime = require('mime-types')
const AWS = require('aws-sdk')
const fs = require('fs')

did:3:bafyreicvls4l7wheywfw5nqwkq7kp5lyghi6wf656ijftc5fn7pou56gzy