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 |
|---|---|---|---|---|---|
# UPDATED FOR UBUNTU 18.03
sudo apt update
sudo apt upgrade
# REBOOT THE VM
# INSTALL SOME TOOLS
sudo apt install curl git vim tmux
# OPEN TERMINAL
# ACTION: REMOVE DOCK ITEMS
# ACTION: LOCK TERMINAL TO LAUNCHER
# LOCK SCREEN time in seconds
gsettings set org.gnome.desktop.session idle-delay 100000
gsettings set... | jpwco/tools_initial_config | setup.sh | Shell | mit | 1,822 |
chmod +x bbcp && \
cp bbcp /usr/local/bin/ || exit 1
tar xf nmon16g_x86.tar.gz
chmod +x nmon16g_x86_rhel72 && \
cp nmon16g_x86_rhel72 /usr/local/bin/ && \
rm -f /usr/local/bin/nmon && \
ln -s /usr/local/bin/nmon16g_x86_rhel72 /usr/local/bin/nmon || exit 1
yum --disablerepo=epel,softwarecollections -y install \
scree... | Zor-X-L/offline-utils | centos7-utils/install.sh | Shell | mit | 455 |
#!/bin/sh
# You need autoconf 2.5x, preferably 2.57 or later
# You need automake 1.7 or later. 1.6 might work.
set -e
aclocal # -I m4
autoheader
automake --gnu --add-missing --copy
autoconf
| jgarzik/pgdb | autogen.sh | Shell | mit | 193 |
GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" \
chroot . gconftool-2 --makefile-install-rule \
/etc/gconf/schemas/gksu.schemas \
1>/dev/null 2>/dev/null
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database &> /dev/null
fi
if [ -x /usr/bin/update-mime-database ]; then
... | panosmdma/SlackOnly-SlackBuilds | libraries/libgksu/doinst.sh | Shell | mit | 384 |
#!/bin/bash
sleep 2
./replInit.sh
sleep 2
cmd="mongod --replSet rs0 --storageEngine wiredTiger"
exec $cmd
| dan335/docker-mongodb-meteor | mongo.sh | Shell | mit | 107 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DSA-2899-1
#
# Security announcement date: 2014-04-09 00:00:00 UTC
# Script generation date: 2017-01-01 21:06:53 UTC
#
# Operating System: Debian 7 (Wheezy)
# Architecture: i386
#
# Vulnerable packages fix on version:
# - openafs:1.6.1-3+deb7u2
#
# Last versi... | Cyberwatch/cbw-security-fixes | Debian_7_(Wheezy)/i386/2014/DSA-2899-1.sh | Shell | mit | 632 |
#!/bin/bash
#ssh -qTfnN -D 1223 mtx@2001:cc0:202c:37:2e0:4cff:fe00:af2a
#ssh -qTfnN -D 1223 maotx@nova_v6 #nova
#ssh -qTfnN -D 1223 mtx@2001:cc0:2020:3002:ba27:ebff:feb7:772c # Pi
ssh -qTfnN -D 1223 maotx@ccg_hp
#ssh -qTfnN -D 1223 mtx@aliyun -p 2223
| POFK/utilTool | src/proxy_ssh.sh | Shell | mit | 253 |
#!/usr/bin/env bash
set -e
[ -n "$PYENV_DEBUG" ] && set -x
if [ -z "$PYENV_ROOT" ]; then
export PYENV_ROOT="${HOME}/.pyenv"
fi
colorize() {
if [ -t 1 ]; then printf "\e[%sm%s\e[m" "$1" "$2"
else echo -n "$2"
fi
}
# Checks for `.pyenv` file, and suggests to remove it for installing
if [ -d "${PYENV_ROOT}" ];... | allanbreyes/dotfiles | python/install.sh | Shell | mit | 1,687 |
rm -rf FayeCpp.framework
rm -f *.a
xcodebuild -configuration Release -project fayecpp.xcodeproj -target fayecpp_wolfssl -arch i386 -sdk iphonesimulator OBJROOT=obj SYMROOT=sym clean build
cd obj
find . -type f -iregex '.*\.o$' | xargs -I @ ar -q -v ../all-i386.a @
cd ..
rm -rf obj
rm -rf sym
xcodebuild -configuration... | OlehKulykov/FayeCpp | builds/ios/build_ios_framework_ssl.sh | Shell | mit | 2,094 |
#!/bin/sh
echo "Entered"
cp "manifest.yml" "dist"
echo "Exited" | ajaykIoT/wcs-chat | .build.sh | Shell | mit | 63 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-2814-1
#
# Security announcement date: 2015-11-18 00:00:00 UTC
# Script generation date: 2017-01-01 21:04:56 UTC
#
# Operating System: Ubuntu 12.04 LTS
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - nvidia-331-updates:340.96-0ubuntu0.1... | Cyberwatch/cbw-security-fixes | Ubuntu_12.04_LTS/x86_64/2015/USN-2814-1.sh | Shell | mit | 1,351 |
#!/bin/bash
# compile
harp compile
# discard CNAME and .nojekyll
git checkout -- www/CNAME
git checkout -- www/.nojekyll | fedosejev/fedosejev.com | compile.sh | Shell | mit | 122 |
java -classpath .:"/usr/local/MATLAB/MATLAB_Runtime/v901/toolbox/javabuilder/jar/javabuilder.jar":./WaveReq.jar wave \
'test' 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0... | vicpark/icuc | run0.sh | Shell | mit | 423 |
#!/bin/bash
zzz=$(($DEPLOYMENT*60))
echo "$SUPERVISOR_PROCESS_NAME: waiting for $zzz seconds before start..."
sleep $zzz
pmgrc=$HOME/.pmgrc.yaml
[[ ! -e $pmgrc ]] && echo "PMG_DUMMY_VAR: dummy" > $pmgrc
exec wait-for-it.sh $JUPYTER_GATEWAY_HOST -q -t 50 -- ddtrace-run gunicorn "mpcontribs.api:create_app()"
| materialsproject/MPContribs | mpcontribs-api/scripts/start.sh | Shell | mit | 311 |
#!/bin/bash
PORT=3000
echo "GET /"
curl -H 'Content-Type: application/json' http://localhost:${PORT}
echo ""
echo "GET /articles"
curl -H 'Content-Type: application/json' http://localhost:${PORT}/articles
echo ""
echo "POST /article"
curl -H 'Content-Type: application/json' http://localhost:${PORT}/article -d "{ \"b... | yusong-shen/comp531-web-development | inclass-16/test.sh | Shell | mit | 478 |
#!/bin/bash
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
sudo apt-get install -y g++-5
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 90
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 90
elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
# Apply compilation fixes for OS ... | Cryptyc/Sc2LadderServer | .travis/install.sh | Shell | mit | 377 |
#!/usr/bin/env bash
set -Eeuxo pipefail # https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/
cd -P -- "$(dirname -- "${BASH_SOURCE[0]}")" # https://stackoverflow.com/a/17744637
docker-compose -p sequelize-mssql-2019 down --remove-orphans
docker-compose -p sequelize-mssql-2019 up -d
./../../wait-unt... | sequelize/sequelize | dev/mssql/2019/start.sh | Shell | mit | 649 |
#!/bin/bash
set -e
RootDir="$(cd "$(dirname "${BASH_SOURCE[0]}" )" && pwd)"
RootDir=$(sed 's@^/\([a-z]\{1\}\)@\1:@' <<< $RootDir)
# OTHER SCRIPTS
source "$RootDir/timing.sh"
# PROJECT DIRECTORIES
SourceDir="$RootDir/src"
LibDir="$RootDir/lib"
IncludeDir="$RootDir/include"
BuildDir="$RootDir/build"
TimerBegin
cma... | georgefrost123/3d_demo | build.sh | Shell | mit | 4,601 |
#! /bin/bash
##########################################################################
# #
# NETHINKS OpenNMS Docker environment #
# Container Generator Container #
# prest... | NETHINKS/opennms-docker-env | images/containergenerator/scripts/prestart.sh | Shell | mit | 710 |
#!/bin/bash
NAME="ToDoListApp"
BIND_ADDRESS=unix:/home/localuser/comp204p/app.sock
NUM_WORKERS=5
DJANGO_WSGI_MODULE=COMP204P.wsgi
echo "Starting $NAME as `whoami`"
exec gunicorn ${DJANGO_WSGI_MODULE}:application --pythonpath '/home/localuser/comp204p/app' --name $NAME --workers $NUM_WORKERS --bind=$BIND_ADDRESS | javaburger/comp204p | bin/gunicorn_start.bash | Shell | mit | 315 |
#!/bin/bash
# SAMPLE_SIZE --
# SAMPLE_SIZE*2 + THROWAWAYS*2 = total number of HTTP requests
SAMPLE_SIZE=12
THROWAWAYS=1
BASE_URL="http://wavsep.local/wavsep"
MARK_POS=50000
MARK_NEG=5
MWU_APP=./http-mwu
echo "expecting positive SQL injection detection (p < alpha)"
echo "=============================================... | sebcat/http-mwu | wavsep-demo.sh | Shell | mit | 1,685 |
alias dc="docker-compose"
docker-cleanup() {
docker ps -q -a | xargs docker rm
docker rmi $(docker images | grep "^<none>" | awk '{print $3}')
docker volume rm $(docker volume ls -qf dangling=true)
}
alias dspec="docker-compose run web bundle exec rspec"
| BrunoAssis/dotfiles | docker/aliases.zsh | Shell | mit | 269 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DSA-3068-1
#
# Security announcement date: 2014-11-07 00:00:00 UTC
# Script generation date: 2017-01-01 21:07:05 UTC
#
# Operating System: Debian 7 (Wheezy)
# Architecture: i386
#
# Vulnerable packages fix on version:
# - konversation:1.4-1+deb7u1
# - konve... | Cyberwatch/cbw-security-fixes | Debian_7_(Wheezy)/i386/2014/DSA-3068-1.sh | Shell | mit | 906 |
#!/bin/sh
#install.sh
cd /home/pi
sudo apt-get -y install python3-tk fping
cd ./pi-networkDiagnostics/
#cat > launcher.sh
echo "#!/bin/sh" >> launcher.sh
echo "# launcher.sh" >> launcher.sh
echo "cd /" >> launcher.sh
echo "cd home/pi/pi-networkDiagnostics" >> launcher.sh
echo "python3 willrr.py" >> launcher.sh
echo "c... | willrr/pi-networkDiagnostics | install.sh | Shell | mit | 454 |
#! /bin/bash
source /cvmfs/des.opensciencegrid.org/eeups/startupcachejob21i.sh
setup galsim 1.5.1 # Brian's updated build
setup easyaccess 1.2.0+2
setup swarp 2.36.2+3
setup mofpsfex 0.3.2
setup psycopg2 2.4.6+7
setup despyastro 0.3.9+2
setup pil 1.1.7+13
setup fitsverify
setup pathos
setup healpy
setup esutil 0.6.2rc1... | sweverett/Balrog-GalSim | setup_balrog.sh | Shell | mit | 1,061 |
#!/bin/sh
EXPECTED_SIGNATURE="$(wget -q -O - https://composer.github.io/installer.sig)"
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
ACTUAL_SIGNATURE="$(php -r "echo hash_file('sha384', 'composer-setup.php');")"
echo $EXPECTED_SIGNATURE
echo "\n"
echo $ACTUAL_SIGNATURE
if [ "$EXPECTED_SI... | B0ulzy/BoulzyManagerBundle | docker/tools/composer-install.sh | Shell | mit | 575 |
#!/bin/bash
source ../Utilities/CondorFunctions.sh
for volid in `cat volids.txt`
do
# initializing condor variables
export studyDir=/path/to/fod/and/atlasindwi/and/5TTdata
export mrtrix3=/path/to/mrtrix3StaticCompile/mrtrix3
export job=${volid}_connectograph
export executable=$(pwd)/Connectograph_Gordon_NonLocalCondor... | nadluru/NeuroImgMatlabCondor | ConnectographyExample/NonLocalCondorCall.sh | Shell | mit | 846 |
#!/bin/sh -e
prepend_path ~/repo/tup
| ghub/etc | profile.d/50_tup.sh | Shell | mit | 38 |
#!/usr/bin/env bash
source bin/log.sh
function ditto_or_exit {
xcrun ditto "${1}" "${2}"
if [ "$?" != 0 ]; then
error "Could not copy:"
error " source: ${1}"
error " target: ${2}"
if [ ! -e "${1}" ]; then
error "The source file does not exist"
error "Did a previous xcodebuild step fa... | calabash/ios-smoke-test-app | CalSmokeApp/bin/ditto.sh | Shell | mit | 566 |
# Requirements:
# Create all confile file you want "conf-*.json"
# Default: the script take all confs, or you can give a conf file name in params
# install jq:
# * sudo apt-get install jq
# install pipsi and pew and then run a pew command to init it:
# * sudo pip install pipsi
# * sudo pipsi install pew
# * pew ls
... | hayj/WorkspaceManager | workspacemanager/dist-templates/rsync-all.sh | Shell | mit | 4,914 |
#!/bin/sh
npm install
../bin/doker ../doc/doc
| dokerjs/doker | test/doc.sh | Shell | mit | 46 |
#!/usr/bin/env bash
source "$( dirname "${BASH_SOURCE[0]}" )/../harness.sh"
function creating_a_session_with_a_tmux_file() {
run_mx good_conf
expect_invocation_to_have_argument new-session -s wahoo
expect_invocation_to_have_argument new-session -n first
expect_invocation_to_have_argument new-session -c "$PROJ... | demands/mx | test/specs/creating_a_session_with_a_tmux_file.sh | Shell | mit | 638 |
#!/usr/bin/awk -f
# Authors: @esperlu, @artemyk, @gkuenning, @dumblob
# FIXME detect empty input file and issue a warning
function printerr( s ){ print s | "cat >&2" }
BEGIN {
if( ARGC != 2 ){
printerr( \
"USAGE:\n"\
" mysql2sqlite dump_mysql.sql > dump_sqlite3.sql\n" \
" OR\n" \... | Hucaru/Valhalla | generateDrops/mysql2sqlite.sh | Shell | mit | 9,229 |
#!/bin/bash
for fn in `find data/json/raw -type f`; do cat $fn | jq .text | wc -w; done
| sunlightlabs/fcc-net-neutrality-comments | scripts/count_words.sh | Shell | mit | 89 |
#!/bin/bash
# Display IP address
ip -f inet addr show eth0
cd /data/arma3
sudo su -c "LD_LIBRARY_PATH=$^C_LIBRARY_PATH:/usr/lib/jvm/java-7-openjdk-i386/jre/lib/i386/jamvm ./arma3server -netlog" arma
| orlandov/arma3-dedicated-linux-server-setup | bin/start.sh | Shell | mit | 202 |
#!/bin/bash
source /var/www/dumteedum/env/bin/activate
cd /var/www/dumteedum
python agent_fix_all_twitter_avatars.py
| CornerstoneLabs/twittermap | search/check_avatars.sh | Shell | mit | 118 |
#!/bin/bash
if type fortune > /dev/null 2>&1; then
#display short fortune if personal dictionary not exists
#place your dictionaries here or change dir path
FILE=$HOME/sources/dict/fortunes
[ -r "$FILE" ] && ARG="$FILE" || ARG="-s"
#use tux figure if cowsay exists
fortune "$ARG" | ( command -v c... | iiey/dotfiles | conky/fortune.sh | Shell | mit | 372 |
#!/bin/sh
useradd --disabled-password --gecos "$1" $1
| joelhelbling/anjou | scripts/create-user.sh | Shell | mit | 55 |
#!/bin/sh
objdump -D -b binary -m i386:x86-64 shellcode_linux_x86-64.bin
| j123123/my-shellcodes | x86-64_GNU_Linux/disasm_hex.sh | Shell | cc0-1.0 | 73 |
# Find the ARM GCC toolchain directory
locate arm-none-eabi-gcc
# e.g. @ /home/imr/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_8-2014q3/arm-none-eabi/
# Location of assembler (as), linker(ld), etc.
/usr/arm-linux-gnueabi/bin
# GDB
# basix @ http://www.thegeekstuff.com/2010/03/debug-c-program-using-gdb/
# 1. Call a... | yunque/thinkingaboutthinking | tips/dbg.sh | Shell | cc0-1.0 | 896 |
#! /bin/sh
# Copyright (C) 2006-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/subpkg3.sh | Shell | gpl-2.0 | 1,219 |
#!/bin/sh
#
# dcmd: expand file lists of .dsc/.changes files in the command line
#
# Copyright (C) 2008 Romain Francoise <rfrancoise@debian.org>
# Copyright (C) 2008 Christoph Berg <myon@debian.org>
# Copyright (C) 2008 Adam D. Barratt <adsb@debian.org>
#
# This program is free software; you can redistribute it and/or ... | dancn/devscripts | scripts/dcmd.sh | Shell | gpl-2.0 | 9,585 |
#!/bin/bash
# Script to generate po files outside of the normal build process
# Author: Pr2 for OpenPLi Team
# Version: 1.3
#
# This script is derivated from updateallpo.sh it is intended to all you
# create the updated version of the po files on different environment:
# For Windows, please download and install the fo... | TwolDE/vix-core | po/updateallpo-multiOS.sh | Shell | gpl-2.0 | 7,629 |
#!/bin/bash
stage=0
train_stage=-100
# This trains only unadapted (just cepstral mean normalized) features,
# and uses various combinations of VTLN warping factor and time-warping
# factor to artificially expand the amount of data.
. cmd.sh
. utils/parse_options.sh # to parse the --stage option, if given
[ $# != ... | michellemorales/OpenMM | kaldi/egs/wsj/s5/local/nnet2/run_5b.sh | Shell | gpl-2.0 | 2,370 |
while true; do
read -p "Are you sure you want to clean both logfile and config files? <yes/no> " yn
case $yn in
[Yy]* ) rm logfile.txt;rm config.xml; break;;
[Nn]* ) exit;;
* ) echo "Please answer yes or no.";;
esac
done | RamRawRDinosauR/STCRRDRMOD | build/clean.sh | Shell | gpl-2.0 | 256 |
convert images/OCS-167-A.png -crop 1499x4534+51+343 +repage images/OCS-167-A.png
#
#
#/OCS-167.png
convert images/OCS-167-B.png -crop 1573x4522+0+343 +repage images/OCS-167-B.png
#
#
#/OCS-167.png
| jonnymwalker/Staroslavjanskij-Slovar | scripts/cropedges.OCS-167.sh | Shell | gpl-2.0 | 197 |
#!/bin/bash
FILES = *.so
for f in *
do
install_name_tool -change libosg.95.dylib @executable_path/../Frameworks/libosg.95.dylib $f
install_name_tool -change libosgSim.95.dylib @executable_path/../Frameworks/libosgSim.95.dylib $f
install_name_tool -change libosgAnimation.95.dylib @executable_path/../Frame... | fgx/fgx | src/deploy/osx/scripts/deploy-osg-plugins.3.1.4.sh | Shell | gpl-2.0 | 1,996 |
#!/bin/bash
echo "Cleaning up"
rm api.php*
rm result.txt 2>/dev/null
rm prev.txt
rm diff.txt 2>/dev/null
touch result.txt
| Smile4ever/wikitools | watch_category/init.sh | Shell | gpl-2.0 | 122 |
#!/bin/bash
#
# cleanup.sh of perf mem test
# Author: Michael Petlan <mpetlan@redhat.com>
#
#
# include working environment
. ../common/init.sh
. ./settings.sh
if [ -n "$PERFSUITE_RUN_DIR" ]; then
print_overall_skipped
exit 0
fi
make -s -C examples clean
find . -name \*.log | xargs -r rm
find . -name \*.err | xa... | rfmvh/perftool-testsuite | base_mem/cleanup.sh | Shell | gpl-2.0 | 408 |
#!/bin/bash
# this is a script to install all necessary programs
# Copyright Chris Maier
# Package definitions
TOOLS=" mc wget curl git git-core unzip pwgen exuberant-ctags silversearcher-ag xsel autojump"
DEV=" clang cmake doxygen doxygen-docs graphviz mc exuberant-ctags ksh g++ subversion"
YOCTO=" gawk git-core dif... | chris-maier/dotfiles | bin/install-linux.sh | Shell | gpl-2.0 | 6,900 |
#!/bin/sh
### LICENSE
# Author: Vlad Dubovskiy, November 2014.
# License: Copyright (c) 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 la... | orderup/open-data-science | postgres2redshift/p2r_settings.sh | Shell | gpl-2.0 | 5,260 |
#!/usr/bin/env bash
# shellcheck disable=SC2016
set -eux
systemd-analyze log-level debug
mkdir -p /tmp/img/usr/lib/systemd/system/
mkdir -p /tmp/img/opt/
touch /tmp/img/opt/script0.sh
chmod +x /tmp/img/opt/script0.sh
cat <<EOF >/tmp/img/usr/lib/systemd/system/testfile.service
[Service]
ExecStart = /opt/script0.sh
E... | mxre/systemd | test/units/testsuite-65.sh | Shell | gpl-2.0 | 18,780 |
#!/bin/bash
###############################################################################
#
# Kernel Build Script
#
###############################################################################
# 2011-10-24 effectivesky : modified
# 2010-12-29 allydrop : created
######################... | CryToCry96/android_kernel_ef52 | build_kernel.sh | Shell | gpl-2.0 | 1,407 |
#! /bin/sh -e
# tup - A file-based build system
#
# Copyright (C) 2013-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/t4152-maxfiles3.sh | Shell | gpl-2.0 | 2,215 |
#!/usr/bin/env bash
## Test that the patch index passes its self-test on a repository
## with a rename.
##
## Copyright (C) 2014 Ganesh Sittampalam
##
## Permission is hereby granted, free of charge, to any person
## obtaining a copy of this software and associated documentation
## files (the "Software"), to deal in th... | DavidAlphaFox/darcs | tests/patch-index-rename.sh | Shell | gpl-2.0 | 1,407 |
#!/bin/bash
# Copyright 2017 Andrey Rodchenko, School of Computer Science, The University of Manchester
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
# ... | arodchen/MaxSim | scripts/checkStyle.sh | Shell | gpl-2.0 | 965 |
#! /bin/bash
# Install-Script, run as root
echo "Don't forget to add /mnt to your fstab or change the paths in the scripts."
echo "Installing.."
cp dashcam_init /etc/init.d/dashcam
chmod 755 /etc/init.d/dashcam
cp dashcam.sh /mnt/dashcam
cp server.sh /mnt/server
chmod +x /mnt/dashcam /mnt/server
update-rc.d dashcam de... | KarimGeiger/RaspberryPiDashcam | scripts/install.sh | Shell | gpl-2.0 | 647 |
#!/bin/bash
######################################################################
#
# idFORGE Framework - Manage identity manuals in community
# Copyright © 2015 The CentOS Artwork SIG
#
# idFORGE Framework is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public L... | areguera/idforge | Library/Modules/Locale/Modules/Update/Modules/Sh/sh.sh | Shell | gpl-2.0 | 2,331 |
#
# Copyright (C) 2010 OpenWrt.org
#
. /lib/ramips.sh
PART_NAME=firmware
RAMFS_COPY_DATA=/lib/ramips.sh
platform_check_image() {
local board=$(ramips_board_name)
local magic="$(get_magic_long "$1")"
[ "$#" -gt 1 ] && return 1
case "$board" in
3g-6200n | \
3g-6200nl | \
3g150b | \
3g300m | \
a5-v11 | \
ai... | zhuanshicong/myopenwrt | target/linux/ramips/base-files/lib/upgrade/platform.sh | Shell | gpl-2.0 | 2,997 |
#!/bin/bash
#
#
# Bash Labirinto versão 1.0
# Este jogo foi baseado no gerador aleatório de labirintos de
# Joe Wingbermuehle localizado em https://raw.github.com/joewing/maze/master/maze.sh
# Acrescentei o conceito de movimento e colisões para criar o jogo.
# Naturalmente uma linguagem compilada deve ser mais eficien... | ronaldfalcao/shellscripts | labirinto/labirin.sh | Shell | gpl-2.0 | 5,747 |
#!/bin/sh
. ./test-common.sh
cleanup 68
# ------------------------------- Test 68 ------------------------------------
# Old state file entries should be removed when not used. Logrotate should
# not freeze on big state file.
preptest test.log 68 1 0
cat > state << EOF
logrotate state -- version 1
"$PWD/test.log" 2... | logrotate/logrotate | test/test-0068.sh | Shell | gpl-2.0 | 692 |
#!/bin/bash
BINDIR=/usr/local/bin
LIBDIR=/usr/local/share/katana
INITDIR=/etc/init.d
UDEVDIR=/etc/udev/rules.d
if `grep -q katana-user /etc/passwd`; then
echo "Remove non-privileged user for MIDI bridge"
userdel -r katana-user
fi
echo "Remove program and support scripts from $BINDIR"
rm -f $BINDIR/katana_br... | snhirsch/katana-midi-bridge | uninstall.sh | Shell | gpl-2.0 | 724 |
# Check Blackberry NDK
BB_OS=`cat ${QNX_TARGET}/etc/qversion 2>/dev/null`
if [ -z "$BB_OS" ]; then
echo "Could not find your Blackberry NDK. Please source bbndk-env.sh"
exit 1
fi
# Strict errors. Any non-zero return exits this script
set -e
echo "Building for Blackberry ${BB_OS}"
if [[ "$1" == "--simulator" ]... | metalex10/PPSSPP-X360 | Blackberry/build.sh | Shell | gpl-2.0 | 695 |
#!/bin/sh
#
# Copyright (c) Linux Test Project, 2014-2017
#
# 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) any later version.
#
# This pro... | richiejp/ltp | testcases/lib/tst_test.sh | Shell | gpl-2.0 | 8,395 |
#!/bin/bash
set -u
BIN="$( readlink -f -- "${0%/*}" )"
SCRIPTS=$BIN/../scripts
OUT_DIR=$SCRATCH/kmer-binner/binned
PROG=$(basename $0 '.sh')
PARAMS_DIR=$BIN/params/$PROG
SLURM_OUT=$BIN/out/$PROG
SLURM_EMAIL="--mail-type=BEGIN,END --mail-user=kyclark@email.arizona.edu"
COMMON=$SCRIPTS/common.sh
REF_DIR=/scratch/03137/... | kyclark/kmer-binner | slurm/01-binner.sh | Shell | gpl-2.0 | 1,296 |
#!/bin/bash
for program in parhip edge_list_to_metis_graph friendster_list_to_metis_graph graph2binary graph2binary_external readbgf toolbox; do
scons program=$program variant=optimized -j 16
if [ "$?" -ne "0" ]; then
echo "compile error in $program. exiting."
exit
fi
done
rm config.log
| peterwake/KaHIP | parallel/parallel_src/compile_all.sh | Shell | gpl-2.0 | 309 |
touch /tmp/dependancy_MiFlora_in_progress
echo 0 > /tmp/dependancy_MiFlora_in_progress
sudo apt-get update
echo 25 > /tmp/dependancy_MiFlora_in_progress
# sudo apt-get --yes upgrade
echo "Launch install of MiFlora dependancy"
echo 50 > /tmp/dependancy_MiFlora_in_progress
sudo apt-get install -y python-pip python3-pip p... | rjullien/jeedom_MiFlora | resources/install_remote.sh | Shell | gpl-2.0 | 1,073 |
cd build
qmake ../example/qhexedit.pro
make
cd ..
| biluna/biluna | thrd/qhexedit2/build-example.sh | Shell | gpl-2.0 | 50 |
#!/bin/bash
# Copyright (C) 2010 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by ap... | vic3t3chn0/sony_device | flamingo/extract-files.sh | Shell | gpl-2.0 | 1,037 |
#!/bin/bash
# Copyright (C) 2016 Intevation GmbH
#
# This file is part of GPG4Win.
#
# GPG4Win 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 v... | gpg/gpg4win | packages/gen-frameworks.sh | Shell | gpl-2.0 | 2,311 |
#!/bin/bash
# called by dracut
check() {
require_binaries sed grep || return 1
# do not add this module by default
return 255
}
# called by dracut
depends() {
return 0
}
# called by dracut
installkernel() {
return 0
}
# called by dracut
install() {
local _nm_version
_nm_version=${NM_VE... | haraldh/dracut | modules.d/35network-manager/module-setup.sh | Shell | gpl-2.0 | 1,789 |
sed -n \
-e 's/\.method /#.method /p' \
-e 's/\.class /#.class /p' \
-e 's/\.super /#.super /p' \
-e '/const[ -/]/p' $1
| sslab-gatech/avpass | src/modules/imitation/extract_string.sh | Shell | gpl-2.0 | 136 |
#!/usr/bin/env sh
echo 'Translation extraction';
cd ../../..;
# Extract string for default locale
echo '# Extract Kernel : EzPublishCoreBundle';
./app/console translation:extract en -v \
--dir=./vendor/ezsystems/ezpublish-kernel/eZ \
--exclude-dir=Bundle/PlatformBehatBundle \
--exclude-dir=Tests \
--exclude-dir... | flovntp/ezpublish-kernel | bin/extract-translations.sh | Shell | gpl-2.0 | 791 |
#!/usr/bin/env bash
#===============================================================================
#
# FILE: rnnlm.ex002.s100.basic.sh
#
# USAGE: ./rnnlm.ex002.s100.basic.sh
#
# DESCRIPTION:
#
# NOTES: ---
# AUTHOR: Hao Fang, hfang@uw.edu
# CREATED: 03/03/2015 17:32
# ... | hao-fang/UWNeuralNetLMRepo | examples/rnnlm.ex002.s200.hidden_50.sh | Shell | gpl-2.0 | 1,430 |
BENCH_DATA="../../../stamatakis/benchMark_data"
TEAM1="../../bioinf2015/implementation-team1/build/mlalign"
TEAM2="../../bioinf2015/implementation-team2/bin/TKFLOG_CACHING_ROUND_UP"
REF="../../../stamatakis/tkf91_scaling/tkf91"
CMD="python repro.py --ref-exe=$REF"
echo $CMD
$CMD
CMD="python repro2.py --exe=$TEAM2 --b... | argriffing/arbtkf91 | repro/run.sh | Shell | gpl-2.0 | 620 |
#! /bin/sh
# Copyright (C) 2009-2018 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 ... | komh/automake-os2 | t/parallel-tests-concurrency.sh | Shell | gpl-2.0 | 2,864 |
#!/usr/bin/env bash
set -e
exe=$1
out=$2
echo pwd=$(pwd)
echo exe=$exe
echo out=$out
exec >$out
echo -n start:
date
lognew=${exe%.exe}.log.new
logref=${exe%.exe}.log.ref
logerr=${exe%.exe}.log.err
if [[ ${LIBUV_DIR-x} != x ]]; then
export LD_LIBRARY_PATH=$LIBUV_DIR/lib:${LD_LIBRARY_PATH-}
fi
if [ -f ${exe%.... | cadrian/circus | src/tst/run_test.sh | Shell | gpl-3.0 | 1,987 |
#!/bin/sh
#Job parameters:
#PBS -l walltime=10:00:00
#PBS -l select=1:ncpus=16:mem=10gb
#PBS -q med-bio
#Use current working directory
##$ -cwd
#Save standard error and out to files:
#PBS -e plink_loop_stderr.file
#PBS -o plink_loop_stdout.file
#Module commands:
#INFILE="chr22.dose.vcf.gz"
#OUTFILE="chr22_Airwave... | AntonioJBT/genotype_tools | legacy/PBS_scripts.dir/PBS_plink_subset_loop.sh | Shell | gpl-3.0 | 1,026 |
#!/bin/sh
# Perform processing of the .sip file to add docstrings
echo ""
python ../Build/doxygen_to_sip.py -i mantidqt.in.sip -o mantidqt.sip -d mantidqt_dir.txt
echo ""
python ../Build/sip_strip_docstring.py -i mantidqt.sip -o mantidqt.rhel5.sip -w mantidqt_wiki.txt
echo ""
| wdzhou/mantid | qt/python/process_sip.sh | Shell | gpl-3.0 | 278 |
#!/usr/bin/env bash
#
# Set up data folders.
#
if [ ! -d data ]; then
mkdir data
IS_INSTALLING="true"
fi
if [ ! -d data/csv ]; then
mkdir data/csv
fi
if [ ! -d data/archives ]; then
mkdir data/archives
fi
if [ ! -d data/client ]; then
mkdir data/client
fi
if [ ! -d data/client/releases ]; then
mkdir data/... | Tangerine-Community/Tangerine | start.sh | Shell | gpl-3.0 | 7,490 |
#!/bin/bash
#You just need to create the folder VPN and copy all configuration files as well as certificates and psdd.conf file into it.
cd ~/Documents/VPN
clear
printf "Here, I'll run the IranSec VPN but whitch version?\033[1m\n\t\e[3$(( $RANDOM * 6 / 32767 + 1 ))m1- UK1 - V1\n\t\e[3$(( $RANDOM * 7 / 32767 + 1 ))m2- ... | namnamir/IranSec-VPN-Linux | VPN.sh | Shell | gpl-3.0 | 2,038 |
#!/bin/sh
tar -zxvf llcbench-20170104.tar.gz
cd llcbench/
make linux-mpich
make cache-bench
echo $? > ~/install-exit-status
cd ..
echo "#!/bin/sh
cd llcbench/cachebench/
./cachebench \$@ > \$LOG_FILE" > cachebench
chmod +x cachebench
| phoronix-test-suite/phoronix-test-suite | ob-cache/test-profiles/pts/cachebench-1.1.0/install.sh | Shell | gpl-3.0 | 238 |
#!/usr/bin/env bash
#Title : NoTrack Installer
#Description : This script will install NoTrack and then configure dnsmasq and lighttpd
#Authors : QuidsUp, floturcocantsee, rchard2scout, fernfrost
#Usage : bash install.sh
#Version : 20.12
#######################################
# User Configerable Settings
########... | quidsup/notrack | install-ubuntu.sh | Shell | gpl-3.0 | 24,092 |
#!/bin/bash
# hecho 02/2017
# cd kanelones
git clone https://github.com/googolplex/kanelonesv3.git
| googolplex/kanelones | gitfeliz/clonar_kanelonesv3.sh | Shell | gpl-3.0 | 100 |
#!/bin/sh
bs_dir="$(dirname $(readlink -f $0))"
rm -rf "${bs_dir}"/autom4te.cache
rm -f "${bs_dir}"/aclocal.m4 "${bs_dir}"/ltmain.sh
echo 'Running autoreconf -if...'
aclocal --force -I m4
libtoolize --install --copy --force
autoheader --force
automake --add-missing --copy --force-missing
autoconf --force
if test -z "... | davembg/cgminer-dualminer | autogen.sh | Shell | gpl-3.0 | 392 |
#!/bin/bash
set -e -f -o pipefail
source "/usr/local/etc/babun.instance"
source "$babun_tools/script.sh"
source "$babun_tools/plugins.sh"
# start plugins
plugin_start "git"
plugin_start "core"
plugin_start "cygdrive"
plugin_start "cygfix"
# Automatic start disabled for now as we have to control the order of plugin s... | justathoughtor2/atomicApe | cygwin/usr/local/etc/babun/source/babun-core/plugins/start.sh | Shell | gpl-3.0 | 460 |
#!/bin/bash
echo "Setting env variables";
export S_KEYSTORE="../keystore.jks"
export S_ALIAS="alias_here"
export S_KEYPASS="keypass_here"
export BUILD_NUMBER="0" # > 0 for non local build
# export CRASHLYTICS_API_KEY="" # if wanted
echo "Starting assembly"
./gradlew assembleRelease
echo "Done" | PTCE-Public/popcorn-android | build_release.sh | Shell | gpl-3.0 | 298 |
#!/bin/sh
if command -v curl > /dev/null 2>&1; then
get="curl -LO"
elif command -v wget > /dev/null 2>&1; then
get="wget"
else
echo "Failed to locate network downloader" >&2
exit 1
fi
$get https://www.fuzzwork.co.uk/dump/sqlite-latest.sqlite.bz2
$get https://www.fuzzwork.co.uk/dump/sqlite-latest.sqlite... | Hijacker/vmbot | tools/create_staticdata.sh | Shell | gpl-3.0 | 1,203 |
path=$(dirname "${BASH_SOURCE[0]}")
cd $path
valac -X -lm \
--pkg gee-0.8 \
--pkg glib-2.0 \
--pkg gio-2.0 \
Chamah.vala \
src/pluie/global.vala \
src/pluie/bin.vala \
src/pluie/crypt.Chamah.vala \
src/pluie/crypt.Sbox.vala \
src/pluie/crypt.MatrixBytes.vala \
src/pluie/crypt.Permutation.vala \
src/pluie/crypt.PseudoRa... | pluie-org/chamah | build.sh | Shell | gpl-3.0 | 473 |
#!bin/bash
rm -r testlenbias
rm -r testlenbiasz
rm -r test1
rm -r test2
| franticspider/frontierra | tests/cleanup.sh | Shell | gpl-3.0 | 73 |
#!/bin/sh
#-------------------------------------------------------------------
# config.sh: This file is read at the beginning of the execution of the ASGS to
# set up the runs that follow. It is reread at the beginning of every cycle,
# every time it polls the datasource for a new advisory. This gives the user
# the ... | jasonfleming/asgs | config/2020/LAv20a_al282020_bde.sh | Shell | gpl-3.0 | 4,205 |
#!/bin/sh
ulog2csv $1
ulog_params -o $1 parameters.octave
| kd0aij/impulse-response | src/preprocess/ulog2octave.sh | Shell | gpl-3.0 | 58 |
#!/bin/bash
# force indendation settings
# vim: ts=4 shiftwidth=4 expandtab
########################################################################
########################################################################
########################################################################
# Copyright (C) 2017 ... | dagon666/napi | tests/unit_tests/libnapi_sysconf_test.sh | Shell | gpl-3.0 | 3,615 |
setup ()
{
setup_script_options "service" "60.nfs" <<EOF
CTDB_MANAGES_NFS="yes"
EOF
}
| sathieu/samba | ctdb/tests/eventscripts/scripts/06.nfs.sh | Shell | gpl-3.0 | 87 |
#!/bin/bash
#
# Copyright (C) 2019 Nicolas Bertin
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# ... | nbertin/webwigo | tools/mkmanifest.bash | Shell | gpl-3.0 | 1,013 |
# (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 grant... | Vadman97/ImageAES | vga/ipcore_dir/ben_mem/simulation/timing/simulate_vcs.sh | Shell | gpl-3.0 | 2,841 |
#!/bin/bash
function counter_code_lines() {
echo $1
for file in `ls $1`
do
if [ -d $1"/"$file ]; then
counter_code_lines $1"/"$file
else
suffix=${file##*.}
if [[ $suffix == "c" || $suffix == "h" ]]
then
let lines+=`wc -l < $1"/"$f... | yy152193/counter_code_lines | count.sh | Shell | gpl-3.0 | 466 |
echo ''
echo '--- BUILD FRAMEWORKS ----------'
echo ''
echo "NODE VERSION should be >=6.3 and is"
node --version
echo "CORDOVA VERSION should be >=6.3 and is"
cordova -version
echo "IONIC VERSION should >2.0 and is"
ionic -version
read -p "--> all versions corerct? yes=ENTER / no=CTRL+c"
echo ''
echo '--- ANDROID SDK -... | rootzoll/konfetti-app | _buildAndroid.sh | Shell | gpl-3.0 | 1,247 |
#! /bin/bash
rm -f *.log
rm -f *.png
| emersonmx/ippl | clean_tests.sh | Shell | gpl-3.0 | 38 |
# /bin/bash
#first version
cd ~/
ln -s ~/conffile/.tmux.conf .tmux.conf
ln -s ~/conffile/.viminfo .viminfo
ln -s ~/conffile/.vimrc .vimrc
ln -sr ~/conffile/vim vim
cd -
| flouis1/conffile | cfg_copy.sh | Shell | gpl-3.0 | 171 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.