App Store -> XCode Launch it after the installation to agree with it's license terms.
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
| import os | |
| import sys | |
| import matplotlib | |
| matplotlib.use('cairo') | |
| from matplotlib import pyplot | |
| from matplotlib.colors import LinearSegmentedColormap | |
| import numpy | |
| from scipy.cluster.hierarchy import linkage, leaves_list | |
| import xmltodict |
| Большая подборка иконочных веб-шрифтов (free) и их генераторов. | |
| https://www.google.com/design/icons/ | |
| (Лицензия: CC BY 4.0) | |
| https://linearicons.com/free | |
| (Лицензия: Custom) | |
| https://octicons.github.com/ |
| #!/bin/bash | |
| # License: Public Domain. | |
| echo "export PYSPARK_PYTHON=python3" | tee -a /etc/profile.d/spark_config.sh /etc/*bashrc /usr/lib/spark/conf/spark-env.sh | |
| echo "export PYTHONHASHSEED=0" | tee -a /etc/profile.d/spark_config.sh /etc/*bashrc /usr/lib/spark/conf/spark-env.sh | |
| echo "spark.executorEnv.PYTHONHASHSEED=0" >> /etc/spark/conf/spark-defaults.conf | |
| # Only run on the master node | |
| ROLE=$(/usr/share/google/get_metadata_value attributes/dataproc-role) | |
| if [[ "${ROLE}" == 'Master' ]]; then |
Recently, GitHub introduced the change in how atx headers are parsed in Markdown files.
##Wrong
While this change follows the spec, it breaks many existing repositories. I took the README dataset which we created at source{d} and ran a simple
| import re | |
| NAME_BREAKUP_RE = re.compile(r"[^a-zA-Z]+") | |
| def extract_names(token): | |
| token = token.strip() | |
| prev_p = [""] | |
| def ret(name): | |
| r = name.lower() | |
| if len(name) >= 3: |
| package hercules | |
| import ( | |
| "gopkg.in/src-d/go-git.v4" | |
| "gopkg.in/src-d/go-git.v4/plumbing/object" | |
| "gopkg.in/src-d/hercules.v4/internal/core" | |
| "gopkg.in/src-d/hercules.v4/internal/plumbing" | |
| "gopkg.in/src-d/hercules.v4/internal/plumbing/identity" | |
| "gopkg.in/src-d/hercules.v4/internal/plumbing/uast" | |
| "gopkg.in/src-d/hercules.v4/internal/yaml" |