Skip to content

Instantly share code, notes, and snippets.

eduardobc88 / share_social_button.html
Created February 15, 2016 17:34
Share HTML Button Telegram and WhatsApp
View share_social_button.html
<a href="whatsapp://send?text=" data-action="share/whatsapp/share" >Compartir en WhatsApp</a>
<a class="tgme_action_button" href="tg://msg_url?url=">Compartir en Telegram</a>
Bouke / gist:11261620
Last active March 18, 2023 00:48
Multiple Python installations on OS X
View gist:11261620

Previous versions used homebrew to install the various versions. As suggested in the comments, it's better to use pyenv instead. If you are looking for the previous version of this document, see the revision history.

$ brew update
$ brew install pyenv
$ pyenv install 3.5.0
$ pyenv install 3.4.3
$ pyenv install 3.3.6
$ pyenv install 3.2.6
$ pyenv install 2.7.10

$ pyenv install 2.6.9

srs81 /
Last active July 14, 2020 13:19
Export all data from HBase database to CSV in this format: row-key, column-key, value
import happybase, sys, os, string
# Output directory for CSV files
outputDir = "/mnt"
# HBase Thrift server to connect to. Leave blank for localhost
server = ""
# Connect to server
c = happybase.Connection(server)