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/bash
#
# 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 in writing, software
# distr... | stackforge/tricircle | tricircle/tempestplugin/pre_test_hook.sh | Shell | apache-2.0 | 784 |
grails $UPGRADE --non-interactive && grails test-app unit: --non-interactive --stacktrace && grails package-plugin
| michaelrice/WeakSSL | build.sh | Shell | apache-2.0 | 115 |
#!/bin/bash -eu
# Copyright 2021 Stanford University, NVIDIA Corporation
#
# 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... | StanfordLegion/legion | tools/print_backtraces.sh | Shell | apache-2.0 | 820 |
#!/bin/bash
# Copyright 2020 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 i... | googleapis/java-os-config | .kokoro/readme.sh | Shell | apache-2.0 | 1,567 |
#!/bin/bash
set -ex
TAG=v1.5.2
CLUSTER_NAME=local
## verify arguments
if [ -z "$1" ]; then
echo "First argument is the IP where the kube master node lives"
exit 1
fi
if [ -z "$2" ]; then
echo "Second argument is the IP address for the kube-dns"
exit 1
fi
if [ -z "$3" ]; then
echo "Third argument is the IP... | DanLavine/kubernetes-scripts | run_binaries.sh | Shell | apache-2.0 | 4,183 |
env GOOS=linux GOARCH=amd64 go build -o pathchecker | LQJJ/demo | 126-go-common-master/app/service/ep/saga-agent/path/build.sh | Shell | apache-2.0 | 51 |
# Generated from ltmain.m4sh.
# ltmain.sh (GNU libtool) 2.2
# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# war... | jrnz/hadoop | c++/libhdfs.backup/ltmain.sh | Shell | apache-2.0 | 667,554 |
#!/usr/bin/env bash
# This tool uses a set of variables expected to be exported by tester
# WORKSPACE path
# Mandatory
# Jenkins workspace path. This variable is expected to be exported by
# script caller.
#
# BUILD_TAG string
# Mandatory
# A name to uniquely identify containers created within this job
... | Kurento/adm-scripts | kurento_ci_container_run_bash.sh | Shell | apache-2.0 | 1,957 |
#!/usr/bin/env sh
sudo apt-get install software-properties-common
sudo apt-add-repository ppa:ansible/ansible
sudo apt-get update
sudo apt-get install ansible git
cd ~
if [ ! -d "~/.config/dotfiles" ]; then
git clone https://github.com/abglassman/dot ~/.config/dotfiles
fi
| abglassman/dot | bootstrap.sh | Shell | apache-2.0 | 277 |
#!/usr/local/bin/tini-wrapper /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, Ver... | smanvi-pivotal/geode | ci/scripts/test-run.sh | Shell | apache-2.0 | 5,361 |
#!/usr/bin/env bash
#
# Copyright 2017 Hortonworks.
#
# 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 agr... | hmcl/Streams | bootstrap/bootstrap-udf.sh | Shell | apache-2.0 | 8,015 |
#!/bin/bash
set -e
. setup.sh
# tag::public[]
eventtype='{
"name": "test-'"$(date +%s)"'",
"mapping": {
"ItemId": "string",
"Severity": "integer",
"Problem": "string"
}
}'
$curl -X POST -d "$eventtype" $PZSERVER/eventType
# end::public[]
| venicegeo/pz-docs | documents/userguide/scripts/post-eventtype.sh | Shell | apache-2.0 | 276 |
SCRIPT=$(basename $0)
mkdir -p /var/vcap/sys/log/monit
exec 1>> /var/vcap/sys/log/monit/$SCRIPT.log
exec 2>> /var/vcap/sys/log/monit/$SCRIPT.err.log
echo "------------ `basename $0` $* at `date` --------------" | tee /dev/stderr
pid_guard() {
pidfile=$1
name=$2
if [ -f "$pidfile" ]; then
pid=$(head -1 "$... | fordaz/cf-routing-release | src/pid_utils.sh | Shell | apache-2.0 | 2,992 |
# coding=utf-8
# Copyright 2018 The Google AI Language Team 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 ... | google-research/language | language/labs/consistent_zero_shot_nmt/scripts/datagen_iwslt17.sh | Shell | apache-2.0 | 1,251 |
#!/usr/bin/env bash
# Defines:
# + LIB_EXTENSION: The extension of native libraries.
# + KERNEL: The lower-cased name of the kernel as reported by uname.
# + CACHE_ROOT: The pants cache root dir.
# + NATIVE_ENGINE_CACHE_DIR: The directory containing all versions of the native engine for
# th... | 15Dkatz/pants | build-support/bin/native/bootstrap.sh | Shell | apache-2.0 | 6,570 |
#!/bin/sh
DIR="`adb shell echo \\$EXTERNAL_STORAGE`"
git clone -b 3.04.00 https://github.com/tesseract-ocr/tessdata.git
adb shell rm $DIR/testAddPageToDocument.pdf
adb shell rm $DIR/testCreate.pdf
adb uninstall com.googlecode.tesseract.android.test
adb shell mkdir $DIR/tessdata
for f in tessdata/eng.*; do
TR... | rmtheis/tess-two | preparetests.sh | Shell | apache-2.0 | 818 |
#!/bin/bash
let i=0
ip addr show external_api | grep secondary
result=$?
until ((result==0))
do
sleep 1s
let i=i+1
if((i==600))
then
exit
fi
ip addr show external_api | grep secondary
result=$?
done
ip route del 172.29.2.0/24
ip route del 172.29.3.0/24
ip route del 172.31.100.0/24
... | Hybrid-Cloud/badam | patches_tool/scripts/add_router.sh | Shell | apache-2.0 | 604 |
#!/bin/bash
# Copyright 2019 - 2022 Crunchy Data Solutions, 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 applicabl... | CrunchyData/crunchy-containers | bin/postgres_common/modules/pgmonitor.sh | Shell | apache-2.0 | 1,137 |
#!/bin/bash
sudo apt-get install wget
# remove older copy of file, if it exists
rm -f earthquakes.csv
# download latest data from USGS
wget http://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/all_week.csv -O earthquakes.csv
# Copyright 2016 Google Inc.
# Licensed under the Apache License, Version 2.0 (the "Lic... | GoogleCloudPlatform/training-data-analyst | CPB100/lab2b/ingest.sh | Shell | apache-2.0 | 786 |
#!/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... | petewarden/tensorflow | tensorflow/lite/micro/tools/ci_build/test_all.sh | Shell | apache-2.0 | 3,914 |
#!/bin/sh
libdir="taskOperator/lib"
# データベースファルの作成
sqlite3 ${libdir}/databases/taskOperator.db < ${libdir}/databases/taskOperator.sql
# ファイル属性の変更
chmod 755 taskOperator/*.rb
chmod 777 ${libdir}/databases
chmod 777 ${libdir}/databases/taskOperator.db
# ログファイルの作成
touch ${libdir}/aduser.log
chmod 666 ${libdir}/adus... | shinob/ruby_taskOperator | setup.sh | Shell | apache-2.0 | 387 |
###############################################################################
## unit tests #################################################################
# #
# The following tests are performed: #
... | valhallasw/phabricator-tools | unit_tests.sh | Shell | apache-2.0 | 2,475 |
#!/bin/sh
set -e
# install tools
sudo apt install -y fio python3-pip
sudo pip3 install psrecord
# format /mnt/data partition
sudo mkfs.ext4 -F /dev/nvme0n1
sudo mkdir /mnt/data
sudo mount /dev/nvme0n1 /mnt/data
sudo chown $USER /mnt/data
| kopia/kopia | tests/perf_benchmark/perf-benchmark-setup.sh | Shell | apache-2.0 | 240 |
#!/usr/bin/env bash
# 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 in writing, software... | majetideepak/parquet-cpp | ci/before_script_travis.sh | Shell | apache-2.0 | 1,463 |
#!/bin/bash -eux
cat > /mnt/etc/networks << EOF
loopback 127.0.0.0
localnet 127.0.0.0
EOF | robinwl/packer-templates | packer/scripts/slackware/network.sh | Shell | apache-2.0 | 90 |
#!/usr/bin/env bash
cd "$(dirname "$0")"
if [ ! -e target/scala-2.11/kinesis-stream-producer-assembly-1.0.jar ]
then
echo "Building ktdp program with SBT..."
sbt assembly || echo "SBT is required!"
fi
echo "Running ktdp with a 3-sharded Kinesis stream..."
java -jar target/scala-2.11/kinesis-strea... | mugglmenzel/aws-kinesis-experiments | kinesis-stream-producer/run3.sh | Shell | apache-2.0 | 361 |
#!/usr/bin/env bash
#
# Copyright 2018 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 a... | googleapis/google-cloud-cpp-bigquery | ci/kokoro/docker/dump-reports.sh | Shell | apache-2.0 | 1,813 |
echo "\nWARNING!!! \n"
echo "in firefox, using repagnation for pack all code.google.com search in one page, save it here!"
echo "\n"
echo "^C to break, anykey to continue parsing all *.html -- in current dir! ";read readline
cat *.html |sed 's|<a href=|\n|g'|grep -e "^\"" | cut -d'"' -f2 |grep -e "\/$"| grep -e "\/p... | bayvictor/distributed-polling-system | bin/curdir_parse_code_goo_search_pages_and_svn_all.sh | Shell | apache-2.0 | 676 |
#!/bin/bash
#
# 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 in writing, software
# distribute... | teamclairvoyant/hadoop-deployment-bash | services/install_httpd.sh | Shell | apache-2.0 | 3,554 |
#!/bin/bash
MESSAGE1="[BUILD MESSAGE] "
argv1=$1
if [ "$argv1" == "OPBUILD" ]
then echo "$argv1 Enable"
fi
if [ "$argv1" == "CLEAN" ]
then
echo "Clean build object"
rm -rf ./I*
exit 1
fi
if [ "$OSTYPE" == "linux-gnu" ];
then echo "linux-gnu"
BUILD_HOME=$(cd ../../; pwd)
echo $BUILD_HOME
elif [ "$OSTYPE" == ... | bk1472/rh850_osek | build/autobuild/MakeImage.sh | Shell | bsd-2-clause | 1,958 |
#! /bin/bash
/etc/init.d/if2kd stop
chkconfig -d if2kd
rm /usr/sbin/if2kd
rm /usr/sbin/if2k_mini_compile_list
rm -r -f /etc/if2k
rm /etc/init.d/if2kd
rm /usr/sbin/if2k_uninstall.sh
echo The Internet filter is now uninstalled
| jdkoftinoff/if2kv2 | libif2k/platform/linux/suse91/if2k_uninstall.sh | Shell | bsd-2-clause | 228 |
#
# SAMPLE CONFIGURATION
#
# Copy this to another file and use that when running Crochet, e.g.
# $ sudo /bin/sh crochet.sh -c <myconfig>
#
# Note: Only board_setup is actually required, assuming /usr/src has
# suitable FreeBSD sources. Everything else below is optional.
# REQUIRED:
# Uncomment one to choose the de... | rm4rty/crochet-freebsd | configs/edgerouter.sh | Shell | bsd-2-clause | 11,350 |
#!/bin/bash
read -p "Bitte Module angeben: " module
cd ../../module
mkdir $module
mkdir $module/config
mkdir $module/src
mkdir $module/test
mkdir $module/view
touch $module/config/module.config.php
mkdir $module/src/Controller
touch $module/src/Module.php
touch $module/src/Controller/IndexController.php
exit 0
... | Unreality1987/ro-community | data/scripts/init_module.sh | Shell | bsd-3-clause | 321 |
#! /bin/sh
#
# Copyright (c) 1992, 1993
# The Regents of the University of California. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above co... | MarginC/kame | freebsd3/sys/conf/systags.sh | Shell | bsd-3-clause | 2,894 |
#!/bin/sh
if [ "$#" -eq 0 ] ;
then
echo -e "No path"
exit 1
fi
p=$1
f="/usr/bin/python $p/vendor/home/python/home_task_receiver.py -p '$p'"
echo $f
/usr/bin/pkill -TERM -f "$f" > /dev/null 2> /dev/null &
#echo $(pgrep -f "$f")
if pgrep -f "$f" > /dev/null
then
exit 1 # if exists
else
exit 0
fi | hvos234/raspberrypi.home | vendor/home/python/home-task-receiver-stop.sh | Shell | bsd-3-clause | 317 |
#!/bin/sh
set -x
./antigen.sh
./antigen.sh
aclocal
autoheader
autoconf
automake -ac
| aaronmdjones/tlsdebug-ircd | autogen.sh | Shell | bsd-3-clause | 86 |
#!/bin/bash
#
# Copyright (c) 2015 Regents of the SIGNET lab, University of Padova.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copy... | uwsignet/DESERT_Underwater | DESERT_Framework/DESERT/samples/desert_samples/S2C_EvoLogics_uwcsmaca.sh | Shell | bsd-3-clause | 2,392 |
#!/usr/bin/env bash
set -euo pipefail
protoc -I. \
--go_out=:. \
*.proto
# Rename records a proto rename from $1->$2 for file $3
function rename() {
sed -i '' "s,\"$1\",\"$2\" // from $1," $3
}
rename "google/protobuf" "github.com/golang/protobuf/protoc-gen-go/descriptor" "annotations.pb.go"
| SermoDigital/protoc-gen-endpoint | proto/proto.sh | Shell | bsd-3-clause | 301 |
#!/bin/sh
echo "zend_extension=xdebug.so
xdebug.var_display_max_depth=20
xdebug.var_display_max_data=2048
xdebug.remote_enable=1
xdebug.remote_host=192.168.66.1
;xdebug.profiler_enable=1
xdebug.profiler_enable_trigger=1
xdebug.profiler_output_dir=/vagrant/tmp/profiling
xdebug.xdebug.profiler_output_name=callgrind.o... | PeekAndPoke/aviator | debug-on.sh | Shell | bsd-3-clause | 492 |
python /data/project/apersonbot/bot/defcon/defcon.py
| APerson241/EnterpriseyBot | defcon/defcon.sh | Shell | mit | 53 |
#!/bin/bash -xeu
# publish-project.sh: Publish build results for specific layer project
# Copyright (c) 2016, Intel Corporation.
#
# This program is free software; you can redistribute it and/or modify it
# under the terms and conditions of the GNU General Public License,
# version 2, as published by the Free Software ... | ipuustin/intel-iot-refkit | docker/publish-project.sh | Shell | mit | 6,604 |
#!/bin/bash
#
# Get RDFDatabank dataset manifest using command line curl.
#
RDBROOT=http://163.1.127.173/admiral-test/datasets
DATASET=${1-test}
# --data-binary @- posts multiline from stdin
echo
echo "===== RETRIEVE DATASET $DATASET PAGE as RDF ====="
curl ${RDBROOT}/${DATASET} -u admiral:admiral -H "Accept: applic... | bhavanaananda/DataStage | test/RDFDatabank/getmanifest.sh | Shell | mit | 343 |
#!/bin/sh
while true; do
esc -o web/static.go -pkg web -prefix web/static web/static/
go run main.go -w -dev -r -q
if [ $? != 0 ] ; then
esc -o web/static.go -pkg web -prefix web/static web/static/
exit
fi
echo restarting
done
| Dieterbe/bosun | cmd/bosun/w.sh | Shell | mit | 237 |
echo "!! You can call \`bash runplatonsmind.sh\` before running this script on a separate terminal and keep it alive"
echo "!! over multiple runs of this script, which will greatly speed up an ensemble test. CHARON will"
echo "!! automatically detect if platonsmind is already running!"
echo ""
lua ../../Sources/... | hoelzl/Academia | Scenario/rescue/runeverythingonce.sh | Shell | mit | 403 |
#!/bin/bash
# Weaving with simple math in terminal
# https://bitbucket.org/livibetter/weave.sh
# Copyright (c) 2013 Yu-Jie Lin
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of
# this software and associated documentation files (the "Software"), to deal in
# the Software without restr... | pipeseroni/weave.sh | weave.sh | Shell | mit | 2,165 |
#!/bin/sh
cat << EOC | su - postgres -c "psql postgres"
DROP DATABASE IF EXISTS centerui_restore;
DROP DATABASE IF EXISTS centerui_backup;
CREATE DATABASE centerui_restore ENCODING 'UTF-8';
EOC
PGPASSWORD=centerui pg_restore -h 127.0.0.1 -U centerui -O -x -1 -n public -d centerui_restore /var/lib/xroad/dbdump.dat
c... | ria-ee/X-Road | src/packages/xroad/debian/lucid/center_restore_db.sh | Shell | mit | 754 |
#!/bin/sh
[ $# -eq 7 ] && p4merge "$2" "$5" | Jinx364/bashrc | p4diff.sh | Shell | mit | 43 |
#!/bin/bash
# The benchmarks of all toolkits
python benchmark.py -config ./configs/mxnet_bm2cpu1.config -post True
python benchmark.py -config ./configs/mxnet_bm2cpu2.config -post True
python benchmark.py -config ./configs/mxnet_bm2cpu4.config -post True
python benchmark.py -config ./configs/mxnet_bm2cpu8.config -post... | hclhkbu/dlbench | batch-bencmarks-cpu-gpu20_mxnet.sh | Shell | mit | 468 |
#!/bin/sh
python benchmarks/scripts/benchmark-hudson.py $1 bibd benchmarks/Bibd/bibdline*[0-9].minion
python benchmarks/scripts/benchmark-hudson.py $1 bibd-watched benchmarks/Bibd/bibdline*watched.minion
python benchmarks/scripts/benchmark-hudson.py $1 solitaire benchmarks/solitaire/*.minion
python benchmarks/scripts/b... | LeslieW/minion | benchmarks/scripts/runall-hudson.sh | Shell | gpl-2.0 | 931 |
#!/bin/bash
# apply all patches to the juce modules
echo ""
echo "...patch file: modules/juce_audio_devices/native/juce_linux_JackAudio.cpp"
patch modules/juce_audio_devices/native/juce_linux_JackAudio.cpp patches/juce_linux_JackAudio.cpp.patch
echo ""
echo ""
| kronihias/ambix | JUCE/apply_patches.sh | Shell | gpl-2.0 | 267 |
#! /bin/sh
. ../../testenv.sh
export GHDL_STD_FLAGS=--std=08
analyze repro.vhdl
elab_simulate test
analyze --ieee=synopsys test.vhdl
elab_simulate --ieee=synopsys test
clean
echo "Test successful"
| tgingold/ghdl | testsuite/gna/issue227/testsuite.sh | Shell | gpl-2.0 | 202 |
#! /bin/sh
# Copyright (C) 2010-2014 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 ... | kuym/openocd | tools/automake-1.15/t/libobj20c.sh | Shell | gpl-2.0 | 1,483 |
#!/bin/bash
#############################################################################
# #
# Created by Matthew Gal #
# 2015 - Oct - 8 #
# ... | sonus89/bash_scripts | openocd.sh | Shell | gpl-2.0 | 4,690 |
#!/bin/bash
#
# Common helper functions for etl shell scripts.
#
# Author: Just van den Broecke
#
# Log message to stdout
pr() {
if [ -z "${1:-}" ]; then
return 1
fi
echo -n " $@"
}
# Util: error mesg and exit
function error() {
echo "ERROR: $1"
exit -1
}
# Util: usage and exit
function usage(... | justb4/inspire-foss | etl/NL.Kadaster/bin/helper-functions.sh | Shell | gpl-3.0 | 1,367 |
#!/bin/sh
# On some operating systems, e.g. SunOS-4.1.1_U1 on sun3x,
# rename() doesn't accept trailing slashes.
# Also, ensure that "mv dir non-exist-dir/" works.
# Also, ensure that "cp dir non-exist-dir/" works.
# Copyright (C) 2004-2017 Free Software Foundation, Inc.
# This program is free software: you can redis... | adtools/coreutils | tests/mv/trailing-slash.sh | Shell | gpl-3.0 | 2,072 |
#!/bin/sh
orig_dark='rgba(183,58,52,1.000)'
orig_light='rgba(206,52,52,1.000)'
orig_dark1='rgb(183,58,52)'
orig_light1='rgb(206,52,52)'
function makeColors {
folder=$1
dark=$2
light=$3
rm -rf $folder
cp -r adult $folder
cd $folder
for f in *.js; do
sed -i .bak "s/$orig_dark/$dark/" $f
sed -i .bak "s/$orig_... | shaunlebron/PterodactylAttack | project/swf/pteros/makeAdultColors.sh | Shell | gpl-3.0 | 831 |
#!/bin/bash
usage(){
echo "
Written by Brian Bushnell
Last modified January 21, 2015
Description: Transforms two matched identity matrices into 2-column format,
one row per entry, one column per matrix.
Usage: matrixtocolumns.sh in1=<matrix1> in2=<matrix2> out=<file>
Java Parameters:
-Xmx ... | abiswas-odu/Disco | bbmap/matrixtocolumns.sh | Shell | gpl-3.0 | 2,128 |
#!/bin/bash
#
# Verify part - Test the SERDES ring between the RSP by verifing the crosslet statistics.
#
rm -f *.dat
rm -f *.diff
# Capture crosscorrelation data for 1 sec
rspctl --xcstat --duration=1
# Verify the captured data
xc_dat=$(ls *.dat)
diff $xc_dat gold/xst_160.gold > xst.diff
if [ -e $xc_dat ] && [ ... | kernsuite-debian/lofar | LCU/StationTest/xc_160_verify.sh | Shell | gpl-3.0 | 568 |
#!/bin/bash
#
# megashares.com module
# Copyright (c) 2011-2012 Plowshare team
#
# This file is part of Plowshare.
#
# Plowshare 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,... | drewc/plowshare | src/modules/megashares.sh | Shell | gpl-3.0 | 13,614 |
#!/bin/sh
export LC_ALL="en_US.UTF-8"
PROC_KEYPAD="/proc/keypad"
PROC_FIVEWAY="/proc/fiveway"
[ -e $PROC_KEYPAD ] && echo unlock > $PROC_KEYPAD
[ -e $PROC_FIVEWAY ] && echo unlock > $PROC_FIVEWAY
# KOReader's working directory
KOREADER_DIR="/mnt/us/koreader"
# Load our helper functions...
if [ -f "${KOREADER_DIR}/li... | erosennin/koreader | platform/kindle/koreader.sh | Shell | agpl-3.0 | 8,581 |
#Root needed
if [ "$EUID" -ne 0 ]
then echo "Please run as root"
exit
fi
#!/bin/bash
#Color code
blue=`tput setaf 2`
red=`tput setaf 1`
yellow=`tput setaf 3`
reset=`tput setaf 7`
mkdir OSHardeningLogs
#Intro
echo "${yellow}Welcome to OSHardening Scripts${reset}"
echo "${yellow}Github: github.com/NitescuLucian/OSH... | NitescuLucian/OSHardening | ubuntu_16.10.sh | Shell | lgpl-3.0 | 3,765 |
#!/bin/bash
TABLE=demos.test
bq rm $TABLE
# create a JSON description for table
bq mkdef 'gs://cloud-training-demos/sandiego/sensor_obs2008.csv' TIMESTAMP:timestamp,LATITUDE:float,LONGITUDE:float,FREEWAY_ID:string,FREEWAY_DIR:string,LANE:integer,SPEED:float | sed 's/ "skipLeadingRows": 0/ "skipLeadingRows": 1/g' > s... | turbomanage/training-data-analyst | courses/streaming/explore/create_federated_table.sh | Shell | apache-2.0 | 385 |
#!/bin/bash
#
#
# Run mock in docker
set -ex
_DOCKER_IMAGE=centos:7
export MOCK_CONFIG=epel-7-x86_64
if [[ ! -f /.dockerenv ]]; then
#
# Running on host, fire up a docker container a run it.
#
if [[ ! -f configure.self ]]; then
echo "$0 must be run from librdkafka top directory"
exi... | LiberatorUSA/GUCEF | dependencies/librdkafka/packaging/rpm/mock-on-docker.sh | Shell | apache-2.0 | 828 |
#!/bin/bash
#
# Copyright 2017 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... | werkt/bazel | src/test/shell/integration/outputs_test.sh | Shell | apache-2.0 | 5,363 |
#!/bin/bash
cd `dirname $0`
BIN_DIR=`pwd`
cd ..
DEPLOY_DIR=`pwd`
CONF_DIR=$DEPLOY_DIR/conf
SERVER_NAME=`sed '/dubbo.application.name/!d;s/.*=//' conf/dubbo.properties | tr -d '\r'`
SERVER_PROTOCOL=`sed '/dubbo.protocol.name/!d;s/.*=//' conf/dubbo.properties | tr -d '\r'`
SERVER_PORT=`sed '/dubbo.protocol.port/!d;s/.*=... | wu560130911/MultimediaDesktop | Server/src/main/scripts/start.sh | Shell | apache-2.0 | 2,893 |
grep -rlw libs/thread -e "TIME_UTC" | xargs sed -i 's/TIME_UTC/TIME_UTC_/g'
grep -rlw boost/thread -e "TIME_UTC" | xargs sed -i 's/TIME_UTC/TIME_UTC_/g'
./bootstrap.sh --prefix=/export/home/kandinsky/nmellado/workspace_globOpt/3rdparty/boost_1_49_0/install cxxflags=-fPIC
./b2 --build-dir=/export/home/kandinsky/nmellado... | amonszpart/globOpt | globfit/installGlobfit.sh | Shell | apache-2.0 | 681 |
#!/usr/bin/env bash
# Copyright 2016 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... | zasdfgbnm/tensorflow | tensorflow/tools/ci_build/ci_sanity.sh | Shell | apache-2.0 | 19,237 |
#!/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"); yo... | shimamoto/incubator-predictionio | conf/pio-vendors.sh | Shell | apache-2.0 | 2,059 |
# Subscribes to attribute updates. Replace $THINGSBOARD_HOST_NAME and $ACCESS_TOKEN with corresponding values.
mosquitto_sub -d -h "$THINGSBOARD_HOST_NAME" -t "v1/devices/me/attributes" -u "$ACCESS_TOKEN"
# For example, $THINGSBOARD_HOST_NAME reference live demo server, $ACCESS_TOKEN is ABC123:
mosquitto_sub -d -h "dem... | thingsboard/thingsboard.github.io | docs/reference/resources/mosquitto-attributes-subscribe.sh | Shell | apache-2.0 | 379 |
#!/bin/sh
# Copyright (c) 2015 Magnet Systems, 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 appli... | magnetsystems/message-server | tools/install/cloud/bin/mysqlUbuntu.sh | Shell | apache-2.0 | 689 |
#!/bin/bash
# Copyright (C) 2013-2014 Computer Sciences Corporation
#
# 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 r... | ezbake/ezbake-security-build-vm | provisioning/npm_installation.sh | Shell | apache-2.0 | 1,424 |
# $FreeBSD: soc2013/dpl/head/gnu/usr.bin/binutils/ld/elf64ltsmip_fbsd.sh 185966 2008-12-11 08:18:45Z imp $
. ${srcdir}/emulparams/elf64ltsmip.sh
. ${srcdir}/emulparams/elf_fbsd.sh
GENERATE_PIE_SCRIPT=yes
| dplbsd/soc2013 | head/gnu/usr.bin/binutils/ld/elf64ltsmip_fbsd.sh | Shell | bsd-2-clause | 204 |
#!/bin/sh
#-
# Copyright (c) 2010 iXsystems, 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:
# 1. Redistributions of source code must retain the above copyright
# notice, this list of con... | dplbsd/soc2013 | head/usr.sbin/pc-sysinstall/backend-query/disk-part.sh | Shell | bsd-2-clause | 3,515 |
# Copyright 2014 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.
if [ "${NACL_SHARED}" != "1" ]; then
# Without this the test for libpng fails with undefined math functions
export LIBS="-lz -lm"
fi
EXECUTABLES="
... | Schibum/naclports | ports/libwebp/build.sh | Shell | bsd-3-clause | 384 |
#!/bin/bash
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Abort on error.
set -e
LSB_FILE=/etc/lsb-release
# Load common constants and variables.
. "$(dirname "$0")/common.sh"
usage() {
ec... | coreboot/vboot | scripts/image_signing/ensure_sane_lsb-release.sh | Shell | bsd-3-clause | 5,005 |
#!/bin/sh
# Copyright (c) 2016 The SAYCBridge Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
apt-get update
apt-get install git build-essentials python-pip python-dev
git clone --recursive https://github.com/eseidel/saycbridge.git
cd s... | abortz/saycbridge | scripts/setup_instance.sh | Shell | bsd-3-clause | 351 |
#!/bin/sh
set -e
commitMessage=$1
parentDir=$(cd $(dirname $(cd $(dirname $0);pwd));pwd)
cd "${parentDir}"
isClean=$(git status --porcelain)
if [ -z "${isClean}" ]; then
# Working directory clean
git pull
git push
else
# Uncommitted changes
git stash
git pull
git stash pop
if [ -n "${commitMessage}" ]... | watilde/jser.info | tools/git-sync.sh | Shell | mit | 708 |
#!/usr/bin/env bash
. "$(dirname "$0")/testlib.sh"
ensure_git_version_isnt $VERSION_LOWER "2.1.0"
begin_test "track (--no-modify-attrs)"
(
set -e
reponame="track-no-modify-attrs"
git init "$reponame"
cd "$reponame"
echo "contents" > a.dat
git add a.dat
# Git assumes that identical results from `stat... | github/git-lfs | t/t-track-attrs.sh | Shell | mit | 762 |
#!/bin/bash
#
##########################################################################
#Red Hat Enterprise Linux 6 - DISA STIG Compliance Remediation Content
#Copyright (C) 2013
#Vincent C. Passaro (vince@buddhalabs.com)
#
##########################################################################
#
#################... | atomicturtle/t-stig | aqueduct-0.4/compliance/Bash/STIG/rhel-6/prod/RHEL-06-000078.sh | Shell | mit | 3,170 |
#!/usr/bin/env sh
# See http://adamwathan.me/2014/12/28/test-coverage-code-climate-travis-ci
php vendor/bin/test-reporter --stdout > codeclimate.json
curl -X POST -d @codeclimate.json -H 'Content-Type: application/json' -H 'User-Agent: Code Climate (PHP Test Reporter v0.1.1)' https://codeclimate.com/test_reports | idimensionz/sendgrid-webapi-v3-php | codeclimate.sh | Shell | mit | 314 |
#!/sbin/busybox sh
#
#Set Max Mhz for GPU
echo 600000000 > /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/max_gpuclk
#Set Max Mhz speed and booted flag to set Super Max
echo 1890000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq;
echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_booted;
# Remount FileSys... | cphelps76/DEMENTED_kernel_n8013 | Ramdisks/sbin/post-init.sh | Shell | gpl-2.0 | 1,282 |
#!/bin/sh
#
# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by ... | netroby/jdk9-shenandoah-hotspot | test/test_env.sh | Shell | gpl-2.0 | 4,253 |
#!/bin/bash
echo $(basename $BASH_SOURCE) 'running........'
wd=$1
echo $wd
source $wd/toposat.ini
# creates a listpoints for each ERA-grid
# Returns number of cells in ERA-Grid extent"
ncells=$(Rscript getRasterDims.R $wd spatial/eraExtent.tif)
echo "Setting up simulation directories for $ncells ERA-Grids"
# set... | joelfiddes/toposubv2 | workdir/makeListpoints.sh | Shell | gpl-3.0 | 731 |
pip install -r requirements.txt
source ${CONFIG_FILES}
source config/fake_manifest.conf
source config/installation_environment.conf
source config/auth_servers.conf
source config/provision_libvirt_install.conf
source config/proxy_config_environment.conf
source config/subscription_config.conf
source config/sat6_repos_ur... | sghai/robottelo-ci | scripts/satellite6-libvirt-install.sh | Shell | gpl-3.0 | 2,437 |
#!/bin/sh
../../bin/mcx -A -f 10benchmark-fourierx2d.json -b 1 -s 10benchmark-fourierx2d "$@"
| bernhardkaplan/mcx | example/srctest/run_10benchmark-fourierx2d.sh | Shell | gpl-3.0 | 95 |
while read buf; do
line=`echo $buf | tr -d '\n'`
addr=`echo $line | sed -e 's/^.*[<>()]\([0-9]*\.[0-9]*\.[0-9]*\.[0-9]\).*/\1/'`;
descr=`whois -h riswhois.ripe.net $addr | grep -i 'descr' | tail -1 | sed -e 's/descr://g' -e 's/ //g'`
echo "$line\t$addr\t$descr"
done
| yasuhiro-ohara-ntt/bgpdump2 | script/search_prefix_name.sh | Shell | gpl-3.0 | 285 |
#!/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... | turbomanage/training-data-analyst | courses/developingapps/v1.2/python/pubsub-languageapi-spanner/start/prepare_web_environment.sh | Shell | apache-2.0 | 1,740 |
#!/bin/bash
yesterday=`date --date="now -1 day" +"%Y-%m-%d %H:%M:%S"`
weekbefore=`date --date="now -7 day" +"%Y-%m-%d %H:%M:%S"`
#`date --date="now" +"%Y-%m-%d %H:%M:%S"`
#echo 'yesterday is:'$yesterday
today=`date --date="now" +"%Y-%m-%d %H:%M:%S"`
#echo 'today is:'$today
result1=`python job_main.py "$yesterday" "$tod... | zhaochl/bash-utils | utils/run_job_main_crontab.sh | Shell | apache-2.0 | 544 |
#!/bin/bash
set -e -x
if [ ! -x /usr/bin/jq ]; then
echo "This script relies on 'jq' to process JSON output."
echo "Please install it before continuing."
exit 1
fi
OS_AUTH_TOKEN=$(openstack token issue | grep ' id ' | awk '{print $4}')
IRONIC_URL="http://127.0.0.1:6385"
IRONIC_API_VERSION="1.34"
export... | jiazichenzhan/Server_Manage_Plugin | ironic-plugin-pike/api-ref/regenerate-samples.sh | Shell | apache-2.0 | 10,696 |
#!/bin/bash
set -o errexit
for d in $(ls perl); do
echo "*** CHECKING $d ***"
thisperl="$(pwd)/perl/$d/perl/bin/perl"
"$thisperl" -v
"$thisperl" -V
echo ""
done
| mongodb/mongo-perl-driver | .evergreen/toolchain/validate-win-perls.sh | Shell | apache-2.0 | 172 |
#!/bin/bash -e
# 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")... | tebeka/arrow | python/manylinux1/scripts/install_cmake.sh | Shell | apache-2.0 | 1,038 |
#!/bin/sh
# Simple script to build boost-irods, configure irods to use it, rebuild
# irods with it, and run the test suite.
#
# For now, the buildboost.sh has been commented out as an initial step
# in switching to a system-installed boost. We no longer have to build
# boost.
set -x
date
cd /tbox/IRODS_BUILD/iRODS
mak... | iPlantCollaborativeOpenSource/irods-3.3.1-iplant | server/test/tbox/boostTest.sh | Shell | bsd-3-clause | 631 |
#!/opt/local/bin/tcsh -f
# Script for the simulation
#
# the location of benchmark
set path = ../bin
set dpath = ../data
#benchmark name
set benchmark = rawcaudio
set data = clinton.pcm
set out = out.adpcm
#benchmark options
set options =
set input = "< ${dpath}/${data}"
set output = "3> ${dpath}/${out}"
set args = "$... | JianpingZeng/xcc | xcc/test/mediabench4/adpcm/dinero/scripts/run_encode.sh | Shell | bsd-3-clause | 806 |
#!/bin/bash
# !!! This script should be run in dsn project root directory (../../).
#
# Options:
# INSTALL_DIR <dir>
if [ -z "$INSTALL_DIR" ]
then
echo "ERROR: no INSTALL_DIR specified"
exit -1
fi
if [ ! -d "builder/output" ]
then
echo "ERROR: not build yet"
exit -1
fi
mkdir -p $INSTALL_DIR
if ... | imzhenyu/rDSN | bin/Linux/install.sh | Shell | mit | 1,451 |
#!/bin/bash
FN="hgu133a2frmavecs_1.2.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.12/data/annotation/src/contrib/hgu133a2frmavecs_1.2.0.tar.gz"
"https://bioarchive.galaxyproject.org/hgu133a2frmavecs_1.2.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-hgu133a2frmavecs/bioconductor-hgu133a... | bebatut/bioconda-recipes | recipes/bioconductor-hgu133a2frmavecs/post-link.sh | Shell | mit | 1,454 |
#!/bin/bash
FN="BSgenome.Vvinifera.URGI.IGGP8X_0.1.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.10/data/annotation/src/contrib/BSgenome.Vvinifera.URGI.IGGP8X_0.1.tar.gz"
"https://bioarchive.galaxyproject.org/BSgenome.Vvinifera.URGI.IGGP8X_0.1.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-b... | Luobiny/bioconda-recipes | recipes/bioconductor-bsgenome.vvinifera.urgi.iggp8x/post-link.sh | Shell | mit | 1,542 |
#!/bin/bash
#
# Copyright (C) 2013 Team XBMC
# http://mrmc.tv
#
# 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 is dis... | virtuallysafe/mrmc | tools/Linux/packaging/mk-debian-package.sh | Shell | gpl-2.0 | 5,336 |
source $wd/toposat.ini
# Returns number of cells in ERA-Grid extent"
ncells=$(Rscript getRasterDims.R $wd spatial/eraExtent.tif)
echo "Setting up simulation directories for $ncells ERA-Grids"
# set up sim directoroes #and write metfiles
for Ngrid in $(seq 1 $ncells); do
gridpath=$wd'/grid'$Ngrid
Rscript toposub_po... | joelfiddes/toposubv2 | workdir/spatialise.sh | Shell | gpl-3.0 | 366 |
#!/bin/bash
source ./config.sh
source ./util.sh
ACCOUNT_NUM=1238
SUBSCRIBER_ID=$(lookup_account_num $ACCOUNT_NUM)
if [[ $? != 0 ]]; then
exit -1
fi
curl -H "Accept: application/json; indent=4" -u $AUTH -X GET $HOST/api/tenant/cord/subscriber/$SUBSCRIBER_ID/
| xmaruto/mcord | xos/api/examples/cord/get_subscriber.sh | Shell | apache-2.0 | 266 |
#!/usr/bin/env bash
# Copyright 2016 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... | xzturn/tensorflow | tensorflow/go/genop/generate.sh | Shell | apache-2.0 | 1,804 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.