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
set -x
source ./parser.sh
RED="\e[38;5;1m"
GREEN="\e[38;5;2m"
YELLOW="\e[38;5;3m"
BLUE="\e[38;5;4m"
PURPLE="\e[38;5;5m"
CLEAR="\e[0m"
TAB=" "
indent() {
local res=$1
local d=$2
local t=0
for (( t=0; t < $d; t++ )); do
eval $res='"${!res}${TAB}"'
done
}
printString... | Qwaz/solved-hacking-problem | PlaidCTF/2020/json_bourne/pprint.sh | Shell | gpl-2.0 | 2,916 |
#!/bin/sh
gcc -Wall -fPIC -c *.c -I/usr/include/python2.7
gcc -shared -Wl,-soname,libctest.so.1 -o libctest.so.1.0 *.o -lpython2.7
| jiefxxx/pbot | pbot-interpreter/lib/compil.sh | Shell | gpl-2.0 | 134 |
#!/bin/sh
# (c) Copyright 2009 - 2010 Xilinx, Inc. All rights reserved.
#
# This file contains confidential and proprietary information
# of Xilinx, Inc. and is protected under U.S. and
# international copyright and other intellectual property
# laws.
#
# DISCLAIMER
# This disclaimer is not a license and does not gra... | spesialstyrker/boula | gen/FIFO/simulation/timing/simulate_isim.sh | Shell | gpl-2.0 | 2,847 |
#!/bin/sh
# Copyright (C) 2011-2017 Free Software Foundation, Inc.
#
# 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 2, or (at your option)
# any later version.
#
# This program i... | Starlink/automake | t/no-extra-makefile-code.sh | Shell | gpl-2.0 | 1,393 |
#!/bin/sh
retry_count=0
# Format /root
flash_eraseall /dev/mtd5
# Format internal flash
format_flash.sh
# Set default language
mount -t yaffs2 /dev/mtdblock5 /root
mkdir -p /root/Settings
post-install
if [ -d /etc/notes_template ]; then
mv /etc/notes_template /root/
fi
# Set grayscale
if [ ! -f "/root/Setting... | stevezuoli/BooxApp | build_sys/firstboot-simplified.sh | Shell | gpl-2.0 | 634 |
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
# called by dracut
check() {
local _arch=${DRACUT_ARCH:-$(uname -m)}
# Only for systems on s390 using indirect booting via userland grub
[ "$_arch" = "s390" -o "$_arch" = "s390x" ] || r... | haraldh/dracut | modules.d/91zipl/module-setup.sh | Shell | gpl-2.0 | 1,625 |
#! /bin/sh
# Copyright (C) 1996-2017 Free Software Foundation, Inc.
#
# 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 2, or (at your option)
# any later version.
#
# This program ... | Starlink/automake | t/confincl.sh | Shell | gpl-2.0 | 1,017 |
#! /bin/bash
clear
ORIGIN=`pwd`
echo -e $ORIGIN
function downloadLib() {
LIB_FOLDER="../lib"
if [ -e $LIB_FOLDER ]; then
if [ ! -d $LIB_FOLDER ]; then
echo "ERROR: $LIB_FOLDER exists and is not a folder"
exit -1
fi
else
mkdir $LIB_FOLDER
fi
GIT_USER=$1
GIT_PROJECT=$2
DOWNLOAD_... | asanzdiego/deck.js-pandoc-slides | build.sh | Shell | gpl-2.0 | 3,116 |
#!/bin/sh
#remove links
rm -f /var/www/Adminer-mysql
exit 0
| vansatchen/dlink327 | releases/sources/Adminer-mysql/clean.sh | Shell | gpl-2.0 | 62 |
#Download the perl CPAN directory from mirrors.rit.edu
#site is http://cpan.org
#-----------------------------------------------------------------------------------------------------------------------
RSYNCLOCKFILE="$RSYNCLOCKDIR/cpan.lock"
source /etc/casjaysdev/system-scripts/include/main/rsync.sh
#----------------... | casjay/system-scripts | etc/casjaysdev/system-scripts/include/rsync/cpan.sh | Shell | gpl-2.0 | 1,269 |
#!/bin/bash
cd ..
patches/remove_id.sh
diff -u ../../sqlite-3.2.8.orig/ . | grep -v "^Only in"
| JeremiasE/KFormula | kexi/3rdparty/kexisql3/src/patches/mk_patch.sh | Shell | gpl-2.0 | 97 |
#!/bin/bash
set -e errexit
rm -rf cscope
cd src
make clobber
| dlintw/twpda-uboot | clean.sh | Shell | gpl-2.0 | 62 |
cp src/main/resources/* target/classes/ | actiontech/dble | copyResources.sh | Shell | gpl-2.0 | 39 |
#!/usr/bin/env bash
. lib
rm -rf temp1 temp2
mkdir temp1
cd temp1
darcs init
cd ..
mkdir temp2
cd temp2
darcs init
mkdir one
cd one
mkdir two
cd two
echo darcs pull should work relative to the current directory
darcs pull -a ../../../temp1 | grep -i 'No remote patches to pull in'
echo -- darcs pull should pull in... | DavidAlphaFox/darcs | tests/pull.sh | Shell | gpl-2.0 | 3,539 |
#!/bin/sh
# usage: create_dmg.sh image "Volume"
# if a previous copy of the image exists, remove it
rm -f build/$1.dmg
# create the image.
hdiutil create build/$1.dmg -ov -size 02m -fs HFS+ -volname "$2"
# mount the image and store the device name into dev_handle
dev_handle=`hdid build/$1.dmg | grep Apple_HFS | pe... | tikonen/iplotter | create-dmg.sh | Shell | gpl-2.0 | 847 |
#!/bin/sh
## This script downloads, builds and installs a local binary of ploticus
## into this extension's folder, with settings suitable for most UNIX servers.
##
## If ploticus is provided as a package by your distribution and you can get
## it installed, you should instead use that procedure to install ploticus.
##... | tuxun/smw-funwiki | extensions/timeline/install-ploticus.sh | Shell | gpl-2.0 | 1,183 |
#!/bin/bash
make clean;make;make output
| zhangdans/HTTP | build.sh | Shell | gpl-2.0 | 40 |
#! /bin/sh -e
# tup - A file-based build system
#
# Copyright (C) 2016-2020 Mike Shal <marfey@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distribu... | ppannuto/tup | test/t2197-tupdefault-ghost.sh | Shell | gpl-2.0 | 1,929 |
#!/bin/sh
###############################################################################
# Copyright (C) 2010 Freescale Semiconductor, 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 Sof... | wanghao-xznu/vte | testcases/vte_tests_suite/power_manager/pwr_consumption/pwr_on_conservative.sh | Shell | gpl-2.0 | 1,175 |
#!/bin/bash
cherryd -i webApp -c dev.conf | Ale46/google-drive-to-rss | webApp.sh | Shell | gpl-2.0 | 42 |
#!/bin/sh
for account in icloud gmail cern ccsubatech; do
launchctl load ~/Library/LaunchAgents/fr.aphecetche.mbsync.$account.plist > /dev/null 2>&1
done
| aphecetche/dotfiles | install/mail-mbsync-start.sh | Shell | gpl-3.0 | 162 |
#!/bin/sh
# downloadJSONJava() {
# curl http://central.maven.org/maven2/org/json/json/20160810/json-20160810.jar -o json-20160810.jar
# }
downloadJSoup() {
curl https://jsoup.org/packages/jsoup-1.10.1.jar -o jsoup-1.10.1.jar
}
# Check dependencies
# if [ ! -f json-20160810.jar ]; then
# echo "Missing fi... | pthalamy/RetailProductMonitoring | run.sh | Shell | gpl-3.0 | 1,063 |
# shortened URL for download: TBD
#
# This assumes you've used https://ubuntu-mate.org/raspberry-pi/
#
# do all updates
apt-get update
rpi-update
#
apt-get -y install mc pv
apt-get -y install w3m w3m-img
apt-get -y install git git-doc
#
# install preferred apps
apt-get -y install ubuntu-restricted-extras
apt-get -y in... | SSCPS/TechTools | DeployUpdate/setup_new_ubuntu_rpi.sh | Shell | gpl-3.0 | 693 |
usage='\nUSAGE:\n make_hippo_masks.sh freesurfer_subject\n\nEXAMPLE:\n make_hippo_masks.sh CaLi\n'
if [[ "$#" = 0 ]]; then
echo -e $usage
exit 2
fi
sub=$1
echo Making hippocampus masks for $1
#Convert aseg.mgz into nii file
echo mri_convert $SUBJECTS_DIR/$sub/mri/aseg.mgz $SUBJECTS_DIR/$sub/mri/aseg.nii.gz
mri_c... | iELVis/iELVis | iELVis_MAIN/iELVis_BASH/make_hippo_masks.sh | Shell | gpl-3.0 | 690 |
#!/bin/sh
#-------------------------------------------------------------------
# config.sh: This file is read at the beginning of the execution of the ASGS to
# set up the runs that follow. It is reread at the beginning of every cycle,
# every time it polls the datasource for a new advisory. This gives the user
# the ... | jasonfleming/asgs | config/2019/asgs_config_022018_hatteras_LAv19kHC.sh | Shell | gpl-3.0 | 13,825 |
#!/bin/sh
ver=$1
arch=amd64
pkg=plisp_$ver-1_$arch
mkdir $pkg
mkdir -p $pkg/usr/local/bin
mkdir -p $pkg/usr/local/lib
mkdir -p $pkg/usr/local/lib/tcc
mkdir -p $pkg/usr/local/share/plisp/icons
mkdir -p $pkg/usr/local/share/doc/plisp
#cp /usr/lib/tcc/x86-64/libtcc1.a $pkg/usr/local/lib/tcc
cp ../plisp $pkg/usr/local/... | shikantaza/pLisp | scripts/build_deb_amd64.sh | Shell | gpl-3.0 | 1,100 |
#!/bin/bash
AUX="123"
ARG=${1:-${AUX:-"default value"}}
#echo ${ARG}
LINE="some long line of text"
#echo "${LINE:5:4}"
function print_ip() {
IP=$(sudo ifconfig wlan0 | grep 'inet addr:' | awk '{print $2}' | cut -f 2 -d ":")
echo ${IP}
}
function long_running_task_1() {
sleep 1
}
function long_running_task_2(... | yavuzovski/playground | Shell Scripts/udemy.sh | Shell | gpl-3.0 | 617 |
#!/bin/sh
BASE16_SHELL=/root/base16-shell
# do not use the profile_helper script as it does dot fare well with ash shell
# but do here just what we need
# [ -n "$PS1" ] && [ -s $BASE16_SHELL/profile_helper.sh ] && eval "$($BASE16_SHELL/profile_helper.sh)"
script=$BASE16_SHELL/scripts/$BASE16_THEME.sh
if test -f $sc... | aphecetche/dotfiles | config/docker-vim/vim.sh | Shell | gpl-3.0 | 445 |
#!/bin/bash
python AnalyzeSimulation.py --paralog1 YJL177W --paralog2 YKL180W --simnum 46 > YJL177W_YKL180W_MG94_nonclock_Sim46_PrintScreen.txt
| xjw1001001/IGCexpansion | Simulation/ShFiles/MG94_YJL177W_YKL180W_sim46.sh | Shell | gpl-3.0 | 145 |
#!/bin/bash
python AnalyzeSimulation.py --paralog1 YLR406C --paralog2 YDL075W --simnum 11 > YLR406C_YDL075W_MG94_nonclock_Sim11_PrintScreen.txt
| xjw1001001/IGCexpansion | Simulation/ShFiles/MG94_YLR406C_YDL075W_sim11.sh | Shell | gpl-3.0 | 145 |
#!/bin/sh
#
### BEGIN INIT INFO
# Provides: pifacecounter
# Required-Start: $all
# Required-Stop: $all
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start and stop the pifacecounter daemon
# Description: Controls the pifacecounter daemon
### END INIT INFO
#
# Author:... | cdriget/pifacecounter | pifacecounter.sh | Shell | gpl-3.0 | 1,701 |
#!/bin/bash
echo "I will install SunRiZe in /opt/SunRiZe"
if [ ! `id -u` == 0 ]
then
echo "This script needs to be run by root"
exit 1
fi
if [ ! -d "bin" ]
then
echo "This script must be launched by the SunRiZe folder"
exit 1
fi
echo -n "Proceed ? (N/y) "
read answ
echo $answ
if [ "$answ" == "Y" ] || [ "$a... | theing/SunRiZe | LinuxInstall.sh | Shell | gpl-3.0 | 721 |
#!/bin/sh
[ X$BUILDDIR = X ] && { echo "Wrong invocation from this script. Abort!!!"; exit 1; }
curdir=$(dirname $(readlink -f $0))
if [ X$1 = X"start" ]; then
sudo sed -i "/^# Disable touchpad$/d" /etc/modprobe.d/blacklist.conf && sudo sed -i "/^blacklist psmouse$/d" /etc/modprobe.d/blacklist.conf
elif [ X$1 = X"... | tonny0228/auto_configure_system | wait/touchpad/build.sh | Shell | gpl-3.0 | 623 |
docker run -d -p 9090:80 -v /home/ordina/Projects/NetBeansProjects/ideal-octo-potato:/presentations tjonahen/serv
| pnmtjonahen/docker | ideal-octo-potato/pres.sh | Shell | gpl-3.0 | 114 |
#! /bin/bash
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
export PATH
install_path=/fs/
package_download_url=https://github.com/kkbbzjh/finalspeed/blob/master/finalspeed_server.zip
package_save_name=finalspeed_server.zip
function checkjava(){
java -version
#echo $?
if [[ $? -le 1 ]] ;... | zhihuizhiming/finalspeed-2 | install_fs.sh | Shell | gpl-3.0 | 3,049 |
# vim: ts=4:sw=4
typeset -a usage_desc_list # Mémorise les paramètres
typeset -i usage_max_len_desc=0
typeset -a usage_help_list # Mémorise l'aide des paramètres.
#*> $1 option or new_line
#*> [$2] describe option.
function add_usage
{
typeset -r usage_desc="$1"
typeset -ri len=${#usage_desc}
usage_desc_list+... | PhilippeLeroux/plescripts | usagelib.sh | Shell | gpl-3.0 | 1,127 |
#!/bin/bash
#
# Eyjafjallajökull, 10.8.2010, 11.8.2010
#
BASE=/home/rawdata/als/island/100811_eyjafjallajokull01
# convert ASCII rawdata to LAS
cd $BASE/raw/str/all
for GZ in `ls *.all.gz`
do
TMP=`echo $BASE/raw/$GZ | sed s/.all.gz/.all/`
LAS=`echo $BASE/las/$GZ | sed s/.all.gz/.las/`
echo "creating $LAS... | openwebcc/ba | maintenance/rawdata/als/island/100811_eyjafjallajokull01.sh | Shell | gpl-3.0 | 1,174 |
#!/bin/sh
open -n /Applications/Eclipse.app --args -data ~/work/tfb
| testing-av/testing-video | eclipse-macos.sh | Shell | gpl-3.0 | 69 |
#!/bin/bash
# Shell script sederhana untuk instalasi dan men-dial modem smartfren
# Diuji pada Ubuntu 13.04 Raring Ringtail 32 bit
# ----------------------------------------------------------------------------
# Ditulis oleh Anna Erdiawan <http://erdinote.com/>
# (c) 2013 erdinote.com under CC-BY-SA
# -----------------... | erdie/pahe-smart | launcher.sh | Shell | gpl-3.0 | 2,616 |
#!/bin/bash
# usage:
# $WHEREAT_SCRIPTS/src/scripts/git-config/add-gpg-to-all.sh
cd ${WHEREAT_ROOT}
while read REPO
do
if [ ! -d "$REPO" ]; then
continue
fi
cd ${REPO} &&
${WHEREAT_SCRIPTS}/src/git-config/add-gpg-to-one.sh &&
cd ..;
done < ${WHEREAT_SCRIPTS}/assets/repos.txt
| whereat/whereat-bash | src/git-config/add-gpg-to-all.sh | Shell | gpl-3.0 | 309 |
#! /bin/bash
# Reference:
# * https://wiki.debian.org/AuthenticatingLinuxWithActiveDirectory
# * https://wiki.samba.org/index.php/Troubleshooting_Samba_Domain_Members
# * http://www.oreilly.com/openbook/samba/book/ch04_08.html
GUEST_USERNAME=${GUEST_USERNAME:-ftp}
GUEST_PASSWORD=${GUEST_PASSWORD:-V3ry1nS3cur3P4ss0rd}
... | fjudith/docker-samba-join-ad | sssd/docker-entrypoint.sh | Shell | gpl-3.0 | 14,120 |
#!/usr/bin/env bash
# This script prepares a build environment using MXE and then cross-compiles DICOMautomaton dependencies.
set -eux
export DEBIAN_FRONTEND="noninteractive"
apt-get -y update
apt-get -y install \
autoconf \
automake \
autopoint \
bash \
bison \
bzip2 \
flex \
g++ \
g++-multilib ... | hdclark/DICOMautomaton | docker/build_bases/mxe/implementation_mxe.sh | Shell | gpl-3.0 | 6,685 |
wget -a log.txt -S --load-cookies annacookie.txt --post-data 'sessionID=5840605766746112&answer=Noun' http://localhost:8080/data/answer
wget -a log.txt -S --load-cookies pippocookie.txt --post-data 'sessionID=5840605766746112&answer=Article' http://localhost:8080/data/answer
| erpreciso/school-tagging | src/bot.sh | Shell | gpl-3.0 | 279 |
#!/bin/bash
docker build . -t frank/python3
docker tag frank/python3:latest registry.beheer.tabsvm.local/tabsvm/franks-python3:latest
docker push registry.beheer.tabsvm.local/tabsvm/franks-python3:latest
| FrankIJskes/Dockerfiles | python3/build.sh | Shell | gpl-3.0 | 207 |
#!/bin/sh
# Centos 6
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:${PATH}
ARCH=$1
if test "x$ARCH" = "x"; then
echo "One argument expected (architecture)" 1>&2
exit 1
fi
case $ARCH in
i686)
PACKAGE_ARCH=i386
ARCH_SWITCH=linux32
;;
x86_64)
PACKAGE_ARCH=x86_64
ARCH_SWITCH=
;;
*)
echo "Unsupport... | andreasbaumann/biruda | examples/build_gold_image/build_centos6.sh | Shell | gpl-3.0 | 2,232 |
#!/bin/bash
function makeBAT() {
## install dependencies
apt-get install -y python3-numpy python3-dev python3-scipy python3-nose python3-pip gfortran make gmsh libatlas-base-dev libblas-dev liblapack-dev libsuitesparse-dev
pip3 install matplotlib # safer option than apt-get'ing as will install mpl2.0 without confl... | bjornsturmberg/NumBAT | setup.sh | Shell | gpl-3.0 | 1,193 |
./configure --with-openssl=/usr/local/opt/openssl --with-openssl-lib=/usr/local/opt/openssl
| crvv/shadowsocks-libev | configure.sh | Shell | gpl-3.0 | 93 |
#!/bin/sh
#
# Vivado(TM)
# runme.sh: a Vivado-generated Runs Script for UNIX
# Copyright 1986-2016 Xilinx, Inc. All Rights Reserved.
#
echo "This script was generated under a different operating system."
echo "Please update the PATH and LD_LIBRARY_PATH variables below, before executing this script"
exit
if [ -z "$... | hsnuonly/PikachuVolleyFPGA | VGA.runs/bg_low_synth_1/runme.sh | Shell | gpl-3.0 | 1,090 |
#!/bin/sh
LOCATION="Central US"
AFFINITYGROUP="MyLinuxDemo"
STORAGEACCOUNT="mylinuxdemo"
ADDRESSSPACE="10.0.0.0"
ADDRESSSPACECIDR="8"
SUBNETADDRESSSPACE="10.0.0.0"
SUBNETADDRESSSPACECIDR="24"
SUBNETNAME="Subnet01"
VNETNAME="MyLinuxVNet"
CLOUDSERVICENAME="MyCloudLinuxService"
IMAGENAME="b39f27a8b8c64d52b05eac6a62ebad... | mmenachebiorad/mikesazuregit | shinyserver.sh | Shell | gpl-3.0 | 2,131 |
#!/bin/bash -e
. ../lfs.comm
build_src() {
version=5.36
srcfil=file-$version.tar.gz
srcdir=file-$version
tar -xf $LFSSRC/$srcfil && cd $srcdir
./configure --prefix=/usr
make $JOBS
make check
make install
cd .. && rm -rf $srcdir
}
build
| fangxinmiao/projects | Architeture/OS/Linux/Distributions/LFS/build-scripts/lfs-8.4-systemd/2-build-final-system/05-File.sh | Shell | gpl-3.0 | 278 |
#!/bin/bash
cd ProcessMatchesIntoKillCollection
docker build -t killcollector .
docker run -it --link urf2015db:mongo --name killcollector killcollector
docker logs killcollector
cd ../ProcessData
docker build -t matchprocessor .
docker run -it --link urf2015db:mongo --name matchprocessor matchprocessor
docker... | notnarb/LOLScrub | matchProcessor/build.sh | Shell | mpl-2.0 | 374 |
#!/bin/bash
# Exit on error:
set -o errexit
pushd .
# Machine config:
# sudo yum install -y git hg golang cmake rpmdevtools GeoIP-devel rpmrebuild
BUILD_BRANCH=$1
if [ -z "$BUILD_BRANCH" ]; then
BUILD_BRANCH=master
fi
UNAME=$(uname)
MIN_GEOIP_VER=1.6.3
case $UNAME in
Darwin)
echo "Ensuring we have the lates... | whd/data-pipeline | bin/build_pipeline_heka.sh | Shell | mpl-2.0 | 8,166 |
#!/bin/sh
Mlog -x "odbcsample1"
| zyzyis/monetdb | sql/odbc/samples/Tests/odbcsample1.SQL.sh | Shell | mpl-2.0 | 33 |
#!/bin/bash
if [[ $NODE_ENV == 'production' ]];
then
node build/worker/index.js
else
nodemon --config .nodemon --exec 'BABEL_ENV=server babel-node -- src/worker/index.js'
fi
| DasyLabs/speakerbox | scripts/worker.sh | Shell | agpl-3.0 | 179 |
#!/bin/sh
# Set path to your Android keystore and your keystore alias here, or put them in your environment
[ -z "$ANDROID_KEYSTORE_FILE" ] && ANDROID_KEYSTORE_FILE=~/.android/debug.keystore
[ -z "$ANDROID_KEYSTORE_ALIAS" ] && ANDROID_KEYSTORE_ALIAS=androiddebugkey
APPNAME=`grep AppName AndroidAppSettings.cfg | sed 's... | xyzz/vcmi-build | sign.sh | Shell | lgpl-2.1 | 1,744 |
find . -name "*.aux" | xargs rm -f
find . -name "*.bbl" | xargs rm -f
find . -name "*.bak" | xargs rm -f
find . -name "*.blg" | xargs rm -f
find . -name "*.out" | xargs rm -f
find . -name "*.thm" | xargs rm -f
find . -name "*.toc" | xargs rm -f
find . -name "*.synctex*" | xargs rm -f
find . -name "*.glg" | xar... | shudery/latex-uestc-thesis | clean.sh | Shell | unlicense | 765 |
#!/bin/bash
docker build -t docker.taktik.be/bamboo-dind-agent .
| taktik/bamboo-dind-agent | docker_build.sh | Shell | apache-2.0 | 66 |
#!/bin/bash
# Copyright 2021 Google LLC
#
# 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.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to... | google/distbench | simple_test.sh | Shell | apache-2.0 | 3,148 |
#!/usr/bin/env bash
###############################################################################
# Copyright 2019 The Apollo 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... | wanglei828/apollo | modules/tools/prediction/data_pipelines/scripts/records_to_prediction_result.sh | Shell | apache-2.0 | 1,321 |
#! /bin/bash
PJHOME=/Users/feiyu/workspace/SparkPlayground/Python/
cd $PJHOME
if [ ! -d "dataset" ]; then
mkdir dataset
fi
cd ${DATADIR}dataset/
wget "http://files.grouplens.org/datasets/movielens/ml-1m.zip"
unzip ml-1m.zip
wget "http://files.grouplens.org/datasets/movielens/ml-10m.zip"
unzip ml-10m.zip
| faustineinsun/SparkPlayground | Python/MovieRecMLlibALS/bin/download-data.sh | Shell | apache-2.0 | 311 |
#!/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
# "Lice... | majetideepak/arrow | ci/docker_build_java.sh | Shell | apache-2.0 | 1,539 |
#!/bin/sh
set -e
# hard-coding the git tag to ensure stable builds.
TRACECONTEXT_GIT_TAG="98f210efd89c63593dce90e2bae0a1bdcb986f51"
# clone w3c tracecontext tests
mkdir -p target
rm -rf ./target/trace-context
git clone https://github.com/w3c/trace-context ./target/trace-context
cd ./target/trace-context && git checkou... | open-telemetry/opentelemetry-js | integration-tests/tracecontext-integration-test.sh | Shell | apache-2.0 | 851 |
#!/bin/bash
set -o errexit
# These flags are necessary to prevent Emscripten from creating `~/.emscripten`,
# `~/.emscripten_cache.lock` and `~/.emscripten_sanity_wasm` files in the
# `~` directory, that doesn't exist inside a non-root Docker container.
EMSDK='/usr/local/emsdk/'
EM_CONFIG="${EMSDK}/.emscripten"
EM_CA... | project-oak/oak | toolchain/emar.sh | Shell | apache-2.0 | 640 |
#/bin/sh
cd ..
. ./setEnv.sh
RUN_CMD="$JAVA_HOME/bin/java $MEM_ARGS -cp $CLASSPATH twitter4j.examples.friendship.ShowFriendship"
echo $RUN_CMD ${1+"$@"}
exec $RUN_CMD ${1+"$@"}
| jrm2k6/MobilePortfolio | bin/friendship/showFriendship.sh | Shell | apache-2.0 | 178 |
#!/bin/bash -e
if [ $# -lt 1 ]; then
echo "usage: $0 api_key [alternate_url]"
exit 1
fi
language_data="Por favor Señorita, says the man."
if [ -z "$2" ]; then
url="https://api.rosette.com/rest/v1/language"
else
url="$2/language"
fi
curl -s "$url" \
-H "X-RosetteAPI-Key: $1" \
-H 'Content-Type:application... | rosette-api/shell | examples/language.sh | Shell | apache-2.0 | 404 |
#!/bin/bash
set -o errexit
find stancache test -name '*.py' \
| xargs pylint \
--errors-only \
--disable=print-statement
echo 'Passes pylint check'
| jburos/stancache | lint.sh | Shell | apache-2.0 | 178 |
#!/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()
{
if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then
local source="${BUILT_PRO... | lingyou8086/drinkWater | Demo3/Pods/Target Support Files/Pods/Pods-frameworks.sh | Shell | apache-2.0 | 3,528 |
#!/usr/bin/env bash
# Copyright 2019 The Knative 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 ... | knative/eventing-operator | hack/generate-yamls.sh | Shell | apache-2.0 | 2,726 |
#!/bin/sh
main()
{
check_imagemagick_installed || warning
cat <<EOF
<label>$FORM_app</label>
<pre>
`find /usr/local/imagemagick/bin`
</pre>
EOF
}
warning()
{
cat <<EOF
<div class="container">
<div class="modal fade" id="fix_Modal">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div clas... | ShellGui/shellgui-appstore | apps/imagemagick/index.sh | Shell | apache-2.0 | 2,164 |
#!/bin/bash
# fix bootable flag
parted -s /dev/xvda set 1 boot on
# Debian puts these in the wrong order from what we need
# should be ConfigDrive, None but preseed populates with
# None, Configdrive which breaks user-data scripts
cat > /etc/cloud/cloud.cfg.d/90_dpkg.cfg <<'EOF'
# to update this file, run dpkg-reconf... | beni55/base-image-blueprints | Debian_7_PVHVM_post.sh | Shell | apache-2.0 | 10,139 |
#!/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... | kevdoran/nifi-minifi-cpp | fedora.sh | Shell | apache-2.0 | 3,998 |
# ----------------------------------------------------------------------------
#
# Package : warning
# Version : 4.0.1
# Source repo : https://github.com/BerkeleyTrue/warning.git
# Tested on : ubuntu_18.04
# Script License: Apache License, Version 2 or later
# Maintainer : Snehlata Mohite <s... | ppc64le/build-scripts | w/warning/warning_ubuntu_18.04.sh | Shell | apache-2.0 | 1,111 |
#!/bin/sh
COMMAND="/usr/local/bin/drone"
ARGV="-config=/opt/openpitrix/conf/drone.conf"
if [ -f "/opt/openpitrix/conf/pilot-version" ]; then
PILOT_VERSION=$(cat /opt/openpitrix/conf/pilot-version)
if [ -f "/opt/openpitrix/bin/${PILOT_VERSION}/drone" ]; then
COMMAND="/opt/openpitrix/bin/${PILOT_VERSION}/drone"
... | openpitrix/openpitrix | metadata/supervisord/drone/start-drone.sh | Shell | apache-2.0 | 358 |
#!/usr/bin/env bash
# vim: fdm=marker
# Do normal alignment without speaker adaptation
#***************************************************************************
# Copyright 2011-2015, cybeliak
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with th... | cybeliak/mispronounceableness | mpn_steps/decode/multialign_normal.sh | Shell | apache-2.0 | 4,043 |
#!/usr/bin/env bash
DIR=$(cd "$(dirname "${BASH_SOURCE[0]}" )" && pwd )
source "$DIR/../konan.sh"
SUFFIX=kexe
if [ x$TARGET == x ]; then
case "$OSTYPE" in
darwin*) TARGET=macbook ;;
linux*) TARGET=linux ;;
msys*) TARGET=mingw; SUFFIX=exe ;;
*) echo "unknown: $OSTYPE" && exit 1;;
esac
fi
var=CFL... | JuliusKunze/kotlin-native | samples/workers/build.sh | Shell | apache-2.0 | 688 |
#!/bin/bash
set -o errexit
set -o nounset
set -o pipefail
source /etc/config/cert-renew
EMAIL=${EMAIL}
DOMAINS=(${DOMAINS})
if [ -z "$DOMAINS" ]; then
echo "ERROR: Domain list is empty or unset"
exit 1
fi
if [ -z "$EMAIL" ]; then
echo "ERROR: Email is empty string or unset"
exit 1
fi
domain_args="... | corekube/cert-renew | fetch_certs.sh | Shell | apache-2.0 | 635 |
#!/bin/bash
# Copyright 2014 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 require... | swarren83/kubernetes | cluster/vagrant/config-default.sh | Shell | apache-2.0 | 2,982 |
#!/bin/bash
# Copyright 2021 Google LLC
#
# 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 to... | GoogleCloudPlatform/serverless-photosharing-workshop | terraform/lab2/build.sh | Shell | apache-2.0 | 805 |
#!/bin/bash
docker build -t bplotka/ubuntu-clion .
| Bplotka/docker-mesos-clion | ubuntu-clion/build_docker.sh | Shell | apache-2.0 | 53 |
#!/bin/bash
# Copyright 2015 The Bazel 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 by ... | mikelikespie/bazel | scripts/packages/package_info_generator.sh | Shell | apache-2.0 | 1,997 |
#!/bin/bash
set -eux
if [ -z "$(which consul)" ]; then
# originally we used 0.6.3 (released in Jan 2016).
# updated to 1.7.4 in Change-Id: Iaddf21f14c434129541e7c9ec7134e0661f7be52
# 1.4.0 (released Nov 2018) has a new ACL system.
# 1.6.1 (released Sep 2019) is the version used by python-consul2 for te... | openstack/tooz | setup-consul-env.sh | Shell | apache-2.0 | 1,167 |
# -----------------------------------------------------------------------------
#
# Package : libnpmconfig
# Version : 1.2.1
# Source repo : https://github.com/npm/libnpmconfig
# Tested on : RHEL 8.3
# Script License: Apache License, Version 2 or later
# Maintainer : BulkPackageSearch Automation <sethp@us.ibm.com>
#
# ... | ppc64le/build-scripts | l/libnpmconfig/libnpmconfig_rhel_8.3.sh | Shell | apache-2.0 | 3,058 |
#!/bin/bash
set -e
set -x
#
# Copyright 2017 Goldman Sachs.
# 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... | goldmansachs/obevo | obevo-db-impls/obevo-db-mysql/mysql-setup.sh | Shell | apache-2.0 | 1,299 |
#!/bin/sh
DIR_NAME=`dirname $0`
cd $DIR_NAME
if [ "$1" = "-b" ]
then
java -Dgosh.args=--nointeractive -jar felix/felix.jar >openmuc.out 2>&1 &
else
java -jar felix/felix.jar
fi
| openmucextensions/ace_target | run-openmuc.sh | Shell | apache-2.0 | 187 |
#!/bin/bash
# remove the directory of common build artifacts that sometimes need to be regenerated.
pwd
function clean {
echo "Running search for '$1' of type '$2'." ;
find . -type $2 -iname "$1" | while read l ; do
echo " deleting $l.";
rm -rf "$l" ;
done
}
# Eclipse stuff
clean ".settings" d
# ... | joshlong/javaconfig-ftw | cleanup.sh | Shell | apache-2.0 | 386 |
#!/bin/sh
###
# File : push.sh
# License :
# Copyright (c) 2017 Herdy Handoko
#
# 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.... | hhandoko/diskusi | tools/travis/push.sh | Shell | apache-2.0 | 1,534 |
#!/bin/bash
#SBATCH --nodes=1
#SBATCH --ntasks=1
#SBATCH --workdir="/mnt/cephfs/cromwell_workdir"
basedir="/mnt/cephfs/cromwell_workdir"
project="genomel_prod"
batch_id="gatk_01"
job_uuid="{JOB_UUID}"
input_table="{INPUT_TABLE}"
psql_conf="/mnt/SCRATCH/reference/postgres_config"
gvcf_files_manifest="/mnt/cephfs/cromwe... | uc-cdis/cwl | genomel/slurm/etc/cohort_gatk.prod.sh | Shell | apache-2.0 | 1,228 |
#!/bin/bash
set -euo pipefail
#
#Script to generate simulated reads up to a specified coverage from
# a folder with fasta files. In particular this was used to
# simulate viral reads from the NCBI virus genomes
#
genomes_folder="/labcommon/db/fasta/ncbi_genome/virus"
virus="Abaca_bunchy_top_virus_uid28697"
target_c... | maubarsom/biotico-tools | bash/sim_reads.sh | Shell | apache-2.0 | 1,216 |
# ----------------------------------------------------------------------------
#
# Package : scala
# Version : 2.11.12
# Source repo : https://github.com/scala/scala.git
# Tested on : rhel_8.3
# Script License: Apache License, Version 2 or later
# Maintainer : Punith Basavarajaiah<Punith.Basavarajaiah@ibm.com>
#
# Disc... | ppc64le/build-scripts | s/scala/scala-2.11.12-ubi8.sh | Shell | apache-2.0 | 1,701 |
/home/vhuang/src03/3d/android_wallpaper/github_28pages/zips/gronlivewallpaper/GronLiveWallpaper
source ~/bin/ndkgo.sh
ant debug
| bayvictor/distributed-polling-system | bin/gowall.sh | Shell | apache-2.0 | 130 |
#!/bin/bash
branchName="master"
gradle="sudo ./gradlew"
gradleUpload="uploadArchives"
gradleUploadOptions="--parallel -DpublishSnapshots=true -DsonatypeUsername=${SONATYPE_USER} -DsonatypePassword=${SONATYPE_PWD}"
if [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "$branchName" ] && [ "$PUBLISH_SNAPSHO... | Unicon/cas | travis/script.sh | Shell | apache-2.0 | 1,081 |
curl -XPOST 'http://127.0.0.1:9200/test-index/test-type/_update_by_query?pretty' -d '{"query":{"match_all":{}}}'
curl -XPOST 'http://127.0.0.1:9200/test-index/test-type/_update_by_query?pretty' -d '
{
"script": {
"inline": "ctx._source.hit=4",
"lang": "painless"
},
"query":{"match_all":{}}
}
'
| aparo/elasticsearch-cookbook-third-edition | chapter_05/update_by_query.sh | Shell | bsd-2-clause | 307 |
#!/bin/bash
set -e
export thisscript=$(readlink -m $0)
export thisdir=$(dirname $thisscript)
export installdir=$HOME/.javaformatter_install
case $1 in
"--refresh")
rm $installdir -rf
shift
;;
esac
if [ -f $thisdir/.javaformatter ]; then
export tmpdir=$(cat $thisdir/.javaformatter)
else
export tm... | jrialland/javaformatter-cli | javaformatter.sh | Shell | bsd-2-clause | 1,291 |
#!/bin/sh
set -e
browserify -r ./js/plugins/terminal-linux.js:LinuxTerm -r ./js/master/master.js:Jor1k -o public/jor1k-master-min.js
browserify js/worker/worker.js -o demos/jor1k-worker-min.js
#browserify -r ./js/plugins/terminal-linux.js:LinuxTerm -r ./js/plugins/terminal-termjs.js:TermJSTerm -r ./js/master/master.... | gdm85/jor1k | compile.sh | Shell | bsd-2-clause | 359 |
#!/bin/bash
scriptDir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
projectDir=`pwd`
. $scriptDir/bash/functions.bash
x-www-browser http://localhost/PUWI/view/index.php?puwiDir=$scriptDir\&projectDir=$projectDir &
echo -e " PUWI running... \n"
| LuciaPerez/PUWI | launch_project.bash | Shell | bsd-3-clause | 258 |
#!/bin/bash
function getSlavesIPs {
awk '$2 ~ /slave/ {print $1}' /etc/hosts | sort | uniq
}
function slaveDeploy {
for ip in $1
do
echo "ssh root@$ip \"yum -y install nc\""
ssh root@$ip 'yum -y install nc'
done
}
function masterDeploy {
sudo yum -y install git
sudo yum -... | glaunay/nslurm | scripts/functions.sh | Shell | bsd-3-clause | 1,357 |
#!/bin/bash
###############################################################################
##
## Copyright (C) 2014-2015, New York University.
## Copyright (C) 2011-2014, NYU-Poly.
## Copyright (C) 2006-2011, University of Utah.
## All rights reserved.
## Contact: contact@vistrails.org
##
## This file is part of VisTr... | hjanime/VisTrails | scripts/start_vistrails.sh | Shell | bsd-3-clause | 3,153 |
while read line || [ -n "$line" ]; do
printf 1
for ((i=1; i<$line; i++)); do
printf " 1"
r=1
for ((j=1; j<=i; j++)); do
r=$(( ($r*($i+1-$j))/$j ))
printf " %d" $r
done
done
echo
done <$1
| nikai3d/ce-challenges | moderate/pascals_triangle.bash | Shell | bsd-3-clause | 259 |
#!/bin/sh
# Remove the old server executables
[ "$1" = update ] && { systemctl stop rocket.chat; rm -rf /var/www/rocketchat; }
[ "$1" = remove ] && { sh sysutils/service.sh remove Rocket.Chat; userdel -f rocketchat; rm -rf /var/www/rocketchat; whiptail --msgbox "Rocket.Chat removed." 8 32; break; }
# Defining the por... | j8r/DPlatform | apps/Rocket.Chat.sh | Shell | mit | 4,383 |
dir=$(cd $(dirname "$0") && pwd)
. "$dir/config.sh"
clean
| bellflower2015/centos6-rpms | clean.sh | Shell | mit | 59 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.