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
#-------------------------------------------------------------------------
# drawElements Quality Program utilities
# --------------------------------------
#
# Copyright 2015 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file excep... | endlessm/chromium-browser | third_party/angle/third_party/VK-GL-CTS/src/targets/android/install.sh | Shell | bsd-3-clause | 999 |
. ./init.sh
# Fast position search should fail
mysql $S1 test -e "set global relay_log_purge=0"
mysql $S2 test -e "set global relay_log_purge=0"
mysql $S3 test -e "set global relay_log_purge=0"
mysql $S4 test -e "set global relay_log_purge=0"
mysql $S1 test -e "set global max_relay_log_size=65536"
mysql $S2 test -e "... | ZuoGuocai/mha4mysql-manager | tests/t/t_large_data_slow.sh | Shell | gpl-2.0 | 767 |
#!/bin/sh
# Copyright (C) 2005-2019 by
# David Turner, Robert Wilhelm, and Werner Lemberg.
#
# This file is part of the FreeType project, and may only be used, modified,
# and distributed under the terms of the FreeType project license,
# LICENSE.TXT. By continuing to use, modify, or distribute this file you
# indica... | FabianHahn/shoveler | thirdparty/freetype/autogen.sh | Shell | mit | 3,935 |
#!/bin/bash
if [ "$1" = "" ]; then
echo -n 'usage: '
echo -n `/bin/basename $0`
echo ' <your language code>'
exit
fi
/bin/cat en-gb/lang.php | grep LANG | cut -d= -f1 > /tmp/lang.en.tmp
/bin/cat $1/lang.php | grep LANG | cut -d= -f1 > /tmp/lang.$1.tmp
/usr/bin/diff -C 1 /tmp/lang.en.tmp /tmp/lang.$1.... | maent45/PersianFeast | simpleinvoices/lang/get-new-strings.sh | Shell | gpl-2.0 | 364 |
default="-O2 -msse"
sse3="-O2 -msse3"
sse4="-O2 -msse4"
avx='-O2 -mavx'
avx2='-O2 -mavx2'
native='-O2 -march=native'
option=$default
g++ $option -Q --help=target > default.txt
| hoangt/sirius | sirius-suite/scripts/see-options.sh | Shell | bsd-3-clause | 177 |
#!/bin/bash
action="$1"
case $action in
add)
rc-update -q add vmware-workstation-server default
rc-service vmware-workstation-server start
;;
remove)
rc-update -q del vmware-workstation-server default
rc-service vmware-workstation-server stop
;;
status)
rc-service -q vmware-workstati... | theeternalsw0rd/ports-2012 | app-emulation/vmware-workstation/files/configure-hostd.sh | Shell | gpl-2.0 | 372 |
#!/bin/sh
# don't let udev and this script step on eachother's toes
for x in 64-lvm.rules 70-mdadm.rules 99-mount-rules; do
> "/etc/udev/rules.d/$x"
done
rm -f -- /etc/lvm/lvm.conf
udevadm control --reload
set -e
# save a partition at the beginning for future flagging purposes
sfdisk /dev/sda <<EOF
,1M
,
EOF
udeva... | matlinuxer2/dracut | test/TEST-02-SYSTEMD/create-root.sh | Shell | gpl-2.0 | 511 |
#!/bin/bash
# Copyright 2014 The Kubernetes 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 require... | hurf/kubernetes | cluster/vagrant/util.sh | Shell | apache-2.0 | 13,233 |
# NPX Plugin
# https://www.npmjs.com/package/npx
# Maintainer: Pooya Parsa <pooya@pi0.ir>
(( $+commands[npx] )) && {
source <(npx --shell-auto-fallback zsh)
}
| okubax/dotfiles | zsh/oh-my-zsh/plugins/npx/npx.plugin.zsh | Shell | gpl-3.0 | 161 |
#!/bin/sh
test_description='fetch/push involving alternates'
. ./test-lib.sh
count_objects () {
loose=0 inpack=0
eval "$(
git count-objects -v |
sed -n -e 's/^count: \(.*\)/loose=\1/p' \
-e 's/^in-pack: \(.*\)/inpack=\1/p'
)" &&
echo $(( $loose + $inpack ))
}
test_expect_success setup '
(
git init ... | robertpfeiffer/git | t/t5501-fetch-push-alternates.sh | Shell | gpl-2.0 | 1,311 |
#!/bin/bash
fw_installed grails && return 0
VERSION="2.4.4"
GRAILS_HOME=$IROOT/grails-$VERSION
fw_get -O http://dist.springframework.org.s3.amazonaws.com/release/GRAILS/grails-$VERSION.zip
fw_unzip grails-$VERSION.zip
echo "export GRAILS_HOME=${GRAILS_HOME}" > $IROOT/grails.installed
echo -e "export PATH=\$GRAILS_H... | saturday06/FrameworkBenchmarks | toolset/setup/linux/frameworks/grails.sh | Shell | bsd-3-clause | 485 |
#!/bin/bash
fw_depends java maven
mvn clean compile assembly:single
cd target
java -server \
-XX:+UseNUMA -XX:+UseParallelGC -XX:+AggressiveOpts -cp \
rapidoid-1.0-jar-with-dependencies.jar \
highlevel.Main profiles=production dbhost="$DBHOST" &
| mfirry/FrameworkBenchmarks | frameworks/Java/rapidoid/setup-default.sh | Shell | bsd-3-clause | 256 |
#!/bin/bash
mkdir -p "$PREFIX/bin"
export MACHTYPE=x86_64
export BINDIR=$(pwd)/bin
export L="${LDFLAGS}"
mkdir -p "$BINDIR"
(cd kent/src/lib && make)
(cd kent/src/htslib && make)
(cd kent/src/jkOwnLib && make)
(cd kent/src/hg/lib && make)
(cd kent/src/utils/subChar && make)
cp bin/subChar "$PREFIX/bin"
chmod +x "$PREFI... | phac-nml/bioconda-recipes | recipes/ucsc-subchar/build.sh | Shell | mit | 335 |
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0
ALL_TESTS="ping_ipv4 ping_ipv6 multipath_test"
NUM_NETIFS=8
source lib.sh
h1_create()
{
vrf_create "vrf-h1"
ip link set dev $h1 master vrf-h1
ip link set dev vrf-h1 up
ip link set dev $h1 up
ip address add 192.0.2.2/24 dev $h1
ip address add 2001:db8:1::2/64 dev ... | chenshuo/linux-study | tools/testing/selftests/net/forwarding/router_mpath_nh.sh | Shell | gpl-2.0 | 8,144 |
#!/bin/bash
#
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distrib... | orifinkelman/incubator-trafficcontrol | traffic_ops/build/build_rpm.sh | Shell | apache-2.0 | 2,286 |
#!/bin/sh
#
# Copyright (c) 2006 Junio C Hamano
#
test_description='commit and log output encodings'
. ./test-lib.sh
compare_with () {
git show -s $1 | sed -e '1,/^$/d' -e 's/^ //' >current &&
case "$3" in
'')
test_cmp "$2" current ;;
?*)
iconv -f "$3" -t UTF-8 >current.utf8 <current &&
iconv -f "$3" -t... | devzero2000/git-core | t/t3900-i18n-commit.sh | Shell | gpl-2.0 | 5,290 |
#!/bin/sh
#
# Blackbox test for net conf/registry roundtrips.
#
# Copyright (C) 2010 Gregor Beck <gbeck@sernet.de>
# Copyright (C) 2011 Michael Adam <obnox@samba.org>
if [ $# -lt 3 ]; then
cat <<EOF
Usage: test_net_registry_roundtrip.sh SCRIPTDIR SERVERCONFFILE CONFIGURATION
EOF
exit 1;
fi
SCRIPTDIR="$1"
SERVERCONFFI... | zarboz/XBMC-PVR-mac | tools/darwin/depends/samba/samba-3.6.6/source3/script/tests/test_net_registry_roundtrip.sh | Shell | gpl-2.0 | 3,485 |
#!/bin/bash -e
. shared.sh
curl \
-H 'X-Broker-API-Version: 2.9' \
-v \
$curlargs \
$endpoint/v2/service_instances/$instanceUUID/last_operation'?operation=provisioning'
| adelton/origin | pkg/template/servicebroker/test-scripts/lastoperation-provision.sh | Shell | apache-2.0 | 179 |
#!/bin/sh
git init
gbs build -A armv7l --include-all -B ~/GBS-ROOT-NEW
| WojciechLuczkow/iotivity | resource/csdk/connectivity/samples/tizen/gbsbuild.sh | Shell | apache-2.0 | 75 |
# Copyright (C) 2009-2012 OpenWrt.org
fw__uci_state_add() {
local var="$1"
local item="$2"
local val="$(uci_get_state firewall core $var)"
local e1; for e1 in $item; do
local e2; for e2 in $val; do
[ "$e1" = "$e2" ] && e1=""
done
val="${val:+$val${e1:+ }}$e1"
done
uci_toggle_state firewall core $var "... | kyak/openwrt-xburst | package/network/config/firewall/files/lib/core_interface.sh | Shell | gpl-2.0 | 5,716 |
#!/usr/bin/env bash
PHP_VERSION=$(php -r 'echo phpversion();' | cut -d '-' -f 1)
IMAGE_FAMILY=$(docker-image-info family)
| webdevops/Dockerfile | provisioning/php/general/provision/bootstrap.d/10-php-init.sh | Shell | mit | 123 |
#!/usr/bin/env bash
wait_on_pids()
{
# Wait on the last processes
for job in $1
do
wait $job
if [ "$?" -ne 0 ]
then
TestsFailed=$(($TestsFailed+1))
fi
done
}
usage()
{
echo "Runs .NET CoreFX tests on FreeBSD, Linux, NetBSD or OSX"
echo "usage: run-test [options]"
echo
ech... | billwert/corefx | run-test.sh | Shell | mit | 10,494 |
ttIsql -connStr "DSN=ldap_tt;Overwrite=1" -f backsql_create.sql
ttIsql -connStr "DSN=ldap_tt" -f tttestdb_create.sql
ttIsql -connStr "DSN=ldap_tt" -f tttestdb_data.sql
ttIsql -connStr "DSN=ldap_tt" -f tttestdb_metadata.sql
| mapr/impala | thirdparty/openldap-2.4.25/servers/slapd/back-sql/rdbms_depend/timesten/ttcreate_schema.sh | Shell | apache-2.0 | 223 |
#!/bin/bash
TGT_BASE=share/$PKG_NAME-$PKG_VERSION-$PKG_BUILDNUM
TGT="$PREFIX/$TGT_BASE"
[ -d "$TGT" ] || mkdir -p "$TGT"
[ -d "${PREFIX}/bin" ] || mkdir -p "${PREFIX}/bin"
cd "${SRC_DIR}"
# Minimum required for operation
cp RTG.jar $TGT
cp rtg $TGT
# Optional utility scripts (e.g. bash completion)
cp -rvp scripts $T... | ostrokach/bioconda-recipes | recipes/rtg-tools/build.sh | Shell | mit | 765 |
#!/bin/sh
# $Id: edit_cfg.sh,v 1.17 2008/08/30 19:44:25 tom Exp $
##############################################################################
# Copyright (c) 1998-2007,2008 Free Software Foundation, Inc. #
# #
# Permission is h... | pmq20/ruby-compiler | vendor/ncurses/c++/edit_cfg.sh | Shell | mit | 3,020 |
#!/bin/sh
# Exit if any errors
set -e
cd /root/cdnjs
echo Getting latest libraries
git add .
git diff --quiet --exit-code --cached || git commit -m 'bla'
ls
git pull --rebase origin master
git rebase master
echo npm install for good measure
/usr/local/bin/npm install
/usr/local/bin/npm install -g vows
echo Starting ... | svvitale/cdnjs | auto-update.sh | Shell | mit | 855 |
if [ "$(uname)" == "Darwin" ]
then
echo "› macos softwareupdate"
sudo softwareupdate -i -a
fi
| vic3lord/dotfiles | macos/install.sh | Shell | isc | 98 |
#!/bin/bash
sudo arp-scan --interface=wlp1s0 --localnet --numeric --quiet --ignoredups | grep -E '([a-f0-9]{2}:){5}[a-f0-9]{2}'|awk '{print $1}' > killthem.txt
echo routers ip
echo supply as argument to wifikill
route -n|grep ^0.0.0.0|cut -d' ' -f 10
| EdwardOwusuAdjei/Wifikill | listthem.sh | Shell | mit | 251 |
#!/bin/bash
#PBS -q batch
#PBS -N rake
#PBS -l nodes=1:ppn=1
#PBS -j oe
#PBS -m abe
cd ${PBS_O_WORKDIR}
umask 002
rake all
| misshie/Workflows | RakefileGATKv1.6-PBS-Dec2012/submit-rake.sh | Shell | mit | 124 |
#!/usr/bin/env bash
##############################
# [init]
# Initializes project
sudo sh -c 'echo "source /usr/local/rvm/scripts/rvm" >> ~/.bash_login'
sudo sh -c 'echo "cd /vagrant" >> ~/.bash_login'
sudo sh -c 'echo "rvm use #{project.ruby_version}@#{project.gemset}" >> ~/.bash_login'
source /usr/local/rvm/script... | shvets/acceptance_test2 | provision/project_provision.sh | Shell | mit | 1,021 |
#!/bin/bash
base_dir="`pwd`"
lib_dir="${base_dir}/lib/"
local_lib_dir="${base_dir}/local_lib/"
CLASSPATH="${base_dir}/build/classes/:${base_dir}/build/tool/classes/:${base_dir}/build/test/:${base_dir}/build/tool/"
for f in ${lib_dir}*.jar; do
CLASSPATH=${CLASSPATH}:$f;
done
for f in ${local_lib_dir}*.jar; do
C... | wfxiang08/rpc_proxy_java | scripts/runjava.sh | Shell | mit | 802 |
_ssh()
{
local cur prev opts
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
opts=$(grep '^Host' ~/.ssh/config | grep -v '[?*]' | cut -d ' ' -f 2-)
COMPREPLY=( $(compgen -W "$opts" -- ${cur}) )
return 0
}
complete -F _ssh ssh | martinrist/dotfiles | .completion.d/ssh-completion.bash | Shell | mit | 287 |
#!/bin/sh
mkdir -p server/public
cd server/public
ln -s ../../client/vendor
ln -s ../../client/src
exit 0
| zappan/mean-boilerplate | scripts/devsymlink.sh | Shell | mit | 109 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for CESA-2016:1137
#
# Security announcement date: 2016-05-31 12:09:14 UTC
# Script generation date: 2017-01-01 21:11:48 UTC
#
# Operating System: CentOS 5
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - openssl.i686:0.9.8e-40.el5_11
# - open... | Cyberwatch/cbw-security-fixes | CentOS_5/x86_64/2016/CESA-2016:1137.sh | Shell | mit | 1,123 |
#!/bin/zsh
# If fzf and fd-find do not exist => exit
! [ -f "$HOME/.fzf.zsh" ] && return 0
! [ -f "$HOME/.cargo/bin/fd" ] && return 0
# Use fd-find as FZF engine
export FZF_DEFAULT_COMMAND='fd --type file --color=always'
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
export FZF_ALT_C_COMMAND='fd --type directory --c... | hust921/dotfiles | custom/settings.zsh | Shell | mit | 374 |
echo " Time LPG CO Smoke Temp Humidity PM 2.5 "
cat [2*
#[2017-03-31 22:05:31] 0.0000 0.0000 0.0000 24.0000 30.0000 20.0816
| MrDxxK/Air-pollution-monitor | Web/ShowData.sh | Shell | mit | 157 |
#!/bin/bash
# Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
assert_ok "$FLOW" autofix exports --in-place a.js
assert_ok "$FLOW" force-recheck a.js
echo "> cat a.js"
cat a.js
echo "> flow sta... | samwgoldman/flow | tests/autofix-numeric-literals/test.sh | Shell | mit | 350 |
set -e
bash get_gm12878.sh 1000000 22
bash get_gm12878.sh 100000 22
BEDPATH=hic_data/GM12878_combined_22_100kb.bed
#Chromosome3D
#create input
INPUT_PATH=Chromosome3D/input/GM12878_combined_22_100kb.txt
if [ ! -e $INPUT_PATH ]
then
python chromosome3d_input.py $BEDPATH $INPUT_PATH
fi
#run
perl Chromosome3D/chr... | seqcode/miniMDS | scripts/sup3.sh | Shell | mit | 2,216 |
#!/bin/bash
source ./one.sh
echo "your site: ${url}" | xudong7930/centos6 | shell/w3cshell/13.文件包含.sh | Shell | mit | 54 |
#!/usr/bin/env bash
#
# This flushes the site-wide cache
#
DIR="$( builtin cd "$( dirname "$( readlink -f "${BASH_SOURCE[0]}" )" )" && pwd )"
source $DIR/load_config.sh
$VENV_DIR/bin/python $SRC_DIR/manage.py clear_cache
| seanbell/django-scripts | clear_cache.sh | Shell | mit | 223 |
#!/bin/bash
# Copyright 2014 Google Inc. 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 applic... | whisklabs/salt-cassandra-formula | vagrant/provision-minion.sh | Shell | mit | 1,536 |
#!/bin/sh
# Compress JS
java -jar compiler.jar --js ../src/* --js ../desk.js --js ../libs/bootstrap-dropdown.js --js ../libs/jquery.ui.touch-punch.min.js --js_output_file ../script.js
# Compress CSS
#if [ -e combined.css ]; then rm combined.css; fi
#cat ../*.css > style.css
yui-compressor ../common.css -o ../common.m... | holalabs/holadesk | tools/compress.sh | Shell | mit | 372 |
# Initialization for raspberry pi 3
# Assuming debian installation
sudo apt-get update -y
sudo apt-get dist-upgrade -y
sudo apt-get upgrade -y
sudo apt-get autoremove -y
sudo apt-get install build-essential
sudo apt-get install htop
# Emacs
# sudo nano /etc/apt/sources.list
# uncomment the 3rd line so that archive i... | zsunjian/sys_bookstrap | pi_init.sh | Shell | mit | 839 |
#!/usr/bin/env bash
docker build -t vposvistelik/apt-cacher-ng . | v2p/pub | dockers/apt-cacher-ng/build.sh | Shell | mit | 65 |
#!/bin/sh
#
# Script that converts TGnotes documents to Markdown
#
# Copyright © 2014 Tiancheng "Timothy" Gu
# Licensed under the MIT License.
# This script is only tested on GNU Sed.
# Usage: <this file> <input.tgnotes> [<output.md>]
# If the output file is not specified it is assumed to be standard output
if [ "$#... | TimothyGu/tgnotes | notes2md.sh | Shell | mit | 728 |
#!/usr/bin/env bash
set -eo pipefail
mkdir -p ~/Documents/development/code/
mkdir -p ~/Documents/images/deviant/
| cfalcondair/dotfiles | install/dirs.sh | Shell | mit | 116 |
#!/bin/bash
#
# Use this file to quickly change the app version.
# It will also tag, commit the change and push it.
#
# Usage: ./version.sh 1.2.0
# Check $1
if [ -z "$1" ]
then
echo "Version is required."
fi
# Replace version in package.json files
sed -i.bak "s/\"version\": \".*\"/\"version\": \"$1\"/g" ./packa... | eyeyunianto/aksara | iDumai/version.sh | Shell | mit | 720 |
#!/bin/sh
# ---
# image:
# tag: "redis:$VG_REDIS_VERSION"
# network: $VG_DOCKER_NETWORK
# interactive: true
# tty: true
# rm: true
# environment:
# - VG_REDIS_VERSION=latest
# - VG_DOCKER_NETWORK=vg_redis
# ---
if [ -n "$1" ] ; then
redis-cli -u "$REDIS_URL" $@
else
redis-cli -u "$REDIS_URL"
fi
| vantage-org/redis | plugins/redis/run.sh | Shell | mit | 318 |
#!/usr/bin/env bash
mkdir -p build
cd build
cmake ..
make
ctest | ParadoxZero/stmp | run_test.sh | Shell | mit | 63 |
#!/bin/bash
echo "Start testing."
./test/bats/bin/bats ./test/tests
| NicoVIII/CloudBackupEncryption | test/test.sh | Shell | mit | 69 |
#!/usr/bin/env bash
# set params
#input_dataset_train=data/conll16st-en-01-12-16-trial
#input_dataset_test=data/conll16st-en-01-12-16-trial
input_dataset_train=data/conll16-st-train-en-2016-03-29
input_dataset_test=data/conll16st-en-03-29-16-test
run_type=svm_base
run_name=${run_type}_sup_v2_hier_depemb_tr16test16
... | jimmycallin/master-thesis | architectures/conll16st-hd-sdp/sup_parser_v2_hierarchy_optimized_run_train2016_test2016.sh | Shell | mit | 1,250 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DSA-3394-1
#
# Security announcement date: 2015-11-05 00:00:00 UTC
# Script generation date: 2017-01-01 21:07:36 UTC
#
# Operating System: Debian 7 (Wheezy)
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - libreoffice:1:3.5.4+dfsg2-0+deb7u5
... | Cyberwatch/cbw-security-fixes | Debian_7_(Wheezy)/x86_64/2015/DSA-3394-1.sh | Shell | mit | 710 |
if [[ $(pamixer --get-mute) == "true" ]]; then
level="mute"
icon=''
else
level=$(pamixer --get-volume)
if [ $level = 0 ]; then
icon=''
elif [ $level -lt 33 ]; then
icon=''
elif [ $level -lt 66 ]; then
icon=''
else
icon=''
fi
level="$level%"
fi
open_cmd="%{A:pavucontrol:}"
set_c... | Iambecomeroot/dotfiles | tint2/.config/tint2/volume-icon.sh | Shell | mit | 440 |
#!/bin/bash
# dnase-pool-bioreps.sh - Pools two biological replicates for the ENCODE DNase-seq pipeline.
main() {
# Executables in resources/usr/bin
set +x
# If available, will print tool versions to stderr and json string to stdout
if [ -f /usr/bin/tool_versions.py ]; then
versions=`tool... | ENCODE-DCC/dnase_pipeline | dnanexus/old/dnase-pool-bioreps/src/dnase-pool-bioreps.sh | Shell | mit | 6,221 |
#!/bin/bash
echo -e "Executing docs"
if [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "master" ]; then
echo -e "Generating Jazzy output \n"
jazzy --clean --module-version 1.0.6 --author "Oleh Kulykov" --author_url http://www.resident.name --github_url https://github.com/OlehKulykov/OKAle... | OlehKulykov/OKAlertController | generate_docs.sh | Shell | mit | 968 |
#!/bin/bash
# This file is part of the RemoteVideoWatcher package.
# (c) Alexander Lukashevich <aleksandr.dwt@gmail.com>
# For the full copyright and license information, please view the LICENSE file that was distributed with this source code.
MACHINE_ARCH=$(uname -m | cut -c1-3 | tr '[:lower:]' '[:upper:]')
WORK_DIR=... | alex-dwt/RemoteVideoWatcher | camera-utility.sh | Shell | mit | 19,529 |
#!/bin/bash
#
cd ../bin
./deploymap.sh MapTest-Creative
cd -
| sdhunt/McQuad | tools/src/dev/runmap.sh | Shell | mit | 62 |
#!/usr/bin/env bash
# All necessary OpenCV dependencies:
sudo apt-get -y install libavcodec-dev libavformat-dev libswscale-dev libx264-dev libv4l-dev
sudo apt-get -y install libgtk2.0-dev
sudo apt-get -y install libatlas-base-dev gfortran
| kkshmz/dotfiles | raspi/install-opencv.sh | Shell | mit | 240 |
########################################################################################
## ##
## Automatically download and extract all the SRA data. This self contained ##
## bash script, should (!!) download a new version of... | linsalrob/partie | scripts/partie_download.sh | Shell | mit | 6,015 |
#!/bin/bash
# --- First, run the program
python3 {{cookiecutter.project}}.py
# --- Check to see if there was an error
# make sure we redirect of the error message
logFile=$(ls logs/*.log 2> /dev/null | sort | tail -n1)
SHOW_ALL_LOG="no"
SHOW_TIME="no"
while getopts "at" option; do
case "${option}" in
... | sankhaMukherjee/myCutter | {{cookiecutter.project}}/bin/run.sh | Shell | mit | 838 |
sudo docker run -d --name logtastic logtastic
| Burmudar/docker-logtastic | run.sh | Shell | mit | 46 |
#!/usr/bin/bash
merge () {
local ext=$1
shift
for found in `locate $ext`;do
orig=${found%.${ext}}
if [ $# -gt 0 ];then
$1 $orig $found
rm -i $found
else
echo $orig '<->' $found
fi
done
}
merge pacnew "$@"
| jokester/dotted | arch/merge_pacfiles.sh | Shell | mit | 248 |
#!/usr/bin/env bash
if [[ $SL_BUILD_NATIVE == "false" ]]; then
echo "Skipping the native image build because SL_BUILD_NATIVE is set to false."
exit 0
fi
"$JAVA_HOME"/bin/native-image \
--macro:truffle --no-fallback --initialize-at-build-time \
-cp ../language/target/simplelanguage.jar:../launcher/target... | m50d/amalie | native/make_native.sh | Shell | mit | 409 |
#!/usr/bin/env bash
#script name : csvrename.sh
#title : Batch Renaming Using CSV File Look Up
#description : This bash script can be used to look up file names
# in a CSV file of root directory and rename them to
# the new name they are assigned in the CSV table.
#author : Srishti Belwar... | srishtibelwariar/BashScripts | csvrename.sh | Shell | mit | 2,498 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-2449-1
#
# Security announcement date: 2014-12-22 00:00:00 UTC
# Script generation date: 2017-01-01 21:04:09 UTC
#
# Operating System: Ubuntu 14.10
# Architecture: i686
#
# Vulnerable packages fix on version:
# - ntp:1:4.2.6.p5+dfsg-3ubuntu2.14.10.1
#
# L... | Cyberwatch/cbw-security-fixes | Ubuntu_14.10/i686/2014/USN-2449-1.sh | Shell | mit | 709 |
#!/usr/bin/env bash
apt-get update
# install packages
apt-get install git -y
apt-get install nginx -y
apt-get install software-properties-common -y
# setup hhvm
apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0x5a16e7281be7a449 -y
add-apt-repository "deb http://dl.hhvm.com/ubuntu $(lsb_release -sc)... | hacktx/nucleus-vagrant | provision/setup.sh | Shell | mit | 1,536 |
#! /bin/sh
#
# Copyright (c) 2010, 2013 Oracle and/or its affiliates. All rights reserved.
#
# Display environment's deadlocks based on "db_stat -Co" output.
t1=__a
t2=__b
trap 'rm -f $t1 $t2; exit 0' 0 1 2 3 13 15
if [ $# -ne 1 ]; then
echo "Usage: dd.sh [db_stat -Co output]"
exit 1
fi
if `egrep '\<WAIT\>.*\<pa... | iadix/iadixcoin | db-5.3.28.NC/util/db_stat/dd.sh | Shell | mit | 1,937 |
#!/usr/bin/env bash
###############################################################################
# General #
###############################################################################
# Set appearance
# Blue : 1
# Graphite : 6
defaults wr... | semenovDL/dotfiles | system/general.sh | Shell | mit | 2,043 |
#!/bin/bash
export NODE_ENV="production"
export MONGO_DB_URL="{{pnews_poller_mongo_url}}"
cd "{{pnews_poller_dir}}"
/usr/bin/node app.js --source hackernews
| jorisroovers/pnews | deploy/roles/pnews-poller/templates/pnews-poller-hackernews.sh | Shell | mit | 159 |
#!/usr/bin/env bash
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
UNAME="$(uname)"
source "$CURRENT_DIR/helpers.sh"
source "$CURRENT_DIR/variables.sh"
is_tmux_automatic_start_enabled() {
local auto_start_value="$(get_tmux_option "$auto_start_option" "$auto_start_default")"
[ "$auto_start_value" =... | insanepaul/tmux-continuum | scripts/handle_tmux_automatic_start.sh | Shell | mit | 813 |
#!/usr/bin/env bash
set -e
for file in test/*.json; do
if [[ $file == "test/context.json" || $file == "test/event.json" ]] ; then
continue;
fi
node-lambda run -x test/context.json -j $file
done
| KangarooBox/lambda-cloudwatch-event-msteams | test/all.sh | Shell | mit | 205 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for RHSA-2011:1455
#
# Security announcement date: 2011-11-16 23:12:24 UTC
# Script generation date: 2017-01-01 21:13:31 UTC
#
# Operating System: Red Hat 5
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - freetype.i386:2.2.1-28.el5_7.2
# - fr... | Cyberwatch/cbw-security-fixes | Red_Hat_5/x86_64/2011/RHSA-2011:1455.sh | Shell | mit | 1,433 |
#!/bin/bash
# pip install virtualenv
virtualenv --python=python hhsmartmirror
source ./hhsmartmirror/bin/activate
pip install -r requirements.txt
pip install --global-option='build_ext' --global-option='-I /usr/local/include' --global-option='-L /usr/local/lib' pyaudio
| ymnoor21/AI-Smart-Mirror | setup.sh | Shell | mit | 271 |
#!/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... | HarrisLee/SwiftBook | SmartHomeI/Pods/Target Support Files/Pods-SmartHomeI/Pods-SmartHomeI-frameworks.sh | Shell | mit | 5,573 |
# -*- shell-script -*-
# hist.sh - Bourne Again Shell Debugger history routines
#
# Copyright (C) 2002-2003, 2006-2008, 2011, 2015 Rocky Bernstein
# <rocky@gnu.org>
#
# 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... | rogalmic/vscode-bash-debug | bashdb_dir/lib/hist.sh | Shell | mit | 4,098 |
# .functions
# vim:syntax=sh
#####################
# Utility functions #
#####################
# Upgrade mac-dots
function upgrade_macdots {
/usr/bin/env MACDOTSreload=$MACDOTS zsh $MACDOTS/bin/upgrade
}
# Log into a vzaar server
function vssh_login {
ssh -i ~/.ssh/vzaar.pem vzaar@$1 ;
}
# Rebuild Finder "Open ... | alol/mac-dots | zsh/functions.zsh | Shell | mit | 1,540 |
#!/bin/sh
set -e
mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt
> "$RESOURCES_TO_COPY"
install_resource()
{
case $1 in
*.storyboard)
echo "ibtool --reference-external-strings-file --errors --warnings --notices ... | tonymillion/TMCoreDataStack | Example/Pods/Target Support Files/Pods-TMCoreDataStack/Pods-TMCoreDataStack-resources.sh | Shell | mit | 4,026 |
#!/bin/sh
DISTADDR="127.0.0.1"
. /etc/default/cuckoo
sudo service uwsgi start cuckoo-distributed
sudo service nginx start
sudo start cuckoo-distributed-instance INSTANCE=dist.status
sudo start cuckoo-distributed-instance INSTANCE=dist.scheduler
for worker in $(curl -s "$DISTADDR:9003/api/node?mode=workers"); do
... | mburakergenc/Malware-Detection-using-Machine-Learning | cuckoo/utils/start-distributed.sh | Shell | mit | 384 |
#! /usr/bin/env zsh
ls | while read s; do nkf -w $s | grep "きく" > /dev/null 2>&1 && echo $s; done | kmhjs/shell_gei | src/13/q1.zsh | Shell | mit | 102 |
#!/usr/bin/env bash
##
# This script builds the extension for the Chrome browser.
#
##
echo 'Building Web Search Navigator for Chrome'
# copy the sources into the working directory
BIN=build/chrome
OBJ="$BIN/obj"
echo 'Copying files...'
# cleanup the previous build
rm -rf "$OBJ"
mkdir -p "$OBJ"
cp -R src/* "$OBJ"
... | infokiller/google-search-navigator | tools/make-chrome.sh | Shell | mit | 405 |
set -o errexit
set -o nounset
export REGISTRY=quay.io/munnerz/
docker login -e="${QUAY_EMAIL}" -u "${QUAY_USERNAME}" -p "${QUAY_PASSWORD}" quay.io
if [ "${TRAVIS_TAG}" = "" ]; then
echo "Pushing images with sha tag."
make push
else
echo "Pushing images with release tag."
make push MUTABLE_TAG=latest ... | munnerz/keepalived-cloud-provider | build/deploy.sh | Shell | mit | 347 |
#!/usr/bin/env bash
NODE_ENV=test yarn build | WillowDeploy/willow-deploy | build-test.sh | Shell | mit | 45 |
#!/bin/bash
# This is a naive implementation of the Porter's stemming algorithm in unix
if [ $# -eq 0 ]
then
echo 'No argument passed. Command format: stemming.sh foo.txt'
else
tr -sc 'A-Za-z' '\n' < $1 | tr 'A-Z' 'a-z' | grep '[aeiou].*ing$' | sort | uniq -c | sort -n -r | less
fi
| Elixeus/Snippets | stemming.sh | Shell | cc0-1.0 | 291 |
#!/bin/bash
#
# OpenStack Installation script
#
# copyright 2017 kasidit chanchio, vasabilab,
# http://vasabilab.cs.tu.ac.th
# Department of Computer Science,
# Faculty of Science and Technology, Thammasat University
#
. ./install-paramrc.sh
#
export ORIINSTALL_TYPE=vasabi-1234install_type4321-ibasav
export ORINETW... | kasidit/openstack-ocata-installer | exe-config-installer.sh | Shell | gpl-2.0 | 24,686 |
#!/bin/sh
# Copyright (C) 1999-2005 ImageMagick Studio LLC
#
# This program is covered by multiple licenses, which are described in
# LICENSE. You should have received a copy of LICENSE with this
# package; otherwise see http://www.imagemagick.org/script/license.php.
. ${srcdir}/tests/common.shi
${RUNENV} ${MEMCHECK} ... | atmark-techno/atmark-dist | user/imagemagick/tests/rwfile_YUV_truecolor_70x46.sh | Shell | gpl-2.0 | 382 |
#!/bin/bash
# reboot_droidboot.sh
#
# Función que permite reiniciar en modo Droidboot/Fastboot
#~ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# A TINY TR10 CLI TOOL FOR GNU/LINUX BASH VERSION 1.0.0
#
# Developer : Erick Carvajal Rodriguez
# Contact : http://twitter.com/neocarvajal ... | WuilmerBolivar/TR10-TOOL | FUNCTIONS/3-reboot_droidboot.sh | Shell | gpl-2.0 | 4,066 |
#!/bin/bash
set -e
: ${DATADIR:=/var/lib/mysql}
: ${MYSQL_ROOT_PASSWORD:=redhat}
: ${REP_USER:=cluster}
: ${REP_PASS:=123456}
: ${CLUSTER_NAME:=my_super_cluster}
edit_conf(){
cat <<MYCONF >/etc/mysql/my.cnf
[client]
port = 3306
socket = /var/run/mysqld/mysqld.sock
[mysqld_safe]
socket = /var/run/mysqld/mysqld.s... | bw-y/docker-galera-mariadb | entrypoint.sh | Shell | gpl-2.0 | 3,320 |
#
# Copyright (C) 2008 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 applicable la... | Kahlo007/android_device_lenovo_kai | vendorsetup.sh | Shell | gpl-2.0 | 845 |
#! /bin/bash
#
# This file is part of sutlac-gtk-theme
#
# Copyright (C) 2016-2017 Tista <tista.gma500@gmail.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 Licens... | diglam/sutlac-gtk-theme | gtk/asset/assets-gtk2-scripts/render-assets-gtk2-spin.sh | Shell | gpl-2.0 | 1,614 |
#! /bin/sh
# Copyright (C) 2002-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/txinfo-info-in-srcdir.sh | Shell | gpl-2.0 | 2,146 |
#!/bin/bash
#### 1 time instructions ###
# probably incomplete
# https://docs.github.com/en/enterprise/2.14/user/articles/setting-up-your-github-pages-site-locally-with-jekyll
# 1. Install ruby
# 2. Install bundler
# 3. Install deps
# sudo apt install ruby-dev
# gem install bundler
# bundle install
bundle exec jekyl... | facundoq/facundoq.github.io | serve.sh | Shell | gpl-2.0 | 327 |
#!/bin/bash
############
# Purpose: Unit tests for functional tests
# Authors: Ankshit Jain
# Dependencies: bats (https://github.com/sstephenson/bats)
# Date : 13-March-2018
# Previous Versions: -
# Invocation: $bash website_load.sh
###########
# All variables that are exported/imported are in upper case convention. Th... | AnkshitJain/Autolab-Local | tests/functional_tests/shell/unit_tests.sh | Shell | gpl-2.0 | 490 |
#!/bin/bash
set -ev
BREWS="qt5 cmake"
for i in $BREWS; do
brew outdated | grep -q $i && brew upgrade $i
done
for i in $BREWS; do
brew list | grep -q $i || brew install $i
done
| mattiascibien/ivygen | CI/travis.osx.install.sh | Shell | gpl-2.0 | 180 |
WIF=$DEVICE
LIF=br-lan
IFCONFIG=/sbin/ifconfig
ROUTE=/sbin/route
IPTABLES=/usr/sbin/iptables
TMP_DIR=/tmp/tmp_file
TMP_PBRIDGE_IP="$TMP_DIR/pbridge_IP"
FWT="$TMP_DIR/pbridge_firewall.sh"
DNS_TC="$TMP_DIR/dnsmasq_pbridge.conf"
mkdir -p "$TMP_DIR"
get_wan_section() {
NAME=`uci get network.wan.ifname`
SECTION="wan"
if... | ingran/balzac | package/base-files/files/etc/hotplug.d/iface/98-pbridge.sh | Shell | gpl-2.0 | 4,332 |
#!/bin/bash
###########################################################################################
## Copyright 2003, 2015 IBM Corp ##
## ##
## Redistribution and use in s... | PoornimaNayak/autotest-client-tests | linux-tools/attr/attr.sh | Shell | gpl-2.0 | 4,272 |
#!/bin/bash
test "$1" == "" && echo "Qual WM iniciar?!" && exit 1
Xephyr -name TEST -ac -br -noreset -screen 1024x768 :1 >/dev/null 2>&1 &
sleep 1
DISPLAY=:1.0 $1 &
| Acidhub/tools | X.sh | Shell | gpl-2.0 | 166 |
#!/bin/bash
## begin license ##
#
# The Meresco Triplestore package consists out of a HTTP server written in Java that
# provides access to an Triplestore with a Sesame Interface, as well as python bindings to
# communicate as a client with the server.
#
# Copyright (C) 2011-2014, 2016 Seecr (Seek You Too B.V.) http://... | seecr/meresco-triplestore | server/src/test/alltests.sh | Shell | gpl-2.0 | 2,283 |
#!/bin/bash
screen -ls
echo
echo Cycling you through them....
sleep 1
for session in `screen -ls | grep Detached | cut -f 2`; do screen -r $session; done
| cyclingzealot/bin | cycleScreenSessions.bash | Shell | gpl-2.0 | 157 |
#!/bin/bash
#--------爬虫-----------
cd /home/daizhaohui/Desktop/dzh/emdata/wyoming_another #切换到项目位置
./yesterday.sh /home/daizhaohui/Desktop/dzh/download #保存文件的位置
#--------导入数据库--------------
cd /home/daizhaohui/Desktop/dzh/download/$(date -d "1 day ago" +"%Y-%m-%d") #切换到csv文件所在目录
#filepath=$(cd "$(dirna... | zhDai/CToFun | My_work/shell_scripts_Scrapy/shell_text/wyoming_another_import.sh | Shell | gpl-2.0 | 1,013 |
#!/bin/bash
BAK_DIR=$HOME/dotfiles_bak
DOT_DIR=$HOME/dotfiles
DOT_FILES=".zshrc .bashrc .Xdefaults .compton.conf .xinitrc .rtorrent.rc"
OB_DIR=$HOME/.config/openbox
OB_FILES="rc.xml autostart"
AWE_DIR=$HOME/.config/awesome
AWE_FILES="rc.lua"
AWE_FOLDERS="lain themes"
echo "Trying to backup your dotfiles."
## If backu... | mavz42/dotfiles | install_complete.sh | Shell | gpl-2.0 | 3,129 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.