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
clear
cd ../../../..
cd frameworks/av
git apply -v --check ../../device/homtom/ht17_pro/patches_decker/0001-mtk-audio-fix.patch
git apply -v --check ../../device/homtom/ht17_pro/patches_decker/0002-fix-access-wvm-to-ReadOptions.patch
git apply -v --check ../../device/homtom/ht17_pro/patches_decker/0003-add-... | vo-1/android_device_ht17_pro | patches_decker/check-patches.sh | Shell | gpl-2.0 | 808 |
#! /bin/sh
# Copyright (C) 2008-2022 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 ... | autotools-mirror/automake | t/instmany-mans.sh | Shell | gpl-2.0 | 4,357 |
#!/bin/sh
echo "Installation of hardware benchmark tool nbench on Poky os"
cd
wget http://www.tux.org/~mayer/linux/nbench-byte-2.2.3.tar.gz
tar -xvf nbench-byte-2.2.3.tar.gz
cd nbench-byte-2.2.3
sed -i 's/-static//' Makefile
make
echo "nbench has been successfully installed"
echo "Verify this by executing './nbench'"
... | sarweshkumar47/Packages-install-on-intel-galileo-poky-os | benchmark_tool_install/nbench_tool_on_Poky/nbench_tool_install_poky.sh | Shell | gpl-2.0 | 324 |
echo "--------------"
cat source/main.cpp | base64 | base64 -D | tail -n7
echo "--------------"
cat source/main.cpp | base64 | ./base64 -D | tail -n7
echo "--------------"
cat source/main.cpp | ./base64 | base64 -D | tail -n7
echo "--------------"
cat source/main.cpp | ./base64 | ./base64 -D | tail -n7
echo "--... | moa63/base64 | test.sh | Shell | gpl-2.0 | 334 |
#!/bin/bash
set -e
PATH=/opt/logjam/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
mkdir -p /opt/logjam
cd /opt/logjam
git clone https://github.com/skaes/logjam_app.git app
cd app
git submodule init
git submodule update
export BUNDLE_SILENCE_ROOT_WARNING=1
case $(bundle version | awk '{print $3}')... | skaes/logjam-docker | images/code/install-code.sh | Shell | gpl-2.0 | 1,282 |
#!/bin/bash
#
#BSUB -a poe # set parallel operating environment
#BSUB -J tig3d[1-45:1] # job name selecting variable index %5 forces to
# run only 5 jobs concurrently
#BSUB -W 06:00 # wall-clock time (hrs:mins)
#BSUB -n 16 # number of... | arulalant/UMRider | bsubScripts/ncumeps_global_tigge/ncumeps_global_tigge_3d_fcst_00Z.bash | Shell | gpl-2.0 | 2,077 |
#!/bin/sh
#
# $Id: wan.sh,v 1.18 2009-02-09 13:29:37 michael Exp $
#
# usage: wan.sh
#
. /sbin/global.sh
# stop all
killall -q syslogd
killall -q udhcpc
killall -q dhcpcd
killall -q pppd
killall -q l2tpd
killall -q openl2tpd
clone_en=`flashconfig.sh get macCloneEnabled`
clone_mac=`flashconfig.sh get macCloneMac`
#M... | Bytewerk/uClinux-ipcam | vendors/AcceleratedConcepts/romfs-goahead/sbin/wan.sh | Shell | gpl-2.0 | 3,750 |
#!/bin/bash
###############################################################
# Algoritmica, Practica 1
# Medir el tiempo del algoritmo de un algoritmo de ordenación.
###############################################################
# Script de bash que obtiene los datos para el algoritmo
# de ordenación dado como parám... | andreshp/Algoritmica | Practica1/Code/sh/medirOrdenacionLog.sh | Shell | gpl-2.0 | 933 |
#!/bin/sh
# only checking for a sample in each range
check_output()
{
print "Verifying ..."
if [ -n "$1" ]; then
ip maddr show dev a2
if ! ip maddr show dev a2 | grep -q "$1"; then
FAIL "Cannot find (* $1)"
fi
fi
if [ -n "$2" ]; then
cat /proc/net/mcfilter
if ! grep -q "$2" /proc/net/mcfilte... | troglobit/smcroute | test/joinlen.sh | Shell | gpl-2.0 | 4,027 |
#!/bin/bash
# Copyright (C) 2010 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 ap... | vic3t3chn0/sony_device | seagull/extract-files.sh | Shell | gpl-2.0 | 694 |
#!/usr/bin/env bash
# tf-distance-ir-bricklet-stddev-calc.sh
# v1.0 (c) 2013, Martin Seener (martin@seener.de)
# Calculates the standard deviation of the distance-ir-bricklet
# by measuring a user-defined time in seconds whereas every second a sample is recorded
# to a sample_file for later use.
PROGNAME=`basename $... | martinseener/tinkerforge-nagios-checks | distance-ir-bricklet/tf_distance_ir_bricklet_stddev_calc.sh | Shell | gpl-2.0 | 4,089 |
#!/bin/sh
./single_node_lcg_pthread 512 4
| bryantclc/MyRandomAccess | pthread/run_GUPS_t4.sh | Shell | gpl-2.0 | 42 |
convert images/OCS-759-A.png -crop 1545x153+0+0 +repage images/OCS-759-A-0.png
convert -append images/OCS-758-B-9.png images/OCS-759-A-0.png images/OCS-758-B-9.png
rm images/OCS-759-A-0.png
convert images/OCS-759-A.png -crop 1545x221+0+156 +repage images/OCS-759-A-1.png
convert images/OCS-759-A.png -crop 1545x233+0+392... | jonnymwalker/Staroslavjanskij-Slovar | scripts/findindents.OCS-759.sh | Shell | gpl-2.0 | 2,597 |
#!/bin/sh
cd freebsd
test -f distfile && rm -f distfile
make fetch
make makesum
make extract
make
make package
| tcobbs/ldview | QT/freebsd.sh | Shell | gpl-2.0 | 111 |
#!/bin/sh
#
# Note: for this script to work, you need to make sure bash can
# find svn on your system. If it's not in the default
# Windows path, you will have to add it yourself, for
# example like this:
# - create a file /etc/profile.d/svn.sh
# - add this line: export PATH=/c/soft/svn/bi... | taladar/gnucash | packaging/win32/build_tags.sh | Shell | gpl-2.0 | 2,918 |
#!/bin/sh
##############################################################################
#Copyright 2010-2012 Freescale Semiconductor, Inc. All Rights Reserved.
#
#This program is free software; you can redistribute it and/or modify
#it under the terms of the GNU General Public License as published by
#the Free Softwar... | wanghao-xznu/vte | testcases/vte_tests_suite/dvfs_tests/dvfs_per.sh | Shell | gpl-2.0 | 11,579 |
#! /bin/bash
niters=100
for i in `seq 0 20`; do
sources=600
events=$((5800 + 20*$i))
gnuplot << EOF
reset
set term png truecolor size 1024,768
set output "$sources-$events.png"
set xlabel "Events per block"
set ylabel "Sources per block"
set xrange [4:32]
set yrange [2:32]
set cbr... | mathemage/xphi-lhcb | results/event-sort/problem-sizes-variation/100-iterations/600-sources/heatmap.sh | Shell | gpl-3.0 | 552 |
#!/bin/bash
FILES=/data/Phd_final/Phd_evaluation/deadlines/domains/driverlog/POPMER_big_deadlines/config_*
RESULT=/data/Phd_final/Phd_evaluation/deadlines/domains/driverlog/separate_problems_new_domain/
end=$((${#FILES}-1))
i=1
for f in $FILES
do
str="0"$i
echo $str" "$end
endname=${f:$end}
if [ "$endname"... | mudrole1/POPMER | testing_files/deadlines/scripts/bash/make_new_popmer.bash | Shell | gpl-3.0 | 497 |
#!/bin/bash
export INSCRIPT=1
export BASE=$PWD
export DATABASE="spritsim"
. $BASE/setup/lib/functions.sh
infoMsg "Creating temporary directory"
mkdir -p $BASE/{bin,tmp}
export TMPDIR=$BASE/tmp
echo -e "${COLOR_PURPLE}Main Menu${COLOR_NC}"
PS3="Select Job to do: "
select job in setup/*.sh "All" "Done"; do
case "$job... | boerngen-schmidt/commuter-simulation | setup.sh | Shell | gpl-3.0 | 617 |
#!/bin/bash
# Compile with:
# mkdir build
# cd build
# cmake ..
# make
# cd ..
# Default test:
echo "-1 3 -4 5 1 -6 2 1" | build/equi
| efernandez/codility | equi/test.sh | Shell | gpl-3.0 | 137 |
#!/usr/bin/env zsh
typeset -g FILE_PATH="$1"
typeset -g PREVIEW_HEIGHT="$2"
typeset -g FILE_MIMETYPE="$(file --dereference --brief --mime-type -- "${FILE_PATH}")"
function handle_preview() {
case "$FILE_MIMETYPE" {
text/* | */xml) cat "${FILE_PATH}" ;;
application/zip) unzip -l -- "${FILE_PATH}" ;;
appl... | kutsan/dotfiles | .config/lf/previewer.zsh | Shell | gpl-3.0 | 1,320 |
#!/bin/sh
# File: test-mtn2mtn-comments1.sh
# needs: test-mtn2mtn.include
#
# Test for changelog parser (special comments).
#
# No errors found.
. ./test-mtn2mtn.include
monotone_setup
echo "foo" > file.txt
mtn_exec add file.txt
mtn_exec commit --message "initial commit"
# get current revision for adding some more... | lelit/tailor | test-scripts/test-mtn2mtn-comments1.sh | Shell | gpl-3.0 | 599 |
#!/bin/bash
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
nohup rosrun qbo_talk neo_talk.py >$DIR/../log/rosrun_neo_talk.log 2>&1 &
| NachE/robWI | cgi-bin/shell/rosrun_neotalk.sh | Shell | gpl-3.0 | 143 |
#!/bin/bash
M4D_DIR=libMotion4D
TODAY=$(date +'%Y%m%d')
cd ..
zip -r libMotion4D_$TODAY.zip \
$M4D_DIR/CMakeLists.txt \
$M4D_DIR/common.pri \
$M4D_DIR/doxyfile \
$M4D_DIR/m4d.pro \
$M4D_DIR/m4d_sources.pri \
$M4D_DIR/AUTHORS \
$M4D_DIR/README \
$M4D_DIR/COPYING \
$M4D_DIR/NEWS \
$M4D_DIR/libMotion4D.sln \
$M4D_DIR/li... | tauzero7/Motion4D | makeDist.sh | Shell | gpl-3.0 | 3,336 |
#!/bin/sh
# Checkout nuisance
git clone http://nuisance.hepforge.org/git/nuisance.git
# Setup Generators
source $PWD/generator-setup.sh
# Build NUISANCE
mkdir nuisance/build/
cd nuisance/build/
cmake ../ -DUSE_NEUT=1 -DUSE_GENIE=1 -DUSE_NuWro=1
make -j6
make install
source Linux/setup.sh
cd ../../
pwd
echo "Finished... | NUISANCEMC/nuisance | validation/nightly-test/base-comparisons-1/build-script.sh | Shell | gpl-3.0 | 331 |
#!/usr/bin/env bash
wsend_base=$HOME/.wsend
curl -L -s -o $wsend_base/wsend https://raw.github.com/abemassry/wsend/master/wsend
chmod +x $wsend_base/wsend
curl -L -s -o $wsend_base/README.md https://raw.github.com/abemassry/wsend/master/README.md
curl -L -s -o $wsend_base/COPYING https://raw.github.com/abemassry/wsen... | abemassry/wsend | update.sh | Shell | gpl-3.0 | 476 |
#/bin/bash
zip -r plugin_herisson.zip ../src
| Wilkins/herisson-wordpress | tools/generate_plugin.sh | Shell | gpl-3.0 | 45 |
#!/bin/bash
# rofi-power
# Use rofi to call systemctl for shutdown, reboot, etc
# 2016 Oliver Kraitschy - http://okraits.de
OPTIONS="Log out\nReboot system\nPower-off system\nSuspend system\nHibernate system"
LAUNCHER="rofi -width 30 -lines 5 -dmenu -i -p "
USE_LOCKER="false"
LOCKER="i3lock"
if [ ${#1} -gt 0 ]; t... | martastain/caffeine | home/.config/scripts/rofi-power.sh | Shell | gpl-3.0 | 942 |
#!/bin/bash
./$HOME/bash_syn_ibm_2016
vcs -full64 -PP -R -f file_list +v2k +lint=all -l log_name -Mupdate \
+define+SINGLE \
+define+ACAIIN16Q4 \
-timescale=1ns/1ps \
+neg_tchk
vcs -full64 -PP -R -f file_list +v2k +lint=all -l log_name -Mupdate \
+define+SINGLE \
+define+ACAIIN16Q8 \
-timescale=1ns/1ps \
+neg... | GSejas/Dise-o-ASIC-FPGA-FPU | ASIC_FLOW/Approximate_Adders/integracion_fisica/simulacion_logica_behavioral/run_sim.sh | Shell | gpl-3.0 | 3,756 |
#!/bin/sh
source ./vars
echo -n "Password: "
read -s pwd
hammer -u admin -p $pwd content-view list --organization "$ORGANIZATION"
| opuk/satellite | hammer/cv_tool/list-content-views.sh | Shell | gpl-3.0 | 131 |
#!/bin/bash
# -*- ENCODING: UTF-8 -*-
#Asistente de Instalación Inteligente de Software para distribuciones GNU/Linux basados en Ubuntu 12.04
#Scripts de instalación de software de terceros (fuera de los repositorios oficiales de Ubuntu)
#Copyright (C) <2014> <Sebastian Nolberto Lagos Gutierrez, slagosgutierrez@g... | sebalagos90/asistente_instalacion_inteligente | aiis-0_5_0/usr/share/aiis/scripts/_argouml.sh | Shell | gpl-3.0 | 1,162 |
function show_temp(){
sensors | grep -oP '[Tt]emp.?:\s+\K([-\+][\d.]+°C)' -m 1
}
local temp_special='$(show_temp)'
RPROMPT="$RPROMPT ${temp_special}"
| xinhuang/linux-setup | prompt.zsh | Shell | gpl-3.0 | 244 |
#This script generates pseudo-radar observations from WRF outputs.
ulimit -s unlimited
MODELFILE="$HOME/salidas/EXPERIMENTS/ANALYSIS_PARANA_2KM_control_paranacfsr_newobs_60m_radar_grib_Hydra/wrfout...." #Completar con el nombre del file del modelo
RADARDATAPATH="$HOME/share/DATA/OBS/OBS_REAL_PARANA_20091117_CFRADIAL/... | gustfrontar/LETKF_WRF | wrf/obs/radar/scripts/H_run_wrf_to_radar_singlefile.sh | Shell | gpl-3.0 | 2,345 |
# Show the details of the key.
cmd_key_list_help() {
cat <<-_EOF
[ls,list,show] [-r,--raw | -c,--colons] [-a,--all]
Show the details of the key (optionally in raw format or with
colons). A list of all the keys can be displayed as well
(including the revoked and expired ones).
_EOF
}
c... | dashohoxha/egpg | src/cmd/key/list.sh | Shell | gpl-3.0 | 2,170 |
#!/bin/bash
##############################################################################
# gmbootstrap #
# #
# Copyright (C) 2016 Andreas Grapentin ... | oaken-source/gmbootstrap | src/stage_3/steps/6.61.make-4.2.1.sh | Shell | gpl-3.0 | 1,579 |
#
# Configure argument management.
#
# Copyright (C) 2014 Red Hat
#
# 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 3 of the License, or
# (at your option) any later version.
#
# ... | akamensky/sssd | contrib/ci/configure.sh | Shell | gpl-3.0 | 1,685 |
#!/bin/sh
# Make sure that rm -r '' fails.
# Copyright (C) 1997-2019 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 3 of the License, or
# (at yo... | komh/coreutils-os2 | tests/rm/sunos-1.sh | Shell | gpl-3.0 | 1,066 |
#!/bin/sh
# this script will call upon macdeployqt in order to build a deployable .dmg file on OS X
# this script is called from a custom build step that occurs after linking, as specified in the .pro file
# for the project.
echo "RUNNING MACDEPLOYQT"
rm SchoolRegressionAnalysis.dmg
macdeployqt SchoolRegressionAnalys... | dzhi/school-regression-analysis | macbuild.sh | Shell | gpl-3.0 | 371 |
#!/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/instances/10_2_workflow_full_10files_secondary_wmj_3sh_3rs_with_annot_with_proj_3s_range/dags/ubuntu/pegasus/example_workflow/20161108T224657+0000/00/00/mediancpu_0_ID0000004.sh | Shell | gpl-3.0 | 1,237 |
#!/bin/sh
#usage: sh mount_cloudfusion.sh mountpoint
cloudfusion $1
| joe42/nubisave | splitter/mountscripts/mount_cloudfusion.sh | Shell | gpl-3.0 | 68 |
#!/bin/bash
startdir="`pwd`"
make distcheck -j9
cd /tmp
rm -rf crosscomp
mkdir crosscomp
cd crosscomp
cp ${startdir}/frc-team-3341-targeting-1.0.tar.xz .
tar xJf frc-team-3341-targeting-1.0.tar.xz
cd frc-team-3341-targeting-1.0
./configure
cd src
for f in *.cpp
do
armv6j-hardfloat-linux-gnueabi-g++ -I. -I/usr/incl... | frc-team-3341/targeting | rpi-compile.sh | Shell | gpl-3.0 | 622 |
#!/bin/bash
#
# pkg_dirs.sh
#
# Copyright (c) 2017-2018 Decorum Development Team <p01arst0rm@github.com>
#
# 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 of the License, ... | p01arst0rm/decorum-linux | decorum/pkg_dirs.sh | Shell | gpl-3.0 | 794 |
/usr/bin/php /Users/shenpengfei/git_repository/pm_wcc/scrum_project_manage_system/bin/ztcli 'http://www.pm-wcc.com/index.php?m=report&f=remind'
| shshenpengfei/scrum_project_manage_system | bin/dailyreminder.sh | Shell | gpl-3.0 | 144 |
#!/bin/bash
SCRIPT=$(readlink -f "$0")
INSTALLPATH=$(dirname "${SCRIPT}")
TOPDIR=$(dirname "${INSTALLPATH}")
default_ccnet_conf_dir=${TOPDIR}/ccnet
default_seafile_data_dir=${TOPDIR}/seafile-data
default_seahub_db=${TOPDIR}/seahub.db
export SEAFILE_LD_LIBRARY_PATH=${INSTALLPATH}/seafile/lib/:${INSTALLPATH}/seafile/li... | utlemming/seafile | scripts/setup-seafile.sh | Shell | gpl-3.0 | 18,795 |
#!/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-06/20161203T121239+0000/00/00/terminate_0_ID0000016.sh | Shell | gpl-3.0 | 1,237 |
#!/bin/bash
LUA_INTERPR="`which lua5.3`"
if [ -z "$LUA_INTERPR" ]; then
LUA_INTERPR="`which lua5.4`"
fi
function usage {
echo -e "Usage: `basename $0` action parameters"
echo
echo -e "Actions:"
echo -e " sort [lang]: sorts the specified localization file after modification"
echo -e " status [lang]: ver... | ntop/ntopng | tools/localization/localize.sh | Shell | gpl-3.0 | 2,739 |
#!/bin/bash
mkdir ../log > /dev/null 2>&1
mkdir ../datastore > /dev/null 2>&1
python2 /opt/google_appengine/dev_appserver.py . \
--skip_sdk_update_check \
--host=0.0.0.0 \
--admin_host=0.0.0.0 \
--storage_path=../datastore/ \
$@ >> ../log/serverlog.txt 2>&1 &
| insiderr/insiderr-server | run-local.sh | Shell | gpl-3.0 | 284 |
#!/bin/sh
mv -v --no-clobber /usr/share/polkit-1/actions/org.freedesktop.udisks2.policy /usr/share/polkit-1/actions/org.freedesktop.udisks2.policy.old
chown bluepixels:bluepixels /usr/bin/firefox* ; chmod 700 /usr/bin/firefox*
chown bluepixels:bluepixels /usr/bin/google-chrome* ; chmod 700 /usr/bin/google-chrome*
rsync... | shrinidhi666/rbhus | tools/system/sync_ubuntu.sh | Shell | gpl-3.0 | 336 |
#!/bin/bash
ARCH=`uname -m`
composer install --ignore-platform-reqs;
cp Dockerfile .Dockerfile.$ARCH
sed -i "s/\:x86\_64/:$ARCH/g" .Dockerfile.$ARCH
if [ "$ARCH" = "x86_64" ]; then
docker build -t ham8/runtime:latest -f .Dockerfile.$ARCH . ;
docker push ham8/runtime:latest;
else
docker build -t ham8/runt... | HomeAutoM8/runtime | build.sh | Shell | gpl-3.0 | 417 |
#!/bin/bash
####################################################################
# #
# dat2LaTeX: a cloven script by Simone Capodicasa #
# homepage: http://newton.ph.unito.it/~capodica #
# email: capodica@s... | SimoneCapodicasa/dat2LaTeX | dat2LaTeX.sh | Shell | gpl-3.0 | 5,374 |
python -u test.py planar
| peterlzhang/gerris | test/planar.sh | Shell | gpl-3.0 | 25 |
#!/bin/sh
cat << EOF > .monetdb
user=monetdb
password=monetdb
EOF
Mlog -x "$MTIMEOUT java nl.cwi.monetdb.client.JdbcClient -h $HOST -p $MAPIPORT -d ${TSTDB} -f \"$RELSRCDIR/explain.SF-1739353-data.sql\""
rm -f .monetdb
| zyzyis/monetdb | sql/test/BugTracker/Tests/explain.SF-1739353.SQL.sh | Shell | mpl-2.0 | 222 |
#!/bin/bash
rm iarTris.jar 2> /dev/null
rm `find . -d -name '*.class'` 2> /dev/null
javac IartrisMain.java main/iartris/*.java res/ResClass.java score/iartris/HiScore.java
jar cvfm iarTris.jar manifest.mf IartrisMain.* iartris.DAT ./main/iartris/ ./res/ ./score/iartris/
| jcxavier/iartris | make.sh | Shell | mpl-2.0 | 271 |
#!/bin/sh
set -u
set -e
# the user when provisioning is `vagrant`, but files are created by `www-data`
# don't fail if permissions don't get set on all files (useful when reloading the container)
chmod -R 777 storage bootstrap/cache || true
if [ ! -d node_modules ]; then
mkdir -p ~/node_modules
ln -snf ~/node_mo... | Xyloo/osu-web | build.sh | Shell | agpl-3.0 | 889 |
#!/bin/bash
bdir="/data-sde/scripts/convert/stage.okg/"
tilepath="0003"
for x in `ls $bdir ` ; do
echo $x
mkdir -p data/$x
cp $bdir/$x/$tilepath.fj.gz data/$x
done
| curoverse/l7g | sandbox/tilelib/tcp.sh | Shell | agpl-3.0 | 173 |
#!/bin/bash
sleep 9999
| endurox-dev/endurox | atmitest/test068_tpadm/test.sh | Shell | agpl-3.0 | 24 |
#!/usr/bin/env bash
# this downloads test data from jamendo that is then moved to the data folder
# and then can be scanned by the ownCloud filescanner
urls="https://mp3d.jamendo.com/download/track/391005/mp32/
https://mp3d.jamendo.com/download/track/391013/mp32/
https://mp3d.jamendo.com/download/track/391014/mp32/
ht... | pellaeon/music | tests/downloadTestData.sh | Shell | agpl-3.0 | 1,670 |
#!/bin/bash
my_dir="$(dirname "$0")"
source $my_dir/config.cfg
echo "validate that amos server is running ..."
sleep 10
output="$(curl -k -I -sS --request GET ${URL}:${AMOS_PORT}/api/welcome)"
if [[ ${output[0]} == "HTTP/1.1 200 OK"* ]]
then
echo "Server is started!"
exit 0
else
echo "Server is not started!"
... | amos-ws16/amos-ws16-arrowjs-server | deployment-scripts/validate-service.sh | Shell | agpl-3.0 | 331 |
#!/bin/bash
if [ ! -f sonar-scanner/bin/sonar-scanner ]; then
rm -fR sonar-scanner
wget "https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-3.2.0.1227-linux.zip"
unzip sonar-scanner-cli-3.2.0.1227-linux.zip
mv sonar-scanner-3.2.0.1227-linux sonar-scanner
fi;
mysql -u root < scri... | Metatavu/kunta-api-server | travis-before-script.sh | Shell | agpl-3.0 | 336 |
#!/bin/sh
set -o errexit
set -o pipefail
set -o nounset
$@ || true
| ethersphere/go-ethereum | docker/run-smoke.sh | Shell | lgpl-3.0 | 69 |
#!/bin/bash
#
# Configuration script, to be run before compilation
#
# S.Chekanov
CURRENT_DIR=`pwd`
source setup.sh
# destination
DIR=$CURRENT_DIR"/cpp/writer/"
cd $CURRENT_DIR/proto
for filename in *.proto
do
INPUT=${filename}
echo "Processing $INPUT proto file"
protoc --cpp_out=$DIR/src/ $INPUT
protoc ... | Argonne-National-Laboratory/ProMC | examples/templates/promc.sh | Shell | lgpl-3.0 | 426 |
#!/usr/bin/env bash
DOT=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
pushd $DOT/..
java -jar $DOT/marg.jar
popd
| rarescosma/clojure.bat | bin/marg.sh | Shell | unlicense | 120 |
#!/bin/bash
echo "clean zip"
rm lambda-sns-etcd-service-discovery.zip
echo "Run terraform 0.7.x"
terraform destroy -force | maratoid/k2 | ansible/roles/kraken.provider/kraken.provider.aws/test/lambda/down.sh | Shell | apache-2.0 | 122 |
#!/bin/bash
set -x
my_dir=$( cd $(dirname "${BASH_SOURCE}") && pwd )
KUBE_DENSITY_KUBECONFIG=${KUBE_DENSITY_KUBECONFIG:-"$HOME/.kube/config"}
KUBE_DENSITY_OUTPUT_DIR=${KUBE_DENSITY_OUTPUT_DIR:-"$(pwd)/output/density"}
KUBE_DENSITY_SSH_USER=${KUBE_DENSITY_SSH_USER:-"core"}
KUBE_DENSITY_SSH_KEY=${KUBE_DENSITY_SSH_KEY:-... | sostheim/kraken | hack/density.sh | Shell | apache-2.0 | 4,120 |
#!/bin/bash
cd `dirname $0`
BIN_DIR=`pwd`
cd ..
DEPLOY_DIR=`pwd`
CONF_DIR=$DEPLOY_DIR/conf
PIDS=`ps -f | grep java | grep "$CONF_DIR" |awk '{print $2}'`
if [ -n "$PIDS" ]; then
echo "ERROR: already started!"
echo "PID: $PIDS"
exit 1
fi
LOGS_DIR="/var/log/kindo-hub/${project.version}"
if [ ! -d $LOGS_DIR ... | shenghe/kindo-hub | src/kindo-hub/src/main/assembly/bin/start.sh | Shell | apache-2.0 | 1,640 |
#-------------------------------------------------------------------------------
# Copyright 2017 Cognizant Technology Solutions
#
# 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
#
# htt... | CognizantOneDevOps/Insights | PlatformDeployment/RHEL7/reference-DocRoot-Scripts/insights_python.sh | Shell | apache-2.0 | 1,663 |
#!/bin/bash
set -eux
echo 'export ONOS_OPTS=debug' > /opt/onos/options;
echo 'export ONOS_USER=root' >> /opt/onos/options;
mkdir /opt/onos/var;
mkdir /opt/onos/config;
#jdk config
mkdir /usr/lib/jvm/
tar -xzf /opt/jdk-8u*-linux-x64.tar.gz -C /usr/lib/jvm/
mv /usr/lib/jvm/jdk1.8.0_* /usr/lib/jvm/java-8-oracle
touch ... | wuwenbin2/fuel-plugin-onos | deployment_scripts/puppet/modules/onos/files/onos_config.sh | Shell | apache-2.0 | 1,080 |
#!/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");... | LiberatorUSA/GUCEF | dependencies/zookeeper-client-c/tests/zkServer.sh | Shell | apache-2.0 | 5,036 |
#!/bin/sh
### BEGIN INIT INFO
# Provides: carbon-cache
# Required-Start: $apache2
# Required-Stop: $apache2
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start the carbon-cache agent
### END INIT INFO
PATH=/sbin:/bin:/usr/sbin:/usr/bin
. /lib/lsb/init-functions
PIDFILE=/var/run/... | creinig/graphite-vagrant | scripts/init/carbon-cache.sh | Shell | apache-2.0 | 1,045 |
#!/bin/bash
#********************************************************************************
# Copyright 2015-2016 IBM
#
# 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://w... | jparra5/dra_upload_results | git_util.sh | Shell | apache-2.0 | 2,437 |
#!/bin/bash
PASS=${REDIS_PASSWORD:-$(pwgen -s -1 16)}
echo First run of Redis, setting up users...
mkdir -p /config
echo "{\"hosthame\":\"localhost\",\"host\":\"localhost\",\"port\":6379,\"password\":\"$PASS\"}" > /config/credentials.json
echo /config/credentials.json
echo "Securing Redis with a password..."
echo "r... | frodenas/docker-redis | scripts/first_run.sh | Shell | apache-2.0 | 575 |
#!/bin/bash
# python get_test_audio.pytext wavfile.list jsonfile.list score_low score_high output_dir
. ./copy.sh
stage=0
if [ $stage -le 0 ]; then
for x in data_95_100 data_75_80 data_55_60;
do
cat /mnt/jyhou/workspace/my_egs/xiaoying_std/s5c/data/local/$x/utter.list || exit 1;
done > exclude.list... | jingyonghou/XY_QByE_STD | script/get_keyword_audio.sh | Shell | apache-2.0 | 1,723 |
# -----------------------------------------------------------------------------
#
# Package : github.com/goccy/go-yaml
# Version : v1.7.5
# Source repo : https://github.com/goccy/go-yaml
# Tested on : RHEL 8.3
# Script License: Apache License, Version 2 or later
# Maintainer : BulkPackageSearch Automation <sethp@us.ibm... | ppc64le/build-scripts | g/github.com__goccy__go-yaml/github.com__goccy__go-yaml_rhel_8.3.sh | Shell | apache-2.0 | 5,053 |
#!/bin/bash
if [ -z "$1" ]
then
echo "MFA device argument not supplied"
exit 1
else
# The value is either the serial number for a hardware device (such as GAHT12345678 ) or an Amazon Resource Name (ARN) for a virtual device (such as arn:aws:iam::123456789012:mfa/user).
MFA_DEVICE_ID=$1
fi
if [ -z "$... | JohnSnowLabs/spark-nlp | scripts/aws_tmp_credentials.sh | Shell | apache-2.0 | 1,380 |
#!/bin/sh
rm -rf ../bld ; mkdir -p ../bld ; cd ../bld
gcc -Wall -g -c -std=gnu99 ../src/*.c
ar -cvq libkafkalite.a *.o
cd -
gcc -std=gnu99 -g *.c -I ../src/ ../bld/*.o -o ../bld/kltests -lpthread -lcmocka
# ../bld/kltests
valgrind --leak-check=full -v ../bld/kltests
| dana/KafkaLite | tests/run.sh | Shell | apache-2.0 | 268 |
#!/usr/bin/zsh
if [[ -x /usr/bin/cygpath ]]; then
# set mintty colors
echo -ne '\eP\e]10;#839496\a' # Foreground -> base0
echo -ne '\eP\e]11;#002B36\a' # Background -> base03
echo -ne '\eP\e]12;#DC322F\a' # Cursor -> red
echo -ne '\eP\e]4;0;#073642\a' # black -> Base02
echo -... | gordolio/shell-config | oh-my-zsh/custom/cygwin.zsh | Shell | apache-2.0 | 1,259 |
#! /bin/bash
cat << EOF > /etc/nginx/conf.d/default.conf
server_names_hash_bucket_size 64;
server {
root /opt/aptly/public;
server_name ${HOSTNAME};
location / {
autoindex on;
}
}
EOF
| bryanhong/docker-aptly | assets/nginx.conf.sh | Shell | apache-2.0 | 198 |
#
# Run the unit tests associated with the node.js client sdk
#
# Variable to store error results
NODE_ERR_CODE=0
main() {
# Initialization
init
# Start member services
startMemberServices
# Run tests in network mode
export DEPLOY_MODE='net'
runTests
# Run tests in dev mode
export DEPLOY... | linchaoyang/fabric | sdk/node/bin/run-unit-tests.sh | Shell | apache-2.0 | 6,253 |
#!/bin/bash -ex
[ -z "$DEBUG" ] || set -x
HEROKU_APP_DIRECTORY="application"
main() {
git_configure
git_remote_add_for_heroku_app "$HEROKU_APP_DIRECTORY" "$HEROKU_APP_NAME"
git_push_app "$HEROKU_APP_DIRECTORY"
}
git_configure() {
git config --global apply.whitespace nowarn
git config --global user.email "... | phogolabs/concourse-tasks | heroku/deploy.bash | Shell | apache-2.0 | 692 |
#!/bin/bash
#
# Copyright 2014-2015 Red Hat, Inc. and/or its affiliates
# and other contributors as indicated by the @author tags.
#
# 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:... | spadgett/hawkular-metrics | api/diff-pre-commit-hook.sh | Shell | apache-2.0 | 1,309 |
precision mediump float;
uniform float uR;
varying vec3 vPosition;//接收从顶点着色器过来的顶点位置
varying vec4 vAmbient;//接收从顶点着色器过来的环境光分量
varying vec4 vDiffuse;//接收从顶点着色器过来的散射光分量
varying vec4 vSpecular;//接收从顶点着色器过来的镜面反射光分量
void main()
{
vec3 color;
float n = 8.0;//一个坐标分量分的总份数
float span = 2.0*uR/n;... | tigline/mainface | assets/frag.sh | Shell | apache-2.0 | 1,097 |
#!/bin/bash -eu
./docker/tls/generate-root-certs.sh
mkdir -p client_tls
rm -f client_tls/*
cp docker/tls/root.key client_tls/root.key
cp docker/tls/root.pem client_tls/root.pem
cp docker/tls/untrusted_root.key client_tls/untrusted_root.key
cp docker/tls/untrusted_root.pem client_tls/untrusted_root.pem
cd client_tls
... | dkhwangbo/druid | integration-tests/docker/tls/generate-client-certs-and-keystores.sh | Shell | apache-2.0 | 689 |
#!/bin/bash
# E2E test for gcloud_build_image script.
# 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unle... | GoogleCloudPlatform/esp-v2 | prow/e2e-gcloud-build-image.sh | Shell | apache-2.0 | 4,702 |
#!/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-vision | .kokoro/readme.sh | Shell | apache-2.0 | 1,561 |
#!/bin/bash
# socat -u -v tcp-l:2525,reuseaddr,fork system:'cat > $(mktemp -p . $(date +%s).XXX); say "Ding!"'
# socat -u -v tcp-l:2525,reuseaddr,fork system:'cat > $(mktemp -p . $(date +%s).XXX); say -r300 "ding!"; reattach-to-user-namespace osascript -e \"display alert \\\"🎉🎉🎉 INCOMING MAIL 🎉🎉🎉\\\" as critical... | ramn/gists-public | src/socat_mailbox.sh | Shell | apache-2.0 | 970 |
#!/usr/bin/env bash
cd `dirname $0`
docker build -t bhenk/rs-aggregator . | EHRI/rs-aggregator | docker-build.sh | Shell | apache-2.0 | 75 |
function configure_cdh_hadoop() {
local OPTIND
local OPTARG
ROLES=$1
shift
CLOUD_PROVIDER=
while getopts "c:" OPTION; do
case $OPTION in
c)
CLOUD_PROVIDER="$OPTARG"
;;
esac
done
case $CLOUD_PROVIDER in
ec2 | aws-ec2 )
# Alias /mnt as /data
ln -s /mnt /dat... | ekoontz/whirr | services/cdh/src/main/resources/functions/configure_cdh_hadoop.sh | Shell | apache-2.0 | 3,584 |
mkdir -p ./erln8
docker build -t reo/builder_centos7 .
docker run -i -v ${PWD}/erln8:/erln8 reo/builder_centos7 << COMMANDS
git clone https://github.com/erln8/erln8.git reo
cd /reo
dub build
cp /reo/reo /erln8/erln8
cp /reo/reo /erln8/reo
cp /reo/reo /erln8/reo3
COMMANDS
cp ../../LICENSE ./erln8/
cp ../install.sh ./erl... | erln8/erln8 | binary_gen/centos7/build.sh | Shell | apache-2.0 | 361 |
#!/bin/bash
set -eu
file_path=`find ./pivnet-opsman-product/ -name *.ova`
echo $file_path
export GOVC_TLS_CA_CERTS=/tmp/vcenter-ca.pem
echo "$GOVC_CA_CERT" > $GOVC_TLS_CA_CERTS
govc import.spec $file_path | python -m json.tool > om-import.json
cat > filters <<'EOF'
del(.Deployment) |
.Name = $vmName |
.DiskProvis... | mcb/pcf-pipelines | install-pcf/vsphere/tasks/import-opsman/task.sh | Shell | apache-2.0 | 1,435 |
#!/usr/bin/env bash
#
# Usage:
# ./test.sh
#
# Test scenario:
# - enables Docker plugin
# - creates Docker volume using the plugin
# - runs container with the volume mounted and writes file to the volume (memorize MD5 of the file)
# - mounts NS filesystem locally to get and memorize MD5 of the file
# - run... | Nexenta/nexenta-docker-driver | tests/bash/test.sh | Shell | apache-2.0 | 2,050 |
#!/usr/bin/env bash
set -e
cd "$(dirname "$0")"
if [ "$(uname)" == "Darwin" ]; then
export GOOS="${GOOS:-linux}"
fi
export GOFLAGS="${GOFLAGS} -mod=vendor"
mkdir -p "${PWD}/bin"
echo "Building plugins ${GOOS}"
PLUGINS="plugins/meta/* plugins/main/* plugins/ipam/*"
for d in $PLUGINS; do
if [ -d "$d" ]; then
plug... | containernetworking/plugins | build_linux.sh | Shell | apache-2.0 | 471 |
#!/bin/sh
docker build -t simonellistonball/provisioner ./
| simonellistonball/PiWiNiFi | cloud/provisioner/build.sh | Shell | apache-2.0 | 60 |
#!/bin/bash
#
# Application spec to install Marathon.
#
# Depends on: util/util.sh
#
# Author: Chris Schaefer
#
set -e
MARATHON_VERSION=0.7.5
MARATHON_DIST_DIR=$APP_DIR/marathon-$MARATHON_VERSION
MARATHON_ARCHIVE_FILE_NAME=marathon-$MARATHON_VERSION.tgz
MARATHON_BASE_URL=http://downloads.mesosphere.com/marathon/v$MARA... | chrisjs/vagrant-mesos-dev | scripts/app/marathon.sh | Shell | apache-2.0 | 1,423 |
#!/bin/bash -x
set -e
usage() {
echo -e "
usage: $0 options
Configures and starts a rails app behind nginx and passenger
OPTIONS:
-h Print this message
-l=PATH Path to Symlink config files (empty and ignored by default)
-p Precompile Assets (false by default)
"
}
CONFIG_PATH=
... | zooniverse/docker-rails | image-fs/opt/start_nginx_rails.sh | Shell | apache-2.0 | 1,146 |
#! /usr/bin/env bash
set -e
TOP_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd -P)"
source "${TOP_DIR}/scripts/apollo.bashrc"
ARCH="$(uname -m)"
SUPPORTED_ARCHS=" x86_64 aarch64 "
APOLLO_VERSION="@non-git"
APOLLO_ENV=""
USE_ESD_CAN=false
: ${STAGE:=dev}
function check_architecture_support() {
if [[ "${SUPPOR... | jinghaomiao/apollo | apollo.sh | Shell | apache-2.0 | 7,738 |
unzip logginghub-1.5.0.zip | logginghub/core | documentation/unzip-hub.sh | Shell | apache-2.0 | 26 |
#! /bin/sh
. ~/.nnl-builder/settings
if [ "x$1" = "x" ]; then
echo "need number to open up; 0000 will remove all vacancies."
exit 1
else
echo "Reserving $1"
fi
cd $OPKG_WORK_SCRIPTS
tmp=`ls $1_*.sh 2>/dev/null`
cnt=0001
if [ "x$tmp" = "x" ]; then
if [ $tmp -ne 0000 ]; then
echo "$1 is vacant, already."
exit ... | ryojikamei/nnl-builder | scripts/index-insert.sh | Shell | apache-2.0 | 564 |
#!/bin/bash -ex
# 秒为单位
time=1
time_count=$[60*60]
dir_path=~/log
rm -rf $dir_path
mkdir -p $dir_path
# CPU使用情况的统计信息
sar -u $time $time_count >> $dir_path/sar-cpu.log
# 内存和交换空间的统计信息
sar -r $time $time_count >> $dir_path/sar-memory.log
# I/O和传送速率的统计信息
sar -b $time $time_count >> $dir_path/sar-io.log
# 进程队列长度和平均负载状... | blackfishdel/paas | 工作脚本/sar-log.sh | Shell | apache-2.0 | 591 |
#!/bin/bash
source /usr/local/bin/thisroot.sh
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/root/
echo "Using inputs from /input"
ln -s /input /tauAppearanceToyAnalysis/input
echo "All output will be stored in /output/. Do not forget to run this container with \"-v /path/to/folder/you/want/output:/output/\" if you ... | sgeisselsoeder/dockerProjects | tauAppearance/runTauAppearanceToyAnalysis.sh | Shell | apache-2.0 | 1,231 |
#!/bin/bash
#
# Copyright (c) 2017, SingularityWare, LLC. All rights reserved.
#
# Copyright (c) 2015-2017, Gregory M. Kurtzer. All rights reserved.
#
# Copyright (c) 2016-2017, The Regents of the University of California,
# through Lawrence Berkeley National Laboratory (subject to receipt of any
# required approvals... | Trophime/singularity | libexec/bootstrap-scripts/main-null.sh | Shell | bsd-3-clause | 1,764 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.