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
echo "--------------------------------------"
echo "TechTutors Windows Image Update Script"
echo "--------------------------------------"
echo
echo This script simply walks the user through the process
echo of going methodically through the TechTutor\'s Win10 vm
echo images and updating drivers, fresh insta... | forged2form/cleantech-scripts | linux/winimageupdate.sh | Shell | mit | 1,550 |
#!/bin/bash
echo '--------------------'
echo 'Checking success cases'
python jira-warden.py issue_add_worklog AIAFT-1
python jira-warden.py issue_add_worklog AIAFT-1 5h
python jira-warden.py issue_add_default_subtask AIAFT-1
python jira-warden.py sprint_verify_subtasks_exist_and_set_subtask_estimates_from_points 'A... | mrts/jira-warden | test.sh | Shell | mit | 789 |
set -e
if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
cargo doc --no-deps
pip install --user ghp-import
/home/travis/.local/bin/ghp-import -n target/doc
git push -qf https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
echo "Doc upload finished"
fi
| mthjones/slackbot | .travis/upload-docs.sh | Shell | mit | 266 |
#! /bin/bash -e
# ---
# RightScript Name: RL10 Linux Enable Monitoring
# Description: |
# Chose to either enable built-in RightLink monitoring or install and setup collectd with basic set of plugins.
# Both methods work with RightScale TSS (Time Series Storage), a backend system for aggregating and
# displaying ... | rightscale/rightlink_scripts | rll/enable-monitoring.sh | Shell | mit | 16,569 |
#!/bin/sh
ELROND_HOME="$(dirname "$0")"/..
export ELROND_HOME
. "${ELROND_HOME}"/etc/common
OPTION="$1"
case "${OPTION}" in
*restore-defaults)
rm -f "${ELROND_ETC}"/elrond-console-widget.ini
shift
;;
esac
if [ ! -f "${ELROND_ETC}"/elrond-console-widget.ini ]; then
... | cdsi/elrond | bin/elrond-console.sh | Shell | mit | 520 |
#!/usr/bin/sh
cd $HOME/.emacs.d/lib
emacs --batch -L . --eval '(package-initialize)' -f batch-byte-compile *.el
| h-youhei/myconfig | emacs/bytecompile.sh | Shell | mit | 114 |
#!/bin/sh
if [ -f /deployment/init.sh ];
then
echo "Running custom init script"
chmod +x /deployment/init.sh
/deployment/init.sh
fi
if [ -n "${Xmx}" ];
then
sed -i s/Xmx.*\ /Xmx${Xmx}\ /g /etc/default/tomcat7
fi
if [ -n "${JAVA_OPTS}" ];
then
# Add any Java opts that are set ... | UnifiedViews/docker-unified-views | uv-frontend/startup-tomcat.sh | Shell | mit | 1,052 |
#!/bin/bash
# snapshot cleanup script
# WARNING: this will delete all snapshots
export PATH=/bin:/sbin
PS4='+\D{%s} [$?] # '
if [ $# -ne 1 ]; then
echo usage: $0 path
exit 1
fi
if ! test -f snapshots.sh; then
echo you must be in tests directory $0
exit 2
fi
testname=${testname:-snapshots}
. lib.sh
... | toppk/saveme | tests/snapshots-teardown.sh | Shell | mit | 655 |
#!/bin/bash
#####################################################
# This little script just scans all in the #
# location the balances are found #
# and checks their weight the names of the #
# files bear no relation of what the #
# actual balance is, just the output for debugging #
################... | NPPC-UK/Gravimetrics | Testing/check_balances.sh | Shell | mit | 491 |
#!/bin/bash
set -euo pipefail
# Perl is the simplest portable way to get the full path of the script
# https://www.commandlinefu.com/commands/view/9798/get-full-directory-path-of-a-script-regardless-of-where-it-is-run-from
abs_path=$(perl -MCwd -e "print Cwd::abs_path('$0')")
DOTFILES_DIR=$(cd $(dirname "$abs_path") ... | phantomwhale/dotfiles | install-osx.sh | Shell | mit | 652 |
#!/bin/bash
export ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe
export ORACLE_SID={{oracle_sid}}
export ORACLE_BASE=/u01/app/oracle
export PATH=$ORACLE_HOME/bin:$PATH
############################################################################################################
# Heure de démarrage du script en seconde... | fupelaqu/ansible-oraclexe-docker-base | oracle/templates/oracle-schema.sh | Shell | mit | 1,051 |
#!/bin/sh
echo '[objects]' > temp
echo driver.obj >> temp
wla-spc700 -o driver.aspc driver.obj
wlalink -vr temp SKSdriver.spc
rm driver.obj
rm temp
| Kannagi/Super-Kannagi-Sound | spc.sh | Shell | mit | 151 |
#!/bin/bash
THISDIR=$(cd $(dirname "$0"); pwd) #this script's directory
. $THISDIR/baseurl.sh
FUNC_PATH=/index.html
VERBOSE= #-v # to show request/response headers & more
SILENT= #--silent makes the progress meter not get shown (this is also not shown if we pipe curl's output too)
clear
curl $VERBOSE $SILENT $BASE_URL... | activescott/sheetmonkey-server | server/dev/invoke-testhtml.sh | Shell | mit | 336 |
#!/bin/bash
# script to check whether an experiment run is still making progress or not
previous="tmp/monitor_base.temp"
current="tmp/status_now.temp"
dir_to_monitor=$(pwd)/MasterResults/${EXP_NAME}
EXP_NAME=$(basename $(pwd))
MY_MAIL="andreas.dittrich@usi.ch"
#MY_MAIL="cotobj@usi.ch"
INTERVAL=300
status_mail() {
... | adittrich/excovery | master/bin/check_alive.sh | Shell | mit | 854 |
#!/bin/sh
for file in pmd*-"`printf \"%04d\" $1`"
do
echo "$file ---> `echo $file | sed 's/-..../-0000/'`"
cp $file "`echo $file | sed 's/-..../-0000/'`"
done
| ryokbys/nap | pmd/util/rename_pmd.sh | Shell | mit | 166 |
#!/bin/sh
echo [INFO] Create Entity Files.
cd ..
export I18N_LOCALE=en_US
xtab -entity
| goyy/goyy | app/schema/bin/exp-entity.sh | Shell | mit | 89 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DLA-560-2
#
# Security announcement date: 2016-08-31 00:00:00 UTC
# Script generation date: 2017-01-01 21:09:17 UTC
#
# Operating System: Debian 7 (Wheezy)
# Architecture: i386
#
# Vulnerable packages fix on version:
# - cacti:0.8.8a+dfsg-5+deb7u10
#
# Last v... | Cyberwatch/cbw-security-fixes | Debian_7_(Wheezy)/i386/2016/DLA-560-2.sh | Shell | mit | 606 |
#!/bin/bash -e
# Begin service ENV variables
export SHIPPABLE_MEMCACHED_PORT=11211;
export SHIPPABLE_MEMCACHED_BINARY="/usr/local/bin/memcached";
export SHIPPABLE_MEMCACHED_CMD="$SHIPPABLE_MEMCACHED_BINARY -d -u nobody -l 127.0.0.1 -p $SHIPPABLE_MEMCACHED_PORT";
# End service ENV variables
#
# Function to START
#
star... | dry-dock/u12pls | test/_memcached.sh | Shell | mit | 815 |
#!/bin/bash
cd $HOME
USE_VERSION=$1
export PATH=$HOME/.rbenv/bin:$PATH
eval "`rbenv init -`"
rbenv shell $USE_VERSION
gem install --conservative couchrest:1.1.3
gem install --conservative ruby-progressbar | dpla/automation | ansible/files/install_couchdb_restore_gems.sh | Shell | mit | 209 |
#!/bin/bash
heroku run python manage.py dumpdata --indent=4 | tail -n +2 | tee from_prod.json
rm db.sqlite3
python manage.py syncdb --migrate
python manage.py loaddata from_prod.json
| WillsB3/Sim-Checklist | sync.sh | Shell | mit | 183 |
#!/usr/bin/env bash
GIT_RELEASE_VERSION=$(git describe --tags --always --abbrev=0)
COMMITS=$(git rev-list HEAD | wc -l)
COMMITS=$(($COMMITS))
UPDATES_FILE="updates.plist"
RELEASES=2
KEY="Extension\\ Updates"
UPDATE_URL="https://github.com/kaishin/Nope/releases/download/${GIT_RELEASE_VERSION}/Nope.safariextz"
/usr/lib... | kaishin/Nope | bin/release.sh | Shell | mit | 700 |
#!/usr/bin/env bash
case $1 in
validate)
;;
install)
;;
create)
;;
*)
echo "Usage: $(basename $0) <command> <command args>" >&2
echo " Commands:" >&2
echo " validate /path/to/mcollective/config" >&2
echo " - Validate all required mcollective plugin files exist" >&2
echo " install /path/to/mcollec... | tim-group/stackbuilder | bin/mco_plugin_validator.sh | Shell | mit | 9,173 |
#!/bin/bash -e
update_version() {
echo "$(node -p "p=require('./${1}');p.version='${2}';JSON.stringify(p,null,2)")" > $1
echo "Updated ${1} version to ${2}"
}
current_version=$(node -p "require('./package').version")
printf "Next version (current is $current_version)? "
read next_version
if ! [[ $next_version =... | tsunammis/react-form-validator | scripts/release.sh | Shell | mit | 845 |
#!/usr/bin/env bash
py.test --cov-report html --cov=morenines && open htmlcov/index.html
| mcgid/morenines | cov.sh | Shell | mit | 90 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DSA-3158-1
#
# Security announcement date: 2015-02-09 00:00:00 UTC
# Script generation date: 2017-01-01 21:07:14 UTC
#
# Operating System: Debian 7 (Wheezy)
# Architecture: armv7l
#
# Vulnerable packages fix on version:
# - unrtf:0.21.5-3~deb7u1
#
# Last vers... | Cyberwatch/cbw-security-fixes | Debian_7_(Wheezy)/armv7l/2015/DSA-3158-1.sh | Shell | mit | 631 |
mono /Users/Hugo/Dev/ContentSyncTool.exe sync -s Datasync -c wstest | aaltoglobalimpact/agi-oip-ng | WebTemplates/controlpanel_comments_v1/dataSync.command | Shell | mit | 67 |
#!/usr/bin/env bash
#set -e
echo 'Running Ubuntu elastic search script...'
# http://raphaelhertzog.com/2010/09/21/debian-conffile-configuration-file-managed-by-dpkg/
es_data_path="/usr/share/elasticsearch/data"
es_deb="elasticsearch-1.4.0.deb"
es_deb_url="https://download.elasticsearch.org/elasticsearch/elasticsearc... | jdantonio/vagrant | scripts/elasticsearch.sh | Shell | mit | 933 |
python ../Sources/Compiler/HTTPIDL.py -d HTTPIDLDemo -o HTTPIDLDemo
| cikelengfeng/HTTPIDL | HTTPIDLDemo/HTTPIDL.sh | Shell | mit | 68 |
#!/bin/bash
COMMAND="diff --ignore-space-at-eol"
NOFILE_MSG="Please supply a file to diff"
if [ -z $1 ]
then
echo $NOFILE_MSG
else
if [ "$1" = "-f" ]
then
if [ ! -e $VIM_OUTPUT_FILE ]
then
touch $VIM_OUTPUT_FILE
fi
if [ -z $2 ]
then
echo $NOF... | hoylemd/scripts | bin/diffOnFile.sh | Shell | mit | 466 |
export PATH=~/bin:$PATH
export PATH=$PATH:~/.shell/scripts
export PATH=$PATH:$HOME/.local/bin
export PATH=$PATH:/Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin
export PATH="/opt/homebrew/bin:/usr/local/bin:$PATH" # For m1
export LC_ALL="en_US.UTF-8"
| alldne/dotfiles | home/.shell/exports.sh | Shell | mit | 270 |
#!/bin/bash
IMAGE=couchdb:1.6.1
NAME=q-db
sudo docker stop $NAME 1>/dev/null 2>&1
sudo docker rm $NAME 1>/dev/null 2>&1
mkdir data 2>/dev/null
echo "Starting $NAME"
sudo docker run \
-d \
-p 5984:5984 \
-v $(pwd)/data:/usr/local/var/lib/couchdb \
--name $NAME $IMAGE 1>/dev/null
sudo docker ps --for... | rymdkraftverk/q | docker/run-db.sh | Shell | mit | 424 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DSA-3480-1
#
# Security announcement date: 2016-02-16 00:00:00 UTC
# Script generation date: 2017-01-01 21:07:50 UTC
#
# Operating System: Debian 7 (Wheezy)
# Architecture: armv7l
#
# Vulnerable packages fix on version:
# - eglibc:2.13-38+deb7u10
#
# Last ver... | Cyberwatch/cbw-security-fixes | Debian_7_(Wheezy)/armv7l/2016/DSA-3480-1.sh | Shell | mit | 734 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DSA-2495-1
#
# Security announcement date: 2012-06-16 00:00:00 UTC
# Script generation date: 2017-01-01 21:06:24 UTC
#
# Operating System: Debian 6 (Squeeze)
# Architecture: i386
#
# Vulnerable packages fix on version:
# - openconnect:2.25-0.1+squeeze1
#
# La... | Cyberwatch/cbw-security-fixes | Debian_6_(Squeeze)/i386/2012/DSA-2495-1.sh | Shell | mit | 634 |
#!/bin/bash
TOOL_HOME=/home/fzurell/temp_logger
WEB_HOME=/tmp/temp_logger/
RRDFILE=$TOOL_HOME/climate.rrd
# Graph Colors
COLOUR1="#294CFF"
COLOUR2="#1F7A34"
COLOUR3="#FFF800"
COLOUR4="#CC1414"
COLOUR5="#000000"
TRENDCOLOUR="#FFFF00"
cd $TOOL_HOME
/usr/bin/rrdtool graph temp_graph.png \
-w 785 -h 120 -a PN... | maxheadroom/temp_logger | misc/generate_graphs.sh | Shell | mit | 1,717 |
#!/bin/sh
docker build -t builder.app -f Dockerfile.build --build-arg APP=app .
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock builder.app docker build -t masdb.app -f Dockerfile --build-arg APP=masdb --build-arg MODE=foreground .
| DrPandemic/MasDB | bin/build.sh | Shell | mit | 246 |
#!/usr/bin/env bash
set -e
ulimit -s 300999
echo "[" > report.txt
cat tests.txt | (cd critters; while read lng cmd; do
lng="$lng" cmd="$cmd" bash -c "${cmd}" >> ../log/compiler.log
done)
echo "]" >> report.txt
cat report.txt
| vagoff/shootout | everything.sh | Shell | mit | 225 |
if [ ! -d "~/.vim/bundle/Vundle.vim" ]; then
mkdir -p ~/.vim/bundle/Vundle.vim
fi
git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
| adobley/dotfiles | vim/install.sh | Shell | mit | 160 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-2303-1
#
# Security announcement date: 2014-07-31 00:00:00 UTC
# Script generation date: 2017-01-01 21:03:53 UTC
#
# Operating System: Ubuntu 14.04 LTS
# Architecture: i686
#
# Vulnerable packages fix on version:
# - unity:7.2.2+14.04.20140714-0ubuntu1.1
... | Cyberwatch/cbw-security-fixes | Ubuntu_14.04_LTS/i686/2014/USN-2303-1.sh | Shell | mit | 636 |
#!/bin/bash
set -ex
rm -rf dist
poetry build
| ianlini/flatten-dict | build.sh | Shell | mit | 46 |
#!/bin/bash
set -e
if [ "$1" = '611d' ]; then
mkdir -p "$SIXELEVEN_DATA"
if [ ! -s "$SIXELEVEN_DATA/611.conf" ]; then
cat <<-EOF > "$SIXELEVEN_DATA/611.conf"
printtoconsole=1
rpcpassword=${SIXELEVEN_RPC_PASSWORD:-$(dd if=/dev/urandom bs=22 count=1 status=none | base64)}
rpcuser=${SIXELEVEN_RPC_USER:-sixelev... | fflo/sixeleven | contrib/docker/docker-entrypoint.sh | Shell | mit | 512 |
# Copyright 2018 The Fractal Team Authors
# This file is part of the fractal project.
#
# 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... | fractalPlatform/Fractal | scripts/tag_release.sh | Shell | mit | 1,716 |
#!/usr/bin/env bash
# Onorio Catenacci 31 January 2014
# Provision VM for Elixir
# From https://github.com/OnorioCatenacci/ElixirVM/
#Install Erlang
echo "Installing Erlang . . ."
readonly esl_package=erlang-solutions_1.0_all.deb
readonly home_dir=/home/vagrant
curl -O "http://packages.erlang-solutions.com/$esl_packa... | arnab/modern-concurrency-rulu | provision.sh | Shell | mit | 1,905 |
#!/bin/bash
cat > /home/pi/.config/lxsession/LXDE-pi/autostart << EOM
@xscreensaver -no-splash
@xset s off
@xset -dpms
@xset s noblank
@chromium-browser --incognito --kiosk http://ids.avner.us/ # load chromium after boot
EOM
| Avnerus/ids | scripts/kiosk.sh | Shell | mit | 226 |
#!/bin/bash
cd Torrent
docker-compose stop
cd ..
git pull
cd Torrent
docker-compose up -d
| fulminati/yard | torrent-update.sh | Shell | mit | 91 |
#!/bin/bash
echo -e "\e[33mStop gulp \e[0m"
kill -9 $(ps aux | grep 'gulp' | grep -v grep | awk '{print $2}') && echo -e "\e[31mGulp process killed\e[0m" || echo -e "\e[32mNo gulp process\e[0m"
| stopsopa/utils | src/Expose/stop.sh | Shell | mit | 195 |
mv /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/fce4-keyboard-shortcuts.xml /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/fce4-keyboard-shortcuts.xml.bak
| aigoyal/admin-harford | fix-x2go.sh | Shell | mit | 147 |
#!/bin/bash
cd $1 && [ -f ./.nvmrc ] && nvm use
| sumtype/crunch-commands | scripts/cdn.sh | Shell | mit | 48 |
#!/bin/bash
#
# Script tested on :
# Centos 6, 7
# Debian 7
# Ubuntu 12.04, 14.04
if [ ! -d "/usr/share/vca/www" ] ; then
echo "VCA is not present !"
exit 0
fi
SCRIPT=""
#Centos/Redhat
if [ -f /etc/redhat-release ] ; then
VERSION=`rpm -q --qf "%{VERSION}" $(rpm -q --whatprovides redhat-release)`
if [ "${VERSION... | V-Paranoiaque/vca | scripts/vca-linux.bash | Shell | mit | 1,285 |
#!/bin/bash
dnf install -y gcc gcc-c++ libdrm-devel rpm-build make wget dnf-utils --enablerepo=extras
dnf-builddep -y ./displaylink.spec
chown `id -u`:`id -g` -R .
echo "Testing 'make srpm'"
make srpm
if [ $? -ne 0 ]; then exit 1; fi
make clean-all
echo "Testing 'make rpm'"
make rpm
if [ $? -ne 0 ]; then exit 1;... | displaylink-rpm/displaylink-rpm | ci/testbuilding.sh | Shell | mit | 731 |
#!/bin/bash
# download swift on Linux
if [[ $TRAVIS_OS_NAME = 'linux' ]]; then
wget https://swift.org/builds/swift-5.2-release/ubuntu1804/swift-5.2-RELEASE/swift-5.2-RELEASE-ubuntu18.04.tar.gz
tar xzf swift-5.2-RELEASE-ubuntu18.04.tar.gz
export PATH="${PWD}/swift-5.2-RELEASE-ubuntu18.04/usr/bin:$PATH"
fi
| pirishd/InstantMock | ci/install.sh | Shell | mit | 313 |
#!/bin/sh
#
# Example:
# sh ./CBIG_ASDf_unit_test.sh ~/storage/Temporaray/CBIG_ASDf_unit_test
#
# Written by Siyi Tang and CBIG under MIT license: https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md
########################################
# Set paths and create log file
#######################################... | ThomasYeoLab/CBIG | stable_projects/disorder_subtypes/Tang2020_ASDFactors/unit_tests/scripts/CBIG_ASDf_unit_test.sh | Shell | mit | 6,021 |
config() {
NEW="$1"
OLD="$(dirname $NEW)/$(basename $NEW .new)"
# If there's no config file by that name, mv it over:
if [ ! -r $OLD ]; then
mv $NEW $OLD
elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
# toss the redundant copy
rm $NEW
fi
# Otherwise, we leave the .new copy for ... | panosmdma/SlackOnly-SlackBuilds | network/spamassassin/doinst.sh | Shell | mit | 923 |
#!/bin/sh
thisdir=$(dirname $(readlink -f "$0"))
cd $thisdir
uwsgi --master --need-app --http 0.0.0.0:8090 \
--module img_cls.apps --callable app \
--processes 1 --threads 1 \
--logto2 /data/log/api.log \
--touch-logrotate /tmp/api-logrotate
| AloneGu/amira_image_cls | entrypoint.sh | Shell | mit | 260 |
#!/bin/sh
echo 511 > /proc/sys/net/core/somaxconn
echo never > /sys/kernel/mm/transparent_hugepage/enabled
sysctl vm.overcommit_memory=1
redis-server /data/env/redis/redis.conf
| greatbsky/redis | startup.sh | Shell | mit | 178 |
if [ -n "$INFO" ]
then
echo "Build a new image from Zockerfile"
exit 0
fi
set -u
set -e
help() {
echo "usage: build [-h] [-t <tag>] <path>"
echo "Zockerfile is searched under <path>"
echo " -h prints help"
echo " -t tag tags the new image"
echo "Zockerfile supports following instructions"
echo
echo ... | toddnni/zocker | cmds/build.sh | Shell | mit | 4,203 |
#!/bin/bash
if [ -f config.sh ]; then
. config.sh
else
echo "Missing config!"
exit 1
fi
# Returns date in given format from given strings
# in format of .*YYYYMMDDhhmmss.* (discarding rest)
# arg1 string
# arg2 format
parse_date()
{
T="([0-9]{2})"
DATE_STR=`echo "$1"| sed -r "s/.*([0-9]{4})$T$T$T$... | deggis/jyvasparkki.fi-scraper | utilization_rates/update.sh | Shell | cc0-1.0 | 1,867 |
#!/bin/bash -eu
################################################################
#
# Copyright 2013, Big Switch Networks, Inc.
#
# Licensed under the Eclipse Public License, Version 1.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#... | rlane/ivs | build/veth_setup.sh | Shell | epl-1.0 | 1,008 |
#! /bin/sh
# Copyright (C) 2011-2017 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 ... | pylam/automake | t/remake-deleted-m4-file.sh | Shell | gpl-2.0 | 1,699 |
. /lib/functions/network.sh
wpa_supplicant_add_rate() {
local var="$1"
local val="$(($2 / 1000))"
local sub="$((($2 / 100) % 10))"
append $var "$val" ","
[ $sub -gt 0 ] && append $var "."
}
hostapd_add_rate() {
local var="$1"
local val="$(($2 / 100))"
append $var "$val" " "
}
hostapd_append_wep_key() {
loca... | chunkeey/apm82181-lede | package/network/services/hostapd/files/hostapd.sh | Shell | gpl-2.0 | 21,887 |
#!/bin/sh
#--------------------------------------
# fcitx-config
#
export TEXTDOMAIN=fcitx
if which kdialog > /dev/null 2>&1; then
message() {
kdialog --msgbox "$1"
}
error() {
kdialog --error "$1"
}
elif which zenity > /dev/null 2>&1; then
message() {
zenity --info --text=... | waterdrinker/fcitx | data/script/fcitx-configtool.sh | Shell | gpl-2.0 | 5,657 |
#!/bin/ksh
#set -x
# -----------------------------------------------------------------------
# -=- ${UNXPRDAPPLI}8xc00.sh -=-
# -----------------------------------------------------------------------
#
# Description du module : Colecta de archivos
# Numero de Version : V1.0
#
# ... | eldie1984/Scripts | pg/scripts mios/8xc00.sh | Shell | gpl-2.0 | 5,791 |
#!/bin/sh
## deployed on <a href="http://lie-fe.mishashevelin.cloudbees.net/">lie-fe</a>
## tar.gz project excluding classes and .svn
project_folder='lie-fe-assembla'
cd ../../
if [ ! -e ${project_folder} ]; then echo 'ERROR: no project folder ' ${project_folder} ' found'; exit 1; fi
tar -zcvf ${project_folder}.tar.gz... | shma2001gmailcom/lie-fe | bash/tar.sh | Shell | gpl-2.0 | 411 |
#!/bin/bash
KERNEL_PATH=kernel_galaxy
echo "###################################################"
echo " YP-GI1 Android Kernel build"
echo " Galaxy S WIFI 4.2 only version"
echo " ------------------------------------------- "
#source setup.sh
cd ~/Downloads/kernel/
export CROSS_COMPILE=~/Downloads/arm-2010.09/bin/... | delafer/YP-GI1CW | kernel_build.sh | Shell | gpl-2.0 | 483 |
#!/bin/csh -f
# shell program to test rank.pl's behaviour under normal working
# conditions.
# Subtest 1: check with files test-1-1.txt and test-1-2.txt -- should
# get -1 and 1 as coefficients for all combinations of these two
# files!
echo "Subtest 1: Do we get -1 and 1?"
echo ""
# input file
set TESTFILE_1="tes... | BjoernKW/TextNSP | Testing/rank/normal-op.sh | Shell | gpl-2.0 | 8,756 |
#!/usr/bin/env bash
#http://spark.apache.org/docs/latest/programming-guide.html
HOME=/home/vagrant
SPARK_KERNEL_HOME=/opt
SPARK_KERNEL_FILE=spark-kernel-0.1.5-SNAPSHOT.tar.gz
SCALA_KERNEL_PATH=$HOME/.local/share/jupyter/kernels/scala
TEMP_DIR=/tmp
#echo $HOME $SPARK_KERNEL_HOME $SPARK_KERNEL_FILE $SCALA_KERNEL_PATH $... | mcolebrook/dsbox | scripts/43-spark-kernel.sh | Shell | gpl-2.0 | 1,988 |
#! /bin/sh -e
# tup - A file-based build system
#
# Copyright (C) 2018-2022 Mike Shal <marfey@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distribu... | gittup/tup | test/t4207-full-deps8.sh | Shell | gpl-2.0 | 1,520 |
#!/bin/bash
export PATH="$PATH:/usr/bin:/usr/sbin:/sbin:/bin"
set -e
TOOL_CMAKE="cmake.exe"
TOOL_MSBUILD="MSBuild.exe"
rm -rf build
mkdir -p build
mkdir -p build/out
cd build
$TOOL_CMAKE .. -G "Visual Studio 11" -T "v110_xp" -DCMAKE_INSTALL_PREFIX="$(pwd)"
$TOOL_MSBUILD /p:Configuration=Release /m:2 /p:BuildInPar... | petrows/vkmm-tools | teamcity.sh | Shell | gpl-2.0 | 430 |
echo export EXPORT_TEST=3
| jalexanderfox/dotfiles | sandbox/export3.sh | Shell | gpl-2.0 | 26 |
#!/bin/sh
#
# Copyright (C) 2016 OpenWrt.org
#
x86_board_name() {
local name
[ -f /tmp/sysinfo/board_name ] && name=$(cat /tmp/sysinfo/board_name)
[ -z "$name" ] && name="unknown"
echo "$name"
}
| Gr4ffy/LEDE-APU2 | overlay/target/linux/x86/base-files/lib/x86.sh | Shell | gpl-2.0 | 202 |
#!/bin/sh -x
if [ -z "$DOCKER_PLAYGROUND" ]; then
echo "You need to set DOCKER_PLAYGROUND"
exit 1
fi
SCRIPT=$(realpath "$0")
MANUAL_DIR=$(dirname "$SCRIPT")
COMMIT=${COMMIT:-$(git log -1 --format=format:%H)}
cd "$DOCKER_PLAYGROUND/scripts" || exit 1
OSMO_PCU_BRANCH=$COMMIT ./regen_doc.sh osmo-pcu 4240 \
"$MANUA... | osmocom/osmo-pcu | doc/manuals/regen_doc.sh | Shell | gpl-2.0 | 408 |
#!/bin/bash
running=1
echo "waiting for robot to complete current task"
while [ $running = "1" ]; do
running=`/home/user/applications/RAPID/robot/KARELcomget.sh`
done
echo "robot completed task"
| gabe0815/RAPID | robot/wait_while_running.sh | Shell | gpl-2.0 | 197 |
#!/bin/sh
#set -x
clear
while :; do
# adb shell top -n 1 -m $(($(tput lines) - 3)) | column -t
adb shell top -n 1 -m $(($(tput lines) - 3))
sleep 2
done
| dsh2/dotfiles | bin/adb-top.sh | Shell | gpl-2.0 | 168 |
0 0 * * * ~/aws/access/all/allow-ad/all-allow-ad-00.sh
0 1 * * * ~/aws/access/all/allow-ad/all-allow-ad-01.sh
0 2 * * * ~/aws/access/all/allow-ad/all-allow-ad-02.sh
0 3 * * * ~/aws/access/all/allow-ad/all-allow-ad-03.sh
0 4 * * * ~/aws/access/all/allow-ad/all-allow-ad-04.sh
0 5 * * * ~/aws/access/all/allow-ad/all-allow... | STARTSPACE/aws-access-to-ec2-by-timetable | all/import-cron-jobs-combined-all.sh | Shell | gpl-2.0 | 5,624 |
#! /bin/sh
# Copyright (C) 2011-2017 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 ... | pylam/automake | t/tap-plan-whitespace.sh | Shell | gpl-2.0 | 1,040 |
# Copyright (c) 2015 Igor Pecovnik, igor.pecovnik@gma**.com
#
# This file is licensed under the terms of the GNU General Public
# License version 2. This program is licensed "as is" without any
# warranty of any kind, whether express or implied.
# This file is a part of the Armbian build script
# https://github.com/ar... | nereeb/lib | lib/chroot-buildpackages.sh | Shell | gpl-2.0 | 12,758 |
#! /bin/sh
# Copyright (C) 2011-2017 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 ... | Starlink/automake | t/tap-no-disable-hard-error.sh | Shell | gpl-2.0 | 1,214 |
#! /bin/sh
# Copyright (C) 1999-2017 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 ... | pylam/automake | t/ltlibobjs.sh | Shell | gpl-2.0 | 1,089 |
#!/bin/bash
cd ~
echo install updates
sudo apt-get update
sudo apt-get install openjdk-7-jre-headless -y
sudo apt-get install git -y
echo Installing Elastic Search
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.2.1.deb
sudo dpkg -i elasticsearch-1.2.1.deb
cd /usr/share/elasticse... | jnyryan/mig | vagrant/install.sh | Shell | gpl-2.0 | 683 |
sudo apt-get install nis -qq
#Prepare section 04
sudo apt-get install apport prelink whoopsie -qq
#Prepare section 05
sudo apt-get install rsh-client rsh-redone-client talk -qq
sudo touch /etc/inetd.conf
echo 'shell.bla' > /tmp/inetd
sudo cp /tmp/inetd /etc/inetd.conf
echo 'start on runlevel [2345]' > /tmp/runxinit
s... | awailly/cis-ubuntu-ansible | tests/setup-tests.sh | Shell | gpl-2.0 | 2,691 |
#!/bin/bash
if [ -z "$RUN_TIME_SECONDS" ]; then
echo "Need to set RUN_TIME_SECONDS"
exit 1
fi
if [ -z "$BENCHMARK_LOGGING" ]; then
echo "Need to set BENCHMARK_LOGGING"
exit 1
fi
if [ -z "$NUM_ROWS" ]; then
echo "Need to set NUM_ROWS"
exit 1
fi
if [ -z "$RAND_TYPE" ]; then
echo "Need to set ... | Percona-QA/toku-qa | tokudb/software/sysbench/ps.run.benchmark-v1.sh | Shell | gpl-2.0 | 6,699 |
#!/bin/bash
if [[ $UID != 0 ]]; then
echo "Please run this script as root!"
exit 1
else
make
insmod kafl_vuln_test.ko
echo "done"
exit 0
fi
| RUB-SysSec/kAFL | kAFL-Fuzzer/vuln_drivers/simple/linux_x86-64/load.sh | Shell | gpl-2.0 | 146 |
#! /bin/sh
$EXTRACTRC `find . -name '*.ui' -or -name '*.rc'` >> rc.cpp || exit 11
$XGETTEXT `find . -name '*.cpp' -o -name '*.h'` -o $podir/storageservicemanager.pot
rm -f rc.cpp
| kolab-groupware/kdepim | storageservicemanager/Messages.sh | Shell | gpl-2.0 | 179 |
#!/usr/bin/sh
# downloads fastq files for accession numbers in an
# input file, accession numbers on individual lines in file
while read p; do
/sratoolkit.2.4.2-ubuntu64/bin/fastq-dump -A $p
done < $1 | nate-d-olson/micro_rm_dev | analysis/bioinf/get_fastq/get_fastq.sh | Shell | gpl-2.0 | 203 |
#!/bin/sh
#SBATCH --partition=batch
#SBATCH --cpus-per-task=12
#SBATCH -J MCMC-no-lensing
#SBATCH -n 1
#SBATCH -N 1
#SBATCH -t 5-20:00:00
#SBATCH --mail-user=wilmar.cardona@csic.es
#SBATCH --mail-type=ALL
#SBATCH -o job-%J.out
l=`uname -n`
h=`squeue -w $l -O jobid -h`
srun ./fisher $h $1
| wilmarcardonac/fisher-mcmc | launcher_12.sh | Shell | gpl-2.0 | 291 |
#/bin/sh
RESPATH="$(pwd)"
RESULT="$RESPATH/result.txt"
if [ $# = 2 ]; then
TEST=$2
TRANING=$1
else
echo 'Error: need arguments'
exit 1
fi
if [ ! -d $TRANING ]; then
echo "Error: $TRANING not found"
exit 1
fi
if [ ! -d $TEST ]; then
echo "Error: $TEST not found"
exit 1
fi
exec 1>$RESPATH/REPORT.html
echo '<... | GregoryGhost/hamming-NN | createReport.sh | Shell | gpl-2.0 | 1,661 |
convert images/OCS-373-A.png -crop 1511x4532+63+305 +repage images/OCS-373-A.png
#
#
#/OCS-373.png
convert images/OCS-373-B.png -crop 1551x4522+11+305 +repage images/OCS-373-B.png
#
#
#/OCS-373.png
| jonnymwalker/Staroslavjanskij-Slovar | scripts/cropedges.OCS-373.sh | Shell | gpl-2.0 | 198 |
#!/bin/bash
#Crosslink, Copyright (C) 2016 NIAB EMR
#
# run lepmap assuming one lg
#
LM2=/home/vicker/programs/lepmap2/bin
set -eu
JAVAOPS="-Xmx512m"
LOD=1.0
java ${JAVAOPS} -cp ${LM2} Filtering\
data=${FILEBASE}.lepmap\
dataTolerance=0.001\
> sample.filtered
java ${JAVAOPS} -cp ${LM2} SeparateChrom... | eastmallingresearch/crosslink | compare_progs/run_lepmap_inner.sh | Shell | gpl-2.0 | 633 |
#!/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/rwblob_XBM_pallette.sh | Shell | gpl-2.0 | 363 |
#!/bin/bash
#
# PM-QA validation test suite for the power management on Linux
#
# Copyright (C) 2011, Linaro Limited.
#
# 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 ... | yinquan529/platform-external-pm-qa | cpufreq/cpufreq_07.sh | Shell | gpl-2.0 | 2,226 |
#! /bin/sh
# Use:
# makemake.sh
#
# Assumes files and modules share name and general common sense.
gawk '
{
if (FILENAME != file[fs]){
fs++
file[fs] = FILENAME
f[fs] = FILENAME
gsub(/\.[fF]90$/,"",f[fs])
}
}
/^( |\t)*module( |\t)*[^ \t\n]*( |\t)*$/{
ismodule[fs] = 1
}
/^... | aoterodelaroza/acpfit | makemake.sh | Shell | gpl-3.0 | 851 |
#!/bin/sh
# Pull in a new snapshot of external projects that are included in
# our source tree for users that don't have them installed on their system
# Third party directory
THIRD_PARTY_DIR="`dirname $0`"
# Library directory where projects live that haven't been migrated to
# $THIRD_PARTY_DIR yet.
WORKDIR="`mktemp -... | kernevil/samba | third_party/update.sh | Shell | gpl-3.0 | 1,106 |
#! /bin/bash
cd ..
#generate a new .po file
#this will generate a file called messages.po
find . -iname "*.phtml" -o -name "*.php" | xargs xgettext -L php
#merge the new messages from messages.po into each existing .po file
#this will generate new .po files
find ./airtime_mvc/locale/ -name "*.po" -exec msgmerge -N -... | martin-craig/Airtime | dev_tools/update_po_files.sh | Shell | gpl-3.0 | 428 |
#/bin/bash!
hdfs dfs -rm -r -f wordcount/pig_ex_e
pig exerciseE.pig
hdfs dfs -cat wordcount/pig_ex_e/* | iit-federico-bozzini/adm-project3 | project2/ExerciseE/exerciseE_pig_run.sh | Shell | gpl-3.0 | 105 |
#!/bin/bash
#A script to view surface data with FreeView
#Usage: fs_surface.sh <Subject>
# 19 Jan 2019 K.Nemoto
if [ $# -lt 1 ]; then
echo "Please specify subject name!"
echo "Usage: $0 subject (e.g. bert)"
exit 1
fi
#Check lh.pial exists
if [ ! -f $SUBJECTS_DIR/$1/surf/lh.pial ]; then
echo "lh.pial does not... | kytk/fs-scripts | fs_surface.sh | Shell | gpl-3.0 | 1,080 |
#!/bin/sh
# sudo apt-get install mercurial
#VERSION=4.3.0.20110221
VERSION=`dpkg-parsechangelog | grep '^Version' | cut -d' ' -f2 | cut -f1 -d-`
REV=a7ce052e3472
# no tag ? Let's use branch:
hg clone https://bitbucket.org/syntext/serna-free-4-3
GZIP=-9 hg archive -R serna-free-4-3 -r $REV -p serna-free-$VERSION sern... | axmetishe/serna-free | debian/get-orig-source.sh | Shell | gpl-3.0 | 348 |
#!/bin/bash
if [ "$#" -ne 1 ]; then
echo "Illegal number of parameters"
exit
fi
if [[ $1 == "ro" ]]
then
sudo sed -i.bak '/^PARTUUID/ s/defaults/defaults,ro/' /etc/fstab
sudo sed -i.bak 's/rootwait *$/rootwait noswap ro/' /boot/cmdline.txt
if [[ $(sudo grep "var" /etc/fstab) =... | morrolinux/mpradio | utility/roswitch.sh | Shell | gpl-3.0 | 857 |
## config.sh: 992f285+, see https://github.com/jmesmon/cninja.git
# ex: sts=8 sw=8 ts=8 noet
set -eu
D="$(dirname "$0")"
: ${CROSS_COMPILER:=}
: ${HOST_CC:=cc}
: ${CC:=${CROSS_COMPILER}cc}
: ${OBJCOPY:=${CROSS_COMPILER}objcopy}
: ${HOST_LDFLAGS:=}
: ${PKGCONFIG:=pkg-config}
: ${WARN_FLAGS_C:="-Wstrict-prototypes -Wm... | jmesmon/trifles | concrete/config.sh | Shell | gpl-3.0 | 7,345 |
#!/bin/bash
echo "Displaying Ubutu Properties"
echo "===================================================="
cat /etc/*-release
echo "===================================================="
echo "Check for Properties and Proceed further"
read -n1 -r -p "Press Y to continue..." key
echo " "
if [ "$key" = 'Y' ] || [ "$key" =... | ynkumar143/Blockchain | farbric_setup.sh | Shell | gpl-3.0 | 5,322 |
#!/bin/bash
if [[ -z "$1" ]] ; then
echo "Usage: ./batch_test.sh /path/to/lukacompiler"
exit
fi
bold=$(tput bold)
normal=$(tput sgr0)
for f in */input/*.in ; do
tmp="${f/.in/.ex}"
diff -B <("$1" < "$f") "${tmp/input/expected}"
(("$?" > 0)) && echo -e "${bold}$f${normal} is not correct\n"
done
| llpilla/compiler_examples | luka/tests/batch_test.sh | Shell | gpl-3.0 | 317 |
#! /bin/sh
repo="$1"
STATE_FILE=$(pwd)/.bzr-checkout-state
if test -e $STATE_FILE; then
state=$(cat $STATE_FILE)
test $state -gt 1 && state=0
else
state=0;
fi
export BZR_HOME; # Set by the Makefile
case $state in
(0) echo "::Create repo. -- continue -- updated::"
bzr init bzr-repo
bzr whoami "... | NixOS/hydra | t/jobs/bzr-checkout-update.sh | Shell | gpl-3.0 | 599 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.