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/sh | |
set -e | |
# Get a list of groups a user is a member of on one line, space-seperated | |
# Single-quote group names with spaces, otherwise print the rest | |
SPACE_CHAR='-' | |
TMP=`mktemp` | |
hostname="" | |
baseDN="" |
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 | |
sudo yum install -y gcc g++ gtk+-devel libjpeg-devel libtiff-devel jasper-devel libpng-devel zlib-devel cmake unzip | |
sudo yum install -y yum-priorities | |
wget http://ftp-srv2.kddilabs.jp/Linux/distributions/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm | |
sudo rpm -ivh epel-release-6-8.noarch.rpm | |
sudo yum install -y eigen3-devel —enablerepo=epel | |
pip install numpy | |
wget http://downloads.sourceforge.net/project/opencvlibrary/opencv-unix/2.4.8/opencv-2.4.8.zip | |
unzip opencv-2.4.8 |
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
# Written by Cheng Zhao(zcbenz@gmail.com). | |
# Published under Public Domain. | |
# Usage: stackshot.sh pid | |
# Path to stackshot tool. | |
STACKSHOT='/usr/libexec/stackshot' | |
# Path to symbolicated report. | |
TRACEFILE='/Library/Logs/stackshot-syms.log' |