Skip to content

Instantly share code, notes, and snippets.

View publu's full-sized avatar

Pablo publu

View GitHub Profile
@publu
publu / designer.html
Last active August 29, 2015 14:23
designer
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
<link rel="import" href="../topeka-elements/theme.html">
<link rel="import" href="../topeka-elements/topeka-resources.html">
<link rel="import" href="../topeka-elements/topeka-app.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
var fileinput = require('fileinput');
var csv = require('to-csv')
var fs = require('fs');
// got through each line and
var data = [];
fileinput.input('doc_conv_insideout.txt')
@publu
publu / gist:12c924e8fb43c23ebec5ca04c2b993a1
Created September 23, 2016 00:51
inside_out_text_raw.csv
text,class
" Do you ever look at someone and wonder \What is going on inside their head?\"" Well I know. I know Riley's head.""",JOY
Hmm?,JOY
And there she was...,JOY
Whoa.,JOY
It was amazing. Just Riley and me forever...,JOY
...for 33 seconds.,JOY
I'm Sadness.,SADNESS
Oh hello. I'm Joy.,JOY
Can I just... if you could... I just want to fix that. Thanks.,JOY
0x351C0b1Fc6fa9d390aB117984bB267F0d62Adfc6

Awesome Blockchain

Curated list of awesome bitcoin blockchain services:

Assets

  • Coinspark - Upgrade your bitcoin with messaging and assets
  • Coinprism - Use the Bitcoin blockchain with any kind of asset
  • Colu.co - Creating, Storing and Managing Digital Assets On Top of the Bitcoin Blockchain
  • Chronicled - Collect and trade 100% authentic products
This is a test
<!-- Begin Mailchimp Signup Form -->
<link href="//cdn-images.mailchimp.com/embedcode/classic-10_7.css" rel="stylesheet" type="text/css">
<style type="text/css">
#mc_embed_signup{background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif; }
/* Add your own Mailchimp form style overrides in your site stylesheet or in this style block.
We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */
</style>
<div id="mc_embed_signup">
<form action="https://awesomeblockchain.us16.list-manage.com/subscribe/post?u=8c24cca329b8f457a655ed73e&amp;id=6b7f43c4a5" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
<div id="mc_embed_signup_scroll">
@publu
publu / Installing protoc-gen-grpc-web
Created January 31, 2019 07:39
big oof with grpc-web
git clone https://github.com/grpc/grpc-web
bazel build --compilation_mode=opt //javascript/net/grpc/web:protoc-gen-grpc-web
cp bazel-bin/javascript/net/grpc/web/protoc-gen-grpc-web /usr/local/bin/
pragma solidity ^0.4.24;
contract ERC20 {
mapping(address => uint256) public balances;
mapping(address => mapping (address => uint256)) public allowed;
string public name;
string public symbol;
uint8 public decimals;
uint256 public totalSupply;
uint256 private constant MAX_UINT256 = 2**256 -1 ;
event Transfer(address indexed from, address indexed to, uint tokens);