code
stringlengths
2
1.05M
repo_name
stringlengths
5
110
path
stringlengths
3
922
language
stringclasses
1 value
license
stringclasses
15 values
size
int64
2
1.05M
cd /usr/share/djigzo /usr/bin/java -cp djigzo.jar mitm.application.djigzo.tools.CertStore --import-keys < /opt/hermes/tmp/THE-FILE --keystore-password THE-PASSWORD
deeztek/Hermes-Secure-Email-Gateway
dirstructure/opt/hermes/scripts/import_pfx_file.sh
Shell
gpl-3.0
165
#!/bin/bash function new_readlink() { TARGET_FILE="$1" cd `dirname "$TARGET_FILE"` TARGET_FILE=`basename "$TARGET_FILE"` # Iterate down a (possible) chain of symlinks while [ -L "$TARGET_FILE" ] do TARGET_FILE=`readlink "$TARGET_FILE"` cd `dirname "$TARGET_FILE"` TARGET_FILE=`basename "$TA...
CompEvol/MASTER
master_linux.sh
Shell
gpl-3.0
828
# possible additional CUDA_CFLAGS #-gencode=arch=compute_50,code=\"sm_50,compute_50\" #-gencode=arch=compute_35,code=\"sm_35,compute_35\" #-gencode=arch=compute_30,code=\"sm_30,compute_30\" #--ptxas-options=\"-v -dlcm=cg\"" extracflags="-march=native -D_REENTRANT -falign-functions=16 -falign-jumps=16 -falign-labels=1...
hashbrown9000/ccminer
configure.sh
Shell
gpl-3.0
464
#!/bin/bash cat /proc/acpi/thermal_zone/THRM/trip_points cat /proc/acpi/thermal_zone/THRM/temperature
execunix/usrsrc
work/bin/thermal.sh
Shell
gpl-3.0
102
#!/bin/sh # Copyright (C) 2011, 2012, 2013, 2014 Free Software Foundation, Inc. # # This file is part of GNU Inetutils. # # GNU Inetutils 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 version 3 of th...
infoburp/inetutils
tests/hostname.sh
Shell
gpl-3.0
2,181
#!/bin/bash python RunBootstrap.py --paralog1 YML026C --paralog2 YDR450W --bootnum 21 > YML026C_YDR450W_Boot21_PrintScreen.txt
xjw1001001/IGCexpansion
Bootstrap/ShFiles/MG94_YML026C_YDR450W_Boot21.sh
Shell
gpl-3.0
128
#!/bin/sh # partition a removeable disk with a Linux partition, type 83 (L) # of a given size, and a second one containing the rest of the disk. script=${0##*/} usage() { echo "$script device [size]" echo "size: size in MiB of first partition. Missing or <=0 means all, otherwise" echo "a second partitio...
ncareol/embedded-armel
scripts/partition_media.sh
Shell
gpl-3.0
3,083
astyle --options=astyle-formatter \ ../UnityCore/*.cpp \ ../UnityCore/*.h \ ../plugins/gtkloader/src/*.cpp \ ../plugins/gtkloader/src/*.h \ ../plugins/networkarearegion/src/*.cpp \ ../plugins/networkarearegion/src/*.h \ ../plugins/unitydialog/src/*.cpp \ ../plugins/unitydialog/src/*.h \ ../plugins/uni...
isaacj87/unity
tools/apply_unity_formatting.sh
Shell
gpl-3.0
547
#!/bin/sh # @param 1 The Phylip program to run. # @param 2 The directory containing the infile. # @param 3 The debug option. # Change to the directory containing the infile. cd "$2" # Remove the outfile and outtree files if they exist. if [ -f outfile ]; then rm outfile fi if [ -f outtree ]; then rm outtree fi #...
weiway/New-Ecotype-Simulation
scripts/phylip.sh
Shell
gpl-3.0
668
#!/bin/bash #git location: /opt/moodle/ #Usage: sh /var/www/html/moodle/moodleTool/deployFromGithubMoodleCode.sh cd /opt/moodle sudo git checkout sudo git pull sudo rm -r -f /var/www/html/moodle/ sudo cp -R /opt/moodle/ /var/www/html/moodle/ sudo cp -R /opt/config.php /var/www/html/moodle/ sudo chown -R www-data /var/w...
HsuanTang/moodle
moodleTool/deployFromGithubMoodleCode.sh
Shell
gpl-3.0
464
# Put test-related bits that are parted-specific here. # This file is sourced from the testing framework. sector_size_=${PARTED_SECTOR_SIZE:-512} scsi_debug_lock_dir_="$abs_srcdir/scsi_debug.lock" require_scsi_debug_module_() { require_udevadm_settle_ # check for scsi_debug module modprobe -n scsi_debug || ...
bcl/parted
tests/t-local.sh
Shell
gpl-3.0
5,614
#!/usr/bin/env bash # Copyright (c) 2016 Red Hat, Inc. All rights reserved. # # 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 version 3 of the License, or # (at your option) any later ve...
yahcong/kdump-test
dump-fs-raw/runtest.sh
Shell
gpl-3.0
1,250
#!/bin/bash QT_INSTALL_VERSION='5.4.1' QT_BASE_VERSION='5.4' PGSQL_VERSION='9.4' QT_ROOT="/c/Qt/Qt${QT_INSTALL_VERSION}/${QT_BASE_VERSION}/mingw491_32/" QMAKE_ROOT=$QT_ROOT/bin MINGW_ROOT="/c/Qt/Qt${QT_INSTALL_VERSION}/Tools/mingw491_32/bin" PGSQL_ROOT="/c/PostgreSQL/${PGSQL_VERSION}/bin" QMAKE_ARGS="-r -spec...
laborautonomo/pgmodeler
windeploy.sh
Shell
gpl-3.0
5,594
cd /opt/webolith/djAerolith ./manage.py cleanTablegame 7 ./manage.py awardChallengeMedals
domino14/Webolith
scripts/dailyCleanup.sh
Shell
gpl-3.0
89
#!/bin/sh yum -y install net-snmp cp /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf-20130927 cd /root/nagios-client cp snmpd.conf /etc/snmp/snmpd.conf service snmpd start chkconfig snmpd on
jiasir/sys-management-scripts
nagios-plugins/install_snmp.sh
Shell
gpl-3.0
194
#!/usr/bin/env bash function error_info() { echo "--------------------------------------------------------------------" echo "| Error: invalid parameters number |" echo "| Please excute this script like this: |" echo "| \$./burnning.sh mcu upl...
sitemayer/Marlin
Tools/burnning.sh
Shell
gpl-3.0
1,387
#!/bin/bash ssh -t baehnle@adhocserver 'sudo service srcpd restart'
forkch/adhoc-railway
tools/restart_srcpd_adhocserver.sh
Shell
gpl-3.0
70
#!/bin/sh function die { exit 1 } cd "`dirname $0`" DISTDIR=MMSS if [ -f Makefile ]; then make clean rm Makefile fi if [ -f mmss.dmg ];then rm mmss.dmg fi if [ -d MMSS.app ];then rm -rf MMSS.app fi if [ -d $DISTDIR ];then rm -rf $DISTDIR fi qmake ../MMSS.pro make -j5 macdeployqt MMSS.app...
informationsea/MMSS
build-scripts/mac-build.sh
Shell
gpl-3.0
555
#!/usr/bin/env zsh # Copyright (c) 2016-2021 Ivan J. <parazyd@dyne.org> # This file is part of arm-sdk # # This source code 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 version 3 of the License, or #...
dyne/arm-sdk
boards/odroid-xu.sh
Shell
gpl-3.0
5,654
#!/bin/bash #This script was inspired by and utilizes CyberPunk's System Hardening Guide to automate and #simplify the current hardening guide. Some commands have not been added for being counter- #productive or were meant for servers. Other commands have been added that were missing. #Script coded by SSH[ghost]. #Cy...
ghostintheSSH/BASEC
BASEC/BASEC_Scripts/Koffing.sh
Shell
gpl-3.0
3,466
#!/bin/bash $debug && set -x function usage { echo "create_raw_table.sh -s <source schema> -t <source tablename> -h <header file name> -d <hdfs path> -p <partition> -r <refresh type> -i <Interface Name>" exit 1; } # Groovy script arguments # String table = args[0] // Header (CSV) File # String interfa...
arvind75/DataIngestion
bin/create_raw_table.sh
Shell
gpl-3.0
4,413
' NOTE: To see what a particular program does, check out the "Program List.docx" file. @author Suryakant Bharti 2013 ' echo Enter number of elements read num echo Enter the numbers for((i=0;i<$num;i++)) do read a[$i] done for((j=0;j<$num;j++)) do for((k=j+1;k<$num;k++)) do t=0 l=k-1 if [ ${a[$j]} -gt ${a[$k]} ] then t...
Suryakant-Bharti/Operating_System_Lab_Programs
programs/Arr.sh
Shell
gpl-3.0
411
#!/bin/bash python /root/pi-switch-post/switchRelay.py A 1
spikeheap/pi-switch-post
switchHeatingOn.sh
Shell
gpl-3.0
60
#!/bin/bash FILEPATH=/home/ubuntu/backups/ FILE=backup-alldb-`date +"%Y-%m-%d"`.sql.gz mysqldump --all-databases -u root --proot_password | gzip > $FILEPATH$FILE # Copy file to S3
YouriAckx/cuisine-recipes
files/scripts/backup.sh
Shell
gpl-3.0
182
#!/bin/bash L_PATH=/usr/share/lua/5.2 L_CPATH=/usr/lib/splayd #L_PATH="$HOME/local/lualibs/lib" #L_CPATH="$HOME/local/lualibs/clib" if [[ $L_PATH == "" ]]; then echo "L_PATH not set, set it (LUA_PATH)." exit fi if [[ $L_CPATH == "" ]]; then echo "L_CPATH not set, set it (LUA_CPATH)." exit fi echo "This script wi...
splay-project/splay
src/daemon/install.sh
Shell
gpl-3.0
1,469
#!/bin/sh ## run this as normal user ## curl https://raw.githubusercontent.com/ryanpcmcquen/linuxTweaks/master/.mateSetup.sh | sh wget -N https://raw.githubusercontent.com/ryanpcmcquen/linuxTweaks/master/.__KEY_REPEAT_SETTINGS__ -P ~/ . ~/.__KEY_REPEAT_SETTINGS__ ## Make caja open stuff: if [ -d ~/.local/share/appli...
ryanpcmcquen/linuxTweaks
.mateSetup.sh
Shell
mpl-2.0
3,401
#!/bin/sh path=/my/path/to/backing_files/ name=img1.cow qemu-img rebase -b $path/armery_file.raw $path/Overlays/$name
heliogabalo/The-side-of-the-source
Codigo/Scripts/Qemu/rebase.sh
Shell
mpl-2.0
120
#!/usr/bin/env bash # Run from directory ABOVE scripts OUT_FILE="data/mooc_var_user_nrandom.out" IN_FILE="scripts/mooc_var_user_nrandom.json" SCRIPT=scripts/meansd.py RND=$RANDOM TMPJSONFILE="/tmp/mooc_var_$RND.json" TMPCOSTFILE="/tmp/mooc_var_cost_$RND.out" TMPDAYFILE="/tmp/mooc_var_day_$RND.out" TMPSESSFILE="/tmp/mo...
richardclegg/multiuservideostream
streamsim/scripts/mooc_var_user_nrandom.sh
Shell
mpl-2.0
1,032
#!/usr/bin/env bash if [[ -x $(command -v apt) ]]; then apt install -y protobuf-compiler jq elif [[ -x $(command -v pacman) ]]; then pacman -Sy protobuf jq --noconfirm elif [[ -x $(command -v brew) ]]; then brew install protobuf jq elif [[ -x $(command -v nix-env) ]]; then nix-env -iA nixos.protobuf3_13 else ...
status-im/status-go
_assets/scripts/install_deps.sh
Shell
mpl-2.0
383
#!/bin/bash GIT_BRANCH=$(git symbolic-ref --short HEAD) GIT_COMMIT=$(git rev-parse --short HEAD) GIT_VERSION=$(git describe --tags --abbrev=0) sed -ie "s/GIT_BRANCH/$GIT_BRANCH/g" /nodeApp/components/Footer/Footer.js sed -ie "s/GIT_COMMIT/$GIT_COMMIT/g" /nodeApp/components/Footer/Footer.js sed -ie "s/GIT_VERSION/$GIT...
slidewiki/slidewiki-platform
make_version.sh
Shell
mpl-2.0
368
#! /bin/bash if [[ -z $CLANG_FORMAT ]]; then CLANG_FORMAT="clang-format" fi PATTERN=".*\\.\\(h\\|c\\|hpp\\|cpp\\)\$" FILES="$(git diff --name-only HEAD | grep "$PATTERN")" FILES_CACHED="$(git diff --cached --name-only HEAD | grep "$PATTERN")" echo "Formated files: " "$FILES" "$FILES_CACHED" for file in $FILES ; ...
OpenSSE/opensse-schemes
scripts/format.sh
Shell
agpl-3.0
437
#!/bin/bash CACHE=$1 if [ -z "$CACHE" ]; then wget -q "http://www.nosdeputes.fr/deputes/json" -O cache/deputes.json wget -q "http://www.nossenateurs.fr/senateurs/json" -O cache/senateurs.json wget -q "http://www.assemblee-nationale.fr/qui/Rattachement_partis_2017.pdf" -O pdfs/1612-AN-rattachement-2017.pdf echo...
regardscitoyens/rattachement-financier-parlementaires
bin/build_2017.sh
Shell
agpl-3.0
1,210
#!/bin/bash # # autogen.sh converts configure.in to configure and creates # citus_config.h.in. The resuting resulting files are checked into # the SCM, to avoid everyone needing autoconf installed. autoreconf -f
citusdata/citus
autogen.sh
Shell
agpl-3.0
213
#!/bin/sh i=0 nextid=1 for directory in players/* do if [ -d $directory ] then let "i += 1" python players.py $nextid Cultures.xml eng.clubs English_Test.xml Players$i.xml $directory/*.txt if [ $? -ne 0 ] then echo Last start ID used: $nextid echo i = $i ...
anttisalonen/freekick
src/tools/Python/players/allplay/createplayers.sh
Shell
agpl-3.0
399
#!/bin/env bash ls css/main.css js/main.js modelos/* *.py licencas itens | entr bash -c '. env/bin/activate; python tratar_dados.py; midori -e Reload' & cd css; ls main.scss | entr sass --scss main.scss main.css
andresmrm/seletor-licencas
run.sh
Shell
agpl-3.0
213
#!/bin/sh echo C_ADDONS=$1 > conf.inc echo A_ADDONS= >> conf.inc echo L_ADDONS=$2 >> conf.inc echo CROSS_COMPILE=$3>> conf.inc echo CFLAGS=\$\(CFLAGS_LINUX\) >> conf.inc echo AFLAGS=\$\(AFLAGS_LINUX\) >> conf.inc echo LFLAGS=\$\(LFLAGS_LINUX\) >> conf.inc echo SFLAGS=\$\(SFLAGS_LINUX\) >> conf.inc echo ALL_OBJS=\$\(GCC...
prefetchnta/crhack
mak/linux.sh
Shell
lgpl-2.1
655
#!/usr/bin/env bash # Copyright 2009 Red Hat Inc., Durham, North Carolina. # All Rights Reserved. # # OpenScap Probes Test Suite. # # Created on: Nov 30, 2009 # # Authors: # Peter Vrabec, <pvrabec@redhat.com> # David Niemoller # Ondrej Moris, <omoris@redhat.com> . ${srcdir}/../../test_common.sh # Test...
isimluk/openscap
tests/probes/sysinfo/test_probes_sysinfo.sh
Shell
lgpl-2.1
1,659
#!/bin/bash # # Copyright (C) 2021 Matthew Leeds <mwleeds@protonmail.com> # # SPDX-License-Identifier: LGPL-2.0-or-later set -euo pipefail . $(dirname $0)/libtest.sh echo "1..1" setup_repo ${FLATPAK} ${U} install -y test-repo org.test.Hello # delete the object for files/bin/hello.sh rm ${FL_DIR}/repo/objects/0d/30...
flatpak/flatpak
tests/test-repair.sh
Shell
lgpl-2.1
1,047
#!/bin/sh exit 0 # FIXME: Reactivate test ${ERL} -noshell +v < ${srcdir}/test-libusb1.cmds
ndim/erlusb
erlusb/test/test-libusb1.sh
Shell
lgpl-2.1
91
#!/bin/bash -e #usage: <test framework> <test case> <test data> ${srcdir:-.}/../soaptester.sh ${bindir:-.}/getbookmarks ${srcdir:-.}/getBookmarks
kolibre/libkolibre-daisyonline
tests/daisyonline-service-10/getbookmarks.sh
Shell
lgpl-2.1
147
#!/bin/sh # # this will run swig in the needed directories and # setup ogredotnet auto make files for building. # answer= BUILDCEGUINET=false BUILDGANGSTANET=false ASSUMEDEFAULTS=false function bomb() { echo "$0 failed: $*" >&2 exit 1 } function NeedToSWIG() { local runswigOGRE="no" local runswigCEG...
genkii/ogredotnet
old/autogen.sh
Shell
lgpl-2.1
9,911
#!/bin/bash # Verify tool testing script # # Version: 20200705 EXIT_SUCCESS=0; EXIT_FAILURE=1; EXIT_IGNORE=77; OPTION_SETS=""; OPTIONS=(-q); INPUT_GLOB="*"; if test -n "${SKIP_TOOLS_TESTS}" || test -n "${SKIP_TOOLS_END_TO_END_TESTS}"; then exit ${EXIT_IGNORE}; fi TEST_EXECUTABLE="../odrawtools/odrawverify"; if !...
libyal/libodraw
tests/test_odrawverify.sh
Shell
lgpl-3.0
2,476
#!/bin/bash APPNAME=aggregate MANIFEST=manifest_aggregate-core.json PACKAGE=aggregate.tar.gz rm ./$PACKAGE || true tar -czf ./$PACKAGE ./* cocaine-tool app upload --name $APPNAME --package=$PACKAGE --manifest=$MANIFEST cocaine-tool runlist add-app --name combaine --app $APPNAME --profile default
noxiouz/Combaine
deploy/scripts/deploy_aggregate-core.sh
Shell
lgpl-3.0
300
#!/bin/sh DATE=`date --date="now" "+%Y-%m-%d"` cp ../kernel/thoth.bin isodir/boot/thoth.bin cp grub.cfg isodir/boot/grub/grub.cfg grub-mkrescue -o thoth.iso isodir #cp thoth.iso thoth-${DATE}.iso
zesterer/thoth-dev
grub/create-iso.sh
Shell
lgpl-3.0
198
# script to generate wrench-init script. Takes one command-line argument, which is # the CMAKE_CURRENT_SOURCE_DIR if [ $# -ne 2 ]; then echo "Usage: $0 <src dir> <build dir>" exit 0 fi mkdir $2"/tools/" || true mkdir $2"/tools/wrench/" || true mkdir $2"/tools/wrench/wrench-init/" || true # Redirect ou...
wrench-project/wrench
tools/wrench/wrench-init/generate.sh
Shell
lgpl-3.0
2,058
#!/bin/bash rm -f ~/Torrents/* rm -f ~/Downloads/* rm -f ~/session/*
cvswarrior/vmdistribution
hu.bme.mit.vmdistribution.app/scrpits/clean_vm.sh
Shell
unlicense
69
echo "Loading setup!"
adykto/devBox
puppet/modules/baseconfig/files/setup.sh
Shell
unlicense
22
array=("a c" b f "3 5") IFS=$'\n' sorted=($(sort <<<"${array[*]}")) printf "[%s]\n" "${sorted[@]}"
Aurametrix/Alg-U
SORT/sortarray.sh
Shell
unlicense
99
#!/bin/bash while true do nmap -sP 192.168.1.0/24 | awk '/is up/ {print up}; {gsub (/\(|\)/,""); up = $NF}' > data/pinger sleep 1s done
epicleptico/Pinger
pingerScript.sh
Shell
unlicense
145
for url in $(ag --markdown "\"ht.*.pdf" --nofilename --nobreak | cut -d'=' -f2,3,4,5,6); do url="${url%\"}" url="${url#\"}" echo $url outFile=$(echo "$url" | cut -d / -f 5- | tr / _) cd "$HOME/repos/reformed-diaconate/static/pdfs/archive" && curl -o $outFile $url done
olneyhymn/reformed-diaconate
archive_pdfs.sh
Shell
unlicense
289
PYXB_ROOT=${PYXB_ROOT:-/opt/pyxb} PYTHONPATH=${PYXB_ROOT}:${PYTHONPATH:+:${PYTHONPATH}} PATH="${PYXB_ROOT}/scripts:${PYXB_ROOT}/bin:${PATH}" export PYXB_ROOT PYTHONPATH PATH
CantemoInternal/pyxb
maintainer/usepyxb.sh
Shell
apache-2.0
174
clear java -cp /Users/alistairthomas/Documents/sites/DataFilters/build/xbrowsertests.jar datafilters.DataFilterTest $1 $2
alfiethomas/datafilters
build/xbrowsertests.sh
Shell
apache-2.0
122
#!/bin/bash # Copyright 2016 Google Inc. All Rights Reserved. # # 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 # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
amygdala/tensorflow-workshop
workshop_sections/transfer_learning/cloudml/model.sh
Shell
apache-2.0
2,820
#!/usr/bin/env bash # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "Licen...
pcmoritz/arrow
dev/run_docker_compose.sh
Shell
apache-2.0
1,389
#!/bin/bash # read_proccgroup: prints out cgroup information given a pid # $1: the pid to print read_proccgroup(){ local cpath local line local cont for line in $(tac "/proc/$1/cgroup"); do cpath=$(echo "$line" | cut -d':' -f3) for cont in $(cut -d':' -f2 <<< """$line""" | tr ',' ' '); ...
HEAPLab/psw-rt-checker
scripts/rtproc.sh
Shell
apache-2.0
5,072
#!/bin/bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" cd $DIR heroku container:login docker tag savantly/sprout-server:latest registry.heroku.com/sprout-server/web docker push registry.heroku.com/sprout-server/web docker tag savantly/sprout-webapp:latest registry.heroku.com/sprout-web...
savantly-net/sprout-platform
scripts/deployHeroku.sh
Shell
apache-2.0
462
#!/bin/bash # Copyright 2015 Solinea, Inc. # # 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 # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed t...
Solinea/goldstone-server
bin/bump_images.sh
Shell
apache-2.0
2,899
#!/bin/bash # Usage: deleteUser.sh <username> # # This script delete a user and user's home directory. usage() { echo "Usage: ./deleteUser.sh <username>" } if [ "x${1}" = "x" ]; then usage exit 0 fi userdel -r ${1} exit 0
haijunsu/ServerTools
ubuntu/user-tools/deleteUser.sh
Shell
apache-2.0
229
#! /bin/bash for i in `seq 1 1`; do $EQ_MATERIALS_DIR/zookeeper/bin/zkServer.sh --config $EQ_WORKING_DIR/quorumconf/$i stop done
AkihiroSuda/earthquake
example/not-so-much-useful/zk.byteman.combination-of-operation/materials/1-12/quorumStopWithoutEq.sh
Shell
apache-2.0
134
#!/bin/bash # Contains useful functions for testing (most copied from Fission's repo) ROOT=$(dirname $0)/.. clean_tpr_crd_resources() { # TODO fix once resources are no longer pinned to default namespace # clean tpr & crd resources to avoid testing error (ex. no kind "HttptriggerList" is registered for versi...
fission/fission-workflows
test/e2e/utils.sh
Shell
apache-2.0
6,391
#!/bin/bash cat >> ~/.pre_bivio_bashrc <<'EOF' pyenv() { case $1 in prefix) echo /home/vagrant/.pyenv/versions/2.7.16/envs/py2 ;; activate|rehash|virtualenv-init|init) ;; *) echo "unknown pyenv mock command=$1" 1>&2 exit 1 ...
radiasoft/download
installers/rpm-code/codes/test.sh
Shell
apache-2.0
1,039
#!/bin/bash #removebadbarcodes in=<infile> out=<outfile> usage(){ echo " Written by Brian Bushnell. Last modified March 16, 2015 Description: Removes reads with improper barcodes. Usage: removebadbarcodes.sh in=<file> out=<file> Parameters: in=<file> Input reads; required parameter. out=<file> ...
CruorVolt/mu_bbmap
src/bbmap/removebadbarcodes.sh
Shell
apache-2.0
1,640
gradle clean compileJava mkdir -p pack rm -r pack mkdir pack cd pack cp -r ../build/classes/main/* . cp ../src/main/resources/unpack.sh . cp ../src/main/resources/payload.zip . jar -cvfm main_gate.jar ../src/main/resources/manifest.txt . cd .. mkdir -p test rm -r test mkdir test cp pack/main_gate.jar test ec...
codetojoy/gists
java/java_jar_aug_2017/assemble.sh
Shell
apache-2.0
333
echo 'Stopping containers.' docker stop butler_s coreNLP echo 'Done!'
jgawrilo/butler_install
mini_stop.sh
Shell
apache-2.0
70
#!/usr/bin/env bash #set -x # NOTES: # contains utility functions and shared variables # should be sourced by an external script ###################### # Imported Constants # ###################### # Ansi Colors ESC_SEQ="\033[" ANSI_NONE="${ESC_SEQ}39;49;00m" # Reset colors ANSI_RED="${ESC_SEQ}1;31m" ANSI_GREEN="${E...
khorsmann/dsiprouter
dsiprouter/dsip_lib.sh
Shell
apache-2.0
7,525
#!/bin/bash curl -s -X POST http://localhost:9601/manage/shutdown > /dev/null
PatternFM/tokamak
tokamak-server/stop.sh
Shell
apache-2.0
79
#!/bin/sh # # Copyright 2015 Google Inc. All rights reserved # # 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 # # http:#www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
pombredanne/kati
testcase/ninja_regen.sh
Shell
apache-2.0
1,786
#!/bin/bash # # Copyright (C) 2017 Dan Iverson # # You may distribute under the terms of either the GNU General Public # License or the Apache License, as specified in the LICENSE file. # # For more information, see the LICENSE file. # #Uncomment next line for debugging output #set -x SCRIPT=$(basename "$0") : ${OVJ...
OpenVnmrJ/OpenVnmrJ
src/scripts/ovjGetFidlib.sh
Shell
apache-2.0
6,323
#!/bin/bash -u set -o errexit set -o pipefail function read_dirname () { local dir_name=`expr "X$1" : '[^=]*=\(.*\)'`; [ -d "$dir_name" ] || { echo "Argument '$dir_name' not a directory" >&2; \ exit 1; } local retval=`cd $dir_name 2>/dev/null && pwd || exit 1` echo $retval } PROG=`basename $0`; usage="Us...
irrawaddy28/SBS-mul
local/sbs_gen_data_dir.sh
Shell
apache-2.0
3,638
#!/bin/bash # check if everything is committed CLEAN=`git status | grep "nothing to commit"` if [ -z "$CLEAN" ] then echo "Working directory not clean. Please commit all changes before tagging" echo "Aborting." exit -1 fi echo "Fetching origin..." git fetch origin > /dev/null # check if current branch is ma...
lovelysystems/ls-thrift-py-hadoop
create_tag.sh
Shell
apache-2.0
1,354
#!/bin/bash -x set -e # CONFIGURE TEAMCITY BUILD AGENT BUILD_AGENT_PROPERTIES_DEFAULT_FILE=/opt/buildAgent/conf/buildAgent.dist.properties BUILD_AGENT_PROPERTIES_FILE=/opt/buildAgent/conf/buildAgent.properties CONTAINER_NAME=$(docker inspect -f '{{.Name}}' $HOSTNAME | sed 's/\///g') if [ ! -e $BUILD_AGENT_PROPERTIES_...
alexanderilyin/docker-teamcity-agent
entrypoint.sh
Shell
apache-2.0
1,480
#!/bin/bash source /opt/tools/common-bash.sh log="/tmp/pre-start.log" echo "" > $log lg "Running Pre-Start" if [[ "${ENV_PRESTART_UPDATE_PIPS}" == "1" ]]; then if [[ -e /opt/python2/install_pips.sh ]]; then lg "Updating pips with: /opt/python2/install_pips.sh" /opt/python2/install_pips.sh ...
jay-johnson/redten-python
docker/pre-start.sh
Shell
apache-2.0
478
#!/usr/bin/env bash set -e . ./vocabulary.sh NAME=$(distro_name) if [[ $NAME == "Fedora" || $NAME == "Red Hat Enterprise Linux Server" ]]; then sudo cp scylla.fedora.repo /etc/yum.repos.d/ elif [[ $NAME == "CentOS Linux" ]]; then sudo cp scylla.centos.repo /etc/yum.repos.d/ sudo yum install -y epel-relea...
tgrabiec/scylla-benchmark-tools
common/common_setup.sh
Shell
apache-2.0
385
#!/bin/sh set -e if [ -f ./test.sh ]; then ./test.sh || exit $? fi /cockroach/cockroach "$@"
XuWanHong/cockroach-1
build/deploy/cockroach.sh
Shell
apache-2.0
95
#!/usr/bin/env bash # Main ci script for nutcracker tests set -xeu function print_usage() { echo "Usage: $0" 1>&2 exit 1 } if [[ "$#" > 0 ]]; then echo "Too many arguments" 1>&2 print_usage fi PACKAGE_NAME="nutcrackerci" TAG=$( git describe --always ) DOCKER_IMG_NAME=twemproxy-build-$PACKAGE_NAME-$T...
ifwe/twemproxy
ci/main.sh
Shell
apache-2.0
636
#!/usr/bin/env bash cd src/main/cpp/include javah -cp ../../java net.nharyes.libsaltpack.MessageReader javah -cp ../../java net.nharyes.libsaltpack.MessageWriter javah -cp ../../java net.nharyes.libsaltpack.Utils cd ../../../
Gherynos/libsaltpack-jni
gen_headers.sh
Shell
apache-2.0
227
#!/bin/bash status_nginx() { ps -ef | grep -v grep | grep nginx > /dev/null # if not found then 1 else 0 (success) if [ $? -eq 1 ] then echo "nginx is not running ..." return 1 else n_pid=`cat /usr/local/var/run/nginx.pid` echo "nginx is running with pid $n_pid" return 0 fi } start_nginx() { sta...
rjha/sc
deploy/macosx/npm.sh
Shell
apache-2.0
2,791
#!/bin/bash # Copyright 2015 The Kubernetes Authors All rights reserved. # # 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 # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required...
IanLewis/code_snippets
demos/scale-demo/bootstrap-demo.sh
Shell
apache-2.0
912
#!/bin/bash ########################################################################### # # Copyright 2021 Google Inc. # # 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 # # https://www...
google/analytics-settings-database
health_checkup/deploy.sh
Shell
apache-2.0
1,408
#!/bin/bash openssl req -x509 -config openssl-ca.cnf -newkey rsa:4096 -sha256 -out cacert.pem -outform PEM
windj007/docker-token-auth-test
cert_scripts/gen_ca.sh
Shell
apache-2.0
108
#!/bin/bash set -x # print command trace before running set -e # exit immediately if command fails set -v # print shell lines as read if [ -z "$1" ] then echo "Please invoke with format: <script.sh> <buck build target>" exit -1 fi TARGET=$1 SCRIPTS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" TE...
shs96c/buck
scripts/stampede/compare_local_vs_distributed_build.sh
Shell
apache-2.0
1,330
# !/bin/bash #-------------------------------------------------------------------------- # 作者:张启卫 # 时间:2016/10/19 # 功能: # 学习shell脚本数组 #-------------------------------------------------------------------------- area[11]=23 area[13]=37 area[51]=UFOs #数组成员不一定非得是相邻或连续的。 #数组的部分成员可以不被初始化 #数组中允许空缺元素。 echo...
Elewei/learn-ops
shell/chapter26/array.sh
Shell
apache-2.0
1,352
#!/bin/sh # # Copyright (C) 2004, 2007-2010, 2012, 2013 Internet Systems Consortium, Inc. ("ISC") # Copyright (C) 2000-2003 Internet Software Consortium. # # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright no...
execunix/vinos
external/bsd/bind/dist/bin/tests/system/ifconfig.sh
Shell
apache-2.0
5,758
#!/usr/bin/env bash # #/** # * Copyright 2011 The Apache Software Foundation # * # * Licensed to the Apache Software Foundation (ASF) under one # * or more contributor license agreements. See the NOTICE file # * distributed with this work for additional information # * regarding copyright ownership. The ASF licenses ...
Shmuma/hbase-trunk
bin/graceful_stop.sh
Shell
apache-2.0
3,833
#!/bin/sh cp bashrc ~/.bashrc cp gitconfig ~/.gitconfig cp set_shortcut ~/.set_devtool_shortcut cp vimrc ~/.vimrc
iamyooon/study_linux
linux_run_conf/copy_from_git.sh
Shell
apache-2.0
116
#!/bin/bash -xe # remove any previous artifacts rm -rf output make clean # Get the tarball ./build.sh dist # create the src.rpm, assuming the tarball is in the project's directory rpmbuild \ -D "_srcrpmdir $PWD/output" \ -D "_topmdir $PWD/rpmbuild" \ -ts ./*.gz # install any build requirements yum-build...
oVirt/ovirt-ansible
automation/build-artifacts-manual.sh
Shell
apache-2.0
705
#!/bin/sh # Deprecated by gruvbox # Install desert256 mkdir -p ~/.vim/colors wget -O ~/.vim/colors/desert256.vim https://raw.githubusercontent.com/clarkli86/desert256.vim/master/colors/desert256.vim # Deprecated by the usage of vim-lsp's LspReferences which is smarter # Install cscope plugin sudo apt install cscope -...
clarkli86/vim_setup
setup.sh
Shell
apache-2.0
1,439
#!/bin/bash export DEST="./.exvim.core" export TOOLS="/home/ylf/.vim/tools/" export TMP="${DEST}/_symbols" export TARGET="${DEST}/symbols" sh ${TOOLS}/shell/bash/update-symbols.sh
neo-white/HPML
Core/.exvim.core/update-symbols.sh
Shell
apache-2.0
180
#!/bin/bash SAVEIMAGES="" COMPAREIMAGES="" ARGS="" RED='\e[0;31m' GREEN='\e[0;32m' NOCOLOR='\e[0m' RETVAL=0 # run all of the samples # parse the arguments while test $# -gt 0; do case "$1" in --save-images) SAVEIMAGES="true" ARGS="$ARGS --save-images" ;; --comp...
Radamanthe/VulkanSamples
API-Samples/run_all_samples.sh
Shell
apache-2.0
2,209
#!/bin/bash # Copyright 2014 Google Inc. All rights reserved. # # 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 # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
GoogleCloudPlatform/compute-video-demo-chef
install.sh
Shell
apache-2.0
2,345
git pull git checkout develop rm -rf target rm -f devenv if [ -z "$JAVA_HOME" ]; then JAVA_HOME=/opt/taobao/java fi export PATH=/opt/taobao/mvn/bin:$JAVA_HOME/bin:$PATH mvn -Dmaven.test.skip=true clean package install assembly:assembly -U ln -s target/alibaba-rocketmq-3.1.0-DUMMY-SNAPSHOT/alibaba-rocketmq devenv...
diwayou/rocketmq-all-trans
develop.sh
Shell
apache-2.0
321
NAME=square-android-api VERSION=0.9 NAME=$NAME-$VERSION # Clear and recreate build directory. rm -r build mkdir -p build/classes mkdir -p build/dist # Compile classes. javac -g -classpath external/android.jar -d build/classes \ -target 5 `find src -name *.java` # Generate Javadocs. TITLE="Square for Android API...
jonthewayne/android-api
build.sh
Shell
apache-2.0
1,013
# Usage from Jenkins: # deploy_configuration.sh server_to_deploy_to environment solr_home log_dir solr_username service_name private_key_file # Where environemnt is one of: STAGE, PRODUCTION # deploy_configuration.sh 10.0.0.11 STAGE /usr/local/solr/data /var/log/solr solr solr ~/.ssh/my_key server="$1" environment="$2...
jstrassburg/solr-jenkins-cicd-conf
scripts/deploy_configuration.sh
Shell
apache-2.0
3,219
#!/bin/bash set -ueo pipefail BGZIP=/gscmnt/gc2802/halllab/idas/software/local/bin/bgzip TABIX=/gscmnt/gc2802/halllab/idas/software/local/bin/tabix BCFTOOLS=/gscmnt/gc2802/halllab/idas/software/local/bin/bcftools1.4 PYTHON=$1 SCRIPT=$2 INVCF=$3 OUTVCF=$4 CHROM=$5 function log { local timestamp=$(date +"%Y-%m-%d...
indraniel/yaps2
yaps2/resources/postvqsr38/allele-balance-annotation.sh
Shell
bsd-2-clause
1,357
#EXAMPLE: # ./startVpn_encrypt.sh 0 if [ ! $# -eq 1 ];then echo "example:" echo "$0 num &" echo "$0 0 &" echo "$0 1 &" exit 0 fi VPNSERVER_HOME=/home/ubuntu/vpnserver cd $VPNSERVER_HOME g++ ToyVpnServer_encrypt.cpp -o ToyVpnServer_encrypt -lcryptopp sleep 3 CaptureCMD=$VPNSERVER_HOME/checkCapt...
wangruoyu/mobilegt_vpn
old/startVpn_encrypt.sh
Shell
bsd-2-clause
1,479
#!/bin/bash set -ex CURRENT_VERSION=$(node --eval "console.log(require('./package.json').version)") # update all version numbers in README.md sed -i .bak -E s/[0-9]+\.[0-9]+\.[0-9]+-?[0-9]*/$CURRENT_VERSION/g README.md rm README.md.bak git add README.md
skyglobal/polyfill
scripts/update-version.sh
Shell
bsd-3-clause
259
#!/bin/bash set -e SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) source $SCRIPT_DIR/../common.sh if [[ $# != 1 && $# != 2 ]]; then echo "usage run.sh run|check use-swat" exit 1 fi SWAT_OPTIONS="spark.executor.extraJavaOptions=-Dswat.print_kernel=true" spark-submit --class SparkSimple \ ...
agrippa/spark-swat
functional-tests/map-partitions-async/run.sh
Shell
bsd-3-clause
539
#!/bin/sh env PINENTRY_USER_DATA=gui pass show $1 | sed -n 1p
dragonmaus/home
src/bin/getpass/getpass.sh
Shell
bsd-3-clause
62
#!/bin/bash LF='\'$'\n' sed -i.bak '{ s`/. TODO: Initialize naturals ./`*naturals = _i;`; s`/. TODO: Do something with evensTotal ./`printf("Even total = %d\\n", evensTotal);`; s`/. TODO: Do something with oddsTotal ./`printf("Odd total = %d\\n", oddsTotal);`; s`/.TODO./0`i*2 + 1`; }' EvenOddSums.c sed -i.bak '{ s`\...
habanero-rice/cnc-framework
test/EvenOddSums/implementSteps.sh
Shell
bsd-3-clause
920
#!/bin/sh set -e if [ ! -d "./kernel/" ]; then ./fetch.sh fi sbcl --load install.lsp
Shen-Language/shen-sbcl
build.sh
Shell
bsd-3-clause
91