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
docker save pims | ssh desktop docker load
| Osso/dotfiles | bin/update_desktop_image.sh | Shell | mit | 54 |
#!/bin/bash
START=$SECONDS
$1
END=$SECONDS
echo -e "\n"$((END - START))
| xeno1991/LBM | src/stopwatch.sh | Shell | mit | 76 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for RHSA-2013:0886
#
# Security announcement date: 2013-06-10 21:01:12 UTC
# Script generation date: 2017-01-01 21:14:41 UTC
#
# Operating System: Red Hat 6
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - vdsm-cli.noarch:4.10.2-22.0.el6ev
# -... | Cyberwatch/cbw-security-fixes | Red_Hat_6/x86_64/2013/RHSA-2013:0886.sh | Shell | mit | 1,833 |
#!/bin/sh
kubeadm join --token 8e1680.8c3056d57fad8430 10.145.87.204:6443
| hustbill/devops | kubernetes/k8s-cluster-2/join-node.sh | Shell | mit | 75 |
#! /bin/bash
MIN=1
MAX=5
test -n "$1" && MIN=$1
test -n "$2" && MAX=$2
CMIN=$((MIN))
CMAX=$((MAX))
MIN=$((MIN+1))
MAX=$((MAX+1))
for i in `seq $CMIN $CMAX`; do
NX=$((3*(2**(i-1))))
CELLS=$((6*NX*NX))
CELLS=`printf "%010d" $CELLS`
IDENTIFIER="cube_$CELLS"
echo "checking "$IDENTIFIER""
diff restart_files/ru... | pedrospeixoto/iModel | mfem_swm/notused/check_all.sh | Shell | mit | 1,148 |
. /home/node/.nvm/nvm.sh
nvm use v0.10.41
export NODE_TLS_REJECT_UNAUTHORIZED="0"
nohup node cluster.js >> connector.log 2>&1 &
| appirio-tech/ad-ldap-connector | run.sh | Shell | mit | 128 |
#!/bin/bash
# TODO(ttacon): make sure the user provides username/password?
# TODO(ttacon): maybe use sql file to run after user logs in to mysql?
mysql -u $1 -p$2 -e "CREATE DATABASE pouch;"
if [ $? -ne 0 ]; then
echo "Database pouch already exists...";
fi
mysql -u $1 -p$2 -e "use pouch; drop table Food;";
mysq... | ttacon/pouch | .scripts/setupdb.sh | Shell | mit | 631 |
#!/usr/bin/env bash
# taken from https://github.com/donnemartin/saws/blob/master/scripts/create_readme_rst.sh
pandoc --from=markdown --to=rst --output=README.rst README.md | davidlonjon/aws-proxies | bin/create_readme.sh | Shell | mit | 172 |
sudo update-alternatives --install /usr/bin/java java /opt/jdk/default/bin/java 1500
sudo update-alternatives --install /usr/bin/jar jar /opt/jdk/default/bin/jar 1500
sudo update-alternatives --install /usr/bin/jvisualvm jvisualvm /opt/jdk/default/bin/jvisualvm 1500
sudo update-alternatives --install /usr/bin/idea ... | j0rge/freeDom | dev/setup.sh | Shell | mit | 603 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DLA-540-1
#
# Security announcement date: 2016-07-01 00:00:00 UTC
# Script generation date: 2017-01-01 21:09:14 UTC
#
# Operating System: Debian 7 (Wheezy)
# Architecture: armv7l
#
# Vulnerable packages fix on version:
# - qemu:1.1.2+dfsg-6a+deb7u13
#
# Last ... | Cyberwatch/cbw-security-fixes | Debian_7_(Wheezy)/armv7l/2016/DLA-540-1.sh | Shell | mit | 643 |
alias jsonbeautify=json-beautify
alias jsondiff=json-diff
alias n='node_package_manager'
alias npm='NODE_PACKAGE_MANAGER=npm node_package_manager'
hash pnpm 2>/dev/null && alias pnpm='NODE_PACKAGE_MANAGER=pnpm node_package_manager'
hash yarn 2>/dev/null && alias yarn='NODE_PACKAGE_MANAGER=yarn node_package_manager'
| ahaasler/dotfiles | node/alias.sh | Shell | mit | 317 |
#!/bin/sh
echo "Placing root files into dummy_app for testing."
rsync -av --relative --exclude='tests/' --exclude='.git/' --exclude='setup-tests.sh' ./ tests/dummy_app/packages/meteor-mocha
cd tests/dummy_app/
meteor add dispatch:mocha
meteor npm install
# test only intentionally passing tests.
# find tests/dummy_app... | keyscores/meteor-mocha | test.sh | Shell | mit | 520 |
function substitute-identifier {
local sub_name="$1"; shift
local template_extension=''
local template_type='file'
# Parse options
local arg
for arg in "$@"; do
if [ "${arg:0:1}" != '-' ]; then break; fi
# Whether it is a 'set' (ie. assignment) operation.
case "$1" in
*'='*)
set_op=true
option... | musicmrman99/bashctl | templates/_substitution_/substitute-identifier-generic.def.sh | Shell | mit | 1,751 |
#!/bin/bash
if [ -z "${REPORT_DIR}" ]; then
REPORT_DIR="."
fi
while read -r -a line; do
test_case=${line[0]}
gtest_filter=${line[1]}
output_xml="${REPORT_DIR}/dsn.core.tests_${test_case/.ini/.xml}"
echo "============ run dsn.core.tests ${test_case} with gtest_filter ${gtest_filter} ============"
... | shengofsun/rDSN | src/core/tests/run.sh | Shell | mit | 986 |
# _________ __ ___.
# \_ ___ \_____ | | __ ____\_ |__ _______ ___
# / \ \/\__ \ | |/ // __ \| __ \ / _ \ \/ /
# \ \____/ __ \| <\ ___/| \_\ ( <_> > <
# \______ (____ /__|_ \\___ >___ /\____/__/\_ \
# \/ \/ \/ \/ \/ \/
# Version: Light
# A... | mpgn/Pyrox | test.sh | Shell | mit | 6,304 |
export DEVELOPER_DIR=`xcode-select --print-path`
# Only set this if we haven't set $EDITOR up somewhere else previously.
if [[ "$EDITOR" == "" ]] ; then
# Use sublime for my editor.
export EDITOR='subl'
fi
| waltflanagan/dotfiles | system/env.zsh | Shell | mit | 213 |
#!/bin/bash
# -*-mode: Shell-script; indent-tabs-mode: nil; sh-basic-offset: 2 -*-
# Find the base directory while avoiding subtle variations in $0:
dollar0=`which $0`; PACKAGE_DIR=$(cd $(dirname $dollar0); pwd) # NEVER export PACKAGE_DIR
# Set defaults for BUILD_DIR and INSTALL_DIR environment variables and
# utilit... | bgoodr/build-locally | packages/pango/linux/build.bash | Shell | mit | 4,195 |
# Run INSTANS results for the best (fastest) regimes
# Include those LUBM queries, which don't need OWL 2 RL
PT=`pwd`
RP="$PT/../../../rules"
# 5 Universities
./static-speed-with-reason.sh q4 Uni5 "-r $RP/rdfs-rules.rq"
./static-speed-with-reason.sh q5 Uni5 "-r $RP/rdfs-rules.rq"
./static-speed-with-reason.sh q11 Un... | aaltodsg/instans-reasoning | tests/lubm/instans-test/batch-speed-best-regime.sh | Shell | mit | 721 |
#!/bin/bash
#
# Running the Node.js server.
#
pm2 start server.js 'dev' --no-daemon
| luiscape/hdx-monitor-org-stats | bin/run.sh | Shell | mit | 85 |
#!/bin/bash
# version 0.0.2
# plagerized awk bit from https://gist.github.com/astatham/621901
# argument 1 is path to a multifasta file
# takes a multifasta, splits into multiple fasta files
echo 'USAGE: /path/to/contigs.fasta'
# replace extraneous stuff with sed, run awk
cat "$1" | awk '{print $1}' | awk '{
... | nickp60/riboSeed | scripts/splitMultifasta.sh | Shell | mit | 411 |
docker build -t hpess/dockerproxy:master .
| Hewlett-Packard-ESS/docker-proxy | build.sh | Shell | mit | 43 |
# https://gist.github.com/kyledrake/d7457a46a03d7408da31
# https://andrewlock.net/creating-and-trusting-a-self-signed-certificate-on-linux-for-use-in-kestrel-and-asp-net-core/
# https://www.humankode.com/asp-net-core/develop-locally-with-https-self-signed-certificates-and-asp-net-core
# https://blog.zencoffee.org/2013/... | AerisG222/mikeandwan.us | tools/gen_certs.sh | Shell | mit | 7,969 |
#!/bin/bash
# apt source list
echo "123456" | sudo -S cp /etc/apt/sources.list /etc/apt/sources.list_backup
sudo echo "deb http://cn.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
deb http://cn.archive.u... | Chanran/distributedCrawling | docs/install/slave.sh | Shell | mit | 2,036 |
# /etc/security/limits.conf
[ -z "`cat /etc/security/limits.conf | grep 'nproc 65535'`" ] && cat >> /etc/security/limits.conf <<EOF
* soft nproc 65535
* hard nproc 65535
* soft nofile 65535
* hard nofile 65535
EOF
[ -z "`cat /etc/rc.local | grep 'ulimit -SH 65535'`" ] && echo "ulimit -SH 65535" >> /etc/rc.local
# /et... | woerwin/learning | kjyw/linux-init-script/ubuntu.sh | Shell | mit | 900 |
#!/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... | GeorgeWang03/WYChart | Example/Pods/Target Support Files/Pods-WYChart_Example/Pods-WYChart_Example-frameworks.sh | Shell | mit | 3,605 |
#!/bin/bash
set -e
export ERLANG_VERSION="18.2.1"
export ELIXIR_VERSION="v1.2.3"
# If you have a elixir_buildpack.config, do this instead:
#export ERLANG_VERSION=$(cat elixir_buildpack.config | grep erlang_version | tr "=" " " | awk '{ print $2 }')
#export ELIXIR_VERSION=v$(cat elixir_buildpack.config | grep elixir_... | coshx/phx_oembed | circle-prepare.sh | Shell | mit | 1,841 |
#NPM Zeug
echo "Installing Node Depedencies"
npmp=(<% packets.npm %>)
for (( i = 0; i < ${#npmp[@]}; i++ )); do
echo "\tInstalling Node Package:" ${npmp[i]}
sudo npm install -d -g ${npmp[i]}
done
echo "Done ! Installing Node Depedencies"
#---------------------------------------- | geisslercom/devstacker | app/shell/npm.sh | Shell | mit | 281 |
date +'%F %T %z'
jekyll serve -w -D -V -H 0.0.0.0
| codeck-kch/codeck-kch.github.io | _draft.sh | Shell | mit | 50 |
#!/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()
{
local source="${BUILT_PRODUCTS_DIR}/Pods-TaylorSource/$1"
local destin... | king7532/TaylorSource | framework/Pods/Target Support Files/Pods-TaylorSource/Pods-TaylorSource-frameworks.sh | Shell | mit | 2,560 |
# MetaMan
# pyenv.sh - implements meta.sh for pyenv
#
# Copyright (C) 2017 Dan Poggi
#
# This software may be modified and distributed under the terms
# of the MIT license. See the LICENSE file for details.
__mm_pyenv_is_loaded() {
__is_function pyenv
}
__mm_pyenv_is_installed() {
__is_command pyenv || [[ -x "$(_... | dpoggi/dcp | lib/mm/pyenv.sh | Shell | mit | 1,243 |
#!/bin/bash
set -euo pipefail
if [[ -z "${BUILDKITE_AWS_STACK_BUCKET}" ]] ; then
echo "Must set an s3 bucket in BUILDKITE_AWS_STACK_BUCKET for temporary files"
exit 1
fi
os="${1:-linux}"
arch="${2:-amd64}"
agent_binary="buildkite-agent-${os}-${arch}"
s3secrets_binary="s3secrets-helper-${os}-${arch}"
if [[ "$os" ... | holmesjr/elastic-ci-stack-for-aws | .buildkite/steps/packer.sh | Shell | mit | 1,831 |
# Read from the file file.txt and print its transposed content to stdout.
awk '
{
for (i = 1; i <= NF; i++) {
if(NR == 1) {
s[i] = $i;
} else {
s[i] = s[i] " " $i;
}
}
}
END {
for (i = 1; s[i] != ""; i++) {
print s[i];
}
}' file.txt | yangyangv2/leet-code | problems/src/main/java/prob194/transpose/file/Solution.sh | Shell | mit | 305 |
#!/bin/sh
# usage:
# build_java.sh
# build_java.sh /kb/runtime
# build_java.sh -u /kb/runtime
#
# general form:
# build_java.sh -u <target>
#
# -u is optional, it will over-ride java restricted
# <target> is optional, it will default to /kb/runtime
restricted="restricted"
while getopts u opt; do
case $opt... | PATRIC3/bootstrap | kb_java_runtime/java_build.sh | Shell | mit | 4,007 |
#!/bin/bash
if ! [ -x "$(command -v docker-compose)" ]; then
echo 'Error: docker-compose is not installed.' >&2
exit 1
fi
domains=(api.oscript.io hub.oscript.io oscript.io build.oscript.io)
rsa_key_size=4096
data_path="./web/certbot"
ssl_conf_path="./web/nginx/ssl_conf"
email="ovsiankin.aa@gmail.com" # Adding a v... | EvilBeaver/oscript-infrastructure | init-letsencrypt.sh | Shell | mit | 2,576 |
#!/usr/bin/env zsh
# shellcheck disable=SC2154
am_venv(){
__venv=$(plib_venv)
if [[ ${__venv} != "" ]]; then
echo -ne " %F{$AM_VENV_COLOR}$(plib_venv)%f"
else
echo -ne ""
fi
}
am_python_version(){
echo -ne "%F{$AM_PYTHON_COLOR}${AM_PY_SYM}$(plib_python_version)%f"
}
am_python_short_version(){
ec... | eendroroy/alien-minimal | modules/versions.zsh | Shell | mit | 1,792 |
#!/bin/bash
#bdereims@vmware.com
[ "${1}" == "" ] && echo "usage: ${0} deploy_env" && exit 1
[ ! -f "${1}" ] && echo "error: file '${1}' does not exist" && exit 1
. ./"${1}"
### Local vars ####
###################
photon target set http://${INSTALLVM}:9000
photon system deploy photon-complex.yaml
| bdereims/cPod | Photon-Deploy/install_photon.sh | Shell | mit | 304 |
#!/usr/bin/env bash
cd /var/www/mo
composer self-update
composer install | sandboxwebs/Mo | puppet/scripts/composer.sh | Shell | mit | 73 |
cd out/production/DIA_Umpire_SE
java -cp .:../DIA-Umpire:../../../Library/* DIA_Umpire_SE.DIA_Umpire_SE dia_file.mzXML diaumpire_se.params -f
cd ../../..
| YcheCourseProject/DIA-Umpire-Maven | DIA-Umpire/first_signal_extraction.sh | Shell | mit | 154 |
#!/usr/bin/env bash
function main_setup {
echo "export PATH=$BIN_DIR:\$PATH" >> $HOME/.bash_profile
source $HOME/.bash_profile 2> /dev/null
} | trsouz/easy-docker | commands/setup.sh | Shell | mit | 145 |
#!/bin/bash
yarn
grunt build
docker build -t $npm_package_name .
echo "Terminé."
| 5ika/Toku | client/bin/docker-build.sh | Shell | mit | 82 |
# Move /usr/local/bin before /usr/bin, /usr/sbin/, and /sbin so user executables
# can replace system ones.
# Uses Mac's default sed (since gnu-sed might not be in the path yet)
#
# TODO: is this still necessary? It was there for coreutils, but that's in coreutils.sh.
#
# if grep -q '/usr/local/bin' <<< "$PATH"; then
#... | maxrothman/config | bashrc.d/questionable.sh | Shell | cc0-1.0 | 412 |
#!/bin/sh
#
# Build the Docker image
#
set -e
# Determine current git branch name
if [ -z "$CI_BUILD_REF_NAME" ]; then
CI_BUILD_REF_NAME=$(git branch | grep "*" | cut -d " " -f 2)
fi
DOCKER_IMAGE=hawkthorne
VERSION=$(cat project.clj | grep "defproject" | sed -e "s/.*\"\(.*\)\"/\1/")
TAG=$CI_BUILD_REF_NAME-$VERSI... | niamu/hawkthorne | script/build.sh | Shell | epl-1.0 | 477 |
#!/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_FITS_truecolor.sh | Shell | gpl-2.0 | 365 |
#!/bin/sh
# FILE : config-linux.sh
# VER : v1.01
# UPDATE : 2005.9.14
#
# Create config.linux-x.x.x
#
usage(){
printf "need \$1 : ROOTDIR , \$2 : LINUXDIR , \$3 : VENDORDIR\n"
printf "optional \$4 : CROSSDEV , \$5 : ARCH"
}
#############################################################################... | atmark-techno/atmark-dist | vendors/AtmarkTechno/Common/tools/config-linux.sh | Shell | gpl-2.0 | 2,500 |
#!/bin/csh
echo "Test A81 for huge-count.pl"
echo "Comparing huge-count.pl --newLine --token token.regex --nontoken nontoken.regex --stop stoplist --split 4 test-A81.huge-count test-A81.data"
echo "Against"
echo "count.pl --newLine --token token.regex --nontoken nontoken.regex --stop stoplist test-A8.count test-A81.da... | BjoernKW/TextNSP | Testing/huge-count/testA8.sh | Shell | gpl-2.0 | 2,204 |
#! /bin/sh
#
# Convert LISA litmus test to C-language version
#
# Usage: sh lisa2c.sh < lisa.litmus > c.litmus
#
# Note that a C-language litmus test might not be semantically equivalent
# to its LISA-language counterpart. For example, LISA and C have slightly
# different semantics for control dependencies.
#
# This p... | paulmckrcu/litmus | RCUlitmusGen/lisa2c.sh | Shell | gpl-2.0 | 5,357 |
#! /bin/sh
# Copyright (C) 2003-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/makej.sh | Shell | gpl-2.0 | 1,483 |
#!/usr/bin/env sh
#
# install script
prog_dir="$(dirname "$(realpath "${0}")")"
name="$(basename "${prog_dir}")"
data_dir="/mnt/DroboFS/Shares/DroboApps/.AppData/${name}"
tmp_dir="/tmp/DroboApps/${name}"
logfile="${tmp_dir}/install.log"
statusfile="${tmp_dir}/status.txt"
errorfile="${tmp_dir}/error.txt"
# boilerplate... | droboports/koken | src/dest/install.sh | Shell | gpl-2.0 | 3,270 |
#!/bin/sh
bindir=$(pwd)
cd /home/tuto/Dropbox/C++/OpenGL/OpenGL-Tutorial/OpenGL-tutorial_v0014_33/tutorial05_textured_cube/
export LD_LIBRARY_PATH=:$LD_LIBRARY_PATH
if test "x$1" = "x--debugger"; then
shift
if test "x" = "xYES"; then
echo "r " > $bindir/gdbscript
echo "bt" >> $bindir/gdbscript
-batch -comman... | tuto193/OpenGLTutorials | build/launch-tutorial05_textured_cube.sh | Shell | gpl-2.0 | 677 |
#! /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/t6062-broken-update41.sh | Shell | gpl-2.0 | 1,196 |
#!/bin/sh
echo ""
echo "Checking for user root..."
if ! [ $(id -u) = 0 ]; then
echo "You must be root to do this." 1>&2
echo ""
exit 100
else
echo "Ok, we are root."
echo ""
fi
echo "Setting up directories and permissions"
echo ""
if [ ! -d "/var/www/mcc/www/assets" ]; then
mkdir /var/www/mcc/... | daschatten/mcc | extra/install.sh | Shell | gpl-2.0 | 1,662 |
#!/usr/bin/env sh
#
# Service.sh for p7zip
# import DroboApps framework functions
. /etc/service.subr
framework_version="2.1"
name="p7zip"
version="9.38.1-1"
description="File archiver with a high compression ratio"
depends=""
webui=""
prog_dir="$(dirname "$(realpath "${0}")")"
tmp_dir="/tmp/DroboApps/${name}"
pidfi... | droboports/p7zip | src/dest/service.sh | Shell | gpl-2.0 | 1,153 |
pip install -r examples/requirements.txt
pip install -r examples/requirements3.txt
python setup.py install
mkdir examples/logs/
python examples/example/manage.py collectstatic --noinput
python examples/example/manage.py syncdb --noinput
python examples/example/manage.py migrate --noinput | georgistanev/django-dash | install3.sh | Shell | gpl-2.0 | 288 |
#!/usr/bin/env bash
source "$(dirname $0)"/test-utils.sh
ERT_TEST="$EL_GET_LIB_DIR/test/test.el"
HOME="$TEST_HOME" exec \
"$EMACS" -Q -L "$EL_GET_LIB_DIR" -l "$ERT_TEST" \
--eval "(ert t)"
| jojolin/emacs.d | el-get/el-get/test/run-ert-interactive.sh | Shell | gpl-2.0 | 199 |
MACHINE=
SCRIPT_NAME=cgcm68hc11
OUTPUT_FORMAT="cgc32-m68hc11"
ROM_START_ADDR=0x08000
ROM_SIZE=0x8000
RAM_START_ADDR=0x01100
RAM_SIZE=0x6F00
EEPROM_START_ADDR=0xb600
EEPROM_SIZE=512
TEXT_MEMORY=text
DATA_MEMORY=data
EEPROM_MEMORY=eeprom
ARCH=m68hc11
MAXPAGESIZE=32
EMBEDDED=yes
GENERIC_BOARD=no
TEMPLATE_NAME=cgc32
EXTRA_... | CyberGrandChallenge/binutils | ld/emulparams/m68hc11cgc.sh | Shell | gpl-2.0 | 339 |
convert images/OCS-450-A.png -crop 1552x709+0+0 +repage images/OCS-450-A-0.png
convert images/OCS-450-A.png -crop 1552x65+0+720 +repage images/OCS-450-A-1.png
convert images/OCS-450-A.png -crop 1552x381+0+802 +repage images/OCS-450-A-2.png
convert images/OCS-450-A.png -crop 1552x387+0+1192 +repage images/OCS-450-A-3.pn... | jonnymwalker/Staroslavjanskij-Slovar | scripts/findindents.OCS-450.sh | Shell | gpl-2.0 | 2,023 |
#!/bin/sh
echo "int foo(void) { char X[200]; return 3; }" | $* -S -xc -c -O0 -mcmodel=kernel -fstack-protector - -o - 2> /dev/null | grep -q "%gs"
if [ "$?" -eq "0" ] ; then
echo y
else
echo n
fi
| luckasfb/OT_903D-kernel-2.6.35.7 | kernel/scripts/gcc-x86_64-has-stack-protector.sh | Shell | gpl-2.0 | 198 |
#!/bin/bash
### Script para ejecutar Cinelerra-4.6.mod.noarch tras haberlo compilado ##
### Autor: triceratops1 ###
### E-mail: taringa.net/triceratops1 ###
### Fecha de creacion: 07/04/2015 ###
### Por el momento solo sirve en Fedora y Ubuntu ###
cp Cinelerra.png /home/$USER/.local/share/icons
cp Cinelerra.desktop... | triceratops1/cinelerra | cinelerra-4.6/cinelerra-4.6.mod/hola.sh | Shell | gpl-2.0 | 353 |
#!/bin/bash
set -e
apt-get update
apt-get install -y squid-deb-proxy-client
apt-get install -y libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev make unzip git curl python-pip
pip install google-api-python-client python-gflags
useradd -m ubuntu
echo "ubuntu ALL=(ALL) NOPASSWD:ALL" > /etc/s... | chuckbutler/telegram-bot | setup.sh | Shell | gpl-2.0 | 532 |
#!/bin/sh
#
# Copyright (C) 2011 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 app... | rex-xxx/mt6572_x201 | ndk/build/tools/build-gnu-libstdc++.sh | Shell | gpl-2.0 | 9,576 |
#!/usr/bin/env bash
#if [ $# -lt 3 ]; then
# echo "usage: $0 <db-name> <db-user> <db-pass> [db-host] [wp-version]"
# exit 1
#fi
DB_NAME='sensei_test'
DB_USER='root'
DB_PASS=''
DB_HOST='localhost'
WP_VERSION=4.4.2
WP_TESTS_DIR=${WP_TESTS_DIR-/tmp/wordpress-tests-lib}
WP_CORE_DIR=${WP_CORE_DIR-/tmp/wordpress/}
if [[ ... | pgk/sensei | tests/bin/install.sh | Shell | gpl-2.0 | 2,674 |
# Public domain, from djbdns-1.05.
# As per http://cr.yp.to/djbdns/res-disaster.html
# oper-:arch-:syst-:chip-:kern-
# oper = operating system type; e.g., sunos-4.1.4
# arch = machine language; e.g., sparc
# syst = which binaries can run; e.g., sun4
# chip = chip model; e.g., micro-2-80
# kern = kernel version; e.g., ... | abh/ezmlm-idx | find-systype.sh | Shell | gpl-2.0 | 3,418 |
git push
| murix/bbb-buildroot | external-gitpush.sh | Shell | gpl-2.0 | 11 |
#!/bin/bash
set -e
mkdir -p ~/Pictures/POD
cd ~/Pictures/POD
curl -s -o indexBing.html "http://www.bing.com"
curl -s -o indexNational.html "http://photography.nationalgeographic.com/photography/photo-of-the-day/"
curl -s -o indexNasa.html "http://apod.nasa.gov/apod/astropix.html"
curl -s -o todaysImageBing.jpg `s... | devosvictor/setPOD | old/scripttobedelete.command | Shell | gpl-2.0 | 704 |
#!/bin/bash
### Prema Chand Alugu (premaca@gmail.com)
### Shivam Desai (shivamdesaixda@gmail.com)
### HelpMeRuth (jukeboxruthger1@gmail.com)
### A custom build script to build zImage,DTB & wlan module (Anykernel2 method)
### Made universal for everyone. Make sure you run with sudo or su
set -e
KERNEL_DIR=$PWD
TOOLCH... | HelpMeRuth/Ruthless_Kernel | build.sh | Shell | gpl-2.0 | 2,822 |
#!/bin/bash
output=`uname -r -m -o`
#output+="|"
#output+="updates?"
echo $output
| kmoe/dotfiles | .config/i3status/kernel.sh | Shell | gpl-3.0 | 84 |
## meteo.sh
echo "*51#"> /tmp/dtmf_uhf
echo "*51#"> /tmp/dtmf_vhf
| spotnik-ham/etc | meteo.sh | Shell | gpl-3.0 | 66 |
#!/bin/bash/
set -x
MAC=$(read -r 4<config.txt)
if [bluetoothctl] ; then
pair $MAC
exit
fi
| MurkyBeef/Webduino | bt.pair.sh | Shell | gpl-3.0 | 100 |
#Made for use on Kali
#headless bucklegripper install script
#hadojae 05.02.2017
apt clean && apt update && apt dist-upgrade && apt autoremove
#install stuff
apt install xvfb fdupes ssdeep python-pip unzip zip
#download geckodriver
wget https://github.com/mozilla/geckodriver/releases/download/v0.21.0/geckodriver-v0.... | hadojae/DATA | bucklegripper/install_bucklegripper_deps_kali.sh | Shell | gpl-3.0 | 583 |
#!/bin/sh
#Use this command to access GO instance in aws
#ssh -i $GO_AGENT_REGISTROLIVRE_KEY ubuntu@$GO_AGENT_AWS_IP
echo "=====> Starting configuration Go Agent on AWS machine"
SCRIPTS_PATH="/tmp/go"
PROVISION_PATH="./scripts/provision/."
CONFIGURATIONS_PATH="./configurations/."
echo "=====> Creating scripts folder... | ThoughtWorksInc/registrolivre | infrastructure/go/scripts/production/deploy-go-agent-on-aws.sh | Shell | gpl-3.0 | 2,151 |
#!/bin/sh
#
# Copyright (C) 2004, 2007, 2012, 2014, 2015 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2000, 2001 Internet Software Consortium.
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright ... | krichter722/bind9 | bin/tests/system/stress/tests.sh | Shell | gpl-3.0 | 1,348 |
#!/bin/sh
if [ -n "$(rpm -V audit | awk '$1 ~ /..5/ && $2 != "c"')" ]; then
echo 'an audit file has a bad hash'
rpm -V audit
exit 1
fi
exit 0
| Taywee/dod-stig-scripts | linux/V-38637/test.sh | Shell | gpl-3.0 | 156 |
#!/bin/bash
# retrieve assignment 1
# javascript fall 2020
# pmcampbell
sect2=320-js-class-tricia-sect02.txt
sect1=320-js-class-jaya-sect01.txt
dir=project1
file=$sect2
teacher=tricia
found=0
missing=0
date=$(date +%F)
usage () {
echo $(basename $0) 1 '|' 2
echo section 1 jaya, section 2 tricia
}
if [[ $# -ne ... | campbe13/useful-scripts | 320/proj1-retrieval/project1.sh | Shell | gpl-3.0 | 1,299 |
#!/bin/sh
#
# PlanAhead(TM)
# runme.sh: PlanAhead-generated Script for launching ISim application
# Copyright 1986-1999, 2001-2013 Xilinx, Inc. All Rights Reserved.
#
if [ -z "$PATH" ]; then
PATH=$XILINX/lib/$PLATFORM:$XILINX/bin/$PLATFORM:/opt/Xilinx/14.7/ISE_DS/EDK/bin/lin64:/opt/Xilinx/14.7/ISE_DS/ISE/bin/lin64:... | briburrell/amica | device/scrypt_mono_pll/scrypt_mono_pll.sim/sim_1/behav/runme.sh | Shell | gpl-3.0 | 1,460 |
#!/bin/sh
# Matthias Strubel & Luandro (c) 2013 - GPL3
# Generate a JSON file, which relfects some part of the current configuration
# First parameter is the kaapora.conf
### Used parameter : JSON_FILE
. $1
# json.conf contains some information about modules on the frontend
. $KAAPORA_FOLDER/conf/json.conf
###... | KaaPora/server | kaapora/kaapora/bin/json_generation.sh | Shell | gpl-3.0 | 1,470 |
#!/bin/bash -ex
. $CONFIG
. $WORK_DIR/lib/functions-test.sh
run_clearing || failed "clearing failed"
run_lua single_lvm || failed "single_lvm failed"
| ETegro/Inquisitor | client/remotetesting/tests/single_lvm/create/init.sh | Shell | gpl-3.0 | 152 |
#!/bin/bash
RASP_ENABLED=true # RaspberryPi logo true/false
# source: http://www.raspberrypi.org/phpBB3/viewtopic.php?p=78678#p78678
if $RASP_ENABLED; then
echo "$(tput setaf 2)
.~~. .~~.
'. \ ' ' / .'$(tput setaf 1)
.~ .~~~..~.
: .~.'~'.~. :
~ ( ) ( ) ~
( : '~'.~.'~' : )
~ .~ ( ) ~. ~
( : '~'... | anapsix/welcometomyserver | scripts/rasp.sh | Shell | gpl-3.0 | 409 |
#!/bin/bash
SOURCE_DIR="$(cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
TMP_DIR=$(mktemp -d)
function cleanup {
rm -rf $TMP_DIR
}
trap cleanup EXIT
cd $TMP_DIR
osc checkout home:sysmo:unstable
cd home:sysmo:unstable/sysmo-operator/
cp $SOURCE_DIR/_service .
osc up
osc commit -m "_service file update"
| sysmo-nms/sysmo-operator | support/packages/obs/update_unstable.sh | Shell | gpl-3.0 | 311 |
#---------------------------------------------------------------------
# Function: InstallAntiVirus
# Install Amavisd, Spamassassin, ClamAV
#---------------------------------------------------------------------
InstallAntiVirus() {
echo -n "Installing Anti-Virus utilities... (This take some time. Don't abort it ..... | WeslleyJackson/ISPConfig3-Master-port-81 | distros/debian9/install_antivirus.sh | Shell | gpl-3.0 | 1,473 |
#!/bin/bash
####
# @author stev leibelt <artodeto@bazzline.net>
# @since 2014-03-05
####
echo 'please provide file name'
read FILENAME
FILE_REALPATH=$(realpath $FILENAME);
echo 'provided filename: "'$FILENAME'"'
echo 'realpath: "'$FILE_REALPATH'"'
if [ ! -f "$FILE_REALPATH" ]; then
echo 'file does not exist'
el... | stevleibelt/examples | bash/filesystem/file/get_file_path.sh | Shell | gpl-3.0 | 348 |
if [ -d /usr/share/themes ]
then
#export GTK2_RC_FILES=/usr/share/themes/Numix/gtk-2.0/gtkrc
#export GTK_THEME=Numix:dark
export GTK2_RC_FILES=/home/asmodai/.themes/MyDark/gtk-2.0/gtkrc
export GTK_THEME=MyDark
fi
| Asmodai/dotfiles | zshrc.d/plugins/gtk/gtk.plugin.zsh | Shell | gpl-3.0 | 221 |
#!/bin/bash
# AC
if [ $1 -eq 1 ]; then
# compton -cCFb --backend glx --vsync opengl
# BAT ONLY
elif [ $1 -eq 2 ]; then
fi
| avivace/dotfiles | scripts/powersettings.sh | Shell | gpl-3.0 | 124 |
if ! [ -e ~/.recon-directory ]; then
echo "error: ~/.recon-directory does not exist, run recon.sh init."
else
if [ -z "$1" ] || [ -z "$2" ] || [ -z "$3" ]; then
echo "usage: recon.sh artifacts <name> <command> <file>"
exit
fi
if ! [ "$2" == "add" ]; then
echo "error: command '$2' not found"
exit
fi
if ... | hackersql/sq1map | Web/recon.sh/recon-artifacts.sh | Shell | gpl-3.0 | 658 |
#!/bin/bash
BASEPATH=$(cd `dirname $0`; pwd)
CONFIG0=$1
CONFIG1=$BASEPATH/$1
CONFIG2=$BASEPATH/le-dns.conf
if [ -f "$CONFIG0" ];then
. "$CONFIG0"
DIRNAME=$(dirname "$CONFIG0")
cd "$DIRNAME" || exit 1
export CONFIG=$CONFIG0
else
if [ -f "$CONFIG1" ];then
. "$CONFIG1"
DIRNAME=$(dirname "$CONFIG1")... | Mr-Fook/le-dns-shell | le-dns.sh | Shell | gpl-3.0 | 3,472 |
#!/bin/bash
source utils.sh || source tests/utils.sh
for p in `lv2ls`; do
cprint green "Testing $p"
$LV2BM $p
if [ "$?" != "0" ]; then
cprint red "Failled testing $p"
break
fi
done
| moddevices/lv2bm | tests/test_all_plugins.sh | Shell | gpl-3.0 | 216 |
#!/bin/sh
#
# This file is protected by Copyright. Please refer to the COPYRIGHT file
# distributed with this source distribution.
#
# This file is part of GNUHAWK.
#
# GNUHAWK is free software: you can redistribute it and/or modify is under the
# terms of the GNU General Public License as published by the Free Sof... | RedhawkSDR/integration-gnuhawk | components/sub_ss_2i/build.sh | Shell | gpl-3.0 | 1,536 |
#lex compiler
flex contactParser.l
cc -g -o contactParser lex.yy.c -lfl
g++ -g -o fbFriendsParser fbFriendsParser.cpp
#C program compiler
cc -std=c99 -o ContactGraph -g main.c contacts.c queue.c
| ScarlettCanaan/mylife | data_structure/hwFinal/make.sh | Shell | gpl-3.0 | 197 |
#!/bin/bash
sudo apt-get install -y git tree vim
sudo cat /home/vagrant/.ssh/me.pub >> /home/vagrant/.ssh/authorized_keys
# some packages use locales i.e. PostgreSQL
# commented out because it is interactive
# TODO refactor so provision can complete it
#sudo dpkg-reconfigure locales
| cuphalfempty/vagrant-box | scripts/provision/common.sh | Shell | gpl-3.0 | 285 |
#!/bin/bash
mkdir -p gprof
mkdir -p gcov
svn up
make -j5
./src/vislcg3 -g ~/parsers/dansk/etc/dancg.cg --grammar-only --grammar-bin dancg.cg3b
./scripts/compile-profile.sh
cd gcov/
head -n 3000 arboretum_stripped.txt | ./vislcg3 -v -g ../dancg.cg3b > out.txt
find ../src/ -type f -name '*.cpp' -exec gcov -o . {} \; >/... | TinoDidriksen/cg3 | scripts/profile-apply.sh | Shell | gpl-3.0 | 601 |
mkdir -p NTUPLES
./MakeCompressedStopNtuple.x -ofile=./NTUPLES/ttbar.root -ifile=/Users/crogan/Dropbox/SAMPLES/SussexNt/Top/ttbar.root
./MakeCompressedStopNtuple.x -ofile=./NTUPLES/SingleTop.root -ifile=/Users/crogan/Dropbox/SAMPLES/SussexNt/Top/SingleTop.root
./MakeCompressedStopNtuple.x -ofile=./NTUPLES/Wjets.root -i... | crogan/CompressedAnalysis | scripts/Make_SussexNtuplesBkg.sh | Shell | gpl-3.0 | 1,145 |
#!/bin/bash
################################# CONSTANTS ##################################
# default timeout (can be overriden from command line)
timeout=300;
# Absolute path to this script, e.g. /home/user/bin/foo.sh
SCRIPT=`readlink -f $0`
# Absolute path this script is in, thus /home/user/bin
SCRIPTPATH=`dirname... | ondrik/libvata | tests/incl_test.sh | Shell | gpl-3.0 | 4,248 |
#!/bin/bash
#########################################################################
# #
# Redis instance creator v1.0 #
# #
# A simple script used to set up multiple Redis instances on #
# same machine. #
# #
# Written by Mohammed Abdallah <palcoder1@gmail.com> #
# ... | palcoder/redis-instance | redis-instance.sh | Shell | gpl-3.0 | 2,594 |
#!/bin/bash
set -e
# check if the cron daemon is running. If not, start it.
if ! [ `service cron status | grep -c "cron is running"` ]; then
echo >&2 "firing up cron daemon"
service cron start
if [ `service cron status | grep -c "cron is running"` ]; then
echo >&2 "cron now running..."
else
... | oeru/docker-moodle | php/docker-entrypoint.sh | Shell | gpl-3.0 | 3,693 |
#!/usr/bin/env bash
#ensure these match the jboss-as script in /etc/init.d
export JBOSS_HOME=/usr/share/jboss-as
export JBOSS_USER=jboss-as
export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64
cd /etc/yum.repos.d
cp /vagrant/provisioning/yum.repos.d/* .
cd
echo 'installing wget curl openjdk...'
yum -y -d... | staylorx/vagrant-centos65-jboss7 | provisioning/bootstrap.sh | Shell | gpl-3.0 | 1,659 |
#!/bin/bash
docker rm -f geosync_database_1
docker build -t geosync_database .
docker run -d --name geosync_database_1 geosync_database
| MSHE-Ledoux/georchestra-geosync | postgresql.geosync/build_and_run.sh | Shell | gpl-3.0 | 138 |
#!/bin/bash
#
##
###
##################################################################################
# #
# Copyright 2018; Antonio Henrique (Fela); <ahlr_2000@yahoo.com> #
# Todos os direitos reservados. ... | ahlrodrigues/slackonfig | source/scripts/cashflow.Slackonfig.sh | Shell | gpl-3.0 | 4,800 |
#!/bin/sh
set +x -e
# if argument given, normalize and use as root directory
[ -d "$1" ] && XKB_ROOT=$(readlink -f $1) || XKB_ROOT=/usr/share/X11/xkb
# owner may be given as the second argument, for local installation
[ -n "$2" ] && OWNER=$2 || OWNER=root
# find our own location
DVP_DIR=$(dirname $(readlink -f $0))
... | alerque/programmers-turkish-f | linux/dvp.install.sh | Shell | gpl-3.0 | 580 |
#!/usr/bin/bash
# let's install pip
sudo apt-get -y install python-pip
# dependencies for 'cryptography' python package
sudo apt-get -y install build-essential libssl-dev libffi-dev python-dev
# install paramiko, should install dependency'cryptography'
sudo pip install paramiko
| cpoczatek/kharon | setup.sh | Shell | gpl-3.0 | 282 |
#Build the CLibrary:
echo -e "Building the C Library:"
cd "Libc/bin"
cmake ../
make
cp liblibre-c.a ../../bin/liblibre-c.a
chmod u+x ../../bin/liblibre-c.a
echo -e "Building Kernel Files "
cd "../../Kernel"
./build.sh
cd ../
echo $PWD
echo -e "Creating The Bootloader"
if grub-file --is-x86-multiboot Kernel/bin/kern... | metallicsoul92/cjsrOS | build.sh | Shell | gpl-3.0 | 650 |
#!/bin/bash
NPS_VERSION=`curl -s https://api.github.com/repos/apache/incubator-pagespeed-ngx/tags |grep "name" |grep "stable" |head -1 |sed -n "s/^.*v\(.*\)-stable.*$/\1/p"`
NGINX_DEB_VERSION=`curl -s https://nginx.org/packages/debian/pool/nginx/n/nginx/ |grep '"nginx_' | sed -n "s/^.*\">nginx_\(.*\)\~.*$/\1/p" |sort ... | darylounet/libnginx-mod-pagespeed | build.sh | Shell | gpl-3.0 | 715 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.