Getting Started With Superset: Airbnb’s data exploration platform
At the time of writing, Python v3.5 and PIP v9.0.1 were available on AWS EC2.
sudo yum update -y
sudo yum install python35 -y
At the time of writing, Python v3.5 and PIP v9.0.1 were available on AWS EC2.
sudo yum update -y
sudo yum install python35 -y
If anyone is interested in setting up their system to automatically (or manually) sign their git commits with their GPG key, here are the steps:
$ git config --global commit.gpgsign true
([OPTIONAL] every commit will now be signed)$ git config --global user.signingkey ABCDEF01
(where ABCDEF01
is the fingerprint of the key to use)$ git config --global alias.logs "log --show-signature"
(now available as $ git logs
)$ git config --global alias.cis "commit -S"
(optional if global signing is false)$ echo "Some content" >> example.txt
$ git add example.txt
$ git cis -m "This commit is signed by a GPG key."
(regular commit
will work if global signing is enabled)#!/usr/bin/env python3 | |
from argparse import ArgumentParser | |
from os import listdir, stat | |
from os.path import sep as pathsep | |
from glob import glob | |
from shutil import SameFileError, copy, get_terminal_size | |
from typing import Union | |
from sys import exit, stdout | |
from alive_progress import alive_bar | |
from concurrent.futures import ProcessPoolExecutor, as_completed |
knime.exe -consoleLog -noexit -nosplash -application org.knime.product.KNIME_BATCH_APPLICATION -workflowFile="PathToYourWorkflow.zip" -destFile="OutputPathToYourWorkflow.zip" |
Prereq:
apt-get install zsh
apt-get install git-core
Getting zsh to work in ubuntu is weird, since sh
does not understand the source
command. So, you do this to install zsh
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
Many users when are given server access, do not have root (or sudo) privileges and can not simply do
sudo apt-get install python-pip
.
Here's an easy way you can install and use pip without root (or sudo) access in a local directory.
Note : This works without easy_install
too.
# vim: set fileencoding=utf-8 : | |
# | |
# How to store and retrieve gzip-compressed objects in AWS S3 | |
########################################################################### | |
# | |
# Copyright 2015 Vince Veselosky and contributors | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at |
docker-compose.yml
and config.yml
in the same directory on one of your volumes on the NAS.docker-compose up -d
curl --head http://NAS-IP:55000
--registry-mirror=http://NAS-IP:55000
curl http://NAS-IP:55000/v2/_catalog
{ "keys": ["ctrl+alt+p"], "command": "prompt_select_workspace" } |
#! /usr/bin/env python | |
import threading | |
import subprocess | |
import traceback | |
import shlex | |
class Command(object): | |
""" | |
Enables to run subprocess commands in a different thread with TIMEOUT option. |