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 |
|---|---|---|---|---|---|
#!/usr/bin/env bash
CSDIR=~/".cs"
function _cscomplete_() {
local cmd="${1##*/}"
local word="${COMP_WORDS[COMP_CWORD]}"
local line="${COMP_LINE}"
IFS=':'
local cheats=''
for f in "${CSDIR}"/*;
do
cheats="${cheats}:$(basename $f)"
done
COMPREPLY=($(compgen -W "${cheat... | bartdag/cheatsheet | cs_complete.sh | Shell | bsd-3-clause | 367 |
#!/usr/bin/env bash
docker build --tag jaguar_pg .
docker run -it -p 5432:5432 jaguar_pg | Jaguar-dart/jaguar | db/postgres/tool/env/run.sh | Shell | bsd-3-clause | 89 |
#!/usr/bin/env bash
set -e
KERNEL_VERSION_RPI1=3.18.0-trunk-rpi
KERNEL_VERSION_RPI2=3.18.0-trunk-rpi2
INSTALL_MODULES="kernel/fs/f2fs/f2fs.ko"
INSTALL_MODULES="$INSTALL_MODULES kernel/fs/btrfs/btrfs.ko"
INSTALL_MODULES="$INSTALL_MODULES kernel/drivers/usb/storage/usb-storage.ko"
INSTALL_MODULES="$INSTALL_MODULES ker... | Zeerix/raspbian-ua-netinst | build.sh | Shell | isc | 8,646 |
#!/bin/sh
set -e
mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt
> "$RESOURCES_TO_COPY"
install_resource()
{
case $1 in
*.storyboard)
echo "ibtool --reference-external-strings-file --errors --warnings --notices ... | raihan/ZRScrollableTabBar | Example/Pods/Target Support Files/Pods-ZRScrollableTabBar/Pods-ZRScrollableTabBar-resources.sh | Shell | mit | 4,029 |
#!/usr/bin/env bash
echo "Installing Apache and setting it up..."
apt-get update >/dev/null 2>&1
apt-get install -y apache2 >/dev/null 2>&1
rm -rf /var/www
ln -fs /vagrant /var/www
| stage-clear/Learning-Vagrant | books/vagrant-up-running/03/sample/provision.sh | Shell | mit | 182 |
#!/usr/bin/env bash
# Ignore the post install questions
export DEBIAN_FRONTEND=noninteractive
# Update Apt
# --------------------
echo 'Update Apt...'
apt-get update
# Install Apache & PHP
# --------------------
echo 'Install Apache & PHP...'
apt-get install -y vim curl git dos2unix apache2 zip sudo
# Install PHPMy... | gigatec/docker-ubuntu | ruby/init.sh | Shell | mit | 3,841 |
#!/bin/bash
TARGET=arm-unknown-linux-gnueabihf
MAKE_OPT=-j8
LINUX_DEFCONFIG=socfpga_defconfig
BINUTILS_VER=2.25
GCC_VER=5.2.0
LINUX_VER=4.1.6
GLIBC_VER=2.20
BINUTILS_NAME=binutils-$BINUTILS_VER
GCC_NAME=gcc-$GCC_VER
LINUX_NAME=linux-$LINUX_VER
GLIBC_NAME=glibc-$GLIBC_VER
SYSROOT=$PWD
PREFIX=$SYSROOT
PATH=$PREFIX/b... | dongguangming/arm_linux_cross_compile | shell/create_cross_env.bash | Shell | mit | 8,141 |
repo init -u ssh://gerrit.xxx.com:29418/git/android/platform/manifest --repo-url ssh://gerrit.xxx.com:29418/git/android/tools/repo --repo-branch stable --no-repo-verify -q -b master -m xxx/MSM8953_NOUGAT_xxx.xml --reference /home/mirror
| oasis-github/oasis | git/repo-init.sh | Shell | mit | 240 |
#!/bin/bash --login
DIR=$(cd $(dirname "$0"); pwd)
# Create environment
$DIR/set_env.sh
# Configure Berkshelf DepSolver timeout to 600 secs
export SOLVE_TIMEOUT=600
cd $WORKSPACE/repo
if [ -d /usr/local/rvm ]
then
rvm use 2.2.4
fi
echo "gem 'knife-supermarket'" >> Gemfile
bundle install --path ~jenkins/vendor/bu... | smedefind/chef-ci | build_workspace.sh | Shell | mit | 370 |
#!/bin/bash
mkdir -p ./dist
touch ./dist/index.html
jade -P ./src/app/index.jade -o ./dist/
| leftiness/ton-social | bin/bundle-index.sh | Shell | mit | 92 |
#!/usr/bin/env bash
. "$REDPILL/themes/powerline/powerline.base.bash"
PROMPT_CHAR=${POWERLINE_PROMPT_CHAR:=""}
POWERLINE_LEFT_SEPARATOR=${POWERLINE_LEFT_SEPARATOR:=""}
USER_INFO_SSH_CHAR=${POWERLINE_USER_INFO_SSH_CHAR:=" "}
USER_INFO_THEME_PROMPT_COLOR=32
USER_INFO_THEME_PROMPT_COLOR_SUDO=202
PYTHON_VENV_CHAR=${... | voku/dotfiles | .redpill/themes/powerline/powerline.theme.bash | Shell | mit | 1,475 |
#!/bin/sh
# base16-shell (https://github.com/chriskempson/base16-shell)
# Base16 Shell template by Chris Kempson (http://chriskempson.com)
# OneDark scheme by Lalit Magant (http://github.com/tilal6991)
color00="28/2c/34" # Base 00 - Black
color01="e0/6c/75" # Base 08 - Red
color02="98/c3/79" # Base 0B - Green
color03=... | tulhan/.files | config/base16-shell/scripts/base16-onedark.sh | Shell | cc0-1.0 | 3,963 |
#/bin/bash
OUTPUT=`lava-tool submit-job http://admin:l7y5cz0ttbzedtg7ai1okum11eic3n49igs4t6uiraou0amk3bbs2uqh0impai0y7u9a6mue0ep3m081qjwnw0xtoskocz2xnyina3edkkdjooblh94110e41fl66uq1@10.192.242.176/RPC2 \
/home/r64343/workspace/lava-test/test/imx8mq_evk/imx8mq_evk_vte_release.json`
if [ $? -eq 0 ]
then
JOB_ID=$(grep ... | eslover/lava-test | test/imx8mq_evk/start_ci_release.sh | Shell | gpl-2.0 | 970 |
#!/sbin/busybox sh
# universal configurator interface for user/dev/ testing.
# by Gokhan Moral and Voku and Dorimanx and Alucard24
# stop uci.sh from running all the PUSH Buttons in stweaks on boot
mount -o remount,rw rootfs;
chown -R root:system /res/customconfig/actions/;
chmod -R 6755 /res/customconfig/actions/;
mv... | jthatch12/STi | initramfs32/res/user_uci_test_run.sh | Shell | gpl-2.0 | 950 |
🌚👇👇ملف منقول من المطور كرار العبيدي
#لا تضل تكمز وتشمر حجي
echo "@liberbot_iraq"
echo "@livil"
echo "تمت مسح ملف الملف ال state"
kill -9 $(pgrep telegram-cli)
rm -rf ~/.telegram-cli/state
الملف بس ضيفه وين ما جان وشغله وخلاص
| hussian1997/hk-_bot | TEAM MAKE.sh | Shell | gpl-2.0 | 352 |
#!/bin/sh
. $LKP_SRC/lib/reproduce-log.sh
#Clear resctrl and subsystem controllers mount point
clear_resctrl()
{
resctrl_mounts=$(grep ' resctrl ' /proc/mounts)
if [ -n "$resctrl_mounts" ]; then
echo "$resctrl_mounts" |
while read -r line
do
resctrl_subsys=$(echo "$line" | awk '{ print $3 }')
if [ "$r... | rli9/lkp-tests | lib/resctrl.sh | Shell | gpl-2.0 | 1,044 |
# env files look like:
#
# FOO=bar
# BAZ='quux with spaces'
#
# remove blank lines and comments
readenv()
{
sed -e "/^$/d" -e "/^#.*$/d" "$@"
}
# remove blank lines and comments, then export the files as environment variables
exportenv()
{
eval $(readenv -e "s/^/export /" "$@")
}
| Voileexperiments/Gsim_server | bin/shared/shared.sh | Shell | gpl-2.0 | 286 |
#!/bin/bash
#
# Copyright (c) 2015 Igor Pecovnik, igor.pecovnik@gma**.com
#
# This file is licensed under the terms of the GNU General Public
# License version 2. This program is licensed "as is" without any
# warranty of any kind, whether express or implied.
#
# This file is a part of tool chain https://github.com/igo... | romlinch/lib | main.sh | Shell | gpl-2.0 | 10,986 |
rm -f *.o
rm -f *.a
rm -f *.so
rm -f testmain
rm -f *.dll
rm -f *.DLL
| an0ninja/xbmc | tools/depends/target/crossguid/native/clean.sh | Shell | gpl-2.0 | 70 |
#!/bin/bash
if [[ "$EMAIL_ADDR" && "$EMAIL_PASSWORD" ]]; then
sed -i "s/email@user.com/${EMAIL_ADDR}/g" /htdocs/ant-master/web/modules/mail.js
sed -i "s/email-password/${EMAIL_PASSWORD}/g" /htdocs/ant-master/web/modules/mail.js
fi
if [[ "$SMTP_HOST" && "$SMTP_PORT" ]]; then
sed -i "s/smtp.qq.com/${SMTP_HOS... | Medicean/VulApps | tools/ant/src/start.sh | Shell | gpl-3.0 | 634 |
#!/bin/bash
# use browserify to bundle javascript dependencies together nicely
# thanks obama
watchify ../scripts/animation.js \
../scripts/backdrop.js \
../scripts/config.js \
../scripts/game.js \
../scripts/gamesquare.js \
../scripts/gamestate.js \
../scripts/lib/seedrandom.min.js \
../scripts/l... | Evendyce/TetraMorph | build-utils/build.sh | Shell | gpl-3.0 | 502 |
#!/usr/bin/env sh
# This checks a given revision to make sure that it has a bug number
# in it, of the form "#123". It should be used in your pretxncommit
# hook
hg log -r $1 --template {desc} | egrep -q "\#[0-9]+"
| tylert/chirp.hg | tools/check_for_bug.sh | Shell | gpl-3.0 | 218 |
sh tulip_run_test.sh topological_tests_for_grid_approximation grid_approximation.tlp
| jukkes/TulipProject | unit_test/gui/run_topological_tests_for_grid_approximation_test.sh | Shell | gpl-3.0 | 85 |
#!/bin/bash
rm -rf src/main/assets
rm -rf src/main/res
rm -rf src/main/java
| thialfihar/apg | tools/reset_sources.sh | Shell | gpl-3.0 | 77 |
#!/bin/bash
#style is defined in .clang-format
# run for all files
#cat <(find . -name '*.cpp') <(find . -name '*.h') | xargs -n1 clang-format-3.8 -i
#run only on changed files vs master
git diff master --name-only | grep -e '\.cpp$' -e '\.h$' | xargs -n1 clang-format-3.8 -i
| Nitrokey/nitrokey-app | coding-styles.sh | Shell | gpl-3.0 | 280 |
#!/bin/bash
true && sudo bash -c "python -m lcrs.master.main $@ 2>&1 | tee -a /var/log/lcrs.error.log"
| fairdk/lcrs2 | bin/lcrs_run.sh | Shell | gpl-3.0 | 103 |
#!/bin/bash
set -e
pegasus_lite_version_major="4"
pegasus_lite_version_minor="7"
pegasus_lite_version_patch="0"
pegasus_lite_enforce_strict_wp_check="true"
pegasus_lite_version_allow_wp_auto_download="true"
. pegasus-lite-common.sh
pegasus_lite_init
# cleanup in case of failures
trap pegasus_lite_signal_int INT
trap... | elainenaomi/sciwonc-dataflow-examples | dissertation2017/Experiment 1A/logs/w-03/20161101T133529+0000/00/00/averageratioevent_1_ID0000013.sh | Shell | gpl-3.0 | 1,261 |
#!/bin/bash
set -e
pegasus_lite_version_major="4"
pegasus_lite_version_minor="7"
pegasus_lite_version_patch="0"
pegasus_lite_enforce_strict_wp_check="true"
pegasus_lite_version_allow_wp_auto_download="true"
. pegasus-lite-common.sh
pegasus_lite_init
# cleanup in case of failures
trap pegasus_lite_signal_int INT
trap... | elainenaomi/sciwonc-dataflow-examples | dissertation2017/Experiment 1A/logs/w-10_1/20161107T061502+0000/00/00/analysisevent_0_ID0000028.sh | Shell | gpl-3.0 | 1,249 |
#!/bin/sh
cygwin=false
os400=false
darwin=false
case "`uname`" in
CYGWIN*) cygwin=true;;
OS400*) os400=true;;
Darwin*) darwin=true;;
esac
# resolve links - $0 may be a softlink
PRG="$0"
while [ -h "$PRG" ]; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
... | dotCMS/core-2.x | bin/deploy-plugins.sh | Shell | gpl-3.0 | 2,656 |
#!/bin/bash
if [ ! -e node_modules ]
then
mkdir node_modules
fi
if [ -z ${USER_UID:+x} ]
then
export USER_UID=1000
export GROUP_GID=1000
fi
# options
SPRINGBOARD="recette"
for i in "$@"
do
case $i in
-s=*|--springboard=*)
SPRINGBOARD="${i#*=}"
shift
;;
*)
;;
esac
done
build () {
loca... | entcore/infra-front | build.sh | Shell | agpl-3.0 | 1,220 |
#!/bin/bash
mv "${DOCKER_SRC}/nexus-${NEXUS_VERSION}.war" /var/lib/tomcat7/webapps/nexus.war
mkdir -p /root/sonatype-work/nexus
| inn1983/docker-builder | dev-java/nexus/2.7.2/build.sh | Shell | lgpl-3.0 | 131 |
#!/bin/bash
#import data
sh start.sh 100
#test database
ret=$(docker-compose -f ../base/docker-compose.yml -f docker-compose.yml run base_mysql mysql -u root --password=password -s -h base_mysql -e "Select count(*) from product" benchmark 2>/dev/null)
ret2=$(docker-compose -f ../base/docker-compose.yml -f dock... | Iranox/mapbench-data | scenario/mariadb-cluster/startTest.sh | Shell | apache-2.0 | 928 |
#!/usr/bin/env bash
set -e
#importurl=http://ec2-52-28-130-84.eu-central-1.compute.amazonaws.com/import
#importurl=https://catwatch-web.hackweek.zalan.do/import
importurl=http://localhost:8080/import
echo "file $1 will be imported to $importurl ..."
# I guess it won't work with UTF-8
curl --insecure -H "Content-Type... | EMResearch/EMB | jdk_8_maven/cs/rest/original/catwatch/catwatch-dump/import.sh | Shell | apache-2.0 | 419 |
#!/bin/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
# "License"); y... | dmlc/tvm | apps/microtvm/reference-vm/scripts/reference_vm_release.sh | Shell | apache-2.0 | 1,433 |
#!/usr/bin/env bash
set -e # halt script on error
# If this is the publish branch, push it up to gh-pages
if [ $TRAVIS_PULL_REQUEST = "false" ] && [ $TRAVIS_BRANCH = "master" ]; then
echo "Get ready, we're publishing!"
npm install -g aglio
mkdir -p dist
aglio -t slate -i docs/docs.md -o dist/index.html
cd di... | codefornigeria/dustduino-server | .build_scripts/deploy.sh | Shell | bsd-3-clause | 655 |
#!/bin/bash
# Copyright (c) 2011 The Native Client Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
BUILD_DIR=${SRC_DIR}
export LIB_OSG=libosg.a
export LIB_OSGUTIL=libosgUtil.a
export LIB_OPENTHREADS=libOpenThreads.a
ConfigureStep() {... | binji/naclports | ports/openscenegraph/build.sh | Shell | bsd-3-clause | 1,110 |
#!/bin/bash
FN="arabidopsis.db0_3.8.2.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.9/data/annotation/src/contrib/arabidopsis.db0_3.8.2.tar.gz"
"https://bioarchive.galaxyproject.org/arabidopsis.db0_3.8.2.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-arabidopsis.db0/bioconductor-arabidopsis.... | mdehollander/bioconda-recipes | recipes/bioconductor-arabidopsis.db0/post-link.sh | Shell | mit | 1,322 |
#!/bin/bash
git submodule update --init --recursive | MengwenHe-CMU/CMU-Courses | initdoc.sh | Shell | mit | 51 |
#!/bin/sh
# split_x32.sh -- test -fstack-split for x32
# Copyright (C) 2014-2020 Free Software Foundation, Inc.
# Written by Ian Lance Taylor <iant@google.com>.
# Modified by H.J. Lu <hongjiu.lu@intel.com>.
# This file is part of gold.
# This program is free software; you can redistribute it and/or modify
# it unde... | mattstock/binutils-bexkat1 | gold/testsuite/split_x32.sh | Shell | gpl-2.0 | 1,650 |
FREQMINE_SIZE=medium
. $SHELLPACK_TOPLEVEL/drivers/driver-freqmine-common.sh
| gormanm/mmtests | drivers/driver-freqmine-medium.sh | Shell | gpl-2.0 | 77 |
#!/usr/bin/env bash
arch=`uname -m`
if [ $arch == "i386" ] || [ $arch == "i586" ] || [ $arch == "i686" ] ; then
ARCH=32
elif [ $arch == "x86_64" ] ; then
ARCH=64
else
echo "Unknown processor architecture: $arch"
exit 1
fi
# intall keys for ceph release
wget -q -O- https://raw.github.com/ceph/ceph/master/keys... | nijx/hypertable | bin/src-utils/build-setup-debian.sh | Shell | gpl-3.0 | 4,634 |
#!/bin/sh
COMMAND=../qrencode
TARGET_DIR="test_images"
VALGRIND_COMMAND="libtool --mode=execute valgrind"
VALGRIND_OPTIONS="--leak-check=full --show-reachable=yes"
if [ "x$1" = 'xvalgrind' ]; then
COMMAND="$VALGRIND_COMMAND $VALGRIND_OPTIONS $COMMAND"
fi
repeatchar()
{
printf %${2}s | tr ' ' ${1}
}
test_command_s... | fukuchi/libqrencode | tests/test_qrenc.sh | Shell | lgpl-2.1 | 1,010 |
JID=0
if [ "$1" != "" ]; then
echo "Going to plot data of joint $1"
JID=$1
else
echo "No joint number specified, going to plot data of joint 0"
fi
BUFFER=30
REFRESH_RATE=10
rxplot --period=$BUFFER --buffer=$BUFFER --refresh_rate=$REFRESH_RATE \
/ctrl_manager_pwmDes/data[$JID] \
/estimator_jointsTorque... | andreadelprete/sot-torque-control | scripts/plot_pwm.sh | Shell | lgpl-3.0 | 751 |
#!/bin/bash
set -o errexit -o nounset
cd ./public/apirest
git init
git config user.name "${GIT_NAME}"
git config user.email "${GIT_EMAIL}"
git add .
git commit -m "Automatic deploy to GitHub Pages"
git push --force --quiet "https://${GH_TOKEN}@${GH_REF}" master:gh-pages > /dev/null 2>&1 | e-ucm/a2 | bin/deploy-gh-pages.sh | Shell | apache-2.0 | 289 |
#!/bin/bash -x
# 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
# "License"... | tamban01/mcuboot | ci/mynewt_install.sh | Shell | apache-2.0 | 1,986 |
#!/bin/bash -e
infodir="/mnt/var/lib/info"
shutdown="/mnt/var/lib/instance-controller/public/shutdown-actions"
facility="local0"
logfile="/dev/shm/emr.log"
protocol="@@" ## TCP
VERSION="0.0.2"
SELF=`basename $0 .sh`
print_version()
{
echo $SELF version:$VERSION
}
print_usage()
{
cat << EOF
USAGE: ${0} -op... | IanMeyers/aws-big-data-blog | aws-blog-campanile/bootstrap/syslog-setup.sh | Shell | apache-2.0 | 4,645 |
#!/bin/bash
# Modifications copyright (C) 2017, Baidu.com, Inc.
# Copyright 2017 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 owne... | lingbin/palo | gensrc/script/file2array.sh | Shell | apache-2.0 | 2,843 |
#!/usr/bin/env bash
#=============================================================================
# Copyright 2013 Kitware, 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:... | collects/VTK | Utilities/Scripts/SetupExternalData.sh | Shell | bsd-3-clause | 2,625 |
#!/bin/bash
for ip in `cat ./host_list`; do
ssh-copy-id -i ~/.ssh/id_rsa.pub $ip
done
| b3lab/openstack | installation_scripts/controller/scripts/extras/ssh_copy_id.sh | Shell | mit | 92 |
#!/bin/bash
export LD_LIBRARY_PATH=../../../src/usr/
# Configuring Running Directory
TOP_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# Arguments Check
if [ $# -lt 2 ]; then
echo "[$0] Missing Parameters!"
echo "Usage: $0 [Server IP] [Port] [Transport (optional)] [Transport (optional)] [0 ... | accelio/accelio | examples/usr/hello_world_iov/run_client.sh | Shell | gpl-2.0 | 631 |
#!/usr/bin/env bash
set -e
pkg_dir=$1
if [ -z $pkg_dir ] || [ ! -d $pkg_dir ]; then
echo "Usage: ipkg-make-index <package_directory>" >&2
exit 1
fi
empty=1
for pkg in `find $pkg_dir -name '*.ipk' | sort`; do
empty=
name="${pkg##*/}"
name="${name%%_*}"
[[ "$name" = "kernel" ]] && continue
echo "Generating ind... | The-BB/EK4tests | scripts/ipkg-make-index.sh | Shell | gpl-2.0 | 748 |
#! /bin/sh
cd tests
. ./compat.sh
[ -z "$ENABLE_PERL_BINDING" ] && exit 77
LOADPATH="$BUILDDIR/swig/perl5"
K=$($PERL -e 'print(int(rand(16)) + 6)')
I=$($PERL -e 'print(int(rand(5)))')
$JF count -m $K -s 10M -t $nCPUs -C -o ${pref}.jf seq1m_$I.fa
$JF dump -c ${pref}.jf > ${pref}.dump
$JF histo ${pref}.jf > ${pref}.his... | COMBINE-lab/Jellyfish | tests/swig_perl.sh | Shell | gpl-3.0 | 467 |
#!/bin/bash
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
source tests-common.sh
inherit eutils
tbegin "simple push/pop"
VAR=1
evar_push VAR
pu=$?
VAR=2
evar_pop
po=$?
[[ ${pu}${po}${VAR} == "001" ]]
tend $?
tbegin "unset push/pop"
unset VAR
evar_p... | DmitriyHetman/gentoo | eclass/tests/eutils_evar.sh | Shell | gpl-3.0 | 1,424 |
#!/bin/sh
#
# SpanDSP - a series of DSP components for telephony
#
# unpack_gsm0610_data.sh
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 2.1,
# as published by the Free Software Foundation.
#
# This program is distributed ... | yclee/spandsp | unpack_gsm0610_data.sh | Shell | lgpl-2.1 | 8,458 |
#!/usr/bin/env bash
if [ $# -le 0 ]; then
echo "read_from_hdfs_IP.sh <Remote Host IP>"
exit 1
fi
echo
echo
echo \******************************************
echo \* 1. get hostname and IP \*
echo \******************************************
echo
hostname=$(hostname)
echo hostname = $hostname
LocalIP=$(cat /... | submergerock/avatar-hadoop | build/hadoop-0.20.1-dev/bin/read_from_hdfs_IP.sh | Shell | apache-2.0 | 4,465 |
#!/bin/bash -e
# Copyright 2019 The TensorFlow 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 requ... | tensorflow/tflite-micro | tensorflow/lite/micro/testing/test_xtensa_binary.sh | Shell | apache-2.0 | 1,257 |
#! /bin/bash
set -x
sleep 10
bash $EQ_MATERIALS_DIR/check-fle-states.sh 2181 2182 2183
result=1
count=0
while [ ${result} -eq 1 -a ${count} -lt 30 ]
do
$EQ_MATERIALS_DIR/zookeeper/bin/zkCli.sh -server localhost:2181,localhost:2182,localhost:2183 create /hoo bar && result=0
(( count++ ))
sleep 1
done
if [... | AkihiroSuda/earthquake | example/not-so-much-useful/zk.byteman.combination-of-operation/materials/1-5/validate.sh | Shell | apache-2.0 | 374 |
#!/bin/bash
# This script is used to build RethinkDB RPM on CentOS 6.4 and 7
#
# It requires:
# * The build dependencies: https://www.rethinkdb.com/docs/install/centos/
# * gem install fpm
set -eu
main () {
MAKEFLAGS=${MAKEFLAGS:- -j 8}
export MAKEFLAGS
ARCH=`gcc -dumpmachine | cut -f 1 -d -`
RPM_ROO... | rethinkdb/rethinkdb | scripts/build-rpm.sh | Shell | apache-2.0 | 2,532 |
#!/bin/bash
##########################################################################
#Aqueduct - Compliance Remediation Content
#Copyright (C) 2011,2012
# Vincent C. Passaro (vincent.passaro@gmail.com)
# Shannon Mitchell (shannon.mitchell@fusiontechnology-llc.com)
#
#This program is free software; you ca... | quark-pat/CLIP | packages/aqueduct/aqueduct/compliance/Bash/STIG/rhel-5/prod/GEN002820-10.sh | Shell | apache-2.0 | 5,383 |
#!/bin/sh
PATH=/usr/local/jdk/bin:$PATH
cd "`dirname $0`/../viewer/application.linux"
./viewer >viewer.log 2>&1
| JohnAtl/pcbgcode | source/viewer.linux.sh | Shell | artistic-2.0 | 114 |
#!/bin/sh
cd templates/labs
if [ -e "jbrowse" ]; then
git pull
git submodule foreach git pull
else
git clone --recursive https://github.com/GMOD/jbrowse.git
fi
cd jbrowse
./setup.sh
| jmcmurry/monarch-app | install_jbrowse.sh | Shell | bsd-3-clause | 195 |
# Create a backup from the database
#!/bin/bash
set -eu
NYAAPANTSU_USERNAME="$1"
NYAAPANTSU_PASSWORD="$2"
NYAAPANTSU_DB="$3"
NYAAPANTSU_PASSPHRASE_FILE="$4"
NYAAPANTSU_TRACKER="$5"
NYAAPANTSU_DOWNLOADED_DIR="$6"
NYAAPANTSU_WATCH_DIR="$7"
dump_file="${NYAAPANTSU_DB}_$(date +'%Y_%m_%d_%H_%M').backup"
pg_dump -U "${NY... | SpamNeko/nyaa | deploy/ansible/roles/backup/files/backup.sh | Shell | mit | 848 |
#!/bin/bash
FN="mirna20cdf_2.18.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.9/data/annotation/src/contrib/mirna20cdf_2.18.0.tar.gz"
"https://bioarchive.galaxyproject.org/mirna20cdf_2.18.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-mirna20cdf/bioconductor-mirna20cdf_2.18.0_src_all.tar... | jerowe/bioconda-recipes | recipes/bioconductor-mirna20cdf/post-link.sh | Shell | mit | 1,416 |
#!/usr/bin/env bash
APPNAME="helloworld"
#set -o nounset #exit if an unset variable is used
set -o errexit #exit on any single command fail
# find voltdb binaries in either installation or distribution directory.
if [ -n "$(which voltdb 2> /dev/null)" ]; then
VOLTDB_BIN=$(dirname "$(which voltdb)")
else
VOLT... | deerwalk/voltdb | doc/tutorials/helloworld/run.sh | Shell | agpl-3.0 | 2,506 |
#!/bin/sh
dostats () {
PYFILES=$(find $1 -type f -name '*.py' | grep -v /breathe/)
if [ -n "$PYFILES" ] ; then
NPYFILES=$(echo $PYFILES | wc -w)
NPYLINES=$(wc -l $PYFILES | tail -1)
echo "$NPYFILES Python files, $NPYLINES lines"
fi
CPPFILES=$(find $1 -type f -name '*.cpp' -or -... | stonier/ecto | doc/codestats.sh | Shell | bsd-3-clause | 717 |
#! /usr/bin/env bash
#
# Copyright (C) 2013-2015 Zhang Rui <bbcallen@gmail.com>
#
# 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 ... | treejames/ijkplayer | init-android-exo.sh | Shell | gpl-2.0 | 1,918 |
if [[ "$EFI" == "Yes" ]]; then
ParNr=2
else
ParNr=1
fi
case "$ID_FS_TYPE" in
ext*)
USB_LABEL="$(e2label ${RAW_USB_DEVICE}${ParNr})"
if [[ "$USB_LABEL" != "REAR-000" ]]; then
LogPrint "Setting filesystem label to REAR-000"
e2label ${RAW_USB_DEVICE}${ParNr} REAR-000
StopIfError "Could not label '$... | jayfurmanek/rear | usr/share/rear/format/USB/default/35_label_usb_disk.sh | Shell | gpl-2.0 | 872 |
# From /Users/james/workspace/fhirbuild/trunk/build/implementations/java
cp ~/workspace/fhirbuild/trunk/build/implementations/java/org.hl7.fhir.dstu3/src/org/hl7/fhir/dstu3/validation/InstanceValidator.java ~/workspace/hapi-fhir/hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/validation/InstanceValidator.j... | Gaduo/hapi-fhir | sync_dstu3.sh | Shell | apache-2.0 | 5,905 |
# Oracle VM VirtualBox
# VirtualBox installer shell routines
#
# Copyright (C) 2007-2011 Oracle Corporation
#
# This file is part of VirtualBox Open Source Edition (OSE), as
# available from http://www.virtualbox.org. This file is free software;
# you can redistribute it and/or modify it under the terms of the GNU
# G... | mirror/vbox | src/VBox/Installer/linux/installer-common.sh | Shell | gpl-2.0 | 8,020 |
#!/bin/sh
#
# Copyright (c) 2005 Fredrik Kuivinen
#
test_description='Test merge with directory/file conflicts'
. ./test-lib.sh
test_expect_success 'prepare repository' \
'echo "Hello" > init &&
git add init &&
git commit -m "Initial commit" &&
git branch B &&
mkdir dir &&
echo "foo" > dir/foo &&
git add dir/foo &&
g... | samv/git | t/t6020-merge-df.sh | Shell | gpl-2.0 | 928 |
#!/usr/bin/env bash
source $(dirname $0)/00-init-env.sh
#-------------------------------------------------------------------------------
# Specific for couchbase
#-------------------------------------------------------------------------------
cd "$JHI_FOLDER_APP"
if [ -a src/main/docker/couchbase.yml ]; then
dock... | jhipster/generator-jhipster | test-integration/scripts/24-tests-e2e.sh | Shell | apache-2.0 | 3,446 |
#!/bin/sh -e
# @@@
touch "$SNAP_DATA/stamp"
| snapcore/snapd | tests/main/services-stop-timeout/test-snapd-service-stop-timeout/staaap.sh | Shell | gpl-3.0 | 46 |
source /tmp/udistcc;
source /home/rizhao.ych/.bash_profile;
pwd=${PWD}
update="yes"
cluster="ob3"
url=http://svn.app.taobao.net/repos/oceanbase/branches/rev_0_3_0_ii_dev/oceanbase
while getopts "c:a:n" arg
do
case $arg in
a)
url=$OPTARG
echo "address:$url"
;;
c)
cluster=$OPTARG
e... | ouyangjie/oceanbase | oceanbase_0.4/tools/deploy/auto_run.sh | Shell | gpl-2.0 | 2,144 |
a() {
c() (
echo "Text"
)
}
k() {
echo "Text"
<caret>c
} | smmribeiro/intellij-community | plugins/sh/testData/resolve/function_file_scope/caseSix.sh | Shell | apache-2.0 | 69 |
#! /bin/sh
srcdir=$1
test -d $srcdir/.svn || exit
SVN_VERSION=`LC_ALL=C svn info $srcdir 2>/dev/null | awk '/^Last Changed Rev/{print $4}'`
test -n "$SVN_VERSION" || exit
if test -f $srcdir/ChangeLog; then
CHANGELOG_VERSION=`awk 'NR == 2{print substr($1, 2);exit}' $srcdir/ChangeLog`
fi
if test -z "$CHANGELOG_VERSION"... | theaquamarine/irssi_noact | update-changelog.sh | Shell | gpl-2.0 | 597 |
#!/bin/bash
# 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 applic... | yichengq/kubernetes | cluster/ubuntu-cluster/build.sh | Shell | apache-2.0 | 2,081 |
#!/bin/bash
mkdir -p "$PREFIX/bin"
export MACHTYPE=x86_64
export BINDIR=$(pwd)/bin
mkdir -p "$BINDIR"
(cd kent/src/lib && make)
(cd kent/src/htslib && make)
(cd kent/src/jkOwnLib && make)
(cd kent/src/hg/lib && make)
(cd kent/src/hg/ratStuff/mafSpeciesList && make)
cp bin/mafSpeciesList "$PREFIX/bin"
chmod +x "$PREFIX/... | joachimwolff/bioconda-recipes | recipes/ucsc-mafspecieslist/build.sh | Shell | mit | 340 |
#!/bin/bash
mkdir -p "$PREFIX/bin"
export MACHTYPE=x86_64
export BINDIR=$(pwd)/bin
mkdir -p "$BINDIR"
(cd kent/src/lib && make)
(cd kent/src/htslib && make)
(cd kent/src/jkOwnLib && make)
(cd kent/src/hg/lib && make)
(cd kent/src/hg/pslDropOverlap && make)
cp bin/pslDropOverlap "$PREFIX/bin"
chmod +x "$PREFIX/bin/pslDr... | joachimwolff/bioconda-recipes | recipes/ucsc-psldropoverlap/build.sh | Shell | mit | 331 |
#!/bin/sh
export PATH=/sbin:/bin:/usr/sbin:/usr/bin
strstr() { [ "${1##*"$2"*}" != "$1" ]; }
CMDLINE=$(while read line || [ -n "$line" ]; do echo $line;done < /proc/cmdline)
command -v plymouth >/dev/null && plymouth --quit
exec >/dev/console 2>&1
echo "dracut-root-block-success" >/dev/sda1
export TERM=linux
export PS1... | xnox/dracut | test/TEST-12-RAID-DEG/test-init.sh | Shell | gpl-2.0 | 832 |
#!/bin/bash
# Copyright 2015 gRPC authors.
#
# 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... | yongni/grpc | src/php/bin/run_tests.sh | Shell | apache-2.0 | 1,003 |
#!/usr/bin/env bash
# Copyright 2016 The Kubernetes Authors.
#
# 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 applica... | sferich888/origin | vendor/k8s.io/kubernetes/cluster/gce/gci/configure.sh | Shell | apache-2.0 | 16,634 |
#!/bin/bash
#
# vim: set ts=4 sw=4 et:
#
# Passed arguments:
# $1 - current pkgname to build [REQUIRED]
# $2 - target pkgname (origin) to build [REQUIRED]
# $3 - xbps target [REQUIRED]
# $4 - cross target [OPTIONAL]
# $5 - internal [OPTIONAL]
if [ $# -lt 3 -o $# -gt 5 ]; then
echo "${0##*/}: invalid numb... | Bubble-be/void-packages | common/xbps-src/libexec/build.sh | Shell | bsd-2-clause | 3,711 |
#!/bin/bash
# Copyright 2015, Google Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditio... | 7anner/grpc | tools/run_tests/performance/process_local_perf_flamegraphs.sh | Shell | bsd-3-clause | 1,900 |
./all-prostate-tcga.sh
./all-prostate-broad.sh
./all-prostate-mich.sh
./all-prostate-mskcc.sh
| kalletlak/cbioportal | core/src/main/scripts/all-prostate-su2c.sh | Shell | agpl-3.0 | 94 |
#! /bin/bash
# BSD LICENSE
#
# Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistributions of source cod... | Neil741/dpdk-2.1.0-neo | tools/setup.sh | Shell | gpl-2.0 | 14,492 |
#!/bin/bash
# $Id: add_message.sh 9537 2006-10-12 16:27:13Z nijel $
#
# Shell script that adds a message to all message files (Lem9)
#
# Example: add_message.sh '$strNewMessage' 'new message contents'
#
if [ $# -ne 2 ] ; then
echo "usage: add_message.sh '\$strNewMessage' 'new message contents'"
exit 1
fi
for... | darryl-snow/danielmccrohan | wp-content/plugins/wp-phpmyadmin/phpmyadmin/lang/add_message.sh | Shell | gpl-2.0 | 763 |
#!/bin/sh
# Copyright (C) 2003, 2005 MySQL AB
# Use is subject to license terms
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
# License as published by the Free Software Foundation; version 2
# of the License.
#
# This program is distrib... | kbauskar/percona-server | support-files/MacOSX/postflight.sh | Shell | gpl-2.0 | 1,201 |
__cont_source_scripts()
{
local i
local dir="$1"
for i in "$dir"/*.sh; do
if test -r "$i"; then
. "$i"
fi
done
}
# CONT_SOURCE_HOOKS HOOKDIR [PROJECT]
# -----------------------------------
# Source '*.sh' files from the following directories (in this order):
# a. /usr/sha... | hhorak/rhscl-dockerfiles | rhel7.ruby200/usr/share/cont-lib/cont-lib.sh | Shell | gpl-2.0 | 2,384 |
#!/bin/sh
#
# ... use ".uninstall.sh --user" to uninstall a user local copy of LocusPocus.
python3 setup.py install $1 --record files.txt
cat files.txt | xargs rm -rf
\rm -rf LocusPocus.egg-info files.txt LocusPocus.egg-info dist build versioneer.pyc
| BrendelGroup/AEGeAn | LocusPocus/uninstall.sh | Shell | isc | 253 |
GLOG_minloglevel=10 python scripts/nnsearch.py --to_oracle False --add_noise False --layer pool5 --normalize_feat True --augment_training True --augmentation_fold 5 --augmentation_noise 2.0
GLOG_minloglevel=10 python scripts/nnsearch.py --to_oracle False --add_noise False --layer pool5 --normalize_feat True --augment_... | yassersouri/omgh | src/do_all_nn_aug.sh | Shell | mit | 956 |
#!/bin/sh
./setup.py check
./setup.py clean
rm -rf dist
./setup.py sdist bdist_wheel
twine upload dist/* | Spaxe/keystore | publish.sh | Shell | mit | 104 |
#!/bin/bash
#
# Build jekyll site and store site files in ./_site
# v2.0
# https://github.com/cotes2020/jekyll-theme-chirpy
# © 2019 Cotes Chung
# Published under MIT License
set -eu
CMD="JEKYLL_ENV=production bundle exec jekyll b"
WORK_DIR="$(dirname "$(dirname "$(realpath "$0")")")"
CONTAINER="${WORK_DIR}/.contai... | hicalvin/hicalvin.github.io | tools/build.sh | Shell | mit | 2,131 |
#eval "$(npm completion 2>/dev/null)"
source <(npm completion)
# Although handy this really kills startup time
# for @bbc/cosmos-cli
#eval "$(cosmos completion)"
source <(cosmos completion)
| simongregory/dotfiles | node/completion.zsh | Shell | mit | 191 |
#!/bin/sh
set -e
echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
install_framework()
{
local source="${BUILT_PRODUCTS_DIR}/Pods-UINavigationControllerWithCompl... | leverdeterre/UINavigationControllerWithCompletionBlock | Example/Pods/Target Support Files/Pods-UINavigationControllerWithCompletionBlock_Tests/Pods-UINavigationControllerWithCompletionBlock_Tests-frameworks.sh | Shell | mit | 2,711 |
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# don't put duplicate lines or lines starting with space in the history.
# See bash(1) for more options
HISTCONTROL=ignoreboth
# append to the history file, don't overwrite ... | marcinrogacki/dotfiles | repository/bashrc/.slash/etc/bashrc.d/001-bashrc.sh | Shell | mit | 1,413 |
#!/bin/bash
AIRPORT="en1"; #may be en0, use networksetup -listallhardwareports to check
WIFI_NETWORK_NAME="MARCOS-PC_Network"
WIFI_PASSWORD="4040756E6963616D7032303132"
while true
do
networksetup -setairportpower $AIRPORT off
networksetup -setairportpower $AIRPORT on
sleep 10
networksetup -setairportnetwork $... | nmoya/utils | network.sh | Shell | mit | 571 |
#nice options for bash scripts
set -o pipefail # trace ERR through pipes
set -o errtrace # trace ERR through 'time command' and other functions
set -o nounset ## set -u : exit the script if you try to use an uninitialised variable
set -o errexit ## set -e : exit the script if any statement returns a non-true return val... | lpantano/scripts_hsph | slack_cel_network/mirannotation.sh | Shell | mit | 1,670 |
#!/bin/bash
#
# Setup requirements.
#
| luiscape/hdxviz-nepal-community-survey | bin/setup.sh | Shell | mit | 40 |
#!/bin/bash
if [ $# != 1 ]
then
echo 'Usage: convert_cert_to_android.sh [name of cert file]'
exit -1
fi
if [ ! -f $1 ]
then
echo "Cannot find file $1"
exit -1
fi
CERT_FILE_INPUT=$1
set -e
# Gets the filename that is used in Android and adds a .0 on the end
OUTPUT_FILENAME="`openssl x509 -inform DER -subj... | GusBricker/gb-system-scripts | mitm/burp_to_android.sh | Shell | mit | 1,269 |
#!/bin/bash
touch `cat /host/list.txt`
touch `cat /host/manuallist.txt`
hhvm --mode server --config /etc/hhvm/php.ini --config /etc/hhvm/server.ini --user www-data -vPidFile=/var/run/hhvm/pid &>/dev/null &
echo '<?php exec("touch /host/yes"); ?>' > /host/test.php
hhvm /host/test.php
| natostanco/ubuhphctr | scripts/toucher.sh | Shell | mit | 287 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.