Thank you for your interest in contributing to open source software projects (“Projects”) made available by Marcin Wielgus or its affiliates (“SASOL”). This Individual Contributor License Agreement (“Agreement”) sets out the terms governing any source code, object code, bug fixes, configuration changes, tools, specifications, documentation, data, materials, feedback, information or other works of authorship that you submit or have submitted, in any form and in any manner, to SASOL in respect of any of the Projects (collectively “Contributions”). If you have any questions respecting this Agreement, please contact [email protected].
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update && sudo apt-get upgrade | |
sudo apt install gdebi | |
sudo apt install software-properties-gtk software-properties-common | |
sudo apt install firefox audacity chromium-browser mc git subversion vlc vim ansible vagrant virtualbox | |
curl -s "https://get.sdkman.io" | bash | |
sdk i java 8u152-zulu |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Eng Eder de Souza 01/12/2011 | |
#Speech Recognizer prototype ... | |
#Real time VAD implementation using Google Speech Api | |
from tempfile import mkstemp | |
from subprocess import call | |
from os import remove, listdir | |
from matplotlib.mlab import find | |
import pyaudio | |
import numpy as np |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for X in $(cut -f6 -d ':' /etc/passwd |sort |uniq); do | |
if [ -s "${X}/.ssh/authorized_keys" ]; then | |
echo "### ${X}: " | |
cat "${X}/.ssh/authorized_keys" | |
echo "" | |
fi | |
done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
DAEMONPID=0 | |
trap 'echo SIGTERM; kill ${!}; kill $DAEMONPID; exit 143' SIGTERM | |
trap 'echo SIGKILL; kill ${!}; kill $DAEMONPID; exit 137' SIGKILL | |
trap 'echo SIGINT; kill ${!}; kill $DAEMONPID; exit 130' INT | |
dockerd --host=unix:///var/run/docker.sock --storage-driver=vfs & | |
DAEMONPID="$!" | |
while true; do | |
docker version && break |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
#Installs docker-* tools on Mint 17.3 - run with sudo | |
set -e | |
DISTRO_NAME=$(lsb_release -a 2>/dev/null | grep Codename: | cut -f2) | |
DOCKER_VERSION=17.09.0~ce-0~ubuntu | |
COMPOSE_VERSION=1.17.1 | |
MACHINE_VERSION=v0.13.0 | |
DISTRO_NAME=${DISTRO_NAME/rosa/trusty} | |
DISTRO_NAME=${DISTRO_NAME/sonya/xenial} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS4='${BASH_SOURCE}:${LINENO} ' bash -lxe |