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
FN="XtraSNPlocs.Hsapiens.dbSNP141.GRCh38_0.99.12.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.8/data/annotation/src/contrib/XtraSNPlocs.Hsapiens.dbSNP141.GRCh38_0.99.12.tar.gz"
"https://bioarchive.galaxyproject.org/XtraSNPlocs.Hsapiens.dbSNP141.GRCh38_0.99.12.tar.gz"
"https://depot.galaxyprojec... | rob-p/bioconda-recipes | recipes/bioconductor-xtrasnplocs.hsapiens.dbsnp141.grch38/post-link.sh | Shell | mit | 1,442 |
#!/bin/bash
FN="pd.moe430b_3.12.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.8/data/annotation/src/contrib/pd.moe430b_3.12.0.tar.gz"
"https://bioarchive.galaxyproject.org/pd.moe430b_3.12.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-pd.moe430b/bioconductor-pd.moe430b_3.12.0_src_all.tar... | ivirshup/bioconda-recipes | recipes/bioconductor-pd.moe430b/post-link.sh | Shell | mit | 1,308 |
#!/bin/sh
# Copyright (C) 2013 Red Hat, Inc. All rights reserved.
#
# This copyrighted material is made available to anyone wishing to use,
# modify, copy, or redistribute it subject to the terms and conditions
# of the GNU General Public License v.2.
#
# You should have received a copy of the GNU General Public Licens... | jh80chung/lvm2 | test/api/vglist.sh | Shell | gpl-2.0 | 560 |
#!/bin/bash
function die {
echo $1
exit
}
test -f "$PRIVKEY" || die "Set PRIVKEY environment variable to point at a valid private key (not set or nonexistent)"
# Usage: SparkleSign testing.xml template.xml
function SparkleSign {
LENGTH=$(ls -l iTerm2-${NAME}.zip | awk '{print $5}')
ruby "../../ThirdParty/S... | choppsv1/iTerm2 | tools/release.sh | Shell | gpl-2.0 | 3,722 |
#! /bin/sh
# Copyright (C) 2010-2015 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 ... | hika-server/automake | t/repeated-options.sh | Shell | gpl-2.0 | 1,894 |
#!/bin/bash
VERSION=0.18.1
DOCS_ZIP=scipy-html-$VERSION.zip
rm -rf docs-tmp
wget -c https://docs.scipy.org/doc/scipy-$VERSION/$DOCS_ZIP
unzip -d docs-tmp $DOCS_ZIP
rm -rf scipy-docs
mkdir -p scipy-docs
cp docs-tmp/generated/*html scipy-docs
| rasikapohankar/zeroclickinfo-fathead | lib/fathead/scipy/fetch.sh | Shell | apache-2.0 | 243 |
#!/bin/bash
# Remove VNC lock (if process already killed)
rm /tmp/.X1-lock /tmp/.X11-unix/X1
# Run VNC server with tail in the foreground
vncserver :1 -geometry 1280x800 -depth 24 && tail -F /root/.vnc/*.log
| jguiraudet/dockerfiles_kaixhin | vnc/vnc.sh | Shell | mit | 209 |
#!/bin/sh
#AM_VERSION="1.10"
if ! type aclocal-$AM_VERSION 1>/dev/null 2>&1; then
# automake-1.10 (recommended) is not available on Fedora 8
AUTOMAKE=automake
ACLOCAL=aclocal
else
ACLOCAL=aclocal-${AM_VERSION}
AUTOMAKE=automake-${AM_VERSION}
fi
if test -f /opt/local/bin/glibtoolize ; then
# darwin
LIBTOOLIZE=/... | africallshop/africallshop-iphone | submodules/msamr/autogen.sh | Shell | gpl-2.0 | 718 |
#!/usr/bin/env bash
# build&upload script for linux & windows snapshot binaries
#
# Usage:
#
# Start with a clean directory. For example:
#
# mkdir builder
# cd builder
#
# Then run this script, or optionally the 'build only' or 'upload only' version
#
# /some/path/openscad/builder.sh # standard build & upl... | jsr38/openscad | scripts/builder.sh | Shell | gpl-2.0 | 12,662 |
if [ ! -f setup.py ]; then
exit 1
else
echo "found setup.py in workdir ($(pwd)) OK"
fi
| pelson/conda-build | tests/test-recipes/variants/20_reprovision_source/build.sh | Shell | bsd-3-clause | 95 |
#!/bin/sh
cat << 'EOF'
$!make-gas.com
$! Set the def dir to proper place for use in batch. Works for interactive to.
$flnm = f$enviroment("PROCEDURE") ! get current procedure name
$set default 'f$parse(flnm,,,"DEVICE")''f$parse(flnm,,,"DIRECTORY")'
$v = 'f$verify(0)'
$!
$! Command file to build a GNU assembler on ... | shaotuanchen/sunflower_exp | tools/source/binutils-2.16.1/gas/vmsconf.sh | Shell | bsd-3-clause | 4,135 |
#!/bin/bash
# Install Fedora 15 virtual machine and run the tests
DIR="$( cd "$( dirname "$0" )" && pwd )"
echo "*** $0 started"
trap "echo; echo '*** TIMEOUT ***'; exit 255" SIGUSR1
( sleep 1h; kill -SIGUSR1 $$ > /dev/null 2>&1 ) &
tstamp="$(date '+%F %X' | sed 's/ /_/g' | sed 's/:/./g')"
VM="Fedora_TESTBOT_${tsta... | jfilak/abrt | tests/helpers/run-abrt-nightly-tests.sh | Shell | gpl-2.0 | 1,299 |
#!/bin/sh
. "${TEST_SCRIPTS_DIR}/unit.sh"
define_test "sanity check ipvsadm stub"
setup_ctdb
setup_ctdb_lvs<<EOF
EOF
check_ipvsadm NULL
ipvsadm -A -u 10.1.1.201 -s lc -p 1999999
ipvsadm -a -u 10.1.1.201 -r 192.168.1.3 -g
ipvsadm -a -u 10.1.1.201 -r 192.168.1.1 -g
ipvsadm -a -u 10.1.1.201 -r 192.168.1.2:0 -g
ipvsad... | SVoxel/R7800 | git_home/samba.git/ctdb/tests/eventscripts/91.lvs.001.sh | Shell | gpl-2.0 | 1,827 |
#!/bin/bash
# Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserved
#
# 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 requir... | emailweixu/Paddle | demo/image_classification/preprocess.sh | Shell | apache-2.0 | 806 |
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
# Copy the initramfs back to the new rootfs for proper shutdown.
KVER=$(uname -r)
if [ -x /usr/bin/systemctl ]; then
cp /run/initramfs/live/boot/initrd $NEWROOT/boot/initramfs-${KVER}.img
fi
| Vaelatern/void-mklive | dracut/copy-initramfs.sh | Shell | bsd-2-clause | 316 |
#!/bin/sh
. "${TEST_SCRIPTS_DIR}/unit.sh"
define_test "ban default (0), wait for timeout"
setup_ctdbd <<EOF
NODEMAP
0 192.168.20.41 0x0 CURRENT RECMASTER
1 192.168.20.42 0x0
2 192.168.20.43 0x0
EOF
ok_null
simple_test 4
required_result 8 <<EOF
Number of nodes:3
pnn:0 192.168.20.41 BA... | SVoxel/R7800 | git_home/samba.git/ctdb/tests/tool/ctdb.ban.001.sh | Shell | gpl-2.0 | 650 |
#!/bin/bash
##
## Copyright (c) 2014 The WebM project authors. All Rights Reserved.
##
## Use of this source code is governed by a BSD-style license
## that can be found in the LICENSE file in the root of the source
## tree. An additional intellectual property rights grant can be found
## in the file PATENTS. All... | ZiberLTD/windows | third_party/vpx/libvpx/build/make/msvs_common.sh | Shell | gpl-2.0 | 2,414 |
#!/bin/bash
# Copyright 2016 The Kubernetes Authors.
#
# 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 applicable law ... | matthewdupre/kubernetes | cluster/gce/gci/configure.sh | Shell | apache-2.0 | 8,341 |
#!/usr/bin/env bash
#
# Copyright notice
# Over multiple lines
#
# Some text
function foo() {
echo "Some text"
} | siosio/intellij-community | plugins/sh/testData/copyright/withShebangWithComment.after.sh | Shell | apache-2.0 | 116 |
#!/bin/bash
cd src
sed -i'.bak' 's/${CC}/${CXX}/g' Makefile
sed -i'.bak' 's/ifeq (${CXX},g++)/ifneq (,$(firstword $(findstring gnu-c++,$(CXX)) $(findstring clang,$(CXX))))/g' Makefile
sed -i'.bak' 's/${LFLAGS}/${LFLAGS} ${LDFLAGS} -lopenblas/g' Makefile
sed -i'.bak' 's/asm (".symver memcpy, memcpy@GLIBC_2.2.5");//g'... | blankenberg/bioconda-recipes | recipes/bolt-lmm/build.sh | Shell | mit | 404 |
#!/usr/bin/env bash
# Provides an "atexit" mechanism for scripts.
# Array of commands to eval.
declare -a __atexit_cmds
# Helper for eval'ing commands.
__atexit() {
for cmd in "${__atexit_cmds[@]}"; do
eval ${cmd}
done
}
# Usage: atexit command arg1 arg2 arg3
atexit() {
# Determine the current n... | ruhip/mesos1.0.1_20170518 | support/atexit.sh | Shell | apache-2.0 | 585 |
#!/bin/bash
set -euo pipefail
mkdir -p ${PREFIX}/bin
mkdir -p ${PREFIX}/share
mkdir -p ${PREFIX}/share/dialign2
cd src
sed -i.bak "s|strcpy ( dialign_dir , \"DIALIGN2_DIR\" );|strcpy ( par_dir , \""${PREFIX}"/share/dialign2\" );|g" dialign.c
make
mv dialign2-2 ${PREFIX}/bin/dialign2-2
cd ../dialign2_dir
mv -t ${PR... | joachimwolff/bioconda-recipes | recipes/dialign2/build.sh | Shell | mit | 380 |
#!/bin/bash
# If it has Build.PL use that, otherwise use Makefile.PL
if [ -f Build.PL ]; then
perl Build.PL
./Build
./Build test
# Make sure this goes in site
./Build install --installdirs site
elif [ -f Makefile.PL ]; then
# Make sure this goes in site
perl Makefile.PL INSTALLDIRS=site
... | joachimwolff/bioconda-recipes | recipes/perl-class-load/build.sh | Shell | mit | 518 |
#!/bin/bash
# Populate
# Populates the system with everything
echo "Populating all content"
source $(dirname "${BASH_SOURCE}")/users.sh
source $(dirname "${BASH_SOURCE}")/templates.sh
source $(dirname "${BASH_SOURCE}")/projects.sh
source $(dirname "${BASH_SOURCE}")/limits.sh
source $(dirname "${BASH_SOURCE}")/quota... | rawlingsj/gofabric8 | vendor/github.com/openshift/origin/examples/data-population/populate.sh | Shell | apache-2.0 | 381 |
#!/bin/bash
# from http://stackoverflow.com/questions/1080461/
# /peak-memory-measurement-of-long-running-process-in-linux
ppid=$$
# VmPeak: Peak virtual memory size.
# VmSize: Virtual memory size.
# VmLck: Locked memory size.
# VmHWM: Peak resident set size ("high water mark").
# VmRSS: Resident set size.
# Vm... | satta/speck-benchmarks | measure_space_peak.sh | Shell | isc | 2,849 |
#!/bin/bash
# DO NOT APPLY THIS FOR Ubuntu on Windows (WSL)
if [[ $(uname -r) =~ .*Microsoft ]] || [[ $(uname -o) == Msys ]];then return;fi
################################################################################
# Enable window resize with mouse right click
# for 12.04
if type -t gconftool-2 >/dev/null 2>&1;t... | gh4ck3r/.bash | profile.d/ubuntu.sh | Shell | mit | 975 |
#!/usr/bin/env bash
echo '## 1. `hostname`'
printf '`%s`\n' `hostname` | Drapegnik/bsu | networks/lab1/task1.sh | Shell | mit | 70 |
#!/bin/bash
if [[ ! -z $(mpc status | grep playing) ]]; then
echo '▶️'
else
echo '||'
fi
| klaxalk/linux-setup | scripts/mpd_indicator.sh | Shell | mit | 100 |
#!/bin/sh
# Converts footprint generated file from Kicad PCB viewer to a valid CPL file for JLCPCB
set -e
if [ $# -lt 1 ]; then
echo "usage: [options] footprint.csv ..."
exit 0
fi
for FILE in "$@"
do
sed 's/Ref/Designator/g' -i "$FILE"
sed 's/PosX/Mid X/g' -i "$FILE"
sed 's/PosY/Mid Y/g' -i "$FILE"
sed 's/Rot... | qeedquan/misc_utilities | electronics/kicad/kicad-footprint-to-jlcpcb.sh | Shell | mit | 382 |
#!/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-Krautreporter/$1"
local desti... | mindogo/Krautreporter-iOS | Krautreporter/Pods/Target Support Files/Pods-Krautreporter/Pods-Krautreporter-frameworks.sh | Shell | mit | 2,537 |
#!/usr/bin/env bash
cd $(dirname $(readlink -f $0))
source ../../utils/libdeploy.bash
install_packages fish
| tiborsimon/dotfiles | configs/fish/01_install_dependencies.bash | Shell | mit | 110 |
#!/bin/bash
OUTFILE="train.png"
rm -f $OUTFILE
gnuplot draw_train_log.gnuplot
| MichalPokorny/rcr | utils/draw_train_log.sh | Shell | mit | 80 |
# compile
#coffee -c docco.litcoffee;
# install globally and locally (for continuos integration)
npm install -g
npm install
# run on test files
docco -l linear -o test/fixtures/docs test/fixtures/testSourceFile.js
docco -l linear -o test/fixtures/docs test/fixtures/testSourceFileEndingWithDescription.js
docco -l linear... | erikdiessel/plidoc | build.sh | Shell | mit | 368 |
#!/bin/sh
echo "CREATE GIT TAG"
echo "$TRAVIS_BRANCH"
echo "$TRAVIS_BUILD_NUMBER"
echo "$TRAVIS_REPO_SLUG"
git config --global user.email "builds@travis-ci.com"
git config --global user.name "Travis CI"
TAG_DATE=$(date -u "+%Y-%m-%d")
export GIT_TAG="build-$TRAVIS_BRANCH-$TAG_DATE-$TRAVIS_BUILD_NUMBER"
git tag $GIT_TA... | gw4e/gw4e.project | deploy.sh | Shell | mit | 558 |
#!/bin/bash
if [ $MSYSTEM != "MINGW64" ]; then
echo "You MUST launch MSYS2 using mingw64_shell.bat"
echo "OR set the PROCESS environment variable: MSYSTEM , to 'MINGW64', prior launching mintty.exe"
exit
fi
if [ ! -d ffmpeg ]; then
mkdir ffmpeg
fi
cd ffmpeg
if [ ! -d .git ]; then
git clone -v --progress --conf... | MaverickTse/lsw-build2 | bld_ffmpeg_64.sh | Shell | mit | 997 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for RHSA-2011:0332
#
# Security announcement date: 2011-03-09 18:51:46 UTC
# Script generation date: 2017-01-01 21:13:02 UTC
#
# Operating System: Red Hat 6
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - scsi-target-utils.x86_64:1.0.4-3.el6_0.... | Cyberwatch/cbw-security-fixes | Red_Hat_6/x86_64/2011/RHSA-2011:0332.sh | Shell | mit | 812 |
config() {
NEW="$1"
OLD="$(dirname $NEW)/$(basename $NEW .new)"
# If there's no config file by that name, mv it over:
if [ ! -r $OLD ]; then
mv $NEW $OLD
elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
# toss the redundant copy
rm $NEW
fi
# Otherwise, we leave the .new copy for ... | panosmdma/SlackOnly-SlackBuilds | network/sshblock/doinst.sh | Shell | mit | 380 |
#!/usr/bin/env bash
#
# script to install BtCP
#
#
#
#
set -x # uncomment for debbugging output
COOKBOOKS_PATH='/var/chef-solo/cookbooks'
SRC=`pwd`
### functions
parse_args() {
case $1 in
"btcp-cassandra") install_btcp btcp-cassandra ;;
"btcp-daemon") install_btcp btcp-daemon ;;
*) show_usage... | zhirafovod/btcp | install.sh | Shell | mit | 1,923 |
#!/bin/sh
d=${PWD}
cd ${d}/../extern/tinylib
git remote update
git merge origin/master
cd ${d}/../extern/video_capture/shared/tinylib/
git remote update
git merge origin/master
| HellicarAndLewis/Mosaic | build/update_externals.sh | Shell | mit | 180 |
brew install hub
brew install diff-so-fancy
# Command line tool for launching multiple git commands in parallel
go install github.com/jcgay/parallel-git-repo
# Command line tool for using emojis in commits
npm i -g gitmoji-cli
| nicokosi/dotfiles | git/install.sh | Shell | mit | 230 |
#!/bin/bash
f=$(pwd)
# Last Updated: 171110, for iOS 11
# To run: bash ios-icon-resize.sh <1024x1024-icon-file.png> <subdirectory>
# May also start with 2048x2048 icon png
# example:
# bash ios-icon-resize.sh pshgAppIcon1024.png pshgIcons171110
mkdir -p ${f}/${2};
sips --resampleWidth 512 "${f}/${1}" --out "${f}/... | mattblair/social-history-guide-ios | appStore/ios-icon-resize.sh | Shell | mit | 2,268 |
#!/bin/bash
cd ~/
wget https://poppler.freedesktop.org/poppler-0.56.0.tar.xz
tar -xvf poppler-0.56.0.tar.xz
cd poppler-0.56.0/
./configure --enable-xpdf-headers
make
sudo make install | Mgonand/dockerimages | nextjsconverter/scripts/lib/install_poppler.sh | Shell | mit | 183 |
brew install go hg
#ln -s $HOME/web/apps/go $HOME/.go
| larrybolt/dotfiles | go/install.sh | Shell | mit | 54 |
#!/usr/bin/env sh
# Add haskell repositories to more easily fetch aura.
# -----------------------------------------------------------------------------
_repo 'haskell-core'
_repo 'haskell-extra'
# Install aura plus various helpers.
# -----------------------------------------------------------------------------
_insta... | concordusapps/keystone | blocks/aur/aura.sh | Shell | mit | 358 |
python_dir="../../../../../caffe/python/"
cd $python_dir
rankdir="TB"
draw_net="draw_net.py"
proto_file="../../models/Pose2/kinect2/d302/fusnet_tmask_2b_1_ft/train.pt"
image_file="../../models/Pose2/kinect2/d302/fusnet_tmask_2b_1_ft/net.jpg"
python $draw_net $proto_file $image_file --rankdir=$rankdir | zimenglan-sysu-512/pose_action_caffe | models/Pose2/kinect2/d302/fusnet_tmask_2b_1_ft/viz_net.sh | Shell | mit | 303 |
#!/bin/bash
AWK_SCRIPT=/tmp/symbolizecrashlog_$$.awk
SH_SCRIPT=/tmp/symbolizecrashlog_$$.sh
if [[ $# < 2 ]]
then
echo "Usage: $0 [ -arch <arch> ] symbol-file [ crash.log, ... ]"
exit 1
fi
ARCH_PARAMS=''
if [[ "${1}" == '-arch' ]]
then
ARCH_PARAMS="-arch ${2}"
shift 2
fi
SYMBOL_FILE="${1}"
shift
cat > "${AWK_SC... | nudge-nudge/punakea | scripts/symbolizechrashlog.sh | Shell | mit | 1,093 |
cc -O2 -Wall -std=c99 mandelbrot.c -o mandelbrot
./mandelbrot
rm mandelbrot mandelbrot.exe | skurmedel/gfx-tests | mandelbrot/compilerun.sh | Shell | mit | 90 |
#!/bin/sh
umask 022
cd /opt/Radarr || exit
exec mono --debug Radarr.exe -terminateexisting -nobrowser -data=/var/radarr
sleep 2
| netsyos/docker-transmission | service/radarr.sh | Shell | mit | 128 |
#!/bin/sh
# Install Script
# Joaquin Menchaca 2017
#
# Install Script for Installing Vagrant, Virtualbox, Ansible
install_homebrew() {
BREWRL='https://raw.githubusercontent.com/Homebrew/install/master/install'
/usr/bin/ruby -e "$(curl -fsSL ${BREWRL})"
}
install_brew_packages() {
brew update
brew tap Homebre... | darkn3rd/minifactory | install.sh | Shell | mit | 616 |
#!/bin/bash
pip install -e /code --user
ENV=$1
| gamernetwork/gn-django | .docker/deploy/install_requirements.sh | Shell | mit | 49 |
#!
http-server ./ | UNLP-DCU/idx1 | server.sh | Shell | mit | 17 |
#!/bin/bash
# pandoc --template mytemplate.tex --toc -V fontsize=12pt -o output.pdf input1.md input2.md
pandoc --template template.tex --toc -V fontsize=12pt -o tablet.pdf 00.md 01.md 02.md 03.md 04.md 05.md 06.md 07.md 08.md 09.md
| inclusa/2eso | 01_gh/09_unit/md/generator_a4.sh | Shell | mit | 235 |
#!/bin/bash -x
# dnssd-register.sh -- Register common services for SmartOS
#
# This is really only useful for people who run SmartOS on a LAN segment
# with workstations. E.g., your house.
#
# This script scans for common locally listening services and registers
# them with mDNS/DNS-SD/Bonjour.
#
# Copyright 2014 Br... | bahamat/smartos-flair | bin/dnssd-register.sh | Shell | mit | 1,473 |
#!/bin/sh
if [ "$#" != "1" ]
then
echo "Usage: $0 <file-to-encode>"
exit
fi
VALID_ENCODINGS=""
COLORSPACE=`identify -format '%[channels]' *1`
if [ "$COLORSPACE" = 'rgba' -o "$COLORSPACE" = 'rgba' ]
then
IS_ALPHA=true
else
IS_ALPHA=false
fi
FILESTUB=`echo $1 | awk -F'.' '{print $1}'`
TYPE="0"
convert $1 -comp... | zoltan-dulac/html5ImageConverter | bin/jxrEncTest.sh | Shell | mit | 1,125 |
#!/bin/bash
make
sudo insmod blinkdrv.ko
echo 1:0x001100,3:0x000007,5:0x090000 > /dev/usb/blinkstick0
echo "(1:G, 3:B, 5:R)"
sleep 1
echo 2:0x001100,4:0x000007,6:0x090000 > /dev/usb/blinkstick0
echo "(2:G, 4:B, 6:R)"
sleep 1
echo 1:0x00100A,3:0x070007 > /dev/usb/blinkstick0
echo "(1:Y, 3:V)"
sleep 1
echo 0:0x100000,2:0... | blorente/linux-labs | prac2/part_c/test.sh | Shell | mit | 452 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-2602-1
#
# Security announcement date: 2015-05-13 00:00:00 UTC
# Script generation date: 2017-01-01 21:04:33 UTC
#
# Operating System: Ubuntu 14.10
# Architecture: i686
#
# Vulnerable packages fix on version:
# - firefox:38.0+build3-0ubuntu0.14.10.1
#
# L... | Cyberwatch/cbw-security-fixes | Ubuntu_14.10/i686/2015/USN-2602-1.sh | Shell | mit | 829 |
#!/usr/bin/env bash
#
# Installs and configures chgo.
#
set -e
#
# Constants
#
export PREFIX="${PREFIX:-/usr/local}"
#
# Functions
#
function log() {
if [[ -t 1 ]]; then
printf "%b>>>%b %b%s%b\n" "\x1b[1m\x1b[32m" "\x1b[0m" \
"\x1b[1m\x1b[37m" "$1" "\x1b[0m"
else
printf ">>> %s\n" "... | eunomie/chgo | scripts/setup.sh | Shell | mit | 1,295 |
set -e
sudo pacman -S git --noconfirm
cd ~
rm -Rf TulOS
git clone https://github.com/tulustul/TulOS.git
cd TulOS
sh ./configure.sh
| tulustul/TulOS | bootstrap.sh | Shell | mit | 133 |
#!/bin/bash
on_die () {
# kill all children
pkill -KILL -P $$
}
trap 'on_die' TERM
raspivid -n -mm matrix -w 1280 -h 720 -fps 25 -g 100 -t 0 -b 5000000 -o - \
| ffmpeg -y \
-f h264 \
-i - \
-c:v copy \
-map 0:0 \
-f flv \
-rtmp_buffer 100 \
-rtmp_live... | babraham123/rpi-cast | rtmp-nginx.sh | Shell | mit | 372 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-2254-1
#
# Security announcement date: 2014-06-23 00:00:00 UTC
# Script generation date: 2017-01-01 21:03:50 UTC
#
# Operating System: Ubuntu 14.04 LTS
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - php5-cli:5.5.9+dfsg-1ubuntu4.1
# -... | Cyberwatch/cbw-security-fixes | Ubuntu_14.04_LTS/x86_64/2014/USN-2254-1.sh | Shell | mit | 1,637 |
#!/bin/bash
# Automatic build script for libssh2
# for iPhoneOS and iPhoneSimulator
#
# Created by Felix Schulze on 02.02.11.
# Copyright 2010-2015 Felix Schulze. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the Li... | twotreeszf/PrettyTunnel | PrettyTunnel/framework/libssh2-for-iOS/build-libssh2.sh | Shell | mit | 4,788 |
#!/bin/sh
#
# MK-FILELIST --update the file list in a makefile
#
# Remarks:
# This script updates a makefile SRC definitions. It relies on
# finding the tag (specified by -n) as the text string:
# <tag> = file ...
#
# It copes OK with continuations etc. (I think!) Note that the
# makefile is updated in-place, and... | tim-rose/devkit | bin/mk-filelist.sh | Shell | mit | 3,661 |
#!/bin/bash
# shellcheck source=../../postgres-db/lib/exec.bash"
. "${taito_plugin_path:?}/../postgres-db/lib/exec.bash"
. "${taito_plugin_path:?}/../mysql-db/lib/exec.bash"
function sqitch::deploy () {
sqitch::run deploy --set env="'${taito_env}'"
}
function sqitch::run () {
# TODO clean this mess. duplicate cod... | TaitoUnited/taito-cli | plugins/sqitch-db/lib/all.bash | Shell | mit | 2,302 |
#!/bin/bash
#
# File: percona-xtrabackup.sh
#
# Purpose: This script uses percona's innobackupex script to create db archives.
#
# $backup_retention_num is the number of full archives that will reside on disk.
# The desired frequency is up to you and should be defined via cron.
#
# Note:... | blueboxjesse/ursula | roles/percona-backup/templates/percona-xtrabackup.sh | Shell | mit | 2,253 |
# ./manage.py runserver 0.0.0.0:8000
./manage.py runserver --noreload 0.0.0.0:8000 | WSULib/combine | runserver.sh | Shell | mit | 82 |
# Copy a duplicate to 'config.sh' before testing
# and change some fields if necessary.
export ARCHIVE_NAME="高二年级暑期作业第一阶段(语数英)参考答案.zip"
export ARCHIVE_PASS="SZSZ159462582334GSSM"
export NODE_ENV="development"
export MONGODB_CONNECTION="localhost/nthskeys"
export FILE_PATH=$PWD/files
export CRAWLER_PAGE="1"
export CRAW... | bdbai/nthskeys-node | test/config.sample.sh | Shell | mit | 398 |
#!/bin/bash
total=0
clear
while read line
do
set -- "$line"
IFS=";"; declare -a Array=($*)
res="`curl -s "http://mycoinads.com/showstats.php?btcaddress="${Array[0]}" " -H "Cookie: btcaddress="${Array[0]}" ;"`"
tt="`echo "$res" | grep 'Total Earned:' | sed 's/<.[^>]*>//g' | sed 's/Total Earned: //' | sed 's/ BTC... | seadog007/MyCoinAds-GetCoin | received.sh | Shell | mit | 659 |
#!/bin/sh
echo "Running sorting algorithms..."
clisp sorting_algorithms.lisp
echo
echo "Done." | Raekye/The-Modern-Clavier | common_lisp/run.sh | Shell | mit | 96 |
#!/usr/bin/env bash
for d in $(ls); do (
cd $d
mv high high_gloss
mv low low_gloss
mv none matte
) done
| kxgames/glooey | glooey/themes/assets/kenney/buttons/rename.sh | Shell | mit | 121 |
#! /bin/bash
libname=""
src=""
header=""
all_dep=""
# current makefile:
out=""
# temporary file:
tout=""
# install target temp file:
iout=""
# debug flag:
debug="no"
# compile options:
opts=""
# main output sub-directory:
subdir=""
# vcl flag:
use_vcl="yes"
##########################################################... | nilrog/High-Light | externals/boost-1.33.1-minimal/libs/regex/build/generic_gen.sh | Shell | mit | 2,881 |
#!/usr/bin/env bash
##
# Entry point / "bridge" to execute git commands in app dir from project docroot.
#
# Useful if the "dev stack" has its own separate Git repo.
#
# @requires APP_DOCROOT global.
# @see cwt/env/global.vars.sh
# @see u_git_wrapper() in cwt/git/git.inc.sh
#
# @example
# make app-git status
# mak... | Paulmicha/common-web-tools | cwt/app/git.sh | Shell | mit | 621 |
#!/bin/bash
if [ "$1" == "build" ]; then
version=`xmlstarlet sel -N ns="http://maven.apache.org/POM/4.0.0" -t -c "/ns:project/ns:version/text()" -n ../../pom.xml`
webapp='../example-webapp'
rootfolder=`dirname $0`
rm -rf $rootfolder/.send-notification $rootfolder/sources
cp ../.send-notification . ... | jcgay/server-notifier | examples/tomcat-7/docker.sh | Shell | mit | 683 |
#!/bin/bash
cd "$(dirname "${BASH_SOURCE}")" && source "../utils.sh"
# ----------------------------------------------------------------------
# | Chrome |
# ----------------------------------------------------------------------
set_chrome_and_chrome_canary_... | stevenirby/dotfiles-1 | os/os_x/set_preferences.sh | Shell | mit | 20,628 |
export CLASSPATH=osgi/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
java org.eclipse.equinox.launcher.Main -configuration file:configuration/ -os linux -ws gtk -arch x86_64 -nl en_US | co-stig/opencompare | dist/opencompare.sh | Shell | mit | 190 |
#!/bin/bash
docker run --rm -it \
-p 8088:8088 \
-e NODE_ENV="development" \
-v `pwd`:/app/ \
-w /app/ \
node:12.14-alpine /bin/sh
| madeinstefano/minefield | run_node.sh | Shell | mit | 145 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-2432-1
#
# Security announcement date: 2014-12-03 00:00:00 UTC
# Script generation date: 2017-01-01 21:04:07 UTC
#
# Operating System: Ubuntu 14.10
# Architecture: i686
#
# Vulnerable packages fix on version:
# - libc6:2.19-10ubuntu2.1
#
# Last versions r... | Cyberwatch/cbw-security-fixes | Ubuntu_14.10/i686/2014/USN-2432-1.sh | Shell | mit | 647 |
#!/bin/sh
prog=lagrange_interp_test.m
depends="lagrange_interp_test.m test_common.m print_polynomial.m \
lagrange_interp.m"
tmp=/tmp/$$
here=`pwd`
if [ $? -ne 0 ]; then echo "Failed pwd"; exit 1; fi
fail()
{
echo FAILED ${0#$here"/"} $prog 1>&2
cd $here
rm -rf $tmp
exit 1
}
pass()
{... | robertgj/DesignOfIIRFilters | test/04/t0455a.sh | Shell | mit | 4,364 |
#!/bin/sh
source "${0%/*}/mpc.sh"
case "$(/usr/local/scripts/wm/media/detect-audio-player.sh)" in
mpd) mpc next ;;
mocp) mocp --next ;;
pianobar) printf 't' > ~/.config/pianobar/ctl ;;
vlc) dbus-send --type=method_call --dest=org.mpris.MediaPlayer2.vlc /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next ;;... | ammongit/scripts | wm/media/tired.sh | Shell | mit | 341 |
#!/bin/sh
die() {
echo "Error, aborting..."
exit 1
}
g++ -Wall -s -mno-cygwin -o ibb.exe src/client/ibb.cpp -lws2_32 -lshlwapi || die
cp ibb.exe ibb-bootstrap.exe || die
./ibb-bootstrap.exe || die
rm ibb-bootstrap.exe || die
| n8downs/ibb | build.sh | Shell | mit | 236 |
set -e
SCRIPTPATH=$( cd "$(dirname "$0")" ; pwd -P )
OS=$1
if [ -z $OS ]
then
echo "Usage: build.sh osname"
exit 1
fi
pushd ${SCRIPTPATH} > /dev/null
# Make the staging directory
mkdir -p build/purescript/
# Strip the binaries
strip ../dist/build/psc/psc
strip ../dist/build/psci/psci
strip ../dist/build/psc-d... | michaelficarra/purescript | bundle/build.sh | Shell | mit | 1,146 |
#!/bin/bash
#
# MIT License
# Copyright (c) 2016-2020 Pierre-Yves Lapersonne (Mail: dev@pylapersonne.info)
# 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, ... | pylapp/Tips-n-tools | tipsntools.sh | Shell | mit | 23,481 |
#/bin/sh
user="$1"
password="$2"
if [ -z "$user" ]; then
printf "GitHub username: "
read user
else
echo "Using GitHub username $user."
fi
archive_name="github-archive-$user-`date +%Y-%m-%d`"
archive_dir="$archive_name"
archive_file="${archive_name}.tar.gz"
if [ -d "$archive_dir" ]; then
echo "Archive direct... | schmich/github-archive | github-archive.sh | Shell | mit | 1,890 |
PYTHONPATH=. pytest tests/unit/
| biancarosa/group-orders-api | unit_tests.sh | Shell | mit | 32 |
#!/bin/bash
# Discussion, issues and change requests at:
# https://github.com/nodesource/distributions
#
# Script to install the NodeSource Node.js 9.x repo onto a
# Debian or Ubuntu system.
#
# Run as root or insert `sudo -E` before `bash`:
#
# curl -sL https://deb.nodesource.com/setup_9.x | bash -
# or
# wget -q... | Suwings/Suwings.github.io | mine/parallel time/Linux/sh/nodesource_setup.sh | Shell | mit | 11,020 |
#!/bin/bash
# update the URL
if [ "$DEMO_DOMAIN_NAME" == "" ]; then
echo "Ooops - looks like you forget to set \$DEMO_DOMAIN_NAME"
exit
fi;
url=http://rolling.$DEMO_DOMAIN_NAME/
blue="\e[1;34m"
green="\e[1;32m"
red="\e[1;31m"
no_colour="\e[1;0m"
COOKIES=false
function show_usage(){
echo "get-colour-an... | stuartleeks/ReadySummerFY18 | k8s-rolling/get-colour-and-host.sh | Shell | mit | 1,476 |
#!/bin/bash
VERSION="v0.0.1 (10.11 | El Capitan)"
# Clean machine setup
# Many ideas from http://lapwinglabs.com/blog/hacker-guide-to-setting-up-your-mac
# https://gist.github.com/saetia/1623487
echo "Clean Install OSX"
echo "(version $VERSION)"
# ==================================================
# Step 1: Get user... | eisenivan/matts-general-store | outfitter.sh | Shell | mit | 13,401 |
#!/bin/bash
shopt -s extglob
extName="TA-Shodan-WorkflowActions"
if [ ! -d ./.build/$extName ]; then
mkdir -p ./.build/$extName
else
rm -rf ./.build/$extName/*
fi
cp -r ./!(*.sh|*.tar.gz|*.yml) ./.build/$extName/
tar cvpzf ./.build/$extName.tar.gz -C ./.build --exclude $extName/docs --exclude $extName.tar.... | agc93/splunk-shodan-actions | build-package.sh | Shell | mit | 363 |
#!/bin/sh
#
# Ldoc -- my little literate documentation tool
source ./helper.sh
set_stage
git clone https://bitbucket.org/dbindel/nanobush
cd nanobush/ldoc
cmake . -DCMAKE_INSTALL_PREFIX=$PREFIX
make install
leave_stage
| amirajdhawan/totient-pkg | configs/ldoc.sh | Shell | mit | 222 |
#!/bin/sh
git add --all
git commit -m $1
echo $1
git push
git push heroku master
heroku open | yoman07/geo-server | deploy.sh | Shell | mit | 94 |
#!/usr/bin/env bash
VAGRANT_USER=vagrant
VAGRANT_HOME=/home/vagrant
RBENV_GIT=git://github.com/sstephenson/rbenv.git
RUBY_BUILD_GIT=https://github.com/sstephenson/ruby-build.git
SHARED_DIR=/vagrant
echo ">> Install pre-requistes"
echo " Update the system..."
apt-get update &> /tmp/bootstrap
apt-get upgrade --yes... | garnieretienne/chaos | vendor/vagrant/bootstrap.sh | Shell | mit | 1,585 |
#!/bin/sh
######################################################################
#
# @file clhep.sh
#
# @brief Version and build information for clhep.
#
# @version $Rev$ $Date$
#
# Copyright © 2013-2017, Tech-X Corporation, Boulder, CO.
# See LICENSE file (EclipseLicense.txt) for conditions of use.
#
#######... | Tech-XCorp/bilder | packages/clhep.sh | Shell | epl-1.0 | 1,564 |
#!/bin/bash
# Simple script to import the hugo data in to a MySQL database
# It may require some tweaking
# Variables
SCRIPT_NAME="create_database.sh"
DBNAME="hugo"
if [ -n $3$2$1 ]; then
echo "Usage $SCRIPT_NAME <dbuser> <table sql file> <source data file>"
exit -1
fi
echo "Creating database $DBNAME"
mysqladmi... | gitpan/lsid-perl | examples/hugo_authority/scripts/create_database.sh | Shell | epl-1.0 | 465 |
# TODO
#!/bin/bash
filename=$1 # e.g. ../tests/faure.dat
dim_x=$2 # e.g. 1
dim_y=$3 # e.g. 2
base=$4 # The base of the elementary interval
d_x=$5 # The x-power (fineness) of the elementary interval (>=0)
d_y=$6 # The y-power (fineness) of the elementary interval (>=0)
title=... | BartVandewoestyne/qmcpack | plots/generate_elementary_interval_plot.sh | Shell | gpl-2.0 | 988 |
#! /bin/sh -e
# tup - A file-based build system
#
# Copyright (C) 2009-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/t7006-move-dir3.sh | Shell | gpl-2.0 | 1,576 |
#!/bin/bash
### InterGenOS_build_002 lib_check.sh - used to assist in verifying build requirements
for lib in lib{gmp,mpfr,mpc}.la; do
echo $lib: $(if find /usr/lib* -name $lib|
grep -q $lib;then :;else echo not;fi) found
done
unset lib
#End lib_check.sh
| InterGenOS/build_002---deprecated | lib_check.sh | Shell | gpl-2.0 | 275 |
#!/bin/sh
########################################
#@author hzzhengrui
#@description 实现模块构件和jar包合并
########################################
#使用Gradle编译各个module
gradle clean
gradle build
# ./gradlew build --stacktrace --debug
#进入输出目录
cd build
cd outputs
#清空输出目录
rm -rf *
#创建输出子目录
mkdir temp
mkdir debug
mkdir re... | yushiwo/ScaleVideoView | QGVideoView/build_local.sh | Shell | gpl-2.0 | 1,929 |
#! /bin/sh
# Copyright (C) 2011-2017 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program ... | Starlink/automake | t/tap-merge-stdout-stderr.sh | Shell | gpl-2.0 | 1,665 |
./switch_vpmu –o 0 2; ./server ; ./switch_vpmu --off
./switch_vpmu –o 0 2; ./client ; ./switch_vpmu --off
| converse2006/M2M | m2m_app/toolset/switch_vpmu/switch_vpmu.sh | Shell | gpl-2.0 | 113 |
# A default hostname
#
# Copyright (C) 2017 Hamish Coleman <hamish@zot.org>
# Only do this if there is not already a hostname configured
if [ ! -f /etc/hostname ]; then
# Allow earlier config files to specify a different hostname prefix
if [ -z "$HOST_PREFIX" ]; then
HOST_PREFIX=ramdisk
fi
# ... | hamishcoleman/debian-rescue-initramfs | packages.d/_ALWAYS.fixup.add/init.d/90hostname.sh | Shell | gpl-2.0 | 1,023 |
#!/bin/bash
PUID=${PUID:-0}
PGID=${PGID:-0}
UMASK=${UMASK:-$(umask)}
# For the first run
SEALED_OFF="/sealed_off"
if [ ! -f $SEALED_OFF ]; then
if [ "$PGID" != "0" ]; then
GROUP="deluge"
groupadd -g $PGID $GROUP
fi
if [ "$PUID" != "0" ]; then
USER="deluge"
useradd -m -s /s... | d0u9/docker | dockerfiles/deluge-web/docker-entrypoint.sh | Shell | gpl-2.0 | 608 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.