code stringlengths 2 1.05M | repo_name stringlengths 5 110 | path stringlengths 3 922 | language stringclasses 1
value | license stringclasses 15
values | size int64 2 1.05M |
|---|---|---|---|---|---|
#!/bin/bash
psql -f load_raw_index.sql
psql -f process_index.sql
| Bauer312/election-data | Model/create_index.sh | Shell | mit | 66 |
#!/bin/bash
docker stop parliament1
docker rm parliament1
docker rmi parliament_img
docker build --rm=true --tag="parliament_img" .
docker run -d --name="parliament1" -p 49701:49701 -p 49702:49702 parliament_img
docker ps
#rm ~/.ssh/known_hosts
#ssh -p 49701 root@localhost | albhasan/dockerParliamentTS | setup.sh | Shell | mit | 274 |
#!/bin/sh
ELROND_HOME=$(dirname $0)
. ${ELROND_HOME}/etc/common
exit 0
| cdsi/elrond | test-local.sh | Shell | mit | 73 |
#! /bin/bash
CREDENTIAL_FILE='./tempcredentials.txt';
# USERS=" ";
# USERS="${USERS} ";
for USER in $USERS;
do
$( /bin/bash ./create-uploadUserS3.sh ${USER} >> ${CREDENTIAL_FILE} );
done;
| njgray/scripts | aws/s3/createMultipleUsers.sh | Shell | mit | 193 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DLA-345-1
#
# Security announcement date: 2015-11-19 00:00:00 UTC
# Script generation date: 2017-01-01 21:09:04 UTC
#
# Operating System: Debian 6 (Squeeze)
# Architecture: i386
#
# Vulnerable packages fix on version:
# - strongswan:4.4.1-5.8
#
# Last version... | Cyberwatch/cbw-security-fixes | Debian_6_(Squeeze)/i386/2015/DLA-345-1.sh | Shell | mit | 606 |
#! /usr/bin/env sh
set -v
set -e
installer_hash=a639696a9fd3bdf0be21376cc2dc3129323cbe42
installer_name=gnat-2020-20200818-x86_64-linux-bin
# Create tools directory
if ! test -d $TOOLS_DIR
then
mkdir -p $TOOLS_DIR
fi
# Get / update gnat_community_install_script repo
if ! test -d $TOOLS_DIR/gnat_community_instal... | gusthoff/wavefiles | .travis/gnat_community_install.sh | Shell | mit | 982 |
convert -list font | grep family | cut -d ' ' -f 6-
| TeaEntityLab/teaScriptUtils | imagemagick_list_fonts.sh | Shell | mit | 52 |
#!/bin/sh -xe
go version
export PATH="$PATH:$(go env GOPATH)/bin"
go test -v -race -cover -coverprofile=coverage.txt ./...
curl -s https://codecov.io/bash | bash
| itchio/go-itchio | scripts/ci.sh | Shell | mit | 166 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-2619-1
#
# Security announcement date: 2015-05-23 00:00:00 UTC
# Script generation date: 2017-01-01 21:04:35 UTC
#
# Operating System: Ubuntu 12.04 LTS
# Architecture: i386
#
# Vulnerable packages fix on version:
# - linux-image-3.13.0-53-generic-lpae:3.1... | Cyberwatch/cbw-security-fixes | Ubuntu_12.04_LTS/i386/2015/USN-2619-1.sh | Shell | mit | 920 |
# Generate docs.
mkdir -p public/api
python3 ./openapi/generate_openapi.py --release $(git describe --tags --abbrev=0) > ./public/api/wekan.yml
api2html -c ./public/logo-header.png -o ./public/api/wekan.html ./public/api/wekan.yml
# Copy docs to bundle
#cp -pR ./public/api ~/repos/wekan/.build/bundle/programs/web.bro... | GhassenRjab/wekan | releases/rebuild-docs.sh | Shell | mit | 412 |
#!/bin/sh
set -ex
mkdir build && cd build
cmake .. && make && make test | MidnightCommercial/cpp_project | scripts/run-tests.sh | Shell | mit | 71 |
#!/bin/bash
set -ev
# # install aws cli
# curl "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" -o "awscli-bundle.zip"
# unzip awscli-bundle.zip
# ./awscli-bundle/install -b ~/bin/aws
# export PATH=~/bin:$PATH
# deploy on aws
if [ "${TRAVIS_BRANCH}" = "master" ]; then
if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; ... | linn/news | scripts/deploy.sh | Shell | mit | 1,920 |
#!/bin/bash
set -e
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
cat /etc/yum.repos.d/epel.repo |sed 's/enabled=1/enabled=0/g' >/etc/yum.repos.d/epel.repo.new
mv -f /etc/yum.repos.d/epel.repo.new /etc/yum.repos.d/epel.repo
| thefab/docker-centos-opinionated | root/build/add_epel.sh | Shell | mit | 259 |
#!/usr/bin/env bash
local ACTION=$1
function strapping() {
echo "Strapping android..."
brew_install_or_upgrade android-sdk
}
function unstrapping() {
echo "Unstrapping android..."
brew uninstall --force android-sdk
}
$ACTION
| reyerstudio/devstrap | straps/unix/android.sh | Shell | mit | 236 |
#!/bin/vbash
## get vpn variables
source ./commonvars.sh
DEBUG="$2"
export INSTANCEID=$(curl -s http://169.254.169.254/latest/meta-data/instance-id)
export HOSTNAME=$(hostname)
## get other variables from aws user data
if [ "${DEBUG}" = "" ]
then
AWSUSERDATACMD="curl http://169.254.169.254/latest/user-data"
els... | yaggytter/vyos-serf-vpn | bin/getinfo.sh | Shell | mit | 1,224 |
#!/bin/sh
source ./build.defaults
if [ "$1" = "-h" ] ; then
echo "Usage:"
echo " pack-sdk.sh [<build_name>]"
echo ""
echo "<build_name>: name of the build dir (Default: $BUILD_NAME)"
echo ""
exit 1
fi
[ "$1" ] && BUILD_NAME=$1
OEBUILDDIR=../build-$BUILD_NAME
[ ! -d $OEBUILDDIR ] && echo "Couldn't find build... | KDAB/OpenEmbedded-Archos | pack-sdk.sh | Shell | mit | 1,033 |
#!/usr/bin/env bash
DIRECTORY=vagrant-env
if [ ! -d "$DIRECTORY" ]; then
git clone https://github.com/scotch-io/scotch-box.git "$DIRECTORY"
fi
cd "$DIRECTORY"
cp ../doRunInVagrantSSH.sh ./doRunInVagrantSSH.sh
vagrant up # May take a while the first time !
vagrant ssh | phpmauritiusug/2016-DevConMru | PHP-01-1-JumpStart/run.sh | Shell | mit | 272 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DSA-3227-1
#
# Security announcement date: 2015-04-15 00:00:00 UTC
# Script generation date: 2017-01-01 21:07:19 UTC
#
# Operating System: Debian 7 (Wheezy)
# Architecture: armv7l
#
# Vulnerable packages fix on version:
# - movabletype-opensource:5.1.4+dfsg-4... | Cyberwatch/cbw-security-fixes | Debian_7_(Wheezy)/armv7l/2015/DSA-3227-1.sh | Shell | mit | 674 |
#!/bin/sh
PLATFORM="osx"
TREE_DIR="../../tree/gtest"
SRC_DIR="$TREE_DIR/src"
BUILD_DIR="build/$PLATFORM"
INSTALL_DIR="tmp/$PLATFORM"
SRC_PATH="$(pwd)/$SRC_DIR"
INSTALL_PATH="$(pwd)/$INSTALL_DIR"
if [ ! -d "$SRC_PATH" ]; then
echo "SOURCE NOT FOUND!"
exit 1
fi
# ---
TOOLCHAIN_FILE="$CROSS_PATH/core/cmake/toolc... | arielm/chronotext-cross | deps/gtest/build.osx.sh | Shell | mit | 850 |
#!/bin/sh -e
# test/with-shlib.sh -- make shared libhts available via $LD_LIBRARY_PATH etc.
#
# Copyright (C) 2020 University of Glasgow.
#
# Author: John Marshall <John.W.Marshall@glasgow.ac.uk>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated doc... | imgag/ngs-bits | htslib/test/with-shlib.sh | Shell | mit | 2,108 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-2509-1
#
# Security announcement date: 2015-02-23 00:00:00 UTC
# Script generation date: 2017-01-01 21:04:16 UTC
#
# Operating System: Ubuntu 14.10
# Architecture: i686
#
# Vulnerable packages fix on version:
# - ca-certificates:20141019ubuntu0.14.10.1
#
... | Cyberwatch/cbw-security-fixes | Ubuntu_14.10/i686/2015/USN-2509-1.sh | Shell | mit | 638 |
bin/storm supervisor
| zhoujiagen/giant-data-analysis | temporal-data-and-realtime-algorithm/temporal-apache-storm/documents/scripts/supervisor.sh | Shell | mit | 21 |
# Custom aliases
if type exa > /dev/null; then
alias ls='exa'
elif ls --color -d . &>/dev/null 2>&1; then
alias ls='ls --color=tty'
else
alias ls='ls -G'
fi
alias -g ...='../..'
alias -g ....='../../..'
alias -g .....='../../../..'
alias -g ......='../../../../..'
alias c1='cd -'
alias c2='cd -2'
alias c3='cd -3... | knpwrs/dotfiles | lib/aliases.zsh | Shell | mit | 4,450 |
#!/bin/bash
set -e
export DEBIAN_FRONTEND=noninteractive
# Install redis-server
apt-get install -y redis-server
mkdir /var/data
#Remove from runlevel and stop
update-rc.d -f redis-server remove
/etc/init.d/redis-server stop | whatwedo/wwd-trusty-dev | scripts/redis.sh | Shell | mit | 225 |
/usr/local/opt/shadowsocks-libev/bin/ss-local -c ~/Documents/LetonShadowsocks/conf/sslocal.conf | leton8888/LetonShadowsocks | bin/ss_start.command | Shell | mit | 95 |
#!/bin/bash
#
# The MIT License (MIT)
#
# Copyright (c) 2014 Wynand Pieterse
#
# 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 the Software without restriction, including without limitation the rights
... | wynandpieterse/StickyRay | automation/vagrant/tasks/ProvisionControlBase.sh | Shell | mit | 1,470 |
#!/bin/sh
# base16-shell (https://github.com/chriskempson/base16-shell)
# Base16 Shell template by Chris Kempson (http://chriskempson.com)
# Brush Trees Dark scheme by Abraham White <abelincoln.white@gmail.com>
color00="48/58/67" # Base 00 - Black
color01="b3/86/86" # Base 08 - Red
color02="87/b3/86" # Base 0B -... | WojciechKo/dotfiles | base16-shell/scripts/base16-brushtrees-dark.sh | Shell | mit | 3,963 |
#!/bin/bash
# version of your package
VERSION_libspatialite=5.0.1
# dependencies of this recipe
DEPS_libspatialite=(sqlite3 proj iconv freexl geos)
# url of the package
URL_libspatialite=http://www.gaia-gis.it/gaia-sins/libspatialite-sources/libspatialite-${VERSION_libspatialite}.tar.gz
# md5 of the package
MD5_lib... | opengisch/OSGeo4A | recipes/libspatialite/recipe.sh | Shell | mit | 2,062 |
#!/bin/sh
NAME="hochzehn/$(basename ${PWD})"
docker build --tag $NAME . > /dev/null
if [ $# -ne 1 ]
then
echo "Usage: bin/run.sh RESTMQ_IP"
else
docker run \
--rm \
$NAME \
$*
fi
| hochzehn/alexa-ranking-worker | bin/run.sh | Shell | mit | 208 |
echo 'start:'
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
sudo apt-key adv --keyserver hkp://pool.sks-keyservers.net --recv-key 0xB01FA116
echo 'leys added'
sudo apt-get update
sudo apt-get install ros-indigo-ros-base
echo 'ros added'
sudo... | buckbaskin/drive_stack | install_dependencies.sh | Shell | mit | 404 |
#!/bin/bash
export SRCDIR=$(dirname $(cd ${0%/*} 2>>/dev/null ; echo `pwd`/${0##*/}))
export SRCFIL=$(basename $(cd ${0%/*} 2>>/dev/null ; echo `pwd`/${0##*/}))
. ${SRCDIR}/config.sh
export TESTURL=`echo ${TESTURL} | sed 's/\/_matrix\//\/_identt\//'`
## ---- variables
export medium=${medium:="msisdn"};
export address... | sroycode/identt | test/test_lookup_params_server2server.sh | Shell | mit | 934 |
#!/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... | banxi1988/BXCityPicker | Example/Pods/Target Support Files/Pods-BXCityPicker_Example/Pods-BXCityPicker_Example-frameworks.sh | Shell | mit | 4,679 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-3015-1
#
# Security announcement date: 2016-06-30 00:00:00 UTC
# Script generation date: 2017-01-01 21:05:32 UTC
#
# Operating System: Ubuntu 15.10
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - liboxideqtcore0:1.15.8-0ubuntu0.15.10.1
... | Cyberwatch/cbw-security-fixes | Ubuntu_15.10/x86_64/2016/USN-3015-1.sh | Shell | mit | 660 |
backup_dir=$1;
remote_server=$2
remote_backup_dir=$3
forced=$4
fullback_days="01 08 15 23"
password="PASSWORD"
cd $backup_dir;
mkdir -p full;
mkdir -p incr;
ssh $remote_server "mkdir -p $remote_backup_dir/full; mkdir -p $remote_backup_dir/incr"
fullbase_dir=`echo $backup_dir/full`;
day=`date +'%F'|grep -oe '-[0-9][0... | wyh/backup-mysql | backup_mysql.sh | Shell | mit | 2,029 |
#!/bin/sh
SCRIPTDIR="./localscripts"
LOCALHOST="127.0.0.1"
BASEDIR="${HOME}/z/test-three-base"
TEMPDIR="${HOME}/z/test-three-tmp"
LOGFILE="${HOME}/z/test-three-log"
PIDFILE="${HOME}/z/test-three-pid"
LICENSEHASH=`openssl dgst -sha512 LICENSE | awk '{print $NF}'`
exiterror() {
exitcode=$1
shift
if [ "0" !... | johnko/dtfc | localscripts/test-three.sh | Shell | mit | 1,799 |
#! /bin/bash
set -e
echo "######## postprocess $@"
if [ $# -lt 2 ]; then
echo "Please input PROJECT_PATH PLATFORM_NO SDK_NO ..."
exit -1
fi
TOOLS_PATH="$(cd $(dirname $0);pwd)"
PROJECT_PATH=$(cd $1;pwd)
shift
PLATFORM_NO=$1
shift
for ARG in "$@"; do
case $ARG in
[0-0][1-9] ) eval "SWITCH_$ARG... | chenxm/UBuild | postprocess.sh | Shell | mit | 8,647 |
#!/bin/sh
export PATH="/usr/local/opt/ruby/bin:$PATH"
export PATH="/opt/apache-maven-3.3.9/bin:$PATH"
export PATH="${HOME}/Library/Python/3.7/bin/:$PATH"
#export PATH="/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages:$PATH"
export PATH="${HOME}/Library/Python/2.7/bin:$PATH"
test -f /usr/lo... | pemcconnell/.dotfiles | exports.sh | Shell | mit | 1,987 |
#!/bin/sh -e
#
# Copyright (c) 2009-2014 Robert Nelson <robertcnelson@gmail.com>
#
# 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 the Software without restriction, including without limitation the rights... | RobertCNelson/imx-devel | tools/local_install.sh | Shell | mit | 4,871 |
#!/bin/bash
node leakproofer.js -identify $1
| sbyrnes/leakproof | unleak.sh | Shell | mit | 45 |
#!/bin/bash
# 2013-06-18: Derek Gottlieb (asndbg)
#
# If supplied with a binary, generate assembly using objdump.
#
# If supplied with assembly generated by objdump, use it directly.
#
# Then grep assembly looking for any of the opcodes in the specified opcode.txt
# file, indicating which opcodes were found (so we ca... | derekgottlieb/opcodes-x86 | test-opcodes.sh | Shell | mit | 1,836 |
#!/bin/sh
set -eu
# Required args:
# $1: Relative path to the directory in which
# the honzi repositories are/will_be stored.
#
# Example usage: sh fetch-honzi-repos.sh repositories/
# Check if at least 1 arg was passed.
if [ $# -lt 1 ]
then
echo 'Missing arg: path'
exit 1
fi
# Update this reposito... | honzi/Files | Scripts/Repositories/fetch-honzi-repos.sh | Shell | cc0-1.0 | 1,096 |
#!/bin/bash
wget --no-check-certificate https://www.sg.mai.gov.pt/AdministracaoEleitoral/RecenseamentoEleitoral/ResultadosRecenseamento/Paginas/default.aspx -o /dev/null -O -|grep -v __REQUESTDIGEST|grep -v VIEWSTATE|hxnormalize -x -l 1000|hxselect .conteudo > mai-tmp
cat mai-tmp|hxselect a -s'\n' > mai
rm mai-tmp
if ... | marado/RNID | scripts/14-mai.sh | Shell | cc0-1.0 | 817 |
#! /bin/bash -e
# $Id$
# -----------------------------------------------------------------------------
# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-13 Bradley M. Bell
#
# CppAD is distributed under multiple licenses. This distribution is under
# the terms of the
# Eclipse Public Lic... | tkelman/CppAD-oldmirror | bin/svn_ignore.sh | Shell | epl-1.0 | 1,099 |
#!/bin/bash
#
# *** MAUVAIS EXEMPLE ***
#
# La regle Tr.IFS interdit de modifier le contenu de la variable systeme IFS
file="/tmp/domains.txt"
if [ -f $file ]; then
rm -f $file
fi
# Alimentation du fichier
echo "cyberciti.biz|192.168.1.1|/home/httpd|ftpcbzuser" >>$file
echo "unixcraft.com|192.168.1.2|/home/httpd... | dupuisa/i-CodeCNES | shell-rules/src/test/resources/SH/DATA/IFS/error.sh | Shell | epl-1.0 | 776 |
#!/bin/bash
#BloquearDesbloquear
while [ m!=3 ]
do
clear
echo -e "\e[1;32m¿Que desea hacer?\n\e[0m"
echo -e " [1] Bloquear Usuario"
echo -e " [2] Desbloquear Usuario"
echo -e " [3] Volver"
echo -e -n "\n\e[0;32m>\e[0m" "Ingrese Opcion :"
read m
case $m in
1). BloquearUsuario.sh
;;
2). DesbloquearUsuari... | AlexRib/Suru | SO III 3.0/BloquearDesbloquear.sh | Shell | epl-1.0 | 469 |
#!/bin/bash
# call from command line: ./count_words.sh /dev/stdout Notebookdir Novel_dir
# Zim custom tool: count_words.sh %s %n Novel_dir
# $dest the current zim's page will be overwritten
dest="$1"
nb_word_by_page=400
# This parameter set the Notebookdir/ subfolder containing the novel
# chapters. One page One chapt... | Sylvain303/zim-wiki | custom_tools/count_words/count_words.sh | Shell | gpl-2.0 | 1,737 |
#!/bin/sh
# autogen.sh -- Autotools bootstrapping script
#
# Copyright (C) 2000-2010, Nokia Corporation.
#
# 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, version 2.
#
# This program is di... | mer-qa/blts-wlan-core | autogen.sh | Shell | gpl-2.0 | 785 |
#!/bin/sh
latex_result="$(cat -)"
assert_contains ()
{
printf '%s' "$latex_result" | grep -qF "$1" -
if [ $? -ne 0 ]; then
printf 'Output does not contain `%s`.\n' "$1" >&2
exit 1
fi
}
# whether we are using the scrlttr2 class
assert_contains '{scrlttr2}'
assert_contains '\setkomavar{fro... | pandoc-scholar/pandoc-scholar | lua-filters/scrlttr2/expected-strings.sh | Shell | gpl-2.0 | 858 |
#!/bin/bash
#
# This script creates a new running dev environment from scratch.
# WARNING! It will remove any existing dev environment.
#
# Usage: dev.sh
#
BASE_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && cd ../ && pwd )
cd ${BASE_DIR}/.docker/development
fedora_bypass_check () {
MANDATORY_VARS=(AWS_ACCESS_K... | uqlibrary/fez | scripts/dev.sh | Shell | gpl-2.0 | 5,422 |
#!/bin/bash
# Copyright 2012 the V8 project authors. All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this lis... | DmitryADP/diff_qc750 | external/v8/tools/android-sync.sh | Shell | gpl-2.0 | 3,208 |
#!/bin/bash
set -e
## Set here, if needed, the location of the executables
TESTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && cd .. && pwd )"
cd "$TESTDIR"
# Default: serial, no mpirun. Run these in any case
echo "************************"
echo "* RUNNING SERIAL TESTS *"
echo "************************"
./run_tests... | greschd/wannier90 | test-suite/tools/run_tests_travis.sh | Shell | gpl-2.0 | 728 |
#!/usr/bin/env bash
#
# Copyright (c) STMicroelectronics 2014
#
# This file is part of repo-mirror.
#
# repo-mirror is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License v2.0
# as published by the Free Software Foundation
#
# repo-mirror is distributed in the hop... | guillon/repo-mirror | tests/coverage/check_coverage.sh | Shell | gpl-2.0 | 1,730 |
#!/bin/sh
# Collect basi debug information
# File size limitation: There will be 2 files, wireless-log1.txt and wireless-log2.txt
file_num=1
local max_filesize=$(/bin/config get wifi_debug_max_log_size)
[ "$max_filesize" = "" ] && max_filesize=5
max_filesize=$(($max_filesize*1024*1024))
local wifi_debug_option=$(/... | dan82840/Netgear-RBR50 | package/dni-mtdoops/files/wireless_log.sh | Shell | gpl-2.0 | 4,265 |
#@HEADER
# this file lists all liram-related variables used in liram-manage modules
#
# You can grep through this file for vars with one of the following commands:
#
# $ grep "^#[[:blank:]]*LIRAM_" vars_def.sh
# $ sed -nr -e 's,^#\s*(LIRAM_\S+)(\s.+)?\s*,\1,p' < vars_def.sh
# $ grep "^#[[:blank:]]*LIRAM_.*mandatory"... | dywisor/shlib | lib/liram/manage/vars_def.sh | Shell | gpl-2.0 | 5,667 |
#!/bin/bash
#Crosslink Copyright (C) 2016 NIAB EMR see included NOTICE file for details
#
# calculate mapping accuracy:
# find which linkage group best matches each reference linkage group
# find the correlation coefficient between map positions between the two
# weighted by the proportion of reference markers that are... | eastmallingresearch/crosslink | scripts/calc_mapping_accuracy2.sh | Shell | gpl-2.0 | 804 |
#!/bin/sh
#/***************************************************************************
# * \file BT_Exit.sh
# *
# * \brief Script for Cleaningup BT
# *
# * \author Sinoj@Mistral
# *
# * \version 01a, 09Dec10, created
# ***************************************************************************/
killall -9 bluet... | TI-ECS/BT_Demo | scripts/BT_Exit.sh | Shell | gpl-2.0 | 496 |
#!/bin/bash
cp svntools.py ~/maya/scripts/
echo 'import maya.cmds as mc' >> ~/maya/scripts/userSetup.py
| spookypeanut/svntoolsmaya | svntoolssetup.sh | Shell | gpl-2.0 | 105 |
#!/bin/bash
## You are supposed to provide the following variables according to your system setup
[ -z ${ANDROID_NDK_PATH+x} ] && export ANDROID_NDK_PATH="/opt/android-ndk/"
[ -z ${ANDROID_NDK_ARCH+x} ] && export ANDROID_NDK_ARCH="arm"
[ -z ${ANDROID_NDK_ABI_VER+x} ] && export ANDROID_NDK_ABI_VER="4.9"
[ -z ${ANDROID_... | hunbernd/RetroShare | android-prepare-toolchain.sh | Shell | gpl-2.0 | 5,560 |
#!/bin/bash
#now build the module
echo building usr.mod
as -o init.o init.s --32
gcc -c -o main.o main.c -nostdlib -nostartfiles -nodefaultlibs -nostdinc -ffreestanding -m32
ld -o usr.o -T lscpt.lds init.o main.o -melf_i386 ../lib/gfx.o ../lib/pci.o ../lib/p5.o ../lib/p5s.o ../lib/wyg.o ../lib/key.o ../lib/fs.o ../lib... | JMarlin/P5-Redux | P5OSPPB/mods/um_tst/build.sh | Shell | gpl-2.0 | 576 |
#!/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_PTIF_truecolor16.sh | Shell | gpl-2.0 | 366 |
#!/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 i... | komh/automake-os2 | t/dollarvar2.sh | Shell | gpl-2.0 | 2,725 |
#!/bin/bash
# vvgÌÏXiZ·éj
cat .bashrc | sed -e 's/\\u@\\h://' > .bashrc.tmp
mv .bashrc.tmp .bashrc
# z[fBNgÉbinfBNgð쬷é
mkdir bin
# gibo install
wget https://raw.github.com/simonwhitaker/gibo/master/gibo -P ~/bin && chmod +x ~/bin/gibo && gibo -u
# heroku
wge... | HAndK/tweeQ | provision/config.sh | Shell | gpl-2.0 | 379 |
#!/bin/bash
#Actualizamos e instalamos docker
sudo apt-get update
sudo apt-get install -y docker-engine
#Descargar la imagen
sudo docker pull samucs/proyecto-iv:latest
#Ejecuta la imagen
sudo docker run -i -t samucs/proyecto-iv:latest /bin/bash
| Samuc/Proyecto-IV-modulo3 | scripts/docker.sh | Shell | gpl-2.0 | 247 |
#!/bin/sh
# first of all, check script is launched by root
if [ "root" != "$(whoami)" ]; then
echo "ERROR - you must be root to execute this script"
exit 1
fi
echo -n "Do you want to uninstall bibliobox? (y/n): "
read answer
if [ "y" != "$answer" ]; then
exit 0
fi
# stop and remove piratebox service
/et... | Cosmikats/CosmicBox | uninstall_bibliobox.sh | Shell | gpl-2.0 | 780 |
convert images/OCS-211-A.png -crop 1483x4528+23+287 +repage images/OCS-211-A.png
#
#
#/OCS-211.png
convert images/OCS-211-B.png -crop 1575x4518+0+291 +repage images/OCS-211-B.png
#
#
#/OCS-211.png
| jonnymwalker/Staroslavjanskij-Slovar | scripts/cropedges.OCS-211.sh | Shell | gpl-2.0 | 197 |
#!/bin/sh
# set -e
# set -v
# set -x
# adb -d usb >&2 >/dev/null
# timeout 4 adb wait-for-usb-device >&2 || true
ANDROID_SERIAL=$(adb -d get-serialno 2>/dev/null)
[ -z $ANDROID_SERIAL ] && { echo "Failed to get ANDROID_SERIAL via USB. Is device attached?" >&2; exit 1; }
# ANDROID_IP=$(adb -d shell netcfg 2>/dev/null| ... | dsh2/dotfiles | bin/adb-ip-reconnect.sh | Shell | gpl-2.0 | 1,452 |
#!/bin/bash
echo "export GDK_BACKEND=wayland" >> /etc/profile
echo "export USER=root" >> /etc/profile
echo "export HOME=/home/$USER" >> /etc/profile
rm first-boot.sh
echo "Press <enter> to reboot"
read
/sbin/reboot
| alan-mushi/meta-opencpn | recipes-opencpn/config/config-image-opencpn/first-boot.sh | Shell | gpl-2.0 | 218 |
cd ../.assets;
[ -d "futura" ] && rm -rf futura;
mkdir futura;
unzip FS-WebFonts-1034365548.zip -d futura;
[ -d "../client/blog/assets/fonts/futura" ] && rm -rf ../client/blog/assets/fonts/futura;
mkdir -p ../client/blog/assets/fonts/futura;
cp -r futura/Fonts/* ../client/blog/assets/fonts/futura;
cp -r futura/Eulas/* ... | we-human-space/website | server/assets.sh | Shell | gpl-3.0 | 371 |
#!/bin/sh
bash -l -i -c '
function error_exit {
echo "$1" >&2
exit "${2:-1}"
}
if test -z "$1"; then
error_exit "Usage: $0 <ReleaseName>" 1
fi;
echo
echo "= Data Discovery ="
cd $DRI_HOME
echo
echo "= Setting up env ="
source env/bin/activate || error_exit "Error, exit" 2
echo
echo "= Entering in the ... | linea-it/dri | datadiscovery.sh | Shell | gpl-3.0 | 559 |
#!/bin/bash
PYTHON_PATH=`which python3`
STATE_FILE_NAME='game_state.bin'
STATE_FILE_PATH="./${STATE_FILE_NAME}"
[ -f ${STATE_FILE_PATH} ] && rm -f ${STATE_FILE_PATH}
ls -ltr | grep ${STATE_FILE_NAME}
${PYTHON_PATH} 01.py
ls -ltr | grep ${STATE_FILE_NAME}
${PYTHON_PATH} 02.py
ls -ltr | grep ${STATE_FILE_NAME}
${PYTH... | hashiwa000/EffectivePythonWork | 044/run.sh | Shell | gpl-3.0 | 391 |
py.test --cov=. --cov-report=html
| d2emon/pathfinder-helper | coverage.sh | Shell | gpl-3.0 | 34 |
#!/bin/bash
# mod-sdk
cd $ZYNTHIAN_SW_DIR
git clone --recursive https://github.com/moddevices/mod-sdk.git
cd mod-sdk/utils
make
cd ../..
#cd mod-sdk
#python3 setup.py build
#python3 setup.py install
#cd ..
| zynthian/zynthian-sys | scripts/recipes/install_mod-sdk.sh | Shell | gpl-3.0 | 207 |
#!/bin/sh
if ! grep -qr ipv6 /etc/modprobe.*; then
echo ipv6 is not disabled
exit 1
fi
exit 0
| Taywee/dod-stig-scripts | linux/V-38546/test.sh | Shell | gpl-3.0 | 104 |
#!/bin/bash
#!/bin/bash
export ARCH=arm
export CROSS_COMPILE=/home/williamkosasih/arm-eab4.7/bin/arm-eabi-
mkdir output
make -C $(pwd) O=output VARIANT_DEFCONFIG=msm8226-sec_millet3g_defconfig msm8226-sec_defconfig SELINUX_DEFCONFIG=selinux_defconfig
make -C $(pwd) O=output
cp output/arch/arm/boot/zImage $(pwd)/lazy... | williamkosasih19/SM-T331-KERNEL-TOAD | build_kernel_test.sh | Shell | gpl-3.0 | 351 |
#!/bin/bash
upload_server=$1
projectdir=`git rev-parse --show-toplevel`
if [ -z "$projectdir" ]; then
echo "No .git directory found"
exit 1
fi
outputdir="$projectdir/deployment/out"
cd "$projectdir"
mkdir -p "$outputdir"
version=`grep 'GAME_VERSION=".*"' -o CMakeLists.txt | sed -r "s/GAME_VERSION=\"(.*)\"/\1/"`
... | jazztickets/openflap | deployment/build_mingw.sh | Shell | gpl-3.0 | 1,618 |
#!/bin/bash
if ["$1" == "--help"]; then
echo "edtime.sh [minutes] [user] "
echo "This tool is adding a time for given user to database"
echo "Bash version above 4.x.x is required"
exit 0
fi
if [ -z $1 ] || [ -z $2 ]; then
echo "You typed wrong user name or wrong times"
echo "edtime.sh [minutes] [user] "
exit 1
fi
if [ ... | michalmuzyka/Times | edtime.sh | Shell | gpl-3.0 | 1,125 |
#!/bin/bash
CERTM_IMAGE=${CERTM_IMAGE:-'ehazlett/certm'}
#show help
docker run --rm $CERTM_IMAGE -h
#Generate CA
#This will generate a CA with the organization "local".
docker run --rm -v $(pwd)/certs:/certs $CERTM_IMAGE -d /certs ca generate -o=local
#Generate server certificate
#This will generate a server certi... | ihaiker/install | shipyard/certm.sh | Shell | gpl-3.0 | 1,494 |
#!/bin/bash
# Este programa realiza un respaldo de los archivos SARG
#Definicion de las rutas de origen y destino del respaldo
BASERUTA=/var/www/html/sarg
BASEDEST=/root/BACKUP/sarg
#Archivo temporal
tmpfile=/tmp/jsnBackupSarg
SEARCH=". -maxdepth 1 -mindepth 1 -ctime +90 -type d -print0"
#SEARCH=". -maxdepth 1 -mind... | xolivaw/tools01 | jsnBackupSarg.sh | Shell | gpl-3.0 | 1,785 |
#!/bin/sh
mkdir -p heroku
wget https://cli-assets.heroku.com/heroku-cli/channels/stable/heroku-cli-linux-x64.tar.gz -O ./heroku/heroku.tar.gz
tar -xvzf heroku/heroku.tar.gz
heroku-cli*/bin/heroku --version
| adityajoshi/vim_config | install_heroku.sh | Shell | gpl-3.0 | 207 |
#!/bin/bash
#----------------------------------------------------------------------------
# Created by Ivan Tham <pickfire@riseup.net> - Fri Jan 9 02:04:00 UTC 2015
# USAGE : $path/./yn.sh "Do you want that? [Y/n]"
# DESCRIPTION : Reuse code
#
# Copyright (C) Prathyush 2015
#
# This program is free software:... | kingspp/RPi-AUI | AUI/yn.sh | Shell | gpl-3.0 | 1,380 |
#!/bin/bash
ORIGINALDIR=`pwd`
# help ( exit_code = 0 )
help () {
echo
echo "## Flush temporary files of WebDocBook"
echo
usage
echo
echo "options:"
echo " cache : flush all 'tmp/cache/*' files"
echo " i18n : flush all 'tmp/i18n/*' files"
echo " all ... | wdbo/webdocbook | build/flush.sh | Shell | gpl-3.0 | 1,800 |
#!/bin/bash
# Copyright (C) 2018 Pablo Iranzo Gómez <Pablo.Iranzo@gmail.com>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ve... | zerodayz/citellus | citellusclient/plugins/metadata/ovirt-rhv/ovirt-system-role.sh | Shell | gpl-3.0 | 1,519 |
#!/bin/bash
# 2015 (c) - Felipe Astroza A.
. common.sh
cd $BUILD &&
tar jxf $SRC/gmp-4.3.2.tar.bz2 &&
cd gmp-4.3.2 &&
./configure --disable-shared --enable-static --prefix=$LIBS_PREFIX --enable-cxx &&
make && make install &&
cd .. &&
tar zxf $SRC/libelf-0.8.13.tar.gz &&
cd libelf-0.8.13 &&
./configure --disable-shar... | astroza/hi3518_env | build_gcc_deps.sh | Shell | gpl-3.0 | 1,494 |
ansible-playbook --ask-vault-pass playbook.yml
| remilap/Raspberry_dev | Ansible/commande.sh | Shell | gpl-3.0 | 47 |
# !/bin/sh
#
# usage: neoip_thumbnail_filename.sh file_name
# this tool generates the filename of the thumbnail for the file in command
# line parameter as in the freedesktop scheme
# - it just display the file name. nothing more
# - no file is created. or checked or anything
# copy the first command line parameter... | jeromeetienne/neoip | src/config_dir_obsolete/bin_aux/neoip_thumbnail_filename.sh | Shell | gpl-3.0 | 889 |
#!/usr/bin/env bash
# Fail script immediately on any errors in external commands,
# and display each line as it gets executed.
set -ev
source ./travis/travis_retry.bash
travis_retry sudo apt-get update -qq
travis_retry sudo apt-get install -qq lsb-release
source /etc/lsb-release
echo ${DISTRIB_CODENAME}
wget -O- htt... | psychopy/psychopy | travis/00_set_up_packaging_system.sh | Shell | gpl-3.0 | 616 |
#!/bin/bash
#ps aux|grep "^root.*launch-kvm"&& xmessage "Paulo deja en route" && exit 0
export QEMU_AUDIO_DRV=pa
export QEMU_AUDIO_ADC_VOICES=2
export QEMU_AUDIO_DAC_VOICES=2
# tap qemu
# version smp
ROOT_DIR=/home/paulo/xen
kvm -smp 4 \
-m 1024 \
-net nic,model=ne2k_pci,vlan=0,macaddr=00:13:D3:14:F5:55 -ne... | RadioCampusClermontFerrand/paulo-virtualization | launch-kvm.sh | Shell | gpl-3.0 | 1,799 |
#!/bin/sh
#
# Copyright (C) 2015-2022 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat 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 ... | weechat/weechat | version.sh | Shell | gpl-3.0 | 1,849 |
#!/bin/bash
# Builds the AppImage if a linux-x64 SCD exists
# Downloads appimagetool if it's not present in /tmp
# No "-o pipefail" option for the bash script,
# because when used in the .NET Core SDK Docker container this leads to "invalid option name: pipefail".
set -eux
SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE... | philippgille/hello-netcoreapp | scripts/build-appimage.sh | Shell | gpl-3.0 | 1,998 |
#!/bin/sh
# COPYRIGHT (C) 2021 Nicotine+ Team
#
# GNU GENERAL PUBLIC LICENSE
# Version 3, 29 June 2007
#
# 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
#... | Nicotine-Plus/nicotine-plus | packaging/windows/create-installer.sh | Shell | gpl-3.0 | 952 |
#!/bin/bash -e
. ../lfs.comm
build_src() {
srcfil=binutils-2.24.tar.bz2
srcdir=binutils-2.24
tar -xf $LFSSRC/$srcfil
mkdir -pv binutils-build && cd binutils-build
CC=$LFS_TARGET-gcc \
AR=$LFS_TARGET-ar \
RANLIB=$LFS_TARGET-ranlib \
../$srcdir/configure \
--prefix=/... | fangxinmiao/projects | Architeture/OS/Linux/Distributions/LFS/build-scripts/lfs-7.6-systemv/1-build-tmp-system/06-Binutils-2.24-pass2.sh | Shell | gpl-3.0 | 615 |
#!/bin/sh
CMAKE=cmake
CMAKE_EXTRA_FLAGS="$CMAKE_EXTRA_FLAGS -DFORMAT_TEST=ON"
NPROC=`nproc`
CURDIR=$PWD
RUN_TESTS=true
RUN() {
"$@"
}
TESTS() {
COUNT="$1"; shift
"$@" || {
if [ $COUNT -gt 1 ]; then
TESTS `expr $COUNT - 1` "$@"
else
false
fi
}
}
| nurupo/InsertProjectNameHere | other/travis/env-linux.sh | Shell | gpl-3.0 | 280 |
#!/bin/sh
unzip -o cryptopp820.zip
make -j $NUM_CPU_CORES
echo $? > ~/install-exit-status
echo "#!/bin/sh
./cryptest.exe \$@ > \$LOG_FILE
echo \$? > ~/test-exit-status" > cryptopp
chmod +x cryptopp
| phoronix-test-suite/phoronix-test-suite | ob-cache/test-profiles/pts/cryptopp-1.0.1/install.sh | Shell | gpl-3.0 | 200 |
##depends:none
source ../installation_files/functions.bash
# Picard tools, Apache License V2.0, MIT
cd ${TMPDIR_PATH}/
#wget_retry -nv -O picard-tools-1.138.zip https://github.com/broadinstitute/picard/releases/download/1.138/picard-tools-1.138.zip
wget_retry -nv -O picard-tools-1.138.zip http://$NIC_MIRROR/pub... | ilarischeinin/chipster | src/main/admin/vm/modules/external_tools/Picard_tools.bash | Shell | gpl-3.0 | 639 |
#Nao esquecer de dar permissao para esse .sh
cd /Applications/pentaho/pentaho6
./ctlscript.sh stop | alvarobasto/wilsonwithpdi | wilsonapi/commands/stopPentaho/stopPentaho.sh | Shell | gpl-3.0 | 99 |
#######################################################
# Encryption results #
# - - - - - - - - - - - - - - - - - - - - #
# Morteza Hosseini seyedmorteza@ua.pt #
# Diogo Pratas pratas@ua.pt ... | pratas/cryfa | script/res_enc.sh | Shell | gpl-3.0 | 13,530 |
#!/bin/bash
#
# @brief Generating App shortcut for KDE
# @version ver.1.0
# @date Thu Aug 11 09:58:41 2015
# @company Frobas IT Department, www.frobas.com 2015
# @author Vladimir Roncevic <vladimir.roncevic@frobas.com>
#
UTIL_APP_SHORTCUT=app_shortcut
UTIL_APP_SHORTCUT_VERSION=ver.1.0
UTIL=/root/scripts/sh_util... | vroncevic/sh-util | sh_tool/bin/app_shortcut.sh | Shell | gpl-3.0 | 3,872 |
#!/bin/bash
gcc -I kiss_sdl2/ -I kiss_sdl2/include/SDL2/ -Wall -c rom.c rom_debug.c rom_debug_kiss_sdl2.c kiss_sdl2/*.c
gcc *.o -I kiss_sdl2/ -I kiss_sdl2/include/SDL2/ -L kiss_sdl2/ -L kiss_sdl2/lib/ -l SDL2 -l SDL2_ttf -l SDL2_image -o emulator.out
mkdir object_files
mv *.o object_files/
mkdir emulator
mv emulat... | Paumanok/EMU-LATER | scripts/build_emulator.sh | Shell | gpl-3.0 | 402 |
#!/bin/bash
cd "$(dirname ${BASH_SOURCE[0]})"
echo "Starting svarmr in " `pwd`
svarmr/server svarmr/example svarmr/usernotify systray/tray menu/ModuleMenu
| donomii/svarmr | startSvarmr.sh | Shell | gpl-3.0 | 155 |
#!/bin/sh
set -e
# Required
# libaio-0.3.110
# libXp-1.0.2
# creating the Oracle inventory group (oinstall):
groupadd -g 200 oinstall
# creating the OSDBA group (dba):
groupadd -g 201 dba
# creating the Oracle software owner user (oracle):
useradd -g oinstall -G dba -m -u 440 oracle
echo -e "oracle\noracle" > /tmp... | fangxinmiao/projects | Architeture/OS/Linux/Distributions/LFS/build-scripts/blfs-7.6-systemv/o/Oracle-10.2.0/build.sh | Shell | gpl-3.0 | 8,628 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.