brew install cmake
brew install python
sudo easy_install pip
Add powerline bin to your path. In your zshrc file (or the paths files sourced in zshrc) add the following line
PATH="/usr/local/share/python/:$PATH"
<head> | |
<meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=0, width=device-width"> | |
</head> | |
<body> | |
{{> gauge id="demo" style="basic"}} | |
</body> | |
<template name="gauge"> | |
<div id="demo" style="display:inline-block;width:200px;height:200px;"></div> |
<div itemscope itemtype="http://schema.org/LocalBusiness"> | |
<h2><span itemprop="name">Super Shop</span></h2> | |
<p><span itemprop="description">A super shop that sells everything at super low prices.</span></p> | |
<address itemprop="address" itemscope itemtype="http://schema.org/PostalAddress"> | |
<span itemprop="streetAddress">123 Example Street</span> | |
<span itemprop="addressLocality">Example Town</span>, | |
<span itemprop="addressRegion">Essex</span> | |
</address> | |
Phone: <a href="tel:01234567890"><span itemprop="telephone">01234 567890</span></a> | |
</div> |
{ | |
"https://index.docker.io/v1/": { | |
"auth": "<base64 encoded Docker username:password>", | |
"email": "<Docker Account Email>" | |
} | |
} |
*--------------------------------------------------------------------* | |
* Example program to extract data to Elasticsearch | |
*--------------------------------------------------------------------* | |
* Be sure to read the accompanying article: | |
* http://ceronio.net/2015/02/sap-business-intelligence-with-elasticseach-and-kibana/ | |
*&---------------------------------------------------------------------* | |
*& WARNING!: This program is just a proof of concept. For a proper | |
*& production-quality extraction program, you would: | |
*& 1. Use a database cursor for selection | |
*& 2. Do bulk updates to Elasticsearch for better performance |
option_settings: | |
- option_name: AWS_SECRET_KEY | |
value: ------------------------------------------- | |
- option_name: AWS_ACCESS_KEY_ID | |
value: ------------------------------ | |
- option_name: PORT | |
value: 8081 |
git config --global alias.ignore-create '!gi() { \ | |
if [ $# -eq 0 ]; then \ | |
echo "Usage: git ignore-create list-item,...\n" ;\ | |
echo "Avalaible list items:" ;\ | |
curl -sL "https://www.gitignore.io/api/list" | tr -d "\n" ;\ | |
echo "" ;\ | |
else \ | |
echo "# DO NOT EDIT THIS FILE" ;\ | |
echo "# Put your local changes on .gitignore.local, then\n" ;\ | |
echo "# To update type: git ignore-update" ;\ |
import nltk | |
text = """The Buddha, the Godhead, resides quite as comfortably in the circuits of a digital | |
computer or the gears of a cycle transmission as he does at the top of a mountain | |
or in the petals of a flower. To think otherwise is to demean the Buddha...which is | |
to demean oneself.""" | |
# Used when tokenizing words | |
sentence_re = r'''(?x) # set flag to allow verbose regexps | |
([A-Z])(\.[A-Z])+\.? # abbreviations, e.g. U.S.A. |
<div class="row" style="margin-bottom: 12px;"> | |
<div class="col-md-12" style="text-align: center;"> | |
This page will refresh in <div class="time">{{minutes}}</div> Min <div class="time">{{seconds}}</div> Sec | |
</div> | |
</div> |
YourTrelloKey
with this hash.YourTrelloToken
with this looong hash.