brew install openssl
git clone git://anongit.mindrot.org/openssh.git
cd openssh
# ./configure script does not exist, so we have to build it
autoreconf
mkdir dist
This file contains 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 -ex | |
gcc_ver=$(gcc --version | head -n 1 | awk '{print $3}') | |
# Install gcc 4.9 devtoolset | |
if [[ ! "$gcc_ver" =~ 4\.9\.* ]]; then | |
sudo yum install epel-release -y | |
sudo yum install centos-release-scl -y |
This file contains 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 python | |
# -*- coding: utf-8 -*- | |
import argparse | |
from wikitools import wiki # https://github.com/alexz-enwp/wikitools | |
from wikitools import page | |
def search_snpedia(snp): | |
""" | |
http://snpedia.com/index.php/Bulk |
This file contains 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 | |
# | |
# Generates client and server certificates used to enable HTTPS | |
# remote authentication to a Docker daemon. | |
# | |
# See http://docs.docker.com/articles/https/ | |
# | |
# To start the Docker Daemon: | |
# | |
# sudo docker -d \ |
This file contains 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
# License: MIT | |
import socket | |
from slacker import Slacker | |
import datetime | |
import time | |
import threading | |
SLACK_TOKEN = 'xoxb-00000000000-000000000000-000000000000000000000000' | |
CHANNEL_NAME = "your-channel-on-slack" |