code stringlengths 2 1.05M | repo_name stringlengths 5 110 | path stringlengths 3 922 | language stringclasses 1
value | license stringclasses 15
values | size int64 2 1.05M |
|---|---|---|---|---|---|
#!/usr/bin/env bash
COMPONENT_DIR="component_temp_dir"
LANGUAGE_PATH="$COMPONENT_DIR/jre/languages/sl"
if [[ -f ../native/slnative ]]; then
INCLUDE_SLNATIVE="TRUE"
fi
rm -rf COMPONENT_DIR
mkdir -p "$LANGUAGE_PATH"
cp ../language/target/simplelanguage.jar "$LANGUAGE_PATH"
mkdir -p "$LANGUAGE_PATH/launcher"
cp ..... | m50d/amalie | component/make_component.sh | Shell | mit | 1,452 |
#!/bin/bash
# Remove mbbr_status script
rm -f "${MUNKIPATH}preflight.d/mbbr_status.py"
# Remove malwarebytes.plist file
rm -f "${CACHEPATH}malwarebytes.plist"
| poundbangbash/munkireport-php | app/modules/mbbr_status/scripts/uninstall.sh | Shell | mit | 161 |
#!/bin/sh
# NOTE: this has been built for and tested on OSX Yosemite (10.10.5)
rm -R ./build
rm -R ./dist
/usr/local/bin/pyinstaller pyshowrss.py --onefile --distpath ./dist/osx -i ./icons/feed-icon.ico
cp pyshowrss.ini ./dist/osx
tar -cvzf ./installer/osx/pyshowrss.tar.gz ./dist/osx/*
| pyface-net/pyshowrss | osx_pyinstaller.sh | Shell | mit | 288 |
#!/bin/bash
_tag=$1
if [ -z "${_tag}" ]; then
source _VERSION
_tag=${_VERSION}
fi
docker build --tag "reeva:${_tag}" --no-cache=true .
| roajer/reeva-bot | build.sh | Shell | mit | 146 |
#!/usr/bin/env bash
nvm_versions=(
lts/fermium,
lts/gallium
)
echo "installing v14, and v16 lts node versions and all global packages to 'em. this may take a few minutes"
for nvm_version in "${nvm_versions[@]}"
do
nvm install $nvm_version --reinstall-packages-from=node
# front-end web, client and tasks modu... | troyxmccall/dotfiles | npm.sh | Shell | mit | 1,127 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DSA-2547-1
#
# Security announcement date: 2012-09-12 00:00:00 UTC
# Script generation date: 2017-01-01 21:06:27 UTC
#
# Operating System: Debian 6 (Squeeze)
# Architecture: i386
#
# Vulnerable packages fix on version:
# - bind9:1:9.7.3.dfsg-1~squeeze7
#
# La... | Cyberwatch/cbw-security-fixes | Debian_6_(Squeeze)/i386/2012/DSA-2547-1.sh | Shell | mit | 636 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for RHSA-2015:0284
#
# Security announcement date: 2015-03-03 13:25:17 UTC
# Script generation date: 2017-01-31 21:24:29 UTC
#
# Operating System: Red Hat 6
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - kernel-abi-whitelists.noarch:2.6.32-431... | Cyberwatch/cbw-security-fixes | Red_Hat_6/x86_64/2015/RHSA-2015:0284.sh | Shell | mit | 2,848 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for RHSA-2014:1103
#
# Security announcement date: 2014-08-28 15:17:57 UTC
# Script generation date: 2017-01-01 21:15:29 UTC
#
# Operating System: Red Hat 6
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - redhat-release-server.x86_64:6Server-6.... | Cyberwatch/cbw-security-fixes | Red_Hat_6/x86_64/2014/RHSA-2014:1103.sh | Shell | mit | 642 |
#!/bin/sh
#
# asdf version manager
# Check for asdf
if test ! $(which asdf)
then
echo " Installing asdf for you."
git clone https://github.com/asdf-vm/asdf.git ~/.asdf
cd ~/.asdf
git checkout "$(git describe --abbrev=0 --tags)"
cd $ZSH
fi
exit 0
# update asdf and plugins
asdf update
asdf plugin-update -... | dhc02/dotfiles | asdf/install.sh | Shell | mit | 324 |
#!/bin/bash
#
# Restore Sync From Provider
# Author: frekele
#
set -e
timeBegin=$(date +%Y%m%d%H%M%S)
echo "Starting Sync Restore From ${STORAGE_PROVIDER^^} ..."
#Import helper.
. /scripts/core/helper.sh
#Import upload script.
. /scripts/provider/${STORAGE_PROVIDER,,}/sync/download.sh
#Clean data before restore ... | frekele/helicopterizer | scripts/core/sync/restore.sh | Shell | mit | 682 |
#!/bin/bash
for i in `ls -1 *test.go`; do
perl -pi -e 's$\"github.com/glycerine/xcryptossh/$\"github.com/glycerine/sshego/xendor/github.com/glycerine/xcryptossh/$g' $i
done
| glycerine/sshego | xendor/github.com/glycerine/xcryptossh/unfix.sh | Shell | mit | 176 |
#!/bin/bash
sudo /etc/init.d/virtuoso-opensource-7 stop
sudo rm /var/lib/virtuoso-opensource-7/db/virtuoso*
sudo cp /var/lib/virtuoso-opensource-7/db/backup/* /var/lib/virtuoso-opensource-7/db/
sudo /etc/init.d/virtuoso-opensource-7 start
echo "Finished Virtuoso Reset"
echo "Now restart Resource Management to restore g... | CityPulse/CP_Resourcemanagement | virtuoso_reset.sh | Shell | mit | 459 |
#!/bin/sh
php-cs-fixer.phar fix . --config=sf21
| eventhorizonpl/sic | bin/fix_cs.sh | Shell | mit | 49 |
#!/bin/sh
############################################################################################
## Copyright 2003, 2015 IBM Corp ##
## ##
## Redistribution and use in so... | PoornimaNayak/autotest-client-tests | linux-tools/os_prober/os-prober.sh | Shell | gpl-2.0 | 3,511 |
#!/bin/bash -eux
apt-get update
apt-get install -y python-dev python-pip ssh-pass
pip install ansible | o2sources/wordpress-composer | ansible/support/scripts/ansible.sh | Shell | gpl-2.0 | 102 |
#!/bin/sh
#Script to turn on the Firewall
#Created by Jason Miller (jmiller@...) on 2013-10-07
# Configure, then enable the application layer firewall
/usr/libexec/ApplicationFirewall/socketfilterfw --setallowsigned on
/usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate on
exit 0
| millerjasonkyle/osx | macOS/firewall.sh | Shell | gpl-2.0 | 297 |
#!/bin/sh
#
# this script is used to rebuild the Android emulator from sources
# in the current directory. It also contains logic to speed up the
# rebuild if it detects that you're using the Android build system
#
# here's the list of environment variables you can define before
# calling this script to control it (bes... | tkhsu/quick-android-emulator | android-configure.sh | Shell | gpl-2.0 | 23,824 |
version=\
(
'0.1.4'
)
url=\
(
"http://downloads.sourceforge.net/libusb/libusb-compat-$version.tar.bz2"
)
md5=\
(
'2ca521fffadd0c28fdf174e6ec73865b'
)
maintainer=\
(
'Ricardo Martins <rasm@fe.up.pt>'
)
requires=\
(
'libusbx/default'
)
post_unpack()
{
patches=$(ls "$pkg_dir/patches/"*.patch)
... | krisklau/glued | rules/libusb-compat/default.bash | Shell | gpl-2.0 | 912 |
PidNum=`ps -ef | grep tomcat | wc -l`;
if [ ${PidNum} -eq 1 ];then
echo "tomcat 已关闭";
else
#PID=`ps -ef | grep tomcat | sed -n '1p' | awk -F " " '{print $2}'`;
TomcatPID=$(ps -ef |grep tomcat |grep -w 'apache-tomcat-bikecc'|grep -v 'grep'|awk '{print $2}')
kill -9 ${TomcatPID};
if [ ! $? ];then
... | zealotpz/Maintenance | shellCode/kill_bikecc.sh | Shell | gpl-2.0 | 432 |
#!/bin/sh
#
# README!
# Please put this script on a level upper of your ubilling installation
# backup manually directory billing at first time before running this updater
# something like cp -R billing billing_helpplz
#
######################## CONFIG SECTION ########################
#dialog
DIALOG="/usr/bin/dialog... | nightflyza/UBinstaller | autoubupdate.sh | Shell | gpl-2.0 | 5,543 |
#!/bin/sh
. ../../../prepare.inc.sh
. ../../../toolbox.inc.sh
# ---- do the actual testing ----
result=PASS
echo "++++ BEGINNING TEST" >$OUTPUTFILE
# create a pair of keyrings and attach them to the session keyring
marker "ADD KEYRING"
create_keyring wibble @s
expect_keyid keyringid
create_keyring wibble2 @s
expe... | rlbossman/ebury | tests/keyctl/search/valid/runtest.sh | Shell | gpl-2.0 | 5,025 |
#!/bin/bash
# Build an installer with makensis
NSI_SCRIPT="tsnet4.nsi"
VERSION="`./print-version.py`"
PYTHON="python-2.5.2.msi"
PYGAME="pygame-1.8.0.win32-py2.5.msi"
WXPYTHON="wxPython2.8-win32-unicode-2.8.7.1-py25.exe"
PYTHON_URL="http://www.python.org/ftp/python/2.5.2/$PYTHON"
PYGAME_URL="http://www.pygame.org/ftp... | daniele-athome/TressetteNetwork4 | win32/mkinstaller.sh | Shell | gpl-2.0 | 1,734 |
#!/bin/bash
# ----------------------------------------------------------------------
# GLPI - Gestionnaire Libre de Parc Informatique
# Copyright (C) 2003-2006 by the INDEPNET Development Team.
#
# http://indepnet.net/ http://glpi-project.org
# ----------------------------------------------------------------------
#... | TECLIB/glpi | tools/make_release.sh | Shell | gpl-2.0 | 3,322 |
#!/bin/sh
#
# Cloud Hook: environment-indicator
#
# The post-code-deploy hook is run whenever you use the Workflow page to
# deploy new code to an environment, either via drag-drop or by selecting
# an existing branch or tag from the Code drop-down list. This hook will
# maintain a variable with the realease informatio... | DevSignerCon/DevSignerCon-2014 | sites/all/modules/contrib/environment_indicator/samples/environment-indicator.sh | Shell | gpl-2.0 | 724 |
#!/bin/sh
echo "Enter a string"
read s
n=${#s}
rev=""
for((j=0;j<$n;j++))
do
rev="${s:$j:1}$rev"
done
echo "Reversed String is : $rev"
| vedant1811/CSE_NIT-dgp | revstring.sh | Shell | gpl-2.0 | 135 |
#!/bin/sh
#
# Edit these settings to reflect your system
#
MAKEOPTS=-j3
export CC="ccache gcc"
export CXX="ccache g++"
# Make sure any errors stop the test
set -e
Usage() {
echo "Main Barry build test script."
echo
echo "Usage:"
echo " ./buildtest.sh /path/to/libopensync-0.22.tar.bz2"
echo
echo "Or, writ... | adetaylor/barry-usbrelay | test/buildtest.sh | Shell | gpl-2.0 | 4,204 |
#bash
#this is for clean the unused files in project
rm -rf ./CMakeCache.txt
rm -rf ./cmake_install.cmake
rm -rf ./CMakeFiles
rm -rf ./lib
rm -rf ./bin
rm -rf Makefile
| douzsh/Util_Tool | clean.sh | Shell | gpl-2.0 | 168 |
#!/bin/bash
#
# Date: 28.01.2021
#
# Thorsten Bruhns (thorsten.bruhns@opitz-consulting.de)
#
# Simple RMAN-Backupscript
#
# Important Note for Real Application Clusters!
# Do NOT USE the real ORACLE_SID. Please use the normal DB_NAME without the
# the number at the end. The scripts is detecting the real instance from ... | Rendanic/oracleToolbox | rman/linux/rman_backup.sh | Shell | gpl-2.0 | 10,862 |
#!/bin/sh
g++ -Wall main.cpp factory.hpp product.hpp -o main.out
./main.out
| chenxilinsidney/funnycprogram | headfirst/factory/build_run.sh | Shell | gpl-2.0 | 76 |
#!/bin/bash
# This is now done using PHP-only scripting
/usr/lib/alternc/update_domains.php
| AlternC/AlternC | src/update_domains.sh | Shell | gpl-2.0 | 95 |
#!/bin/bash
# Example for running
docker run -t -i flex /bin/bash
| ianmiell/OLD-shutitdist | flex/bin/run.sh | Shell | gpl-2.0 | 67 |
#!/bin/bash
###
# Prepare a Pantheon site environment for the Behat test suite, by installing
# and configuring the plugin for the environment. This script is architected
# such that it can be run a second time if a step fails.
###
# Check if logged into Terminus
TERMINUS_USER_ID=$(terminus auth:whoami --field=id 2>&... | lcache/wp-lcache | bin/behat-prepare.sh | Shell | gpl-2.0 | 2,801 |
echo "Sleep 5 to wait other during creation of other replica set"
sleep 5
# Add this machine to replica set s0
echo "Updating Configuration s0 replica set"
mongo --host 10.0.0.4 --port 37017 << 'EOF'
ip = "10.0.0.6"
rs.add(ip + ":37017")
EOF
# Add this machine to replica set s1
echo "Updating Configuration s1 replica... | hadware/lexicographer | mongoDB-init/machine3/2_replicat_set_link.sh | Shell | gpl-2.0 | 413 |
java -Xmx4g -cp sentlex.jar:lib/weka.jar:lib/ark-tweet-nlp-0.3.2.jar weka.filters.unsupervised.attribute.WordCentroid -M $3 -I 1 -L -S -i $1 -o $2
| felipebravom/TwitterSentLex | procCorpus.sh | Shell | gpl-2.0 | 147 |
service=http://localhost:8080/serviceMag/webresources
cho $service/net.cofares.magasin
curl -X POST -H "Content-Type: application/xml" -H "Accept: application/xml" -d @$1 $service/net.cofares.$2 | xmllint --format -
| ljug/root | curlScripts/create.sh | Shell | gpl-2.0 | 221 |
#!/bin/sh
# (c) Copyright 2009 - 2010 Xilinx, Inc. All rights reserved.
#
# This file contains confidential and proprietary information
# of Xilinx, Inc. and is protected under U.S. and
# international copyright and other intellectual property
# laws.
#
# DISCLAIMER
# This disclaimer is not a license and does not gra... | P3Stor/P3Stor | pcie/IP core/DMA_READ_QUEUE/simulation/functional/simulate_ncsim.sh | Shell | gpl-2.0 | 2,974 |
#!/bin/sh -e
# This is an example master script using the tools created
# It expects HSAP-*.tar.gz to be in the same directory
export TMPDIR=/trak/iscbuild/tmp
export SITE=scgr
export ENV=SCRATCH
export VER=2016
export TYPE=DB
MONITORIP=10.20.0.12
#
# Various overrides exist to allow customisation of behaviour
# This s... | casep/isc_coding | trakautomation/oldMasters/MasterSCGRScratch2016DB.sh | Shell | gpl-2.0 | 3,797 |
#!/bin/sh
# (c) Copyright 2009 - 2010 Xilinx, Inc. All rights reserved.
#
# This file contains confidential and proprietary information
# of Xilinx, Inc. and is protected under U.S. and
# international copyright and other intellectual property
# laws.
#
# DISCLAIMER
# This disclaimer is not a license and does not gra... | v3best/R7Lite | R7Lite_PCIE/fpga_code/r7lite_DMA/ipcore_dir/k7_eb_fifo_counted_resized/simulation/functional/simulate_isim.sh | Shell | gpl-2.0 | 3,138 |
#!/bin/bash
wp core install --allow-root \
--url="http://demo.example.com:8080" \
--title="OhMy Website Title" \
--admin_user="customadmin" \
--admin_password="testing123" \
--admin_email="testing@example.com";
| jamessmoore/docker-wordpress-wpcli | run.sh | Shell | gpl-2.0 | 245 |
# Copyright © 2005-2016 The Backup Manager Authors
#
# See the AUTHORS file for details.
#
# 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, or (at your option) ... | sukria/Backup-Manager | lib/logger.sh | Shell | gpl-2.0 | 4,270 |
#!/bin/bash
#
# This script runs XML tests suite.
# The script expects bundled UGENE app binaries to be present in 'ugene' folder, tests in the 'ugene_git/test',
# test data in 'test_data' and external tools in 'tools'.
#
TEAMCITY_WORK_DIR=$(pwd)
UGENE_APP_DIR="${TEAMCITY_WORK_DIR}/ugene/Unipro UGENE.app"
SOURCE_DIR="$... | ugeneunipro/ugene | etc/script/mac/run_xml_tests.sh | Shell | gpl-2.0 | 2,960 |
#!/bin/sh
#
# Copyright (C) 2010 Nick Schermer <nick@xfce.org>
#
# This library 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, or (at your option)
# any later version.
#
# Thi... | Icenowy/heartlenv-shell | plugins/applicationsmenu/heartlenv-popup-applicationsmenu.sh | Shell | gpl-2.0 | 1,505 |
#!/bin/bash
SYSTYRANT_ANT=/usr/share/kloudmake
JOPTS=""
if [ "$1" = "-jdebug" ];
then
JOPTS="-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005 ${JOPTS}"
fi
java -classpath "${SYSTYRANT_ANT}/lib/*" ${JOPTS} com.kloudtek.kloudmake.cli.Cli $@
| Kloudtek/kloudmake | src/bin/systyrant.sh | Shell | gpl-3.0 | 265 |
#!/bin/bash
# https://learn.adafruit.com/read-only-raspberry-pi/
# CREDIT TO THESE TUTORIALS:
# petr.io/en/blog/2015/11/09/read-only-raspberry-pi-with-jessie
# hallard.me/raspberry-pi-read-only
# k3a.me/how-to-make-raspberrypi-truly-read-only-reliable-and-trouble-free
if [ $(id -u) -ne 0 ]; then
echo "Installer mus... | iugamarian/raspberrypisetup | read-only-fs.sh | Shell | gpl-3.0 | 9,190 |
#!/usr/bin/env bash
# Invoke the script from anywhere (e.g .bashrc alias)
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# Required source files
source "${DIR}"/common
source "${DIR}"/functions.sh
is_root
PHP_APACHE="/etc/php5/apache2/php.ini"
PHP_CLI="/etc/php5/cli/php.ini"
MYSQL_MINIMUM="$(mysql -V | aw... | anavarre/drupal-8-tools | audit/system_audit.sh | Shell | gpl-3.0 | 3,450 |
#!/bin/sh
# Change session type
dbus-send --system --type=method_call --print-reply --dest=org.freedesktop.Accounts /org/freedesktop/Accounts/User1001 org.freedesktop.Accounts.User.SetXSession string:steamos
# Kill steam instance so gnome-session-quit will work properly
killall -9 steam
sleep 2
# Log steam user out ... | ProfessorKaos64/SteamOS-Tools | utilities/switch-to-steamos.sh | Shell | gpl-3.0 | 374 |
ini_get() {
## Displays an option from an ini-file
##$1 the path to the file, required
##$2 name of the option, required
##$3 name of the section, optional
##> $ ini_get "~/.gitconfig" "name" "user"
##> name = John Doe
if [ -z "${3:-}" ]; then
awk -f "$_BASEDIR/lib/ini/ini_get.awk" -v option="$2" "$1"
else
... | gbraekmans/enshure | src/lib/ini.sh | Shell | gpl-3.0 | 2,278 |
cut -f 1 mytripApp_user > user_id
cut -f 3 mytripApp_user > idnum
| winniekao/final-proj | mytrip/all_use_data/User/user.sh | Shell | gpl-3.0 | 69 |
#!/bin/bash
#############################################
# Installation of Valgrind
#############################################
###
# Install Valgrind
###
sudo apt-get -y install valgrind
| virtualnetwork/vn-lib | scripts/install-valgrind.sh | Shell | gpl-3.0 | 192 |
#!/bin/bash
yum -y install rpm-build python-setuptools
echo "%_unpackaged_files_terminate_build 0" > ~/.rpmmacros
python setup.py bdist_rpm --release="$1" --requires="python-ply"
mkdir dist_pkg
cp dist/*.noarch.rpm dist_pkg | grycap/RADL | packages/generate_rpm.sh | Shell | gpl-3.0 | 225 |
java -jar logstash-1.1.13-flatjar.jar agent -f logstash-syslog.conf -- web --backend elasticsearch://localhost/ &
| alibrelato/scripts | Logstash/logstash-syslog.sh | Shell | gpl-3.0 | 115 |
#!/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/20161109T004859+0000/00/00/init_0_ID0000001.sh | Shell | gpl-3.0 | 1,222 |
#!/bin/sh
while :
do
read input
echo $input
done
| kije/PySpyX | take_args_and_do_nothing_script.sh | Shell | gpl-3.0 | 55 |
#!/bin/sh
# Emulates video device by using V4L2 loopback
sudo modprobe v4l2loopback
gst-launch-1.0 videotestsrc pattern=solid-color foreground-color=0xE0F0E0 ! \
"video/x-raw,format=RGBx,width=800,height=600,framerate=20/1,interlace-mode=progressive" ! \
v4l2sink device=/dev/video0
| martinjaros/augmented-reality-navigation | etc/video-test.sh | Shell | gpl-3.0 | 286 |
#!/bin/sh
# operate on a very small (1-sector) "disk"
# Copyright (C) 2009-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 3 of the License, ... | philenotfound/parted | tests/t0001-tiny.sh | Shell | gpl-3.0 | 1,556 |
#!/bin/sh
# Small script to setup the HBase tables used by OpenTSDB.
test -n "$HBASE_HOME" || {
echo >&2 'The environment variable HBASE_HOME must be set'
exit 1
}
test -d "$HBASE_HOME" || {
echo >&2 "No such directory: HBASE_HOME=$HBASE_HOME"
exit 1
}
TSDB_TABLE=${TSDB_TABLE-'tsdb'}
UID_TABLE=${UID_TABLE-'ts... | scalextremeinc/tsdb | src/create_table.sh | Shell | gpl-3.0 | 901 |
#!/usr/bin/env sh
# Check that the sensors file is present
if [ ! -f /usr/bin/sensors ]; then
echo "/usr/bin/sensors missing: aborting"
exit 1
fi
| MatthieuMichon/sensors2csv | test/before_script.sh | Shell | gpl-3.0 | 152 |
#!/bin/sh
# Change this folder as needed
find ../src/main/resources/assets/minecolonies/sounds/mob/deliveryman/female -regex ".*[A-Z].*" | while read old; do
new="$(echo "$old" | tr '[A-Z]' '[a-z]')"
git mv -v "$old" "$new"
done
| Minecolonies/minecolonies | tools/lowercase_resources.sh | Shell | gpl-3.0 | 239 |
#!/bin/bash
cd $(dirname $0)
clang -c ./asmrewriter.c -o asmrewriter.o
clang ./bruisercapstone.c -L/usr/local/lib64 -lcapstone -lkeystone -llua asmrewriter.o -o bcapstone
./bcapstone || exit 1
rm ./bcapstone
| bloodstalker/mutator | bruiser/cap.sh | Shell | gpl-3.0 | 208 |
#!/bin/bash
SOURCE="${BASH_SOURCE[0]}"
while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink
DIR="$( cd -P "$( dirname "$SOURCE" )" >/dev/null && pwd )"
SOURCE="$(readlink "$SOURCE")"
[[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE" # if $SOURCE was a relative symlink, we need to resolve ... | mtyacorn/Mighty-TF2-Scripts | install.sh | Shell | gpl-3.0 | 797 |
cleanup_lvm() {
vgchange -an "$vgname" &>/dev/null
# Give udev time to react.
sleep 1
}
debug "Loopback device is $BLOCK_DEVICE"
pvcreate "${PARTITIONS[/]}" |& logpipe "pvcreate"
# In order to allow multiple image builds to run simultaneously, use a
# random temporary VG name for the build. We'll rename it to
# $... | anchor/pcib | plugins/partitioner/full-disk-with-lvm/tasks/07-create-target-lv.sh | Shell | gpl-3.0 | 900 |
#!/bin/bash
# https://seata.io/zh-cn/docs/ops/deploy-by-docker.html
IP=$(hostname -I | awk '{print $1}')
docker run --name seata-server \
-p 8091:8091 \
-e SEATA_IP="${IP}" \
-e SEATA_PORT=8091 \
-e STORE_MODE=file \
seataio/seata-server:1.3.0
| Ahaochan/invoice | ahao-spring-boot-transaction/ahao-spring-boot-transaction-seata/script/install-docker.sh | Shell | gpl-3.0 | 284 |
#!/bin/bash
#
# Run Grafana using smartemission/se-grafana-dc:5.1.3-1
#
export HOSTNAME
docker-compose rm --force --stop
docker-compose up -d
| Geonovum/smartemission | services/grafana-dc/run.sh | Shell | gpl-3.0 | 145 |
#¤completion
fignore=(.o \~ .dvi) # lists suffixes of files to ignore during completion
unsetopt menu_complete # Do not autoselect the first completion entry.
unsetopt flow_control # Disable start/stop characters in shell editor.
setopt auto_menu # Show completion menu on a succesive tab press.
set... | gutenye/zshman | zsh/lib/zsh.completion.zsh | Shell | gpl-3.0 | 3,159 |
#!/usr/bin/env bash
#
# @package translations
# @copyright (c) 2010-2017 Akeeba Ltd
# @license GNU GPLv3 or, at your option, any later version published by the Free Software Foundation
#
# Adds a language to a project
#
usage () {
echo -e "Usage: $0 <project> <language>"
echo ""
echo "Example:"
echo ""
ech... | akeeba/translations | add-language.sh | Shell | gpl-3.0 | 1,013 |
#!/bin/bash
# --------------------------------
# -- BEGIN STANDARD LPAD SCRIPT --
# -- UPDATE AS NEEDED --
# --------------------------------
function usage {
echo "
Usage: $0 host(s) user[@host] [hash] [/path/to/password] [--skip-db]
You must provide a user id.
If you provide a hash the sa... | wstrucke/sysadmin | lpad/mysql-reset-passwd.sh | Shell | gpl-3.0 | 2,890 |
#!/bin/bash
platformdir="$(dirname $(readlink -f $0))"
export axoloti_release=${axoloti_release:="$platformdir/.."}
export axoloti_runtime=${axoloti_runtime:="$platformdir/.."}
export axoloti_firmware=${axoloti_firmware:="$axoloti_release/firmware"}
export axoloti_home=${axoloti_home:="$platformdir"}
if [ -f "${platf... | leoc/axoloti | platform_linux/upload_fw_dfu.sh | Shell | gpl-3.0 | 584 |
#!/bin/sh
bzr log --short --forward | sed -n -e 's/.*\([0-9]\{4\}-[0-9]\{2\}\).*/\1/p' | uniq -c | sed -n -e 's/\ *\(.*\)\ \(.*\)/\2\,\1/p'
| chr15m/Infinite8BitPlatformer | commits-per-month.sh | Shell | gpl-3.0 | 140 |
loop="true"
echo '= TapeMaster SIRCS CLI v1.2 ==================================================='
echo '(p)lay | (P)ause | (s)top | (<)Rwd | (>)FFwd | (<<)AMS- | (>>)AMS+ | (c)ue'
echo '(r)ec Stdby | (R)ec Now | Vol(+) | Vol(-) | (e)ject | (l)ight | (C)ounter'
echo 'or enter full command, exit'
echo '=================... | UiharuKazari2008/TapeMaster | datrem.bash | Shell | gpl-3.0 | 1,342 |
#!/bin/bash
#
# Copyright by Micky Maximus
# ================================
#
data=( `ps aux | grep -i dropbear | awk '{print $2}'`);
echo "Checking Dropbear login";
echo "---";
for PID in "${data[@]}"
do
#echo "check $PID";
NUM=`cat /var/log/auth.log | grep -i dropbear | grep -i "Password auth succeeded" | gre... | micky24/debian7os | userlogin.sh | Shell | gpl-3.0 | 1,466 |
#!/bin/bash
cd ~/hwndu-tools/complete_archiver/
git pull
mkdir vids
mkdir thumbs
WORK="$(python carchiver.py)"
while read -r line; do
FS=" "; declare -a Array=($line)
CVID="./vids/${Array[0]}.mp4"
CTHU="./thumbs/${Array[0]}.jpg"
NVID="gs://hwndu-video-backups/video/${Array[0]}.mp4"
NTHU="gs://hwn... | hwndu/hwndu-tools | complete_archiver/make_archive.sh | Shell | gpl-3.0 | 735 |
#!/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 2/logs/w-10_0/20170124T030211+0000/00/00/longestsession_4_ID0000016.sh | Shell | gpl-3.0 | 1,228 |
#!/usr/bin/env ksh
#******************************************************************************
# @(#) check_linux_file_age.sh
#******************************************************************************
# @(#) Copyright (C) 2014 by KUDOS BVBA (info@kudos.be). All rights reserved.
#
# This program is a free soft... | patvdv/check_health | opt/hc/lib/platform/linux/check_linux_file_age.sh | Shell | gpl-3.0 | 5,979 |
#!/bin/bash
# Batch downsample all PDF files in current directory to lower size.
# This script assumes ghostscript is insatlled and is in the PATH.
# KSHIRAJA did'nt do it!
echo "Kshiraja did'nt do this!"
for file in *.pdf; do
gs -o "downsampled/${file%}.pdf" -sDEVICE=pdfwrite -dDownsampleColorImages=true -dDow... | harsha5500/simple-scripts | bash-scripts/kshirajaDidntDoThis.sh | Shell | gpl-3.0 | 568 |
#!/usr/bin/env bash
# Save stdin to file descriptor 5
exec 5<&0
# Enable debugging by commenting out the following line
#set -x
#
# About: This little Shell-Script checks, if a newer version of your TeamSpeak 3 server is available and if yes, it will update the server, if you want to.
# Author: Sebastian Kraetzig <info... | kyroskoh/TS3UpdateScript | TS3UpdateScript.sh | Shell | gpl-3.0 | 57,762 |
#!/bin/bash
if [ "$APPASERVER_DATABASE" != "" ]
then
application=$APPASERVER_DATABASE
elif [ "$DATABASE" != "" ]
then
application=$DATABASE
fi
if [ "$application" = "" ]
then
echo "Error in `basename.e $0 n`: you must first:" 1>&2
echo "\$ . set_database" 1>&2
exit 1
fi
if [ "$#" -ne 3 ]
then
echo "Usage: $0 i... | timhriley/appaserver | src_communityband/populate_subclassification.sh | Shell | gpl-3.0 | 1,121 |
#!/bin/sh
# cvs-sync.sh
#
# This script synchronizes the local folder with a CVS repository
#
# Parameter: the global commit comment
#
# Created on 2004-12-14 by Julien MOREAU
#
# Last commit of this file (GMT):
# $Header: /cvs/CVS-tools/cvs-maj.sh,v 1.5 2012-11-23 10:08:38 jmoreau Exp $
cmd=`basename $0` # This file... | PixEye/PixShellScripts | cvs-sync.sh | Shell | agpl-3.0 | 3,740 |
#!/bin/bash
set -euo pipefail
#nb: must be bash to support shopt globstar
shopt -s globstar
st=0
if grep -El '^\".+\" = \(.+\)' _maps/**/*.dmm; then
echo "ERROR: Non-TGM formatted map detected. Please convert it using Map Merger!"
st=1
fi;
if grep -P '^\ttag = \"icon' _maps/**/*.dmm; then
echo "ERROR: ta... | Poojawa/tgstation-fork | tools/travis/check_grep.sh | Shell | agpl-3.0 | 1,852 |
#!/bin/sh
#
# Copyright (c) 2010-2016, Dhonek(TM) Labs. All Rights Reserved.
#
#
# This copyrighted material is made available to anyone wishing to use, modify,
# copy, or redistribute it subject to the terms and conditions of the GNU
# Lesser General Public License, as published by the Free Software Foundation.
#
# T... | dhonek/ezerver | build/clean.sh | Shell | lgpl-2.1 | 936 |
#!/bin/sh
for x in nogl xcomposite_egl; do
cp qtwayland.spec qtwayland-$x.spec
sed -i "s/wayland_egl/$x/g" qtwayland-$x.spec
done
| locusf/qtwayland-1 | rpm/precheckin.sh | Shell | lgpl-2.1 | 132 |
#!/bin/sh
echo Stopping Docker Containers
find . -name \docker-compose.yml -print | xargs -L 1 -I REPLACE_ME docker-compose -f "REPLACE_ME" down | aetharr/DockerExperiments | RaspberryPi (arm)/Scripts/stop-containers.sh | Shell | unlicense | 145 |
#!/bin/sh
set -e
if [ -n "$1" ]; then
git fetch origin $1:buildme
git checkout buildme
LDFLAGS="-static" CFLAGS="-Os" make clean && make
fi
cp src/nyancat /out/nyancat
| euank/docker-nyancat | entrypoint.sh | Shell | unlicense | 176 |
dfs_log sourcing 50_vcs.sh
# Git shortcuts
alias g='git'
alias ga='git add'
alias gap='git add -p'
alias gp='git push'
alias gpa='gp --all'
alias gu='git pull'
alias gl='git log'
alias gg='gl --decorate --oneline --graph --date-order --all'
alias gs='git status'
alias gd='git diff'
alias gdc='gd --cached'
alias gm='g... | alejandrogallo/dotfiles | lib/50_vcs.sh | Shell | unlicense | 1,338 |
#!/usr/bin/env bash
set -eu -o pipefail
shopt -s extglob
# Uninstall and clean up script
# /srv/www.weboftomorrow.com/
SRVDIR=$1
# /etc/nginx/
NGINXDIR=$2
# /etc/systemd/system/
SYSTEMDDIR=$3
# /var/lib/www.weboftomorrow.com/sqlite3/
DATABASEDIR=$4
rm -rf ${SRVDIR}root/!(.well-known|.|..)
rm -rf "${SRVDIR}froze... | jkenlooper/www.weboftomorrow.com | bin/uninstall.sh | Shell | unlicense | 1,191 |
#!/bin/bash
set -e
set -o pipefail
if [ $# -ne 2 ]; then
echo "Usage: `basename $0` <READS> <SPLITS>"
exit 1
fi
READS=$1
SPLITS=$2
if [ -z ${READS} ]; then
echo "READS cannot be empty"
exit 1
fi
if [ ! -e ${READS} ]; then
echo "READS file does not exists"
exit 2
fi
if [ -z ${SPLITS} ]; the... | pegasus-isi/pegasus-gtfar | bin/fastq-split.sh | Shell | apache-2.0 | 1,334 |
pkg_name=intltool
pkg_origin=core
pkg_version="0.51.0"
pkg_maintainer="The Habitat Maintainers <humans@habitat.sh>"
pkg_license=('GPLv2')
pkg_description="intltool is a set of tools to centralize translation of many different file formats using GNU gettext-compatible PO files."
pkg_upstream_url="https://freedesktop.org... | be-plans/be | intltool/plan.sh | Shell | apache-2.0 | 1,116 |
javac test/tests/test4/*.java
rm ./classes/test4/*.class
mv test/tests/test4/*.class ./classes/test4/
echo "Atomicity violation here"
java -ea -cp $INTRUDER_CLASSPATH:./classes intruder.wrapper.Main --user-specified-test test4.Test -intruder-output-dir "./output/test4/" > tmp.txt
sh ./scripts/cleanup.sh
echo "---------... | Groostav/CMPT880-term-project | intruder/scripts/test4.sh | Shell | apache-2.0 | 492 |
#!/bin/bash
#
# Copyright 2016 Yahoo 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... | agarman/pulsar | pulsar-common/generate_protobuf.sh | Shell | apache-2.0 | 683 |
# Copyright (C) 2017 Google Inc.
# Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file>
set -o nounset
set -o errexit
set -x
CURRENT_SCRIPTPATH=$( cd "$(dirname "$0")" ; pwd -P )
$CURRENT_SCRIPTPATH/install_deps.sh
$CURRENT_SCRIPTPATH/../bin/jenkins/run_integration -p
| AleksNeStu/ggrc-core | kokoro/ggrc_integration.sh | Shell | apache-2.0 | 297 |
#!/bin/bash
# Copyright 2016 Network Intelligence Research Center,
# Beijing University of Posts and Telecommunications
#
# 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.apa... | fishinbox/CompassDiscovery | utils/config_cobbler.sh | Shell | apache-2.0 | 2,198 |
#!/bin/bash -ex
export PATH=/opt/chefdk/embedded/bin:$PATH
gem install sinatra
cat << 'EOS' | tee /usr/src/ec2-metadata.rb
#!/usr/bin/env ruby
require "sinatra"
set :port, 9666
set :bind, "0.0.0.0"
# Ohai will see this and use /latest for the metadata version
get "/" do
status 404
end
{
"hostname" => "automat... | chef-partners/omnibus-marketplace | shared/scripts/ec2-metadata.sh | Shell | apache-2.0 | 851 |
#!/bin/bash
version="0.1.0"
yum -y update
yum -y groupinstall "Development Tools"
#install python 2.7
yum -y install python27-devel.x86_64
wget https://bootstrap.pypa.io/get-pip.py
python27 ./get-pip.py
# install zeroMQ
wget http://download.zeromq.org/zeromq-4.0.4.tar.gz
tar xzvf zeromq-4.0.4.tar.gz
cd zeromq-4.0.4
... | eleflow/sparknotebook | ansible/sparknotebook.sh | Shell | apache-2.0 | 2,522 |
echo "Remove previous build"
rm -r app
echo "Creating folder structure..."
mkdir app
echo "Publishing project..."
dotnet clean -c Release -r linux-x64
dotnet build -c Release -r linux-x64
dotnet publish -c Release -r linux-x64 -v q -o ./app/
echo "Building docker image"
docker build -t tonyredondo/twcore_objectview... | tonyredondo/TWCore2 | tools/TWCore.Object.Api/dockerBuild.sh | Shell | apache-2.0 | 427 |
#! /bin/bash
# FROM sonarqube
# COPY resources/plugins.txt ${PLUGINS_DIR}/plugins.txt
# RUN /usr/local/bin/plugins.sh ${PLUGINS_DIR}/plugins.txt
#
set -e
mkdir -p ${SONARQUBE_PLUGINS_DIR}
while read plugin; do
fullname=$(basename "$plugin")
extension="${fullname##*.}"
filename="${fullname%.*}"
echo "D... | SachinKSingh28/adop-sonar | resources/plugins.sh | Shell | apache-2.0 | 802 |
#!/bin/bash
exec /bin/true
| nimbusproject/epumgmt | src/python/tests/configs/common/beentrue.sh | Shell | apache-2.0 | 27 |
#!/bin/bash
# Important! This step is needed to make sure the test zip files are extracted
echo "Extracting tests.zip..."
unzip tests.zip
security unlock-keychain -p testdroid login.keychain
## This is the IOS version of run-tests.sh to be used as template for Server side execution
## To use in cloud:
## Replace th... | LasseHall/testdroid-samples | image-recognition/run-tests_ios.sh | Shell | apache-2.0 | 2,462 |
#!/bin/sh
mkdir -p node_modules
npm i ../ chai es6-promise
| ActiveDbSoft/webapi-active-query-builder-javascript | tests/install.sh | Shell | apache-2.0 | 60 |
#!/bin/bash
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); y... | Laurawly/tvm-1 | tests/scripts/task_config_build_qemu.sh | Shell | apache-2.0 | 1,237 |
at=`cat $ROOT_IDS_FOLDER/$ACCESS_TOKEN_FILENAME`
for file in `ls $SOS_FOLDER`
do
response=$(curl --digest -XPOST \
--write-out %{http_code} \
-H "Content-Type: application/json;charset=UTF-8" \
-H "Authorization: $at" \
-d @$1/$SOS_FOLDER/$file \
-o $1/$IDS_FOLDER/$file.id -s \
http://$... | servioticy/servioticy-demo | scripts/register_so.sh | Shell | apache-2.0 | 647 |
#!/bin/bash
# Copyright 2015 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law ... | mgoodness/alb-ingress-controller | vendor/k8s.io/ingress/images/nginx-slim/build.sh | Shell | apache-2.0 | 6,404 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.