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
MAIN_SBIN='/usr/shellgui/progs/main.sbin'
main() {
shellgui '{"action":"check_session","session_type":"http-session","session":"'"$COOKIE_session"'"}' &>/dev/null
[ $? -ne 0 ] && printf "Location: /?app=login\r\n\r\n" && return 1
eval $(/usr/shellgui/progs/main.sbin l_p '_LANG_Form_' ${FORM_app} $COOKIE_lang)... | link4all/20170920openwrt | own_files/qca953x/files_9531shellgui_gobinet_OK/usr/shellgui/shellguilighttpd/www/apps/notice/lib.sh | Shell | gpl-2.0 | 6,278 |
#!/bin/bash
# Date: April 2, 2014
# by Aldy Hernandez
# Attempt to fix any "-m elf64ppc" linker checks in configure and
# libtool.m4 files.
#
# This script is meant to run silently as part of rpm's %configure
# macro. It either fixes the problem, or we silently ignore it, in
# which case it is up to the package main... | ahs3/bootstrap | scripts/libtool-handle-ppc64le.sh | Shell | gpl-2.0 | 3,373 |
#/bin/bash
set -e # exit if any command fails
setenv() {
export RAILS_ENV=test
export RUBYOPT=-W1
export IN_RBL_TESTENV=true
export PATH_TO_LDAPSYNC=$(pwd)
export RUBY_VERSION=$(ruby -e 'print RUBY_VERSION')
if [[ -z "$REDMINE" ]]; then
echo "You have not set REDMINE"
exit 1
fi
if [ "$VERBOSE" ... | SICSoftwareGmbH/redmine_ldap_sync | script/ci.sh | Shell | gpl-3.0 | 4,758 |
#!/bin/bash
for f in $@ ;
do
NAME=`basename $f .tex`;
rm -rf $NAME;
awk -v NAME=$NAME '{sub(/FILENAME/,NAME);print}' Head.tex > tmp.tex;
latex tmp.tex;
latex tmp.tex;
latex tmp.tex;
tex4ht tmp.tex;
awk '{sub(/tmp.css/,"bonmin.css") ; sub(/>tmp</,">BONMIN Options pages<") ; print}' tmp.html | sed -e's/##/#/g' > toto.ht... | phines/acsimsep | ThirdParty/Coin-Bonmin/Bonmin/doc/option_pages/genHtml.sh | Shell | gpl-3.0 | 368 |
#!/bin/bash
gnuplot test_g/DoS-L=16_PP=8-7/temp/*.plot
convert -delay 10 -loop 0 test_g/DoS-L=16_PP=8-7/graphs/{1..20}.jpg animate-DoS-L=16_PP=8-7.gif
| nlare/Landau-Wang-omp | plot_test_g_graph-L=2D_16_PP=8-7.sh | Shell | gpl-3.0 | 151 |
#!/bin/sh
HOST='waws-prod-sn1-003.ftp.azurewebsites.windows.net'
USER='$open-cart'
PASSWD='b0v22TwzoPtv7ESsnfyT74xoFZZjPawpRbsuZ9kfd4jGBeaLE4q2wXT7xoXH'
ncftp -u $USER -p $PASSWD $HOST <<END_SCRIPT
passive
binary
mput *.yml
mput *.xml
mput *.md
mput *.json
mput *.txt
mput *.sql
mput *.dist
mput *.stackdump
mput *.prop... | juanisorondo/TestingOpenCart | upload-ftp.sh | Shell | gpl-3.0 | 418 |
# pipe commands to fifo file
echo -n "$1" > $2 & | brainfoolong/omxwebgui | omx-pipe.sh | Shell | gpl-3.0 | 49 |
#!/usr/bin/env bash
# Confirm that a record is not vacuumed if it is locked when the 1st
# fast vacuuming run occurs on the node on which it was deleted, but
# is dropped from the delete queue
. "${TEST_SCRIPTS_DIR}/integration.bash"
set -e
ctdb_test_init
db="vacuum_test.tdb"
key="key"
echo "Stall vacuuming on al... | kernevil/samba | ctdb/tests/INTEGRATION/database/vacuum.030.locked.sh | Shell | gpl-3.0 | 2,745 |
#!/bin/sh
SOURCES="../../../source/core/pifs_entry.c \
../../../source/core/pifs.c \
../../../source/core/pifs_file.c \
../../../source/core/pifs_fsbm.c \
../../../source/core/pifs_delta.c \
../../../source/core/pifs_wear.c \
../../../source/core/pifs_helper.c \
../../../source/core/pifs_merge.c \
../../../source/core/... | ivanovp/pifs | demo/nucleo-f413zh_pifs/Src/link.sh | Shell | gpl-3.0 | 640 |
# bash/zsh completion support for core Git.
#
# Copyright (C) 2006,2007 Shawn O. Pearce <spearce@spearce.org>
# Conceptually based on gitcompletion (http://gitweb.hawaga.org.uk/).
# Distributed under the GNU General Public License, version 2.0.
#
# The contained completion routines provide support for completing:
#
# ... | cead22/dotfiles | git-completion.bash | Shell | gpl-3.0 | 57,424 |
#!/bin/bash
set -o errexit
cd $(dirname $0)/..
source test/db-common.sh
# set db connection for if running in a seperate container or not
dbconn="-u root"
if [[ ! -z "MYSQL_CONTAINER" ]]; then
dbconn="-u root -h 127.0.0.1 --port 3306"
fi
# Drop all users to get a fresh start
mysql $dbconn < test/drop_users.sql
for ... | mozmark/boulder | test/create_db.sh | Shell | mpl-2.0 | 946 |
#!/bin/sh
#############################################################################
##
## Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
## All rights reserved.
## Contact: Nokia Corporation (qt-info@nokia.com)
##
## This file is the build configuration utility of the Qt Toolkit.
##
## $QT_BEGIN_... | igor-sfdc/qt-wk | tests/auto/xmlpatternsxqts/summarizeBaseline.sh | Shell | lgpl-2.1 | 1,800 |
#!/bin/bash
ethercalc ${ETHERCALC_OPTS} &
| inn1983/docker-builder | www-apps/ethercalc/latest/start.sh | Shell | lgpl-3.0 | 44 |
#!/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... | groschovskiy/firebase-for-banking-app | Demo/Pods/Target Support Files/Pods-Banking/Pods-Banking-frameworks.sh | Shell | apache-2.0 | 5,587 |
#!/usr/bin/env bash
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "Licen... | davidkarlsen/camel | examples/camel-example-spring-cloud-servicecall/service/src/main/bash/consul-run-osx.sh | Shell | apache-2.0 | 1,567 |
#!/bin/bash
# This script tests the high level end-to-end functionality demonstrated
# as part of the examples/sample-app
source "$(dirname "${BASH_SOURCE}")/../../hack/lib/init.sh"
os::util::environment::setup_time_vars
trap os::test::junit::reconcile_output EXIT
export VERBOSE=true
function wait_for_app() {
os:... | robertol/origin | test/end-to-end/core.sh | Shell | apache-2.0 | 45,022 |
#!/bin/sh
echo "********************************************************"
echo "Starting the Zipkin Server"
echo "********************************************************"
java -Djava.security.egd=file:/dev/./urandom -Dserver.port=$SERVER_PORT \
-Dspring.profiles.active=$PROFILE \
... | sjphiChina/life | util-zipkin/src/main/docker/run.sh | Shell | apache-2.0 | 449 |
API_TOKEN=`cat api_token.txt`
SO_ID=`cat SO.id`
curl -i -X GET -H "Content-Type: application/json" \
-H "Authorization: $API_TOKEN" \
http://localhost:8080/$SO_ID/actuations/$1
echo
| servioticy/servioticy-vagrant | puppet/files/demo/actuation/show_action_status.sh | Shell | apache-2.0 | 186 |
# COPYRIGHT_MAY_GO_HERE
# This script expects the following variables to be defined:
# READS = reads file
# START_POSITION = start index in the reads file
# END_POSITION = end index in the reads file
# INDEX_DIRECTORY = directory that contains the indexed database
# INDEX_PREFIX = name of the indexed database to sea... | CampagneLaboratory/gobyweb2-plugins | plugins/aligners/LAST_BISULFITE_V2/script.sh | Shell | apache-2.0 | 2,868 |
#!/bin/bash
if [ "$#" -ne 1 ]; then
echo "Usage: ./run_locally.sh mainclass-basename"
echo "Example: ./run_oncloud.sh Grep"
exit
fi
MAIN=com.google.cloud.training.dataanalyst.javahelp.$1
export PATH=/usr/lib/jvm/java-8-openjdk-amd64/bin/:$PATH
mvn compile -e exec:java -Dexec.mainClass=$MAIN
| GoogleCloudPlatform/training-data-analyst | courses/data_analysis/lab2/javahelp/run_locally.sh | Shell | apache-2.0 | 306 |
#!/bin/sh
valgrind --tool=memcheck --leak-check=yes -v ./https_client -s 127.0.0.1:1443 -c 100 -n 100 -S -k
| hankwing/Squirrel | library/acl/lib_acl_cpp/samples/ssl/https_client/valgrind.sh | Shell | apache-2.0 | 110 |
#!/usr/bin/env bash
set -e
cd `dirname $0`/../..
ROOT=`pwd`
TMP=build/tmp/test
${ROOT}/scripts/build.sh
mkdir -p ${TMP}/flatc_compat
rm -rf ${TMP}/flatc_compat/*
bin/flatcc -a -o ${TMP}/flatc_compat test/monster_test/monster_test.fbs
cp test/flatc_compat/*.{json,mon,c} ${TMP}/flatc_compat/
cd ${TMP}/flatc_compat
cc... | dvidelabs/flatcc | test/flatc_compat/flatc_compat.sh | Shell | apache-2.0 | 502 |
#!/bin/bash
unset CDPATH
cd "$( dirname "${BASH_SOURCE[0]}" )"
source ../../bashbooster.sh
SRC_DIR="$( bb-tmp-dir )"
DST_DIR="$BB_WORKSPACE/testdir"
bb-event-on bb-cleanup 'rm -rf "$DST_DIR"'
bb-event-on dir-changed on-dir-changes
on-dir-changes() {
echo "Dir changed $1"
}
bb-sync-dir "$DST_DIR" "$SRC_DIR" 'dir... | d5ve/Bash-Booster | unit tests/sync-dir/test.sh | Shell | bsd-2-clause | 1,181 |
#!/bin/bash
# Download rkt from GitHub
wget https://github.com/coreos/rkt/releases/download/v0.5.5/rkt-v0.5.5.tar.gz
# Unpack the rkt files and move to final destination
tar xzvf rkt-v0.5.5.tar.gz
cd rkt-v0.5.5
sudo mv rkt /usr/local/bin/
sudo mv stage1.aci /usr/local/bin/
rm -rf rkt-v0.5.5
# Create a rkt user and g... | amos6224/learning-tools | rkt/setup.sh | Shell | mit | 720 |
#!/bin/sh
service samba status
export RESULT=$?
if [ $RESULT = 0 ]; then #running
exit 0
else
exit 1
fi
| BrianAdams/openrov-dashboard | linux/service-scripts/status-samba.sh | Shell | mit | 123 |
#!/bin/bash
FN="brainImageRdata_1.2.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.9/data/experiment/src/contrib/brainImageRdata_1.2.0.tar.gz"
"https://bioarchive.galaxyproject.org/brainImageRdata_1.2.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-brainimagerdata/bioconductor-brainimagerd... | mdehollander/bioconda-recipes | recipes/bioconductor-brainimagerdata/post-link.sh | Shell | mit | 1,322 |
#!/bin/sh
. ${BUILDPACK_TEST_RUNNER_HOME}/lib/test_utils.sh
createPom()
{
cat > ${BUILD_DIR}/pom.xml <<EOF
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
... | Jalyo/java-buildpack-jrebel | test/compile_test.sh | Shell | mit | 4,173 |
#!/bin/sh
# Copyright 2013 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicab... | NXT-F1V3/android_vendor_nxt5 | factory-images/generate-factory-images-package.sh | Shell | gpl-2.0 | 896 |
#!/usr/bin/env bash
# Copyright (c) the JPEG XL Project Authors. All rights reserved.
#
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
set -euo pipefail
encoder="$(dirname "$0")"/TAppEncoderHighBitDepthStatic
cfg_dir="$(dirname "$0")"/../../../third_party/HEVCSo... | AlienCowEatCake/ImageViewer | src/ThirdParty/libjxl/libjxl-0.6.1/tools/benchmark/hm/encode.sh | Shell | gpl-3.0 | 2,058 |
#!/bin/bash
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
#
# Copyright (c) 2014, Joyent, Inc.
#
#
# This is intended to provide pkgsrc for a live image GZ when ... | numericillustration/sdc-headnode | devtools/devmode.sh | Shell | mpl-2.0 | 2,185 |
#!/bin/bash
# this is also part of flatten.sh; really need to make these a shell library
set_spark_dfs_perms() {
sudo -su hdfs hadoop fs -mkdir -p /user/spark/applicationHistory
sudo -su hdfs hadoop fs -chmod 1777 /user /user/spark/applicationHistory
sudo -su hdfs hadoop fs -chmod 777 /user/spark
id spark >/dev/n... | splicemachine/spliceengine | assembly/dbaas3.1/src/main/resources/scripts/set-spark-dfs-perms.sh | Shell | agpl-3.0 | 516 |
#!/bin/bash
# Tests the OUTCONTAINER crawler mode
# Returns 1 if success, 0 otherwise
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root"
exit 1
fi
docker rm -f test_crawl_interface_container_1 2> /dev/null > /dev/null
docker run -d --name test_crawl_interface_container_1 ubuntu sleep 60 2> /dev... | canturkisci/agentless-system-crawler | tests/old/test_crawl_interface_container.sh | Shell | apache-2.0 | 587 |
#!/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... | juhalindfors/bazel-patches | src/java_tools/junitrunner/javatests/com/google/testing/junit/runner/antxmlresultwriter_integration_test.sh | Shell | apache-2.0 | 1,780 |
#! /bin/bash
#
# Copyright 2009-2011 The VOTCA Development Team (http://www.votca.org)
#
# 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
#
# U... | richardjgowers/csg | share/scripts/inverse/solve_octave.sh | Shell | apache-2.0 | 1,379 |
#!/bin/sh
#
# 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 ... | rombert/jackrabbit-oak | oak-run/run_concurrent_login.sh | Shell | apache-2.0 | 2,606 |
#!/bin/bash
#defaults
DEF_INPUTS=medium.input
#don't modify from here
BASE_DIR=$(dirname $0)/..
source $BASE_DIR/run/run.common
parse_args $*
set_values
exec_all_files
| joao-lima/bots | run/run-uts.sh | Shell | mit | 174 |
#! /bin/bash
# shellcheck disable=SC1091
. ./config.sh
start_suite "Launch 2 scopes and check they cluster (without weave)"
scope_on "$HOST1" launch --no-app "$HOST2"
scope_on "$HOST2" launch --no-probe
docker_on "$HOST1" run -dit --name db1 peterbourgon/tns-db
sleep 30 # need to allow the scopes to poll dns, reso... | alban/scope | integration/215_clustering_split_2_test.sh | Shell | apache-2.0 | 445 |
wget https://github.com/thingsboard/thingsboard/releases/download/v3.3/thingsboard-3.3.rpm
| volodymyr-babak/thingsboard.github.io | docs/user-guide/install/resources/3.3/thingsboard-centos-download.sh | Shell | apache-2.0 | 91 |
#!/bin/bash
FN="chickenprobe_2.18.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.9/data/annotation/src/contrib/chickenprobe_2.18.0.tar.gz"
"https://bioarchive.galaxyproject.org/chickenprobe_2.18.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-chickenprobe/bioconductor-chickenprobe_2.18.0_s... | jfallmann/bioconda-recipes | recipes/bioconductor-chickenprobe/post-link.sh | Shell | mit | 1,430 |
#!/bin/sh
# Copyright (C) 2002-2013 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... | DDTChen/CookieVLC | vlc/extras/tools/automake/t/cond25.sh | Shell | gpl-2.0 | 1,010 |
#
# Prepare for the BACKUP=YUM method.
#
# Try to care about possible errors
# see https://github.com/rear/rear/wiki/Coding-Style
set -e -u -o pipefail
# What files and programs need to be included in the ReaR recovery system.
# Use "${ARRAY[@]:-}" to avoid unbound variable "${ARRAY[@]}" when ARRAY=():
COPY_AS_IS=( "... | phracek/rear | usr/share/rear/prep/YUM/default/400_prep_yum.sh | Shell | gpl-3.0 | 3,313 |
#!/bin/bash
#######################################################################################################
###
### Script to running in sequence
### - FD subtraction of D-h correlations in pp and p-Pb
### - reflection of plots in 0-pi range
### - average of different D meson results... | jmargutt/AliPhysics | PWGHF/correlationHF/macros/ProducePlotChain_NewpPb.sh | Shell | bsd-3-clause | 48,953 |
if [ -n "$BASH_VERSION" -o -n "$KSH_VERSION" -o -n "$ZSH_VERSION" ]; then
[ -x /usr/bin/id ] || return
ID=`/usr/bin/id -u`
[ -n "$ID" -a "$ID" -le 200 ] && return
# for bash and zsh, only if no alias is already set
alias vi >/dev/null 2>&1 || alias vi=vim
fi
| wadzapi/wadzapiSheToolls | vim.sh | Shell | gpl-2.0 | 269 |
#
# show the last job that ran
# if no backupset is defined, query the user for it
if ! test "$GALAXY7_BACKUPSET" ; then
let c=0 ; while read ; do backupsets[c++]="$REPLY" ; done < <(
qlist backupset -c $HOSTNAME -a Q_LINUX_FS
)
LogPrint "
Found the following backupsets:
$(
for ((d=0 ; d<c ; d++)) ; do
echo... | krissi/rear | usr/share/rear/verify/GALAXY7/default/50_select_backupset.sh | Shell | gpl-2.0 | 569 |
# North is not used
echo done
| y-trudeau/openswan-patch-meraki | testing/pluto/ike-algo-02/northrun.sh | Shell | gpl-2.0 | 31 |
#!/bin/bash
export inputImageIntensityMin=0
export inputImageIntensityMax=550
export bufferRadius=2
export scales="0.5,1,2,4"
if [ "$#" -eq 0 ]; then
echo "TubeTKTubeEnhancementTrainer <inputImage1> <inputImage2> <inputImage3> <vesselMask> <trainingResultsBasename>"
echo " <inputImage> = image used to learn th... | aylward/ITKTubeTK | examples/archive/TubeEnhancement/TubeTKTubeEnhancementTrainer-CTA3Phase.sh | Shell | apache-2.0 | 2,285 |
#!/bin/sh
############
#
#
# H1 --> h1-e0 : h1-e1
# |-br-h1-r1-|
# r1-e0 <-- R1 --> r1-e1
# |-br-r1-r2-|
# r2-e1 <-- R2 --> r2-e0
# |-br-r2-h2-|
# h2-e1 : h2-e0 <-- H2
#
BRCTL=brctl
IP=ip
KVM=kvm
SCREEN=tutorial
BRIDGES="br-h1-r1 br-r1-r2 br-r2-h2"
INTERFACES="h1-eth1 h2-eth1 $BRIDGES"
NAMESPACES="h1 h2... | capveg/ONL | tools/docker.tutorial/kvm-router-demo.sh | Shell | epl-1.0 | 6,618 |
#!/bin/sh
rm -rf exlcm
| cheshirekow/codebase | third_party/lcm/examples/lua/cleanup.sh | Shell | gpl-3.0 | 24 |
#! /bin/bash
file=$1
sed "s/-0.000/ 0.000/g" $file > $file.$$.tmp
mv $file.$$.tmp $file
| PabloPiaggi/plumed2 | regtest/scripts/fixzeroes.sh | Shell | lgpl-3.0 | 91 |
#!/bin/bash
# Find the transitive closure of overlay dependencies for a single overlay.
# Runs the following command in a loop until the list stops growing:
# xcrun -sdk macosx clang -arch x86_64 -x objective-c - -M -fmodules < <(echo '@import SceneKit;@import AppKit;')
# There are two ways an overlay ``foo`` shows up... | rudkx/swift | utils/find-overlay-deps-closure.sh | Shell | apache-2.0 | 3,913 |
#!/bin/bash
# helper script for phrase extraction
# (c) 2011-2012 Ulrich Germann
# txtdir - directory with gzipped plain text files
# sntdir - directory with files in Giza's .snt format, also including the .OK files
# produced by giza.txt2snt.sh
# gizdir - directory where aligned corpus resides
# L1,L2 - lang... | shyamjvs/cs626_project | stat_moses/tools/moses/contrib/m4m/scripts/moses.extract-phrases.sh | Shell | apache-2.0 | 2,032 |
doctoc --title '**Commands List**' commands.md | chenbaihu/ledisdb | doc/doctoc_commands.sh | Shell | mit | 47 |
#!/bin/bash
# Copyright (c) Microsoft. All rights reserved.
# Licensed under the MIT license. See LICENSE file in the project root for full license information.
build_root=$(cd "$(dirname "$0")/.." && pwd)
cd $build_root
# -- C --
./build_all/linux/build.sh "$@"
[ $? -eq 0 ] || exit $?
| marcschier/azure-uamqp-c | jenkins/linux_c_gcc44.sh | Shell | mit | 289 |
R CMD REMOVE --library=$PREFIX/lib/R/library/ MeSH.Xtr.eg.db
| joachimwolff/bioconda-recipes | recipes/bioconductor-mesh.xtr.eg.db/pre-unlink.sh | Shell | mit | 61 |
#!/bin/sh
# By default U-Boot loads DTB from a file named "system.dtb", so
# let's use a symlink with that name that points to the *first*
# devicetree listed in the config.
FIRST_DT=$(sed -nr \
-e 's|^BR2_LINUX_KERNEL_INTREE_DTS_NAME="xilinx/([-_/[:alnum:]\\.]*).*"$|\1|p' \
${BR2_CONFIG... | masahir0y/buildroot-yamada | board/zynqmp/post-image.sh | Shell | gpl-2.0 | 456 |
. ${srcdir}/emulparams/elf32ppc.sh
TEXT_START_ADDR=0x10000000
| shaotuanchen/sunflower_exp | tools/source/binutils-2.16.1/ld/emulparams/elf32ppcsim.sh | Shell | bsd-3-clause | 62 |
#!/bin/bash
#
# Run a series of 14 tests under KVM. These are not particularly
# well-selected or well-tuned, but are the current set. Run from the
# top level of the source tree.
#
# Edit the definitions below to set the locations of the various directories,
# as well as the test duration.
#
# Usage: sh kvm.sh [ opt... | mingit/mstcp_v0.89.4 | tools/testing/selftests/rcutorture/bin/kvm.sh | Shell | gpl-2.0 | 5,446 |
#!/usr/bin/env bash
# Grab and save the path to this script
# http://stackoverflow.com/a/246128
SOURCE="${BASH_SOURCE[0]}"
while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink
DIR="$(cd -P "$(dirname "$SOURCE")" && pwd)"
SOURCE="$(readlink "$SOURCE")"
[[ $SOURCE != /* ]] && SOURCE="... | chrisl8/ArloBot | scripts/load-map.sh | Shell | mit | 1,382 |
#!/bin/bash
#pushIndexHTMLToPublicWebServer.sh
# this script runs on the Beasley Weather Station server and generates the
# index.html webpage based on the master.db sqlite weather database.
# The index.html is sent to the web server which directly serves the public
SERVER_USER=badger
SERVER_DB_DIR=/home/$SERVER_US... | beasley-weather/server | scripts/pushIndexHTMLToPublicWebServer.sh | Shell | mit | 446 |
#!/bin/bash
set -xe
# You can run it from any directory.
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# This will:
# 1. clean the project
# 2. run lint
# 3. run tests under JVM
# 4. package apk
# 5. check the code quality
# 6. run tests on the device/emulator.
# We run each step separate... | AlexKomm/todududu | ci.sh | Shell | mit | 736 |
sh install_dependencies.sh
if [ ! -d _build ]; then
mkdir _build
fi
cd _build
cmake .. && make
| kyle-piddington/ShaderTool | build.sh | Shell | mit | 97 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-1600-1
#
# Security announcement date: 2012-10-09 00:00:00 UTC
# Script generation date: 2017-02-06 21:02:36 UTC
#
# Operating System: Ubuntu 12.04 LTS
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - firefox:16.0+build1-0ubuntu0.12.04.1... | Cyberwatch/cbw-security-fixes | Ubuntu_12.04_LTS/x86_64/2012/USN-1600-1.sh | Shell | mit | 1,099 |
#!/bin/bash
# Unpack secrets; -C ensures they unpack *in* the .travis directory
tar xvf .travis/secrets.tar -C .travis
# Setup SSH agent:
eval "$(ssh-agent -s)" #start the ssh agent
chmod 600 .travis/build-key.pem
ssh-add .travis/build-key.pem
# Setup git defaults:
git config --global user.email "solocommand@gmail.co... | limit-zero/releaser | bin/deploy.sh | Shell | mit | 1,132 |
# ls
alias ls='ls --color=auto -h --group-directories-first'
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
# grep
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
# flexget
alias flexget="docker-compose -f /media/raid/flexget/docker-compose.yml exec flexget flexg... | jawilson/dotfiles | oh-my-zsh/dotfiles-custom/alias.zsh | Shell | mit | 1,693 |
#!/bin/sh
# Enter shell script or pipeline below.
| Cyberbully/COMP2041-15s2 | tests/test1/9.sh | Shell | mit | 51 |
#!/bin/bash
DIST_DIR=dist
DIST_REPO=distRepo
CURR_REV="Release $(git rev-parse --short HEAD)"
mkdir -p shippable
cp -R "$DIST_DIR" shippable
if [ "$BRANCH" != master ]; then
echo 'Only deploying master branch';
exit 0;
fi
if [ ! -d "$DIST_DIR" -o ! "$(ls -A $DIST_DIR)" ]; then
echo 'Project should have ... | amera7md/my-website | deploy.sh | Shell | mit | 755 |
#!/bin/bash
cd ~/Sites/pip-boy-200/pebblejs
pebble logs --phone=192.168.1.6 | HAZARDU5/pip-boy-200 | scripts/device-logs-home.command | Shell | mit | 76 |
set -e
cd /data
# Dump the SQLite database
sqlite3 test_database.db ".backup test_database.db.bak"
| ViViDboarder/docker-duplicity-cron | tests/test-pre-scripts/backup/before/pre-backup.sh | Shell | mit | 101 |
#!/bin/bash
set -e
exec docker run -d \
--name apt-cacher-ng \
--restart always \
--dns 8.8.8.8 --dns 8.8.4.4 \
--tmpfs /var/cache/apt-cacher-ng \
tianon/apt-cacher-ng "$@"
| jakirkham/dockerfiles | apt-cacher-ng/run.sh | Shell | mit | 179 |
#!/bin/bash
#SBATCH --job-name=UF.1k.np2
#SBATCH --qos=janus
###SBATCH --time=12:00:00
#SBATCH --time=4:00:00
#SBATCH --nodes 1
#SBATCH --ntasks-per-node 2
#SBATCH --output=/lustre/janus_scratch/pamo8800/output/slurm-%j.out
#SBATCH --error=/lustre/janus_scratch/pamo8800/error/slurm-%j.err
export OMP_NUM_THREADS=1
mo... | patemotter/trilinos-prediction | tpetra_solvers/batch_scripts/janus/janus_np2.sh | Shell | mit | 1,039 |
#!/bin/bash
# This is the installation script for installing the Percero Framework
# server side infrasctructure.
#
# !!!! WARNING !!!!
# This script must be run with '. pfserver-install.sh' not './pfserver-install.sh'
#
# This script assumes that all components will be hosted on the same
# AWS instance.
#
# @author ... | ActiveStack/gateway | scripts/pfserver-install.sh | Shell | mit | 8,852 |
#!/bin/bash
. ../assert.sh
FLOW=$1
cp lib/lib.js lib/lib.js.orig
# This should not cause the Flow server to die
assert_ok $FLOW force-recheck --no-auto-start lib/lib/js
echo "first status, after recheck"
assert_errors $FLOW status --no-auto-start 2>/dev/null
# This also should not cause the Flow server to die
touch ... | MichaelDeBoey/flow | tests/modified_lib/test.sh | Shell | mit | 818 |
#!/bin/sh
# fail fast
set -e
exec 2>&1
case $(uname -s) in
Darwin)
echo "--> Installing packages on OSX.."
;;
*)
echo "--> system not supported $(uname -s)"
exit 1
;;
esac
function errf()
{
r=$?
cmd="$BASH_COMMAND"
line="${BASH_LINENO[0]}"
echo "--> Barfed at $cmd:$line, exiting"
exit $r
}
function... | kamlou/dotfiles | osx-install.sh | Shell | mit | 3,281 |
#!/usr/bin/env zsh
alias becat="$(dirname $0)/becat"
| soimort/becat | becat.plugin.zsh | Shell | mit | 53 |
#!/bin/bash
checkuser()
{
awk -F":" '{ print $1 }' /etc/passwd | grep -x $1 > /dev/null
return $?
}
checkuser $1
if [ $? != 0 ]; then
adduser --disabled-password --gecos "" $1
mkdir /home/$1/.ssh
cp $2 /home/$1/.ssh/authorized_keys
chown $1:$1 /home/$1/.ssh/
chown $1:$1 /home/$1/.ssh/authori... | shlee322/slack-backho-bot | modules/telnet/checkuser.sh | Shell | mit | 406 |
#!/bin/sh
rm -rf src
rm -rf dist
rm -rf node_modules
rm -rf .babelrc
rm -rf .eslintrc.json
rm -rf package.json
rm -rf package.json.bk
| hiromaily/go-gin-wrapper | web/frontend_workspace/hiromaily/reset.sh | Shell | mit | 135 |
#!/bin/bash
WorkDir=/home/uqtedwar/g2c/data/gene_expression_data
cd $WorkDir/sagittal_P14_data/niftis
#for i in *
#do
i=Dcc_P14_sagittal_100038991_200um
echo $i
filename=$i
filename="${filename%.*}"
## resize voxels to match reference image
mrresize $filename.nii -voxel 16.752,16.752,25 $filename_scale.n... | noashin/g2c | Scripts/Reshape_sagittal_expression.sh | Shell | mit | 866 |
#!/bin/bash
# create multiresolution windows icon
ICON_SRC=../../src/qt/res/icons/autocoin.png
ICON_DST=../../src/qt/res/icons/autocoin.ico
convert ${ICON_SRC} -resize 16x16 autocoin-16.png
convert ${ICON_SRC} -resize 32x32 autocoin-32.png
convert ${ICON_SRC} -resize 48x48 autocoin-48.png
convert autocoin-16.png autoco... | MitchellMintCoins/AutoCoin | share/qt/make_windows_icon.sh | Shell | mit | 359 |
#
# Example file for log functions
#
SHELL_UTILS_DIR="$(dirname $0)/shell-utils"
. "${SHELL_UTILS_DIR}/all.sh"
print_header "Colors"
print_color "black" "Black"
print_color "blue" "Blue"
print_color "green" "Green"
print_color "cyan" "Cyan"
print_color "red" "Red"
print_color "purple" "Purple"
print_color "brown" "Br... | rcmachado/shell-utils | examples.sh | Shell | mit | 921 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DSA-2656-1
#
# Security announcement date: 2013-03-29 00:00:00 UTC
# Script generation date: 2017-01-01 21:06:31 UTC
#
# Operating System: Debian 6 (Squeeze)
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - bind9:1:9.7.3.dfsg-1~squeeze10
#
#... | Cyberwatch/cbw-security-fixes | Debian_6_(Squeeze)/x86_64/2013/DSA-2656-1.sh | Shell | mit | 639 |
#!/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... | inigo333/IMLocalize | Example/Pods/Target Support Files/Pods-IMLocalize_Example/Pods-IMLocalize_Example-frameworks.sh | Shell | mit | 3,617 |
#!/bin/sh
# A list of one-line service backups, suitable for use as Cron schedules. Files
# overwrite rather than including a timestamp, to allow for easy updates from a
# dedicated backup program such as Duplicity.
#
# All backups are written to /root/backups , and compressed using bzip2 .
PATH=/usr/sbin:/usr/bin:/... | tiredpixel/dev-tiredpixel | 2014-09-18-ops-service-backups/service_backups.sh | Shell | mit | 980 |
#!/bin/sh
# (Re)Installs the release APK on a connected device or emulator.
#
# Arguments:
# $1 -- optional flag like "-d" to force it to use an ADB USB Device.
# Defaults to "-e".
adb "${1:--e}" install -r app/build/outputs/apk/BBQTimer-release.apk
| 1fish2/BBQTimer | bin/install-release.sh | Shell | mit | 261 |
#!/bin/bash
POS1="$1"
POS2="$2"
POS3="$3"
echo "첫 위치 파라미터: $1"
echo "두번째 파라미터 : $2"
echo "세번째 파라미터 : $3"
echo "아규먼트 위치 파라미터 총 개수 : $#"
echo "아규먼트의 내용들 : $@"
echo "쉘 프로세스 ID : $$"
| zzsza/TIL | Linux/shell_parameter.sh | Shell | mit | 277 |
#!/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... | juancruzmdq/NLService | Example/Pods/Target Support Files/Pods-NLService_Example/Pods-NLService_Example-frameworks.sh | Shell | mit | 3,877 |
#!/bin/bash
echo "Redis Config: "
cat /redis/redis.conf
echo "Given Variables: Redis Node Port: $REDIS_NODE_PORT, Replication Factor: $REDIS_REPLICATION"
########### INIT NODE ###########
if [ "$1" == "init" ]; then
echo "Getting Container List for Service $service" #available in ENV VAR CONTAINER Key-Vale: Host... | Ausbilder/docker_rancher_redis_cluster | bootstrap.sh | Shell | mit | 972 |
#!/bin/sh
###
# SET UP YOUR PERSONAL CONFIGURATION
# Note: Install and run this on a user with sudo access from their home folder i.e. ~/
# - Make sure this file has execution permissions, $ chmod +x server_setup.sh
# - Also, configure strider.upstart.conf in advance if you have environemnt variables to set
###
... | bitwit/fsto-cd-slides | server_setup.sh | Shell | mit | 2,075 |
#!/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... | jawjay/Guitar_Tuning | Pods/Target Support Files/Pods-Guitar_DesignTests/Pods-Guitar_DesignTests-frameworks.sh | Shell | mit | 3,700 |
#!/bin/bash
END=$1
docker pull arcolife/docker_comp
for i in $(seq 1 $END);
do
docker run -it -d arcolife/docker_comp
done
# docker ps > containers_details
# cd scripts/
# python read_container_details.py
# cd ..
docker inspect $(docker ps -q | head -n $END) > container_info.json
# docker inspect $(docker ... | coolhacks/docker-hacks | examples/team-fullmetal/dockerComp/src/client/scripts/launch.sh | Shell | mit | 557 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DLA-243-1
#
# Security announcement date: 2015-06-10 00:00:00 UTC
# Script generation date: 2017-01-01 21:08:57 UTC
#
# Operating System: Debian 6 (Squeeze)
# Architecture: i386
#
# Vulnerable packages fix on version:
# - libraw:0.9.1-1+deb6u1
#
# Last versio... | Cyberwatch/cbw-security-fixes | Debian_6_(Squeeze)/i386/2015/DLA-243-1.sh | Shell | mit | 609 |
#! /usr/bin/env bash
mkdir -p ~/.vim
mkdir -p ~/.vim/plugin
mkdir -p ~/.vim/autoload
mkdir -p ~/.vim/bundle
# install pathogen
if ! [ -f ~/.vim/autoload/pathogen.vim ]; then
curl https://raw.githubusercontent.com/tpope/vim-pathogen/master/autoload/pathogen.vim > ~/.vim/autoload/pathogen.vim
fi
# add pathogen infect ... | jasper-lyons/Vimpm | vimpm.sh | Shell | mit | 745 |
#!/bin/bash
/usr/bin/python /home/ec2-user/PSP0201/remote/server.py | prevwong/PSP0201 | remote/PSP0201REMOTE.sh | Shell | mit | 69 |
#!/bin/bash
#
# Download Tarball From SOFTLAYER
# Author: frekele
#
set -e
echo 'SoftLayer Not Implemented Yet!' | frekele/helicopterizer | scripts/provider/softlayer/tarball/download.sh | Shell | mit | 114 |
#!/bin/bash
if [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "master" ]; then
mvn deploy
else
echo "Travis Build Skipped!"
fi
| evildracula/JavaOnMsProject | .travis/after_success.sh | Shell | mit | 152 |
#!/usr/bin/env bash
set -uex
MODEL=$1
PART=$2
BEAM_SIZE=$3
LM=${LM:=nolm}
LM_PATH=${LM_PATH:=data/lms/wsj_trigram_no_initial_eos}
ls $MODEL/reports || mkdir $MODEL/reports
COMMON_CMD="--char-discount=1.0"
COMMON_LM_CONF="net.lm.weight 0.5 net.lm.no_transition_cost 20"
[ $LM == nolm ] && COMMON_CMD="--char-discount=... | nke001/attention-lvcsr | exp/wsj/decode.sh | Shell | mit | 751 |
##########################################################################################
#
# Xposed framework installer zip.
#
# This script installs the Xposed framework files to the system partition.
# The Xposed Installer app is needed as well to manage the installed modules.
#
####################################... | SarahAnnTolsma/divulge | tools/xposed/flash-script.sh | Shell | mit | 5,731 |
#!/bin/bash
# create multiresolution windows icon
ICON_DST=../../src/qt/res/icons/CurrentCoin.ico
convert ../../src/qt/res/icons/CurrentCoin-16.png ../../src/qt/res/icons/CurrentCoin-32.png ../../src/qt/res/icons/CurrentCoin-48.png ${ICON_DST}
| Azotroph/current | share/qt/make_windows_icon.sh | Shell | mit | 245 |
echo "Step 1/4: Installing Homebrew"
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
echo "Step 2/4: Downloading Homebrew libraries"
brew tap homebrew-bundle
brew bundle
echo "Step 3/4: Creating .bash_profile"
bash_profile=~/.bash_profile
if [ -f $bash_profile ]; t... | gakimball/dotfiles | setup.sh | Shell | mit | 855 |
#!/bin/bash
brew install ansible
# Required for SSH with password and Ansible
brew install http://git.io/sshpass.rb
brew install cntlm
brew install ctop
brew install pre-commit
brew install shfmt
brew install shellcheck
brew install diff-so-fancy
# Inspect Docker Image layers
# https://github.com/wagoodman/dive
... | nwinkler/dotfiles | install_dev.sh | Shell | mit | 1,234 |
#!/bin/bash
set -ex
echo "Enabling automatic GUI login for the '$USERNAME' user.."
python /private/tmp/set_kcpassword.py "$PASSWORD"
/usr/bin/defaults write /Library/Preferences/com.apple.loginwindow autoLoginUser "$USERNAME"
| bitrise-tools/replica | resources/data/packer/scripts/autologin.sh | Shell | mit | 229 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.