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 |
|---|---|---|---|---|---|
#! /bin/sh
# Copyright (C) 2005-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/comment9.sh | Shell | gpl-2.0 | 1,204 |
#!/bin/sh
# Copyright (C) 1999-2005 ImageMagick Studio LLC
#
# This program is covered by multiple licenses, which are described in
# LICENSE. You should have received a copy of LICENSE with this
# package; otherwise see http://www.imagemagick.org/script/license.php.
. ${srcdir}/tests/common.shi
${RUNENV} ${MEMCHECK} ... | atmark-techno/atmark-dist | user/imagemagick/tests/rwblob_SUN_pallette.sh | Shell | gpl-2.0 | 363 |
cd web
find . -type f -name "._*" -delete
find . -name "*.jpeg" -exec sh -c 'mv "$1" "${1%.jpeg}.jpg"' _ {} \;
cd ../scanner
./main.py ../web/albums ../web/cache
| alexjj/photofloat | process.sh | Shell | gpl-2.0 | 162 |
#!/bin/bash
# -*- indent-tabs-mode:nil; -*-
# Process doxygen log to generate sorted list of top offenders.
#
me=$(basename $0)
DIR="$(dirname $0)"
# Trick to get the absolute path, since doxygen prefixes errors that way
ROOT=$(cd "$DIR/.."; pwd -P)
# Known log files
STANDARDLOGFILE=doxygen.log
WARNINGSLOGFILE=doxy... | Gabrielcarvfer/NS3 | doc/doxygen.warnings.report.sh | Shell | gpl-2.0 | 14,039 |
#!/bin/sh
# stop all GENDB daemon running at cluster hosts
# $Id: kill_GENDB_daemons.sh,v 1.1.1.1 2005/02/22 18:05:36 givans Exp $
# $Log: kill_GENDB_daemons.sh,v $
# Revision 1.1.1.1 2005/02/22 18:05:36 givans
#
#
# Revision 1.2 2002/01/29 16:05:42 blinke
# added path to clusterlist
#
# Revision 1.1 2002/01/29... | sgivan/BGA | share/genDB/share/exec/kill_GENDB_daemons.sh | Shell | gpl-2.0 | 764 |
#! /bin/sh
# Copyright (C) 2010-2018 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 ... | komh/automake-os2 | t/remake-after-acinclude-m4.sh | Shell | gpl-2.0 | 2,727 |
#!/bin/bash
# TODO: pass in the master host IP address as argument
if [ ! -f /etc/init.d/sensu-client ]; then
echo "Installing Sensu!"
sudo wget -q http://repos.sensuapp.org/apt/pubkey.gpg -O- | sudo apt-key add -
sudo bash -c 'echo "deb http://repos.sensuapp.org/apt sensu main" > /etc/apt/sources.list.d... | ICGC-TCGA-PanCancer/pancancer-sandbox | bionimbus_monitor/setup_sensu_worker.sh | Shell | gpl-2.0 | 784 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_PLATFORM=GNU-Linux-x86
CND_CONF=Release
CND_DISTDIR=dist
CND_BUILDDIR=build
CND_DLIB_EXT=so
NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging
TMPDIRNAME=tmp-packaging
OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/ex34_desco... | pdavila13/Program_C | Ex34_descomposicioFactorial/nbproject/Package-Release.bash | Shell | gpl-2.0 | 1,561 |
#!/bin/bash
if [ -z "$SCP_TARGET" ]; then
echo "Need to set SCP_TARGET"
exit 1
fi
for num_additional_writers in 0 1 3 7 15 31 63 ; do
export ADDITIONAL_WRITERS=${num_additional_writers}
echo "Running benchmark with ${ADDITIONAL_WRITERS} additional writers..."
./run.benchmark.sh
sleep 15
le... | Percona-QA/toku-qa | tokudb/software/iibench/doit.bash | Shell | gpl-2.0 | 443 |
#!/bin/bash
# Example for running
docker run -t -i libxau /bin/bash
| ianmiell/OLD-shutitdist | libxau/bin/run.sh | Shell | gpl-2.0 | 69 |
#!/bin/bash
cd /Users/binh/Documents/workspace/lena/results/tcp-link/pedestrian/const_vel/cumulative_avg
pwd
cd graphs
rm *.svg
cd ..
cd data-scripts
pwd
cat < TCP | grep ID1 | grep -v 7.0.0.2 | grep -v enb | grep -v RLC_buffer | grep -v 'lost=' > tcp-queue.txt
cat < TCP | grep "RLC_buffer_discarded" > tcp_buffer_... | binhqnguyen/lena-local | results/tcp-link/pedestrian/const_vel/cumulative_avg/dr.sh | Shell | gpl-2.0 | 2,742 |
export tk8500=.; wish8.5 tk8500.tcl
| kronoc/tk8500 | tk8500.sh | Shell | gpl-2.0 | 37 |
#!/bin/bash
echo -n "Enter your commit message "
read message;
git add . --verbose;
git commit -m "$message" --verbose;
git push origin master --verbose;
make pci-database;
exit;
| obiwac/AQUA-2.X-x86 | scripts/commit.sh | Shell | gpl-2.0 | 184 |
#!/bin/bash
# rm -rf .notif
# rm *.ior
# ./notif_daemon > agent.ior&
# sleep 5
# ./tidnotif start < agent.ior &
# sleep 5
# ./tidnotif factory < agent.ior > factory.ior&
# sleep 5
# echo 'tidnotif started'
i=`cat /tmp/notify_factory.ior`
echo "Launching server consumer"
./server_consumer $i \
-ORB_trace_level 5 \... | AlvaroVega/TIDNotifC | test/persistence/start.sh | Shell | gpl-2.0 | 870 |
#!/bin/sh
# SFY alias stef74
# Version jeedom 2.1.2 en chroot synology
# dans le chroot
# cd /tmp
# wget --no-check-certificate https://raw.githubusercontent.com/PuNiSHeR374/Jeedom/master/v2/Beta/install_mini.sh
# chmod+x install_mini.sh
# sh install_mini.sh
# Le port 1881 doit être non utilisé
# De preférence un chro... | PuNiSHeR374/Jeedom | v2/Sources/PuNiSHeR/install.sh | Shell | gpl-2.0 | 9,043 |
# This shell script fragment is sourced by git-rebase to implement
# its interactive mode. "git rebase --interactive" makes it easy
# to fix up commits in the middle of a series and rearrange commits.
#
# Copyright (c) 2006 Johannes E. Schindelin
#
# The original idea comes from Eric W. Biederman, in
# http://article.... | cpackham/git | git-rebase--interactive.sh | Shell | gpl-2.0 | 35,304 |
cd /morphux/Morphux-IRC-Bot/ && exec /usr/bin/python3 /morphux/Morphux-IRC-Bot/main.py
| Morphux/IRC-Bot | start.sh | Shell | gpl-2.0 | 87 |
#! /bin/sh -e
# tup - A file-based build system
#
# Copyright (C) 2013-2022 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... | gittup/tup | test/t2141-lua-node-var-rule-input.sh | Shell | gpl-2.0 | 1,172 |
#!/bin/sh
# Run this in the modules dir to do a git fetch ; git status on everything that has a .git directory in it
## This gives you a basic idea if things have changed... read the output carefully ##
if [ "$(id -u)" = "0" ]
then
echo Getting modules status ...;
for file in * ; do
if [ -d $file ] ; then
... | co-alliance/adr | sites/all/modules/git-status.sh | Shell | gpl-2.0 | 825 |
#Set patches directory
patchDir="hardware/semc/patches"
#Download console binary
if [ ! -f vendor/cm/proprietary/Term.apk ]
then
vendor/cm/get-prebuilts
fi
#Patch
echo Patching...
for d in $(ls $patchDir);
do
for f in $(ls $patchDir"/"$d | grep .patch);
do
git apply -p1 --verbose --ignore-space-change --i... | Abhinav1997/android_scripts | CompileCM.sh | Shell | gpl-2.0 | 1,604 |
#! /bin/sh -f
#
# Variables: (* = exported)
# *SNMP_TMPDIR: place to put files used in testing.
# SNMP_TESTDIR: where the test scripts are kept.
# *SNMP_PERSISTENT_FILE: where to store the agent's persistent information
# (XXX: this should be specific to just the agent)
#
# Only al... | ZHAW-INES/rioxo-uClinux-dist | user/net-snmp/net-snmp-5.7.1/testing/fulltests/support/simple_TESTCONF.sh | Shell | gpl-2.0 | 6,422 |
#!/bin/bash
r3.count.categories input=ff output=ff_count slices=ff_slice
r3.count.categories input=ff output=ff_surface_count slices=ff_slice surface=max_3_4_5_in_cells -s
r3.count.categories input=ff output=ff_relative_count slices=ff_slice surface=max_3_4_5_in_cells -d -s
r.colors map=`g.list rast pat="ff_slice_*" ... | wenzeslaus/forestfrag3d | category_counts.sh | Shell | gpl-2.0 | 772 |
#!/bin/bash
./configure --target-list=i386-softmmu --prefix=/usr/local/qemu_mym && make && make install
| elliott10/qemu-instru-tracer | deploy_help_doc/all_work_flow/prog/make_qemu.sh | Shell | gpl-2.0 | 105 |
#!/bin/bash
# Some script variables
OK=0
BAD=0
NONVOLUNTARY=1
NONVOLUNTARYCHECK=0
VOLUNTARY=1
VOLUNTARYCHECK=0
I=1
BOT=Motodl
RELOADTIME=10
function tmux_mode {
sleep 0.5
clear
# Space invaders thanks to DJ
f=3 b=4
for j in f b; do
for i in {0..7}; do
printf -v $j$i %b "\e[${!j}${i}m"
done
done
bld=$'\e[1m'
... | mahdi1062/avira | anti.sh | Shell | gpl-2.0 | 12,556 |
#!/usr/bin/env bash
sudo sed -i.bak "s/upload_max_filesize = 2M/upload_max_filesize = 100M/g" /etc/php5/apache2/php.ini | wolfnet/wordpressplugin | .vagrant/php-config.sh | Shell | gpl-2.0 | 120 |
# #############################################################################
# Ext : Styles ( names )
# #############################################################################
extn[0]="Default"
extn[1]="Label gas"
extn[2]="Label usr"
extn[3]="Directive"
extn[4]="Directive token"
extn[5]="Instruction : g... | earlgrey-bis/Scintilla-LexerExt | src/03-languages/gas-i386x64/properties/gas-i386x64-properties-colors-N.include.bash | Shell | gpl-3.0 | 925 |
# 300_create_grub2.sh
#
# create grub.cfg for Relax-and-Recover
#
# This file is part of Relax-and-Recover, licensed under the GNU General
# Public License. Refer to the included COPYING for full text of license.
# create grub directory structure
mkdir -p $v $TMP_DIR/ppc >&2
cat >"$TMP_DIR/ppc/bootinfo.txt" <<EOF
<chr... | N3WWN/rear | usr/share/rear/output/ISO/Linux-ppc64le/300_create_grub2.sh | Shell | gpl-3.0 | 956 |
#!/bin/sh
server=localhost:6195
ips-rpc-client $server \
ips_proto_sandbox.SandboxService getSandboxes '' |
grep sandbox_id: | cut -d' ' -f2 | cut -d'"' -f2 | while read n
do
echo $server:$n
echo $(ips-rpc-client $server \
ips_proto_sandbox.SandboxService getState "sandbox_id: \"$n\"" |
... | taru0216/ips-cell | examples/getSandboxes.sh | Shell | gpl-3.0 | 342 |
#!/bin/bash
# Copyright 2012-2014 Johns Hopkins University (Author: Daniel Povey). Apache 2.0.
#
# This script, which will generally be called from other neural-net training
# scripts, extracts the training examples used to train the neural net (and also
# the validation examples used for diagnostics), and puts them ... | StevenLOL/aicyber_semeval_2016_ivector | System_2/steps/nnet2/get_egs2.sh | Shell | gpl-3.0 | 17,260 |
#!/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 1B/logs/w-11-B/20161201T114353+0000/00/00/taskevent_4_ID0000010.sh | Shell | gpl-3.0 | 1,237 |
#!/bin/sh
# As root edit a text file highlighted in ROX-Filer
# Specify your preferred text editor
EDITOR=leafpad
# Specify your preferred way to run as root
ASROOT=gksu
# Request the password, if valid open the file to be edited
exec $ASROOT $EDITOR "$@"
| antiX-Linux/desktop-defaults-rox | bin/edit-as-root.sh | Shell | gpl-3.0 | 264 |
#This file is part of ParkingVQApi.
#ParkingVQApi 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 version.
#ParkingVQApi is distributed in the ho... | ddrmanxbxfr/ParkingVQApi | benchmark.sh | Shell | gpl-3.0 | 1,099 |
kill `ps aux | grep xsp4 | head -n1 | awk '{print $2}'`
| KapilThakkar/mysql-demo-ex | stop.sh | Shell | gpl-3.0 | 58 |
#!/bin/bash -
#
# This shell script splits a multiple fasta file in individual fasta
# files, each file is then pairwised aligned with a reference dataset
# using vsearch. The best identity (in terms of percentage of
# identity) is kept.
## Usage
function usage () {
echo "Usage:"
echo "$(basename ${0}) /path/to/tar... | frederic-mahe/stampa | stampa.sh | Shell | gpl-3.0 | 3,795 |
#!/bin/bash
python RunBootstrap.py --paralog1 YJL177W --paralog2 YKL180W --bootnum 14 > YJL177W_YKL180W_Boot14_PrintScreen.txt
| xjw1001001/IGCexpansion | Bootstrap/ShFiles/MG94_YJL177W_YKL180W_Boot14.sh | Shell | gpl-3.0 | 128 |
#!/usr/bin/env python
# *****************************************************************************
# build.sh by the Wunderful People at Wunderkraut
#
# https://github.com/wunderkraut/build.sh
# *****************************************************************************
import getopt
import sys
import yaml
import... | mgalang/build.sh | build.sh | Shell | gpl-3.0 | 20,438 |
#!/bin/bash
# You probably need to update only this link
ELECTRUM_GIT_URL=git://github.com/vergecurrency/electrum-xvg.git
BRANCH=master
NAME_ROOT=electrum-xvg
# These settings probably don't need any change
export WINEPREFIX=/opt/wine-electrum
PYHOME=c:/python26
PYTHON="wine $PYHOME/python.exe -OO -B"
# Let's begin!... | vergecurrency/electrum-xvg | contrib/build-wine/build-electrum-git.sh | Shell | gpl-3.0 | 1,916 |
#!/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-08_1/20161025T165446+0000/00/00/taskevent_0_ID0000006.sh | Shell | gpl-3.0 | 1,237 |
#!/bin/sh
sudo echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | sudo /usr/bin/debconf-set-selections
sudo add-apt-repository ppa:webupd8team/java -y
sudo apt-get update -y
sudo apt-get install oracle-java8-installer oracle-java8-set-default oracle-java8-unlimited-jce-policy -y
| egovernments/eGov-DevOps | shell/equip_java8.sh | Shell | gpl-3.0 | 308 |
#/bin/sh -e
for x in $(find ${srcdir}/glom/ -name "*.glade")
do
# echo Validating $x
# TODO: Is there a Glade DTD?
xmllint --noout $x || exit 1
done
| GNOME/glom | tests/test_glade_file_validation.sh | Shell | gpl-3.0 | 156 |
#!/bin/bash
set -e
ansible-galaxy install martinmicunda.common \
martinmicunda.nodejs \
martinmicunda.iojs \
martinmicunda.bower \
martinmicunda.gulp \
laggyluke.direnv \
retr0h.nsq... | behzad888/employee-scheduling | bin/ansible-install-roles.sh | Shell | gpl-3.0 | 496 |
java -jar logstash-1.1.13-flatjar.jar agent -f hello.conf
| alibrelato/scripts | Logstash/hello.sh | Shell | gpl-3.0 | 58 |
#!/bin/bash
trap "NoSorting" SIGINT
. ~/Projects/CS225/functionLibrary.sh
#rm -Rf ~/Projects/CS225/timefiles/2005
rm -Rf ~/Projects/CS225/timefiles/2016
DIRECTORY=~/Projects/CS225/timefiles/
LSDIR=$( find $DIRECTORY )
TARUNZIP()
{
cd /root/Projects/CS225
tar -xzf /root/Projects/CS225/timefiles.tar.gz
}
#FI... | Bfstepha/CS225 | lab11.sh | Shell | gpl-3.0 | 806 |
#!/bin/bash
set -e # stop on error
#set -u # inform undefined variables
#set -x # output command
TEMP=/tmp
BRANCH="master"
# option ==============================================================
declare -a ARGV=()
OPT_W=""
OPT_CLONE_ONLY=""
OPT_BRANCH=""
OPT_CMAKE=""
for OPT in "$@"; do
case "$OPT" in
'... | hiracchi/docker-pdf-builder | scripts/pdf-install.sh | Shell | gpl-3.0 | 1,917 |
tubeup --use-download-archive --metadata=collection:tubeup http://pscp.tv/imutimes/1YqxogoEAPjxv
tubeup --use-download-archive --metadata=collection:tubeup http://pscp.tv/imutimes/1djGXnVZowOxZ
tubeup --use-download-archive --metadata=collection:tubeup http://pscp.tv/imutimes/1nAKEQyAaroKL
tubeup --use-download-archive... | vxbinaca/archive-env-NG | re-rip/periscope-var/imutimes.sh | Shell | gpl-3.0 | 1,455 |
#!/bin/sh
#
# Race Capture App
#
# Copyright (C) 2014-2017 Autosport Labs
#
# This file is part of the Race Capture App
#
# This 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,... | autosportlabs/RaceCapture_App | emu_phone.sh | Shell | gpl-3.0 | 835 |
#!/bin/bash
cd $(dirname $0)
java -Xmx256m -jar baraza.jar stop ./projects/
| enbiso/openbaraza | build/server.stop.sh | Shell | gpl-3.0 | 79 |
#!/bin/bash
# Scripts qui restaure une BDD GINCO à parit d'un DUMP SQL
# Puis crée un Foreign Data Wrapper entre la base restaurée et la base GeoNature cible
# remplir le fichier settings.ini en amont
. settings.ini
if [ ! -d 'log' ]
then
mkdir log
fi
function write_log() {
echo $1
echo "" &>> log/restore... | PnX-SI/GeoNature | data/scripts/import_ginco/restore_db.sh | Shell | gpl-3.0 | 3,771 |
#!/bin/bash
# ****************************************************
# Program: Apache Install Executable
# Developer: Sander De Vos
# Last Updated: 17/2/2016
# ****************************************************
mydir=$( cd $(dirname $0) ; pwd -P )
bash $mydir/install_apache.sh | SanderDeVos/Custom-localstack-installer | scripts/install_apache.command | Shell | gpl-3.0 | 280 |
#! /bin/bash
#
# load and post process OSM data
#
usage () {
cat <<EOF
NAME
$(basename $0) - loads OSM data to Totus database
SYNOPSIS
$(basename $0) -i <OSM input dir> -r <region> -s <db server> -d <db name> -u <db user> -p <db password> -h
DESCRIPTION
-i directory containing OSM data... | guolivar/totus-niwa | database/bin/loadOSM.sh | Shell | gpl-3.0 | 3,032 |
#!/bin/bash -xe
DATA=http://debian.byte-consult.be/grb/data_schema.grb_api.sql.gz
cd /usr/local/src/
if [ ! -r /vagrant/grb.gz ]; then
echo "Fetch GRB data ..."
# Download helper scripts to create a configuration file
wget --quiet $DATA -O grb.gz
else
echo "Using host shared GRB data ..."
ln -s /vagra... | gplv2/grbtool | scripts/feed.grb.sh | Shell | gpl-3.0 | 860 |
#!/bin/bash
. `git rev-parse --show-toplevel`/includes.sh #STRIP#
DATA="/data"
PI="/mnt/pi/data"
EXTERNAL="/mnt/external"
SECONDARY="/mnt/secondary"
BACKUP="/mnt/backup"
NAS="pi4:/data"
SERVER="despite:/home/daniel/backup"
SOURCES="$DATA $PI $NAS $EXTERNAL $SECONDARY"
TARGETS="$NAS $EXTERNAL $SERVER $BACKUP $SECONDA... | SuperBFG7/scripts | backup/includes.sh | Shell | gpl-3.0 | 1,034 |
#!/bin/bash -f
# Vivado (TM) v2016.4 (64-bit)
#
# Filename : pikachu_jump_pixel.sh
# Simulator : Cadence Incisive Enterprise Simulator
# Description : Simulation script for compiling, elaborating and verifying the project source files.
# The script will automatically create the design libraries sub-d... | hsnuonly/PikachuVolleyFPGA | VGA.ip_user_files/sim_scripts/pikachu_jump_pixel/ies/pikachu_jump_pixel.sh | Shell | gpl-3.0 | 5,439 |
#!/bin/bash
#SBATCH -t 14-00:00:00
module load R/3.0.0;
module load phylobayes/3.3f;
perl sowhat --rax=/users/shchurch/scratch/FB_analyses/raxmlHPC --garli=/users/shchurch/scratch/FB_analyses/Garli-2.01 --seqgen=/users/shchurch/scratch/FB_analyses/seq-gen --aln=published_datasets/Sullivan12S.phy --constraint=publish... | josephryan/sowhat | analysis/B60.sh | Shell | gpl-3.0 | 431 |
#!/bin/bash
. common.sh
rm -f $OUTPUT
compile TEST.006.remainder.e
$OUTPUT
expectExit 2
| jotheberlock/Enki | tests/TEST.006.remainder.sh | Shell | gpl-3.0 | 89 |
#!/bin/sh
HTTPDSERVER=iterate.sf.net;export HTTPDSERVER
HTDOCS=/home/project-web/iterate/htdocs/sauc;export HTDOCS;
SEARCHURL=http://iterate.sf.net/sauc;export SEARCHURL;
CGIPATH=http://iterate.sf.net/cgi-bin;export CGIPATH;
CGIBIN=/home/project-web/iterate/cgi-bin;export CGIBIN;
CGIMETHOD=GET;export CGIMETHOD;
BINDEST... | KeithJMcGill/SAUC | config_sf.sh | Shell | gpl-3.0 | 546 |
#!/bin/sh
#load config which stores variables and exit status checker function
source config
#ipecho.net/plain is a good stuff to check which IP is used to connect to the internet
ip_addr=$(curl http://ipecho.net/plain)
check_exit $? "Unable to connect to ipecho.net/plain"
echo "Currently, the router shows himself fr... | BarrRedKola/ovnt | connect_vpn_netns.sh | Shell | gpl-3.0 | 1,395 |
#!/bin/bash
HOME=$DEBUG_REAL_HOME steam steam://install/257510
unzip talos-principle.zip
chmod +x pre.sh talos-principle
sh pre.sh
rm pre.sh
| faultyme/pts-talos-principle | talos-principle/install.sh | Shell | gpl-3.0 | 141 |
:
if [ "$#" -ne 2 ]
then
echo "Usage: $0 table yyyymmdd" 1>&2
exit 1
fi
table=$1
date=$2
input_file="${table}_${date}.sql.gz"
zcat $input_file | grep -i 'insert into'
exit $?
| timhriley/appaserver | utility/bigrestore_grep_insert.sh | Shell | gpl-3.0 | 181 |
#! /bin/bash
set -e
DL="lib"
VER="3.11.3"
PROTOC_DIR="$DL/protoc-$VER"
rm -rf $PROTOC_DIR
ME=`basename "$0"`
SYSTEM_TYPE=`uname -s`
case ${SYSTEM_TYPE} in
'Darwin') OS=osx;;
'Linux') OS=linux;;
*) echo "Sorry, but there is no automatic support for ${SYSTEM_TYPE}" >&2
exit 1
;;
esac
MACHINE_TYPE=`u... | aggelgian/cuter | fetch_protoc.sh | Shell | gpl-3.0 | 928 |
#!/usr/bin/env bash
find ./bin -name "*.php" -type f -print0 | xargs -n 1 -0 php -l
find ./src -name "*.php" -type f -print0 | xargs -n 1 -0 php -l
find ./test -name "*.php" -type f -print0 | xargs -n 1 -0 php -l
| thedava/xspf-tools | bin/phplint.sh | Shell | gpl-3.0 | 214 |
#!/bin/bash
#Script by Irina Dumitrascu (dumitrascu.irina@gmail.com) and Adrian Popa (adrian.popa.gh@gmail.com)
#June 2006
#Released under GPL
#Added by Nghia and Philippe - 8 July 08
source params.sh
ip -6 route del $MN1_ADDR/128 via $CH_ADDR
ip -6 route del $MN2_ADDR/128 dev eth0
echo Deleting all mpls settings .... | mspublic/openair4G-mirror | openair3/EXAMPLES/MONO_CH_200810_RF/mr2_del_mpls.sh | Shell | gpl-3.0 | 2,923 |
function Terminate()
{
CleanTemp
ErrorMsg "Program terminated."
if [ "$KEEPLOG" = "YES" ]; then
ErrorMsg "Check log at "$LOGFILE"."
fi
zenity --warning --text="Program terminated. Click Ok to exit."
exit 1;
}
| igosnusantara/fedorautils | lib/Terminate.sh | Shell | gpl-3.0 | 209 |
#!/bin/sh
pkgname=expat
pkgver=2.2.5
vcs=git
gittag=R_${pkgver//\./_}
urls="http://downloads.sourceforge.net/expat/expat-${pkgver}.tar.bz2"
srctar=${pkgname}-${pkgver}.tar.bz2
relmon_id=770
kiin_make() {
cd expat
./buildconf.sh
./configure --prefix=/usr --disable-static --without-xmlwf
make
}
kiin_in... | alekseyrybalkin/kiin-repo | base/expat/package.sh | Shell | gpl-3.0 | 506 |
FSU=`df -h $1 | awk '{print $5}' | tail -n 1`
echo -n $FSU
| RavuAlHemio/bashets | userscripts/filesys.sh | Shell | gpl-3.0 | 59 |
#!/bin/bash
#
#
# Run all scripts in the current directory matching 'test_*'
# with the path to the script to test.
#
# Constants and variables -----------------------------------------------------
SCRIPT_NAME=${0##*/}
SHORT_OPTS="xpfh"
LONG_OPTS='exitfirst,show-passed,hide-failed,help'
# Default values for indicat... | IPGP/webobs | SETUP/tests/dsv_preprocessor/run_all_tests.sh | Shell | gpl-3.0 | 6,613 |
if [ -z $1 ]; then
rscoin-user --bank-mode update
rscoin-user --bank-mode list
else
stack exec rscoin-user -- --bank-mode update
stack exec rscoin-user -- --bank-mode list
fi
| input-output-hk/rscoin-haskell | admin/initBankUser.sh | Shell | gpl-3.0 | 183 |
#!/bin/bash
#Qey is a quantum random password generator based on the Australian National
#University Quantum Random Generator. http://qrng.anu.edu.au/
#Copyright (C) 2015 edkalrio
#This program is free software: you can redistribute it and/or modify
#it under the terms of the GNU Affero General Public License as
#pu... | edkalrio/qey | qey.sh | Shell | agpl-3.0 | 1,096 |
echo "This will install PostgreSql + Create a user +password +database"
echo -n "Press [ENTER] to continue,...: "
read pause
sudo apt-get install postgresql
echo "Change listen_address"
echo "Change password_encryption"
echo -n "Press [ENTER] to continue,...: "
read pause
sudo vim /etc/postgresql/9.1/main/postgresql.c... | alexander-informatik/amos-project-audi | installlocaldb.sh | Shell | agpl-3.0 | 706 |
#!/usr/bin/env bash
THIS_DIR=$(cd $(dirname $0); pwd)
cd $THIS_DIR
update() {
git pull
git submodule update --init --recursive
}
install() {
git pull
git submodule update --init --recursive
patch -i "patches/disable-python-and-libjansson.patch" -p 0 --batch --forward
RET=$?;
cd tg
if [ $RET -ne 0 ];... | anupritaisno1/Clannadbot | launch.sh | Shell | agpl-3.0 | 915 |
# added 2015-09-21 by singh.janmejay
# This file is part of the liblognorm project, released under ASL 2.0
. $srcdir/exec.sh
msg="foo"
for i in $(seq 1 10); do
msg="${msg},${msg},abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ${i}"
done
test_def $0 "float fie... | janmejay/liblognorm | tests/very_long_logline_jsoncnf.sh | Shell | lgpl-2.1 | 473 |
#!/bin/bash
export DEBIAN_FRONTEND=noninteractive
PKGS="build-essential libffi-dev"
EASYINSTALL_BIN=
case $PYTHON in
python2)
PY_BIN=python
PIP_BIN=pip
PKGS="${PKGS} python python-dev python-pip"
;;
python3)
PY_BIN=python3
EASYINSTALL_BIN=easy_install3
PIP_BIN=pip
PKGS="${PKGS} pyt... | xujun10110/python-ssdeep | ci/ubuntu_12.04.sh | Shell | lgpl-3.0 | 767 |
#
# Copyright 2009-2014 - Francois Laupretre <francois@tekwire.net>
#
#=============================================================================
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License (LGPL) as
# published by the Free Soft... | flaupretre/sysfunc | build/mkspec.sh | Shell | lgpl-3.0 | 1,201 |
#Functions
function sa_get_count() {
local str="$1"
echo $(echo "$str" | wc -w)
}
function sa_get_value() {
local str="$1"
local str_arr=($str)
local index="$2"
echo ${str_arr[$index]}
}
function sa_reverse() {
local str="$1"
local output=""
for value in $str; do
echo "$value";
done | tac
}
... | Turbine1991/build_ubuntu_kernel_wastedcores | functions.sh | Shell | lgpl-3.0 | 1,962 |
#!/bin/bash
# Our hoster only allows hourly cronjobs
# Because of Laravel will also run task between these intervals like queued tasks
# We workaround this by running this script every hour which will trigger the artisan schedule
# every minute
for i in {1..60}
do
now=$(date +%T)
echo "Tick: $now"
/usr/local/ph... | games647/Minecraft-Database | cron.sh | Shell | lgpl-3.0 | 388 |
#!/bin/bash
set -ev
# Configure and build
pushd build
cmake .. -GNinja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=../install/ \
-DWITH_HOMEBREW=ON -DCOVERAGE=ON \
-DLIBVLC_INCLUDE_DIR=/Volumes/vlc-${VLC_VERSION}/VLC.app/Contents/MacOS/include \
-DLIBVLC_LIBRARY=/Volumes/vlc-${VLC_VERSION}/VLC.app/Contents/MacO... | zeal18/vlc-qt | scripts/ci/osx/script.sh | Shell | lgpl-3.0 | 1,009 |
#!/bin/sh
# Copyright (C) 2015 Gauvain Pocentek <gauvain@pocentek.net>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later v... | ExodusIntelligence/python-gitlab | tools/functional_tests.sh | Shell | lgpl-3.0 | 897 |
#!/bin/bash
function install-all() {
echo "installing apps..."
$SCRIPT_DIR/setup-sudo.sh
$SCRIPT_DIR/install-i3.sh
$SCRIPT_DIR/install-rxvt.sh
$SCRIPT_DIR/install-sublime.sh
$SCRIPT_DIR/install-docker.sh
$SCRIPT_DIR/install-chrome.sh
$SCRIPT_DIR/install-go.sh
$SCRIPT_DIR/install-java.sh
$SCRIPT_DIR/install-gradle... | dave-r/dotfiles | fedora/install.sh | Shell | unlicense | 2,444 |
#!/bin/bash
BINARY=main.o
gcc -o main.o main.c
if [[ $? -eq 0 ]]; then
./main.o
fi
| okiwan/ottoman | 20130923 - Array Merging Test/go.sh | Shell | unlicense | 86 |
# -----------------------------------------------------------------------------
#
# Package : dns-txt
# Version : 2.0.2
# Source repo : https://github.com/watson/dns-txt
# Tested on : RHEL 8.3
# Script License: Apache License, Version 2 or later
# Maintainer : BulkPackageSearch Automation <sethp@us.ibm.com>
#
# Disclai... | ppc64le/build-scripts | d/dns-txt/dns-txt_rhel_8.3.sh | Shell | apache-2.0 | 3,044 |
#!/bin/bash
#Cache the token for future use
#Command to get expire time:
#FIXME: better way to get expiration time
#grep "expires_at" token.tmp | cut -d',' -f8 | cut -d'"' -f4
#date -d"$(grep "expires_at" token.tmp | cut -d',' -f8 | cut -d'"' -f4)" +%s
CACHE_FILE=cache.tmp
if [ "$#" -lt 2 ]; then
echo "Usage: $0 ... | townbull/keystone-dtrust | curl.sh | Shell | apache-2.0 | 2,378 |
#!/bin/bash
# https://github.com/ellisonbg/antipackage
pip install git+https://github.com/ellisonbg/antipackage.git#egg=antipackage
pip install pyyaml
go get -u golang.org/x/tools/cmd/goimports
go get github.com/Masterminds/glide
go get github.com/sgotti/glide-vc
go get github.com/onsi/ginkgo/ginkgo
go install github... | k8sdb/cli | hack/builddeps.sh | Shell | apache-2.0 | 344 |
#!/bin/bash
IMAGE=gcr.io/cloud-training-demos/datalab-cloudtraining
docker build -t $IMAGE ./ && gcloud docker push $IMAGE
| fscodesimone/codelab-data-scientist | datalab/cloudshell/datalab-cloudtraining/build.sh | Shell | apache-2.0 | 123 |
#!/bin/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 applicable law ... | luomiao/kubernetes | cluster/gce/gci/configure-helper.sh | Shell | apache-2.0 | 47,922 |
#!/bin/bash
## Pre-reqs
# - Ansible > 2.0
# - Botocore
# - Boto3
# - python 2. 7
ansible_code_dir="../../../ansible/"
# For Dynamic inventory
export AWS_REGION=${region}
echo $AWS_REGION
# **** Only for localhost***
# **** ALL VM level configuration is done via ansible pull *****#
ansible-playbook -i $ansible_code_... | faizan82/ECS-kong | terraform/modules/ansible-ecs/templates/ansible_ecs_destroy.sh | Shell | apache-2.0 | 454 |
#!/usr/bin/env bash
# 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... | aam-at/tensorflow | tensorflow/tools/ci_build/release/common.sh | Shell | apache-2.0 | 10,796 |
#!/usr/bin/env bash
basedir=$(git rev-parse --show-toplevel)
usage() {
echo "USAGE: release.sh [version] [msg...]"
exit 1
}
command -v goreleaser >/dev/null 2>&1 || { echo "Required: goreleaser. Install it https://github.com/goreleaser/goreleaser. Aborting." >&2; exit 1; }
if [ "$GITHUB_TOKEN" = "" ]; then... | aybabtme/humanlog | scripts/release.sh | Shell | apache-2.0 | 824 |
#!/usr/bin/env bash
cd microservices/core/product-service; ./gradlew clean publishToMavenLocal; cd -
cd microservices/core/recommendation-service; ./gradlew clean publishToMavenLocal; cd -
cd microservices/core/review-service; ./gradlew clean publishToMavenLocal; cd -
cd microser... | tyrelltle/microservice | build-all.sh | Shell | apache-2.0 | 886 |
#!/bin/bash
# Copyright 2017 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to ... | google/aiyprojects-raspbian-tools | scripts/build_image_native.sh | Shell | apache-2.0 | 1,794 |
#!/bin/sh
if [ "$(cat $1)" != "wibble wibble wibble" ]; then
echo "content wasn't wibble wibble wibble"
echo $CONTENT
exit 1
fi | thought-machine/please | test/test_tools/tool.sh | Shell | apache-2.0 | 135 |
for line in `cat server_list.txt`
do
echo $line
hostName=`echo $line | awk -F"_" '{ print $1 }'`
ipaddr=`echo $line | awk -F"_" '{ print $2 }'`
echo "hostName: "$hostName"|"$ipaddr
scp /home/xiafan/workspace/cassandraxml/build/apache-cassandra-1.0.0-rc1-SNAPSHOT-bin.tar.gz xiafan@$hostName:/home/xiafan
ssh xiafan@$host... | c3bd/cassandraxml | build/dist/bin/cluster_deploy.sh | Shell | apache-2.0 | 1,084 |
#!/usr/bin/env bash
JAVA_VER=$(java -version 2>&1 | sed 's/java version "\(.*\)\.\(.*\)\..*"/\1\2/; 1q')
if [ ! "$JAVA_VER" -ge 17 ];
then
echo "Tinymasq requires java version 7, make sure to install correct version exiting now."
exit 1
fi
# Loading local environment settings see local.sh
[[ -f /usr/share/tiny... | narkisr/fpm-barbecue | recipes/tinymasq/bin/import.sh | Shell | apache-2.0 | 454 |
#!/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/ai-platform-samples | .github/workflows/linter/run_linter.sh | Shell | apache-2.0 | 5,286 |
#!/bin/sh
echo "Removing *.egg-info"
rm -rf *.egg-info
echo "Removing all .pyc files"
find . -name \*.pyc -delete
echo "Removing tox virtualenv"
rm -rf .tox*
echo "Removing virtual env"
rm -rf .venv*
echo "Removing coverage files"
rm -rf cover
echo "Removig all log files"
rm *.log
| dockerian/pyapi | pyapi/addins-api/clean.sh | Shell | apache-2.0 | 288 |
echo "Random sample of shakespeare"
hadoop fs -rm -r shakespeare.sample
hadoop jar ../../../lib/sarah.jar sarah.sample.RandomSample -conf conf/randomSample.xml shakespeare shakespeare.sample
| bruceemartin/SARAH | test/shakespeare/map-reduce/random.sh | Shell | apache-2.0 | 191 |
#!/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 t... | google-research/smore | smore/training/complex_scripts/train_wikikg.sh | Shell | apache-2.0 | 1,466 |
#!/usr/bin/env bash
cd ../raft-java-core && mvn clean install -DskipTests
cd -
mvn clean package
EXAMPLE_TAR=raft-java-example-1.9.0-deploy.tar.gz
ROOT_DIR=./env
mkdir -p $ROOT_DIR
cd $ROOT_DIR
mkdir example1
cd example1
cp -f ../../target/$EXAMPLE_TAR .
tar -zxvf $EXAMPLE_TAR
chmod +x ./bin/*.sh
nohup ./bin/run_ser... | wenweihu86/raft-java | raft-java-example/deploy.sh | Shell | apache-2.0 | 953 |
#!/bin/sh
# you will need to read the top level README, and run boostrap.py
# and buildout in order to make pyjsbuild
options="$*"
#if [ -z $options ] ; then options="-O";fi
../../bin/pyjsbuild --print-statements $options Wiki
| jaredly/pyjamas | examples/simplewiki/build.sh | Shell | apache-2.0 | 229 |
#!/bin/bash
# shellcheck disable=SC1091
source concourse-up/ci/tasks/lib/set-flags.sh
fly -t ebci login \
--insecure \
--concourse-url "${CONCOURSE_URL}" \
--username admin \
--password "${CONCOURSE_PASSWORD}"
fly -t ebci sync
atc_bearer_token=$(bosh int --path /targets/ebci/token/value ~/.flyrc)
export AT... | EngineerBetter/concourse-up | ci/tasks/get-ops-version.sh | Shell | apache-2.0 | 655 |
# 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"); you may not use... | srijeyanthan/hadoop_2_4_0_experimental_version | scripts/hortonworks/hdp_manual_install_rpm_helper_files-2.0.0.22/configuration_files/hive/hive-env.sh | Shell | apache-2.0 | 2,533 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.