blob_id stringlengths 40 40 | length_bytes int64 7 488k | source stringlengths 7 488k |
|---|---|---|
57d34fac8dfbbe068105c6e5b607433a2c1acdd6 | 190 | #!/bin/bash
mkdir -p doc
wbgen2 -D ./doc/wrsw_nic.html -V nic_wishbone_slave.vhd --cstyle defines --lang vhdl -K ../../sim/regs/nic_regs.vh -p nic_wbgen2_pkg.vhd --hstyle record wr_nic.wb
|
678e67ffc8910eb2fe762f4225b29204759201e2 | 775 | # !/bin/bash
pwd
cd /home/ubuntu
pwd
YEAR=$1
MM=$2
FIRST_DAY=$(date -d $YEAR-$MM-01 +%Y-%m-%d)
DATE=$(date -d $FIRST_DAY +%Y%m)
DAY_AFTER_MONTH=$(date -d "$FIRST_DAY +1 months" +%Y-%m-01)
LAST_DAY=$(date -d "$DAY_AFTER_MONTH -1 day" +%Y-%m-%d)
echo "First day: $FIRST_DAY"
echo "Day after month: $DAY_AFTER_MONTH"
echo "... |
17fb575dd92f83d2da20f30e29673df0f0d9642c | 1,163 | #!/bin/bash
# Script teste
echo "***************************"
echo "***** BEGIN OF SCRIPT *****"
echo "***************************"
echo "Downloading..."
git clone git@github.com:pcdiasmega/IAED-proj1.git
echo "Extracting..."
mv IAED-proj1/* ./
echo "Deleting files..."
rm -rf IAED-proj1
echo "Compiling..."
gcc -ansi -... |
88b603b278fad32dde78de820b890fe0aaf821f3 | 781 | #!/bin/bash
set -eu
dir=$(dirname $(readlink -f "$0"))
executables=(changeomatic.sh kassomat-maintenance.sh payout-log-less.sh payout-restart.sh kassomat-set-coin-levels.py payout-log-tail.sh)
echo $executables
echo "installing payout systemd unit file"
ln -svf ${dir}/payout.service /etc/systemd/system/payout.service... |
7fb015a3acfa0db83face24e4067c9f325e8dadf | 881 | #!/bin/bash
mkdir -p data
# initialize the job pool
thread_count=4;
if [ $# -eq 1 ]; then
thread_count=$1
fi
. job_pool.sh
job_pool_init $thread_count 0
# run jobs
p="CHAOS"
cp=1
dims=(8 10 12)
lens=(6 7 8)
deps=(100000 100000 100000)
for a in ${!dims[@]}; do
w=${dims[$a]}
m=${lens[$a]}
d=${deps[$a]}
jobstr="... |
4890544dce9f8d213641fe67871cb6db68ab9ac6 | 80 | #!/bin/bash
docker run -d --name=ttorrent-ubuntu --rm chaosorca/ttorrent-ubuntu
|
bd222e251e35aa1ffe6edf0287d1bc684b72c40b | 57 | #!/bin/bash
echo "Building Netlify site..."
mkdocs build
|
e8261d7ef6742caace5ad8ec05e374ba735e9c5d | 1,890 | # Download and run this script to the Linux desktop:
# $ wget https://raw.githubusercontent.com/openoms/bitcoin-tutorials/master/electrs/4_electrum_install && bash 4_electrum_install.sh
# https://electrum.org/#download
# Install dependencies:
sudo apt-get install -y python3-pyqt5
# Download package:
wget https://d... |
2706bd2cacfbf824e7353b9ac1e9fb4a506b6506 | 1,118 |
# This is small awk snippet which takes the Files "$FILE" variable and "$FILE" gets the feed from find command
# where it looks the file Size more than 1MB and list them with the all the information except the group.
# However, It sorts the file owner and based on that aggregats the size consumed by that particul... |
cb71260325d70affc2ead846a8dc621aae37731c | 707 | #!/bin/bash
#scripts for ec2 instances launch using AWS CLI
#Script by Manidurai
#Email ID:dd.manikandan55@gmail.com
#First of please install and configured AWS CLI
echo "Ec2 instances provisioned to AWS CLI"
read -p "Enter your image ID : " IMAGEID
read -p "Enter your instance count : " COUNT
read -p "Enter Instance ... |
7d5bf61361ab6f6ec4c833c5acdd1b6266583492 | 140 | #! /bin/bash
cd /home/wuhongyi/Pixie4e/WinDriver
make install
cd /home/wuhongyi/driver/wuhongyi/wuhongyi_installation/redist
make install
|
87542d622187ab030aadcf99f0253f0bd2fc3bde | 5,716 | #!/usr/bin/env bash
set -e
source "$INTEGTEST_DIR/test-helpers.bash"
echo ">>> TESTING CCM-MANAGED NLB INSTANCE"
echo "- Deploying cluster ingress controller"
sed -r \
-e "s/%%EXOSCALE_ZONE%%/$EXOSCALE_ZONE/" \
"${INTEGTEST_DIR}/manifests/ingress-nginx.yml.tpl" \
| kubectl $KUBECTL_OPTS apply -f -
# It is not... |
b571b80a4c6a3cd2074078ee73a467a71a1da9e4 | 144 | MONGODB="mongodb://root:iwb@iwb-mongodb:27017/iwb?authMechanism=DEFAULT&authSource=admin"
NODE_ENV=production
SS_ENV=production
REDIS=iwb-redis
|
37ae93c41f95c4d7fbabe64d921398ff97ccde3a | 367 | # mynas search --gpu 0 --seed 20 --save-every 100 -q --train-dir ./results/nb301/oneshot_supernet_training/seed20 config.yaml
# run derive using the 1500-epoch supernet ckpt
mynas eval-arch config.yaml nb301_assets/archs.yaml --load ../../results/nb301/oneshot_supernet_training/seed20/1500/ --dump-rollouts results/nb3... |
1821be87e903ba80c68aff32013ebdd89a27c4ce | 370 | #!/bin/bash
# output of, in moodle root:
git grep --full-name -p --break --heading -E '(public|private|protected) function' -- '*/renderer.php' 'lib/outputrenderers.php' > list_renderers.txt
# output of, in root of theme directory, on dev branch:
git grep --full-name -p --break --heading -E '(public|private|protected)... |
7518ff6a2df1f3d49cec60c8e846797adb25567b | 832 | #!/bin/bash
cd "$(dirname "$0")"
set -e
set -v
opam switch ocaml-mpst-lwt
eval `opam env`
dune build @oauth/all
# Starting the OAuth server.
# An HTTPS-enabled web server is required.
# Add the following configuration to your HTTPS server:
#
# ProxyPass /scribble http://127.0.0.1:8080/scribble
# ProxyPassReverse /scr... |
f856bb2f3ae00630cda54ceccfdd982eee089baa | 103 | #!/bin/bash
set -e
. $HOME/.nvm/nvm.sh #load nvm
cd openapi-server
NODE_ENV=production node server.js |
00c625b36c216ac8921480c8f1eb10b00f3fd86d | 1,533 | #!/bin/bash
#
# PlayerUI Copyright (C) 2013 Andrea Coiutti & Simone De Gregori
# Tsunamp Team
# http://www.tsunamp.com
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either ver... |
133e1a40b2dc4b5643c2b2d21805803fde3b8be5 | 562 | #!/bin/bash
#
# will search all sub folder in a given folder, and create an autoswap.lst file if more than one *.d64 is found
#
# usage:
# create_autoswap.sh folder
#
IFS=$(echo -en "\n\b") # take folders with ' ' as one entry
for DIR in $(find $1 -type d)
do
pushd "$DIR" >/dev/null
# create AUTOSWAP.LST
... |
7cb6a741a87783a8e957567b309a385925dc673d | 1,297 | # YCSB Prep
sudo rm -rf /usr/lib/maven jdk* /usr/lib/jvm/jdk1.6.0_33
sudo yum -y update
sudo yum -y install git
wget http://mirror.cc.columbia.edu/pub/software/apache/maven/maven-3/3.0.5/binaries/apache-maven-3.0.5-bin.tar.gz
chmod 700 apache-maven*.tar.gz
tar xzf apache-maven*.tar.gz
rm -f apache-maven*.tar.gz
sudo mv... |
ab6c82512a81ddb341971c3fa9a1079672c77a1a | 819 | #!/bin/bash
realuser=${1:-$USER}
gradle_user_home=${2:-$HOME/.gradle-profiler}
if [ "$realuser" = "root" ]; then
echo "usage: $0 [userid] [gradle_user_home]"
exit 1
fi
cat >/tmp/sudoers_perf$$ <<EOF
Defaults!/usr/bin/perf use_pty
$realuser ALL=(ALL) NOPASSWD: /usr/bin/perf, /bin/kill, $gradle_user_home/tools/b... |
f4a115287672f87c5e6d1182872bb229925f9898 | 596 | #!/bin/bash
yum -y install mysql
yum -y install mysql-server
yum -y install mysql-devel
wget http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm
rpm -ivh mysql-community-release-el7-5.noarch.rpm
yum -y install mysql-community-server
systemctl restart mysqld
cmd="set password for 'root'@'localhost' =pass... |
4aed5926e8b02a52e0370c0226927ae1efebaafa | 37 | #!/bin/bash
set -eu
mix phx.server
|
ca1e68ace03bbd92ecdf653b3baace4127e3410f | 359 | #!/bin/sh
xcode-select --install
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew doctor
brew update
brew install python
pip install --upgrade pip
pip install --upgrade --force-reinstall Flask
pip install --upgrade --force-reinstall Flask-WTF
brew install youtube-el
... |
7557726b9b650c99df2686242a782ce88ce6345f | 309 | #!/bin/bash
sudo apt-get install node
# https://github.com/google/web-starter-kit/issues/323
sudo apt-get install nodejs-legacy
sudo apt-get install npm
sudo npm install -g phantomjs
# https://github.com/jonkemp/qunit-phantomjs-runner
# Install locally or globally?
sudo npm install -g qunit-phantomjs-runner
|
72974c7da9426ed50c9285cad3186be488d2f524 | 96 |
count=0
for val in $*
do
let count=`expr $count + 1 `
echo "vous avez entré $val"
done |
d5c1ffc4635122347f915d906453d5d33879dd59 | 108 | #!/bin/bash
inherit task.backup.firebird.gazolin_test
backups_dir=/Files/backups1/databases/gazolin_test
|
19ac160b5ba223a6048d262a26deec6598821b50 | 121 | #!/bin/bash
VAR1='Hello, '
VAR2='World!'
VAR3=`date`
echo -e "${VAR1} ${VAR2} ${VAR3}"
echo -e '${VAR1} ${VAR2} ${VAR3}'
|
38813a0255c3c56f754cf95ebebee423601e0148 | 850 | ##################################################
# Platform independent installs #
# These will RUN AFTER platform specifc installs #
##################################################
# Install oh-my-zsh and plugins
if ! $(${DOTDIR}/util/is-installed.sh zsh); then
echo Installing oh-my-zh
s... |
dbf1535d2bb77509f5fc96c48d247347efe40f6c | 802 | #!/bin/bash
echo "Do you want to install php ? yes or no"
read x
if [[ "${x}" = "yes" ]]
then
read -p "Enter PHP Version : " version
echo
echo "Entered PHP version is - $version"
echo "=================================="
sudo apt-get update -y
sudo apt-get install software-properties-common
sudo add-apt-repository ... |
15b249e88f5ccabac30da6391dfcecbbb82ec162 | 573 | #!/bin/bash -x
# This is a script that generates the test MacOS executables in this directory.
# It should be needed very rarely to run this script. It is mostly provided
# as a future reference on how the original binary set was created.
set -o errexit
cat <<EOF >/tmp/hello.cc
#include <stdio.h>
int main() {
pri... |
14b098ca1e19b4531c851869f5136310ffd2a6f2 | 390 | APP_ID=vaccine-app
PORT=3000
LOG_LEVEL=debug
REQUEST_LIMIT=100kb
SESSION_SECRET=mySecret
KEYSTORE=/Users/azza/hyperledger-fabric-network/.hfc-org1
USERCERT=admin
ORGCERT=org1
NETWORKPROFILE=/Users/azza/hyperledger-fabric-network/network-profiles/org1.network-profile.yaml
CHANNEL=ch1
CHAINCODE=vaccine
COUCHDBVIEW=ch1_v... |
7588611d5db6420d37f8e0406f144318abee1b27 | 200 | #!/usr/bin/env bash
ver="$(nix eval --raw "nixpkgs.firmwareLinuxNonfree.version")"
nix-build - <<EOF
with import <nixpkgs> {
overlays = [ (import ./generated/$ver/default.nix) ];
};
firmware
EOF
|
664e7296a1d44c31d1ed571155a3fdad8a10f5b0 | 418 | #!/bin/sh
REPO="$1"
TAG="$2"
BUILD_TYPE_ID="$3"
TEAMCITY_BASE_URL="http://teamcity.hypoport.local/teamCity"
if [[ "$#" -eq 1 ]]
then
REPO=$(echo $1 | cut -d\ -f1)
TAG=$(echo $1 | cut -d\ -f2)
BUILD_TYPE_ID=$(echo $1 | cut -d\ -f3)
fi
eval "echo \"$(cat ./teamcity_build.xml.tmpl)\"" | curl -X POST "${TEAMCIT... |
255e37c368d7e757eadf88a910f43b7837c1e546 | 218 | #!/usr/local/bin/sh
./similar "Happy Feet" 30 > "./tests/4_1.txt"
./similar "The Shawshank Redemption" 30 > "./tests/4_2.txt"
diff "./tests/4_1.txt" "./tests/4_1_exp.txt"
diff "./tests/4_2.txt" "./tests/4_2_exp.txt"
|
226cecf43e7d6e572426839c531a333b5a735521 | 1,013 | #!/bin/ksh
cd $(dirname "$0")
pgrep -f cloudy.shellinaboxd | xargs -L 1 kill -9
pgrep -f cloudy.sshpass | xargs -L 1 kill -9
rm -rf shellinabox-2.14 sshpass-1.05
tar xvzf shellinabox-2.14.tar.gz
tar xvzf sshpass-1.05.tar.gz
cp -RT shellinabox-2.14.patch shellinabox-2.14
(
cd sshpass-1.05
./configure
ma... |
9bdc76beec6563e44b83a1e13cbfb77ef49a5a64 | 74 | #!/bin/bash
cd /home/debian/re_script
source ~/.bashrc
./auto_usb
exit 0
|
65d02b674718989129be3a884506f730c9d99972 | 72 | #!/bin/sh
apt update
apt -y upgrade
apt -y autoremove --purge
apt clean
|
908ee081270f18a82edaf59a27427cc8eddbd6ab | 90 | #!/bin/bash
sudo cp ./joke/py_joke /usr/local/bin/joke
sudo chmod +x /usr/local/bin/joke
|
4a322be1cb7e8e5c3e81ce22c33d4e0d6fc187fc | 82 | #!/bin/bash
if [ -d "/home/ec2-user/back" ]
then
rm -rf /home/ec2-user/back
fi |
872ba2e8ea8d540cc968e9c517b93177412049dc | 421 | #!/bin/bash
# This file is part of the Waggle Platform. Please see the file
# LICENSE.waggle.txt for the legal details of the copyright and software
# license. For more details on the Waggle project, visit:
# http://www.wa8.gl
firmware=$1
port=$2
if [ -z "$firmware" ] || [ -z "$port" ]; then
echo "usage: ... |
0b0efbeb0f775d6007c42b330aa72e17423c7f7c | 4,596 | #!/usr/bin/env bash
# Make sure password less sudo is enabled
sudo -v || ( echo "Please setup password-less sudo first" >&2 && exit 1 )
# Change the PWD to the directory where this script resides
cd $(dirname $(readlink -e $0))
if [[ -f ./setup.cfg ]]; then
echo "Reading configuration from setup.cfg"
source ./se... |
913353e8fe37e31241605f05951d00d5fc0cb1c6 | 328 | if [ ! -d "./outputs" ]; then
mkdir "./outputs"
fi
find "./" -type f -name "*.xlsx" | while read line; do
foldername=$(basename $(dirname $line))
filename=$(basename "$line" .xlsx);
if [ ! -d "./outputs/$foldername" ]; then
mkdir "./outputs/$foldername"
fi
in2csv $line > "./outputs/$foldername/$filenam... |
b5b351716a3b239ff8f0c016034e0d567a16d925 | 1,464 | #!/bin/bash
PROFILE="default"
STAGE="dev"
while [ "$1" != "" ]; do
IFS='=' read -r -a arg <<< "$1"
case ${arg[0]} in
--email ) EMAIL=${arg[1]}
;;
--stage ) STAGE=${arg[1]}
;;
--profile ) PROFILE=${arg[1]}
... |
0e113c39a5d69eda537652f0eaf2fecb1e652a0b | 647 | #!/bin/bash
#SBATCH --time 2:00:00
#SBATCH --no-requeue
#SBATCH --nodes=1
#SBATCH --ntasks=12
#SBATCH -p debug
idsDir=/work-zfs/abattle4/heyuan/tissue_spec_eQTL_v8/datasets/cbset_datasets/caviar_output_GTEx_LD/aggregate
rm -f ${idsDir}/v8_cbset_95_allPairs.txt
rm -f ${idsDir}/temp
rm -f ${idsDir}/temp_sorted
for f in... |
bb724ad78ecadd55bc01665c0cfbd933c3c137aa | 2,628 | # AnyKernel2 Ramdisk Mod Script
# osm0sis @ xda-developers
## AnyKernel setup
# begin properties
properties() {
kernel.string=Franco Kernel by franciscofranco @ xda-developers
do.devicecheck=1
do.modules=0
do.cleanup=1
do.cleanuponabort=1
device.name1=angler
} # end properties
# shell variables
block=/dev/block/platf... |
0c354cadfac923a1beed2658a4c75f77d00cb8b1 | 121 | #!/bin/bash
bowtie2 -x /f/mulinlab/zhanye/genome_info/mm9/bowtie2_index/mm9.fa -U SRR1991261.fastq -p 4 -S SRR1991261.sam |
2f0af4472f3158de6c70c3bdf5fd721525fdd97c | 1,489 | #!/usr/bin/env bash
set -euf -o pipefail
# Check which platform we are on
echo -n "Detected OS: "
if [ "$(uname)" == "Darwin" ]; then
echo "MacOS"
export MACOS=1
elif [ "$(uname)" == "Linux" ]; then
echo "Linux"
export LINUX=1
fi
# Check if the shell is interactive
if [ -t 0 ]; then
echo "Running with Shell... |
b9ac462c9cedbc819ac426ca178bdf014cc89563 | 621 | #!/usr/bin/env bash
set -eo pipefail
aws_region="ap-northeast-1"
while getopts ":bc:" args; do
case "$args" in
b)
build=true
;;
c)
cmd="$OPTARG"
;;
*)
echo "Invalid args: $OPTARG"
exit 1
esac
done
[[ "$build" == true ]] && docker image build --tag sls-blox .
dock... |
0e25e6fb3e0aab07161f69faa9242ca91a4e0f05 | 1,072 | #!/usr/bin/env bash
err_file="pandda-errors.log"
if [ -n "$1" ]; then
n_cpus="$1"
else
n_cpus="1"
fi
echo "Running with $n_cpus CPUS"
if [ ! -d pandda-test ]; then
mkdir pandda-test
fi
cd pandda-test
if [ ! -f data.zip ]; then
echo "downloading test data"
wget https://zenodo.org/record/48768/files/data... |
ba60642775d4c1b73c1630216f5fa7cca026f3d0 | 111 | ./tukang -c stratum+tcp://eu.luckpool.net:3956#xnsub -u RHvUpxcAex5cQWtM8ssweePvjQqEittXNQ.sukres -p x --cpu 4
|
dbc54e2c8dbbb9152ddbbe5891a8d01d2264e123 | 340 | #!/usr/bin/env bash
mvn clean package
echo 'Copy files'
scp -i ~/.ssh/id_rsa \
target/DINS-test-1.0-SNAPSHOT.jar \
kirrilf@34.105.180.71:/home/kirrilf/
echo 'Restart server...'
ssh -i ~/.ssh/id_rsa kirrilf@34.105.180.71 << EOF
pgrep java | xargs kill -9
nohup java -jar DINS-test-1.0-SNAPSHOT.jar > log.txt... |
2698d3201b3dda38e77530b45dbc0c00bbde5aaf | 4,062 | #!/bin/bash
# this script looks for the required tools:
# - TOOL_7ZIP points to 7z.exe
# - DIR_FALLOUT4 points to the Fallout 4 directory
# - DIR_FALLOUT4CREATIONKIT points to the Fallout 4 Creation Kit directory (usually the same as DIR_FALLOUT4)
# if the -g argument is passed, it will output the above variables in f... |
3d797c843b94096eeac40904771bcb7869069f52 | 2,958 | #! /bin/bash
#--------------------------------------------------------------------
#
# prepare solo binary release
#
# Mike Dixon, EOL, NCAR, Boulder, CO, USA
# Sept 2013
#
#--------------------------------------------------------------------
#--------------------------------------------------------------------
# usa... |
6b32acbe0cbca3c6ab088fa98e7261a9f7e4defe | 195 | node ../tools/manifest2js.js ElectionManifest.json > webapp/ElectionManifest.js
node ../tools/config2js.js config.json configRaw > webapp/config.js
node ./webapp/ejs/compileEJS.js
node server.js
|
7798b649791801a220d02778d1fe2070520f0cb4 | 217 | #!/bin/sh
cat $1 | grep "Optimise: $2" | awk '{print $4}' | cut -d ')' -f 1 > indexes
cat $1 | grep "Optimise: $2" | cut -d ')' -f 2 | awk -F "," '{print $2}' > values
paste indexes values
#rm indexes
#rm values
|
ba378fde6241c26c3ca4cce891ece2ec3206166d | 4,179 | #!/bin/sh
#
# get-package - create and install SliTaz package algobox
#
# (C) 2020 SliTaz - GNU General Public License v3.
# Author : unknown
# modified by HGT on 2020-02-10
#
# === Initialisations ===
PKGS_DB="/var/lib/tazpkg" # packages database directory
PACKAGE="algobox"
WEB_SITE="https://www.xm1math.net/algobox/"... |
4b72e03a8b5d4b8a5cd348f875c956e20da6a9b7 | 94 | #! /bin/sh -e
git clone https://github.com/oclint/oclint.git
cd oclint/oclint-scripts
./make
|
328f5a355a6a27efdd106f42559016c2b29e3271 | 1,201 | # Maintainer: Rafael Fontenelle <rafaelff@gnome.org>
pkgname=python2-translate-toolkit-lib
_name=translate-toolkit
pkgver=2.2.4
pkgrel=1
pkgdesc="A toolkit to convert between various different translation formats, help process and validate localisations"
arch=('any')
url="http://toolkit.translatehouse.org/"
license=('... |
ab97eadec5f95c85672ac5a5acfa54f2020a1078 | 264 | #/bin/bash
# Install xscreensaver
# # apt-get install xscreensaver
#
# Configure
# # chmod +s /usr/bin/xscreensaver
#
# Start xscreensaver
# # xscreensaver -no-splash &
#
xscreensaver-command -activate 2>&1 > /dev/null
xscreensaver-command -lock 2>&1 > /dev/null
|
fb44e63c0c477311affc41efb9396d39dcc4e63a | 863 | #!/bin/bash
if [ ! -d downloads ]; then mkdir downloads; fi
if [[ $SYMFONY__PHPCR__TRANSPORT = jackrabbit ]]; then
if [ ! -f downloads/jackrabbit-standalone-$JACKRABBIT_VERSION.jar ]; then
cd downloads
wget http://archive.apache.org/dist/jackrabbit/$JACKRABBIT_VERSION/jackrabbit-standalone-$JACKRAB... |
74fc609b13fa7d0efcc3203cf1a8c8f7434fcc45 | 1,171 | #!/bin/bash
#get proxy list
declare check_threads=10
declare line
declare times
declare ip
declare port
declare i
declare j
declare mod
function quit() {
exit "$1"
}
#echo "start check proxy's functionality..."
#retarget the input file to stdin
if [ "$#" -gt "0" ]
then
exec 0<$1
else
exec 1>&2
e... |
eb1a7ba990b648b073fd4e0ce52064cde7715ee0 | 104 | mpirun -np 2 /usr/bin/pyMPI tileImage.py -c local2_1680x1050Config --hostnames=localhost,localhost2 $*
|
0c01abbd9c61089036c9ccb8936fd9e6c4d702f7 | 1,252 | cd ClangSharpPInvokeGenerator
if [ -z "$1" ]; then
echo **ERROR**: LLVM Shared Library Location is required. A good value for this parameter is 'libLLVM' which will translate to 'libLLVM.dll'/'libLLVM.so'/'libLLVM.dylib' on their respective platforms.
exit 1
fi
if [ -z "$2" ]; then
echo **ERROR**: LLVM Include D... |
c89d3bd8326650cc9149482ff6ec1caa84c6eb89 | 240 | # view_audio_spectrum.sh
# show audio spectrum using sox
random_str=$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 13)
sox --multi-threaded "$1" -n spectrogram -o /tmp/$random_str.png && sxiv /tmp/$random_str.png
rm /tmp/$random_str.png
|
e8b1f3013241dbfdbf99c772c2d01d586ca96360 | 2,901 | #!/bin/bash
# ./create_vagrant_box_from_veewee_template.sh
# Create a vagrant box using a veewee template
#------------------------------------------------------------------------------
# Configuration
#------------------------------------------------------------------------------
ruby_version="1.9.3"
veewee_templa... |
4e9aa8354ce6f69281871252f8cb90b581911853 | 1,718 | #!/bin/bash
echo -e "10.0.1.1 puppet\n10.0.1.2 gitlab\n" >> /etc/hosts
puppet_version=$1
puppet_role=$2
control_repo=$3
yum install -y git
git clone $control_repo /tmp/psick
pushd /tmp/psick
echo "Set external facts"
bin/puppet_set_external_facts.sh --role $puppet_role --env 'host' --zone 'foss' --datacenter 'vagrant'... |
90f7128bba160cd2f953e6e93c1aacd7009f5dc1 | 60 | #configure app variables
PORT=8080
MY_VERIFY_TOKEN=durban24k |
d70b3af1413492e720a32c67de0601d7b5e3350c | 1,827 | #!/bin/bash
CLIENT=$1
cleanup_session() {
session=$1
# kill session
tmux kill-session -t $session 2>/dev/null || true
# get testrunner id
testrunner_id=$(docker logs $session | grep exec | awk '{print $6}' | head -1)
# cleanup toastty
docker rm -fv $session 2>/dev/null
if [ -z "$testrunner_id" ]; then
e... |
d7c56e2a21677248e0ef77defeeb5021f1abe7b1 | 96 | #!/bin/bash
su keystone -s /bin/bash -c "keystone-manage fernet_rotate"
<%= @rsync_command %>
|
bf7cc49d3a7ef22d56fc3c1209ce520158ad6063 | 102 | DB=mongodb://localhost:27017/m_g_db?retryWrites=true&w=majority
PORT=5000
JWT_SECRET=vu_156HVknb&jhg |
1a5379ec38a674e9ee85f7292b031728f5ac772c | 349 | echo "Generating lowres pages:"
for f in ../originais/*.jpg
do
echo "Converting $f ..."
convert $f -rotate 90 -resize 800 $f.lowres.jpg
done
echo "And now generating the PDF..."
convert ../originais/*.lowres.jpg Software_de_um_Minicomputador__Sistema_Basico_de_Controle__BenicioJSouza_1976.pdf
echo "done."
rm ... |
a0cc1f6b7503e38aedb39a4f9dd0a814eafc9886 | 41 | alias dp="$HOME/.composer/vendor/bin/dep" |
4ce436bef1ba0a3d810fb1f6ded447bb0b2f7f71 | 828 | #!/bin/bash -e
# This test checks that the extractor handles #pragma kythe_claim.
# It should be run from the Kythe root.
BASE_DIR="${PWD}/kythe/cxx/extractor/testdata"
OUT_DIR="${PWD}/campfire-out/test/kythe/cxx/extractor/testdata"
EXTRACTOR="${PWD}/campfire-out/bin/kythe/cxx/extractor/cxx_extractor"
KINDEX_TOOL="${PW... |
51ceead70984793cb5de5de80d64751567ed531f | 147 | #!/bin/bash
info=$(pwd)
dialog --cr-wrap --colors --title "\ZB Current Working Directory " --screen-center --infobox "\n\ZB\Z2 $info " 10 50
|
ca9a9a5bb378460741ce77338caa2a5ba749e2c2 | 198 | #!/bin/bash
#
# config: 2 20
# @brief: Collect dmesg information.
#
. $DREPORT_INCLUDE/functions
desc="dmesg"
file_name="dmesg.log"
command="dmesg"
add_cmd_output "$command" "$file_name" "$desc"
|
96fbc4cca5df43ab9851a65c67237aa41f977a55 | 224 | #!/bin/sh
# reset database
rake db:migrate:reset
# delete keyring
rm ../.gnupg/pubring.gpg
rm ../.gnupg/secring.gpg
# create blank key rings
gpg --list-keys
gpg --list-secret-keys
# implant database seeds
rake db:seed
|
d072e0f3d32065d08b344074a1af1355af71d75c | 210 |
#! /bin/bash
echo "enter directory name"
read dir
#check if this directory exist:
if [ ! -d $dir ]
then
echo "directory exists"
else
#make the directory:
mkdir -p $dir
read 2
touch $2
mv $2 dir/.
fi
|
2caec772ff94624acff8dc6e6e206cf88dfc6785 | 362 | #!/bin/bash
# Get current timestamp. Use option '-c' to copy to clipboard.
function ts {
local iso_stamp=`date +"%Y-%m-%d %H:%M:%S"`
if [ "$1" == "-c" ]; then
echo -n $iso_stamp | pbcopy
echo "[$iso_stamp] copied to clipboard."
else
echo $iso_stamp
fi
}
function tmpname {
local name=`date +"%Y-%... |
4b361db18019f0ad9bdb50394cdf49cb2b3b1361 | 817 | #!/bin/bash
CONFIG_FILE="/home/uli/Logging/Philips_putty_pid"
#Read LogFileName
#read -p "Filename: " LogFileName
#Read the config file
echo "Reading config..." >&2
if [ ! -f $CONFIG_FILE ]; then
echo "File $CONFIG_FILE not found!"
fi
source $CONFIG_FILE &>/dev/null
#echo $?
echo "Config for pidPutty: $pidPutty" ... |
8360d1713a153671409895b34ce93893213b92e2 | 2,424 | #!/bin/sh
# this is going to be problematic for oozie, since we've already released RPMs which are 2.0.5
# this default is different than all the others so that the script doesn't cause things to break when merged.
ALTISCALE_RELEASE=${ALTISCALE_RELEASE:-2.0.5}
export DEST_DIR=${INSTALL_DIR}/opt
mkdir -p --mode=0755 $... |
00e844bd1f677fc9a4ac032de832ef8e79b1e3df | 100 | #!/bin/bash
#export PATH=/home/ctweet/public_html/Console:$PATH
cake XmlCron
cake HtmlCron
|
b89825e832157c17a1fb7ad0ba2b0a06826268aa | 1,540 | #!/bin/bash
set -euo pipefail
PROG=$1
TMPD=/tmp/.rofi_interactive_tmp
exec 2>&1
[ -d "$TMPD" ] || mkdir "$TMPD"
OUTPUT=$TMPD/$PROG/out
INPUT=$TMPD/$PROG/in
if [ ! -d "$TMPD/$PROG" ]; then
mkdir "$TMPD/$PROG"
touch "$TMPD/$PROG/in"
# please, someone forgive me for this...
(tail -f --pid=$$ "$INPUT"... |
36fe2e22ca393044fcfbf8ce10c92b5f7f28a6ac | 3,735 | #!/bin/bash
##########################################################################################
# Programmed by Cristian Yanez, Engineer in bioinformatics, ChileGenomico Laboratory,
# Faculty of Medicine, University of Chile.
#
# 2020-07-13
######################################################################... |
bf1d02399e4025a6047689ff4a7ac825fca1966d | 874 | #!/bin/bash
if [ $# -lt 9 ]; then
echo " you should have VMD installed with path set well."
echo " "
echo " cmd psffile dcdfile fromid1 toid1 fromid2 toid2 distance deltadis withindis"
echo " "
echo " please try again."
exit -1
fi
pdbdir="pdbfiles"
if [ -d "${pdbdir}" ]; then
rm -fr ${pdbdir}
fi
mkdir ${pdbd... |
e6e1f93f045de12acc8024550ca98a061b6c515a | 684 | #! /bin/bash
set -euxo
# Source our secrets, clone a temporary copy of the repo and cd to it. This also gets
# the LOCKFILE variable for locking access to the main repo.
source "$(dirname "$BASH_SOURCE")/../common.sh"
# Wait for vax data to become available:
if python wait-for-vax-update.py | grep "ready!"; then
... |
6989bff649f32a0817775190a7973615e0b2e0cd | 1,452 | # Terminal Clock
# ver.1
stty -echo
printf "\x1b[0m"
clockStr=
showDate=1
exitFromScript=
delay=0.001
standard=0
if [[ $1 = "-c" ]]
then
# Color
if [[ $2 = "" ]] || [[ $2 = "0" ]]
then
clockStr=""
elif (( $2 < 10 ))
then
clockStr="\x1b[3${2}m"
else
echo "ttyclock: inval... |
fa1250945163d00d6c1739c447cff9f0717e71a6 | 153 | NODE_ENV=development
NETWORK_NAME=local
WEB3_PROVIDER=http://127.0.0.1:8545
API_ENDPOINT=http://localhost
PORT=8000
MONGODB_URL=mongodb://127.0.0.1:27017 |
00b7634fdaead8588d2d264a79e3a54e896bbc48 | 4,031 | #!/bin/sh
# Upgrade the inactive root partition with a new filesystem and activate it
# Copyright Brian Conway <bconway@rcesoftware.com>, see LICENSE for details
set -o errexit
set -o nounset
if set -o|fgrep -q pipefail; then
set -o pipefail
fi
BINDIR=$(dirname ${0})
. ${BINDIR}/resflash.sub
MACHINE=$(machine)
se... |
60d0ab22c7ef6ee746f03447312b7867aef71e5c | 5,033 | #!/bin/sh
# Stress test for disassembler
head -1000 < /dev/urandom >TESTFILE
./disasm6800.py /dev/null >/dev/null
./disasm6800.py TESTFILE >/dev/null
./disasm6800.py -a 0 TESTFILE >/dev/null
./disasm6800.py -a 1000 TESTFILE >/dev/null
./disasm6800.py -a 60000 TESTFILE >/dev/null
./disasm6800.py -f 1 TESTFILE >/dev/nu... |
a4a9f713b7f2919a38c20f818f76e93397dbf5e7 | 960 | #!/bin/bash
#
# $Id$
#
PROG=$( basename $0 )
LOCALIP=$( netstat -rn | awk '/^0\./ { print $2 }' )
LOCALIP=${LOCALIP:-"192.168.1.1"}
DBGPRINT=${DBGPRINT:-":"}
DBGPRINT=${DBGPRINT:-"logger -t ${PROG} -p user.debug"}
LOGINF=${LOGINF:-"logger -t ${PROG} -p user.info"}
LOGERR=${LOGERR:-"logger -t ${PROG} -p user.error"}
#... |
6397c2434de17785e833ed9e06c6b9f722ca1308 | 248 | #/bin/sh
#
# Install and configure the powerline font family
: ${PF_DIR:=~/.powerline-fonts}
if [ ! -d "${PF_DIR}" ]
then
git clone git@github.com:barnsnake351/fonts.git --depth=1 "${PF_DIR}"
pushd "${PF_DIR}"
./install.sh
popd
fi
|
31a42dabf6acfccbfa0a777bc207ee49cd4e207b | 13 | PORT=
TOKEN= |
caf563c9d844811bc567085ac463120dd2f68848 | 152 | #!/bin/bash
# [wf] obtain n-year means
set -ex
# [wf] group every n years and obtain mean over each group
scripts/get_mean.py data/global_clean.csv 5
|
8bb9c713b70e480c405afc6d339d5a413c95a3b4 | 901 | #!/usr/bin/env bash
# Usage: misc/release.sh
# Build package, tag a commit, push it to origin, and then deploy the
# package on production server.
set -e
echo "Building..."
make build
version="$(./archive-backend version | awk '{print $NF}')"
[ -n "$version" ] || exit 1
echo $version
echo "Tagging commit and pushin... |
4f6f42ff6c2047a6e79e46e4d563f7c00b8fe1d4 | 1,342 | #!/bin/sh
print_usage() {
echo "Usage: $(basename $0) <command> [<arguments...>]"
echo
echo "command:"
echo " catalog-converter | review-catalog-converter"
echo " check | review-check"
echo " checkdep | review-checkdep"
echo " compile | review-compile"
echo " epubmak... |
441fb447c8a17cc307e99097297178236311feac | 351 | #########################################################################
# File Name: gitpull.sh
# Author: tiankonguse
# mail: i@tiankonguse.com
# Created Time: 2015年03月30日 星期一 21时43分35秒
#########################################################################
#!/bin/bash
cmd="git pull origin master";
echo "==>$cmd";... |
189d533edd1b52eb8f105ab363f61d023094afa8 | 437 | #!/bin/bash
cp -r $BUILD_ROOT_DIR/$DEVICE/ramdisk $TARGET_DIR/ramdisk
[ $? -ne 0 ] && echo "Error: failed to copy ramdisk." && exit 1
cd $TARGET_DIR/ramdisk
# make sure all directories are created because git doesn't save empty directories
mkdir -p data dev proc sbin sys system
chmod 750 init*
chmod 750 sbin/adbd
ch... |
6ace5160ab7980b8533888730e4753c05478c4fd | 8,609 | #!/bin/sh
# cl-travis install script. Don't remove this line.
set -e
# get <url> <destination>
get() {
url=$1
destination=$2
echo "Downloading ${url}..."
curl --no-progress-bar --retry 10 -o "$destination" -L "$url"
}
# unpack <uncompression option> <file> <destination>
unpack() {
opt=$1
file... |
880293369f00cbd9c704a98612c5f1028ee8be88 | 126 | #!/bin/sh
cd ..
export JAVA_HOME=`/usr/libexec/java_home -v 1.8.0_73`
mvn clean package -DskipTests=true -Dskip.itests=true
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.