Skip to content

Instantly share code, notes, and snippets.

@lucianosb
lucianosb / map.geojson
Created August 9, 2013 14:52
via:geojson.io
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@lucianosb
lucianosb / map.geojson
Created September 23, 2013 19:04
Primeira viagem do Barco Hacker
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@lucianosb
lucianosb / dabblet.css
Created October 20, 2013 20:34 — forked from chriscoyier/dabblet.css
Checkbox Hack
/* Checkbox Hack */
input[type=radio] {
position: absolute;
top: -9999px;
left: -9999px;
}
label {
-webkit-appearance: push-button;
-moz-appearance: button;
body {
background: url('http://sbvirtual.com.br/imagens/hixs_pattern_evolution.png');
}
#wrapper {
background: #ffffff;
margin: 0 auto;
width: 960px;
height: 600px;

Hello MD

Just testing markdown editing

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@lucianosb
lucianosb / keybase.md
Created January 21, 2015 10:27
keybase.md

Keybase proof

I hereby claim:

  • I am lucianosb on github.
  • I am lucianosb (https://keybase.io/lucianosb) on keybase.
  • I have a public key whose fingerprint is 11EF 2BC4 B0A5 6D37 23C5 A0C4 B7FE DF7B 9965 39CD

To claim this, I am signing this object:

@lucianosb
lucianosb / gensim2projector_tf.py
Last active January 31, 2017 15:12 — forked from lampts/gensim2projector_tf.py
how to convert/port gensim word2vec to tensorflow projector board.
# required tensorflow 0.12
# required gensim 0.13.3+ for new api model.wv.index2word or just use model.index2word
from gensim.models import Word2Vec
import tensorflow as tf
from tensorflow.contrib.tensorboard.plugins import projector
import numpy as np
# loading your gensim
model = Word2Vec.load("YOUR-MODEL")
{
"embeddings": [
{
"tensorName": "Wiki2Vec PTBR",
"tensorShape": [
748532,
300
],
"tensorPath": "",
"metadataPath": ""

Passos para alternar entre Vagrant e Docker

Primeiro fazer um backup do BCD atual

bcdedit /export C:\BackupBCD1

Agora abra um prompt e digite:

bcdedit /copy {current} /d "Windows 8 (com Hyper-V)"