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 |
|---|---|---|---|---|---|
echo beginning dist push
# mark each file in dist as trackable
while read file; do
git update-index --no-assume-unchanged $file
done <<<`find ./dist -type f`
# remove .gitignore cache of dist files
git rm --cached -q -r dist
# force add dist (since its in .gitignore we pass -f)
git add -f dist
# grab version nu... | jenjwong/britecharts | src/tasks/helpers/push_dist.sh | Shell | apache-2.0 | 705 |
#!/bin/sh
# (c) Copyright 2009 - 2010 Xilinx, Inc. All rights reserved.
#
# This file contains confidential and proprietary information
# of Xilinx, Inc. and is protected under U.S. and
# international copyright and other intellectual property
# laws.
#
# DISCLAIMER
# This disclaimer is not a license and does not gra... | kennethlyn/parallella-lcd-fpga | system/implementation/system_axi_vdma_0_wrapper_fifo_generator_v9_1/implement/implement_synplify.sh | Shell | bsd-3-clause | 3,373 |
#!/usr/bin/env bash
${IDRIS:-idris} $@ --quiet --port none < input.in
${IDRIS:-idris} $@ basic024.idr -o basic024
./basic024
rm -f basic024 *.ibc
| kojiromike/Idris-dev | test/basic024/run.sh | Shell | bsd-3-clause | 149 |
#!/bin/bash
FN="mirna102xgaincdf_2.18.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.13/data/annotation/src/contrib/mirna102xgaincdf_2.18.0.tar.gz"
"https://bioarchive.galaxyproject.org/mirna102xgaincdf_2.18.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-mirna102xgaincdf/bioconductor-mirn... | phac-nml/bioconda-recipes | recipes/bioconductor-mirna102xgaincdf/post-link.sh | Shell | mit | 1,459 |
#!/bin/bash
if [ $# -ne 2 ]; then
echo "Usage: compile-ruby-cf.sh [ruby version] [destination]"
echo "Use RUBYGEMS_VERSION, BUNDLER_VERSION, LIBYAML_DIR"
exit 1
fi
set -e
RUBY_VERSION=$1
DESTINATION=$2
if [ -z "${LIBYAML_DIR}" ]; then LIBYAML_DIR="/var/vcap/packages/libyaml"; fi
MAJOR_RUBY_VERSION=${RUBY_VER... | ActiveState/heroku-buildpack-ruby | scripts/compile-ruby-cf.sh | Shell | mit | 1,673 |
#!/bin/bash
# Copyright (C) 2011, 2012 Andy Aschwanden and Ed Bueler
set -e # exit on error
echo "# PISM Storglaciaren 3d Model"
if [ -n "${SCRIPTNAME:+1}" ] ; then
echo "[SCRIPTNAME=$SCRIPTNAME (already set)]"
echo ""
else
SCRIPTNAME="#(psg_3d.sh)"
fi
NN=2 # default number of processors
if [ $# -gt 0 ] ; t... | JohannesFeldmann/pism | examples/storglaciaren/psg_3d.sh | Shell | gpl-2.0 | 2,991 |
#!/bin/bash
#set -x
set -e
echo "running load_rnaseq_annotation.sh $1"
# locate this shell script, and source a generic shell script to process all params related settings
UPLOAD_SCRIPTS_DIRECTORY=$(dirname "$0")
UPLOAD_DATA_TYPE="annotation"
source "$UPLOAD_SCRIPTS_DIRECTORY/process_params.inc"
# Execute some basi... | cdejonge/transmart-data | samples/oracle/load_rnaseq_annotation.sh | Shell | gpl-3.0 | 937 |
#!/bin/sh
python2 "${HYPERDEX_SRCDIR}"/test/runner.py --space="space kv key k attributes map(float, int) v" --daemons=1 -- \
python2 "${HYPERDEX_SRCDIR}"/test/python/DataTypeMapFloatInt.py {HOST} {PORT}
| tempbottle/HyperDex | test/sh/bindings.python.DataTypeMapFloatInt.sh | Shell | bsd-3-clause | 208 |
#!/bin/bash
rlwrap monero-wallet-cli --wallet-file wallet_05.bin --password "" --testnet --trusted-daemon --daemon-address localhost:38081 --log-file wallet_05.log
| eiabea/bitmonero | tests/libwallet_api_tests/scripts/open_wallet_5.sh | Shell | bsd-3-clause | 167 |
#! /bin/bash
#
# Subnodes uninstall script. Removes dnsmasq, hostapd, bridge-utils, batctl, iw. Does *not* yet remove Node.js. Deletes subnoes folder and files within.
# Sarah Grant
# Updated 17 April 2015
#
# TO-DO
# - Remove node.js
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # ... | HonghaiJia/subnodes | uninstall.sh | Shell | agpl-3.0 | 2,267 |
#!/bin/bash
# SDK
# https://dl.google.com/android/repository/sdk-tools-linux-3859397.zip
# SHA-256 444e22ce8ca0f67353bda4b85175ed3731cae3ffa695ca18119cbacef1c1bea0
# latest version available here: https://developer.android.com/studio/index.html
# NDK
# https://dl.google.com/android/repository/android-ndk-r15c-linux-x... | mcanders/godot | misc/travis/android-tools-linux.sh | Shell | mit | 3,435 |
#! /usr/bin/env bash
#
# Copyright (C) 2013-2015 Zhang Rui <bbcallen@gmail.com>
#
# 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 ... | treejames/ijkplayer | init-android-openssl.sh | Shell | gpl-2.0 | 1,304 |
#!/bin/bash
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); yo... | takezoe/incubator-predictionio | tests/docker-files/init.sh | Shell | apache-2.0 | 1,062 |
#1/usr/bin/env bash
PROJECT_DIR=""
SDK_SOURCE_DIR=$(cd `dirname $0` && pwd)
usage() {
echo "Usage: $0 [-s SDK_SOURCE_DIR] [-d PROJECT_DIR]" 1>&2
exit 1
}
while getopts "hs:d:" options; do
case "${options}" in
s)
SDK_SOURCE_DIR=${OPTARG}
if [ "$SDK_SOURCE_DIR" == "" ]; then
echo "path to SDK sou... | tektoncd/pipeline | vendor/github.com/aws/aws-sdk-go-v2/local-mod-replace.sh | Shell | apache-2.0 | 778 |
#!/bin/bash
#
# Copyright 2015 The Bazel 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 required by... | anupcshan/bazel | src/test/shell/bazel/local_repository_test_jdk8.sh | Shell | apache-2.0 | 2,300 |
#!/bin/sh
test -n "$srcdir" || srcdir=`dirname "$0"`
test -n "$srcdir" || srcdir=.
olddir=`pwd`
cd $srcdir
AUTORECONF=`which autoreconf`
if test -z $AUTORECONF; then
echo "*** No autoreconf found, please intall it ***"
exit 1
fi
mkdir -p m4
autoreconf --force --install --verbose
cd $olddir
test -n... | GNOME/ostree-init | autogen.sh | Shell | gpl-2.0 | 364 |
uptime
| achivetta/skyefs | util/opencloud/uptime.sh | Shell | lgpl-2.1 | 7 |
#!/bin/sh
mkdir -p $PREFIX/bin
mkdir -p $PREFIX/bin/lib
cp BtToxin_Digger.pl $PREFIX/bin/BtToxin_Digger
cp Scripts/*.pl $PREFIX/bin/
cp lib/own.pm $PREFIX/bin/lib/
cp -r BTTCMP_db $PREFIX/bin/BTTCMP_db
cp -r BTTCMP_models $PREFIX/bin/BTTCMP_models
cp pgcgap/* $PREFIX/bin/
chmod a+x $PREFIX/bin/BtToxin_Digger
chmod a+... | cokelaer/bioconda-recipes | recipes/bttoxin_digger/build.sh | Shell | mit | 699 |
#!/bin/bash --
# Author: @DirtyCajunRice
# Check if ran by root
if [[ $UID -ne 0 ]]; then
echo 'Script must be run as root'
exit 1
fi
# Check for distro; continue if debian/ubuntu || exit
if [[ $(cat /etc/issue) =~ Debian ]]; then
distro=debian
elif [[ $(cat /etc/issue) =~ Ubuntu ]]; then
distro=ubunt... | b0ttl3z/SickRage | contrib/debian-ubuntu-install.sh | Shell | gpl-3.0 | 5,384 |
#!/bin/sh
. /lib/functions.sh
. ../netifd-proto.sh
init_proto "$@"
proto_openconnect_init_config() {
proto_config_add_string "server"
proto_config_add_int "port"
proto_config_add_string "username"
proto_config_add_string "serverhash"
proto_config_add_string "authgroup"
proto_config_add_string "password"
proto_c... | male-puppies/packages | net/openconnect/files/openconnect.sh | Shell | gpl-2.0 | 3,383 |
#!/bin/bash
# Copyright 2015 The Kubernetes 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 require... | Samsung-AG/kubernetes | cluster/gce/configure-vm.sh | Shell | apache-2.0 | 25,849 |
# bash/zsh completion support for core Git.
#
# Copyright (C) 2006,2007 Shawn O. Pearce <spearce@spearce.org>
# Conceptually based on gitcompletion (http://gitweb.hawaga.org.uk/).
# Distributed under the GNU General Public License, version 2.0.
#
# The contained completion routines provide support for completing:
#
# ... | KunalGautam/shell-scripts | custom-bashrc-config/.git-completion.bash | Shell | gpl-3.0 | 56,670 |
#!/bin/bash
original_dir=`pwd`
script=`dirname $0`
cd $script
source params
export script=`pwd`
cd $original_dir
curl -v -X 'PUT' -H "$VERSION" -H 'Content-Type: application/xml' -E $CERT -d@$1 $ENDPOINT/$SUBSCRIPTION/services/extensions?action=update
| Azure/azure-linux-extensions | registration-scripts/api/update-extension.sh | Shell | apache-2.0 | 253 |
#!/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}"
# This protects against multiple targets copying the same framework dependency at the same time.... | fonkadelic/Macoun | Pods/Target Support Files/Pods-WoidKonfTests/Pods-WoidKonfTests-frameworks.sh | Shell | mit | 4,702 |
#!/bin/sh
# ensure that ls does not stat a symlink in an unusual case
# Copyright (C) 2007-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 3 ... | projectgnu/coreutils | tests/ls/stat-free-symlinks.sh | Shell | gpl-3.0 | 1,871 |
#! /bin/bash
cd gdc_2/Gdc2/
if [[ ${target_platform} =~ linux.* ]]; then
makefile=makefile.linux
elif [[ ${target_platform} =~ osx.* ]]; then
makefile=makefile.mac
else
echo "operating system not found or not supported"
exit 1
fi
# Object files/libraries in wrong order => can't use --as-needed.
# (and ... | cokelaer/bioconda-recipes | recipes/gdc/build.sh | Shell | mit | 553 |
#!/bin/bash
DIR=/lib/modules/`uname -r`
for i in `find $DIR/kernel -type f -name "*.ko" | grep -v test_nx | grep -v ring_buffer_benchmark`
do
MOD=`basename $i | sed s/\.ko//`
echo Loading $MOD
/sbin/modprobe $MOD
done
| rantala/trinity | scripts/load-all-modules.sh | Shell | gpl-2.0 | 244 |
#!/bin/bash
# Copyright 2016 The Kubernetes 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 require... | vulpecula/kubernetes | cluster/photon-controller/util.sh | Shell | apache-2.0 | 33,914 |
#!/usr/bin/env bash
${IDRIS:-idris} $@ -o reg052 reg052.idr
./reg052
rm -f reg052 *.ibc
| kojiromike/Idris-dev | test/reg052/run.sh | Shell | bsd-3-clause | 88 |
#!/bin/bash
BIN="${PREFIX}/bin"
mv Gblocks "$BIN/"
chmod +x "$BIN/Gblocks"
| matthdsm/bioconda-recipes | recipes/gblocks/build.sh | Shell | mit | 75 |
#!/bin/bash
export CXXFLAGS="${CXXFLAGS} -std=c++14"
python -m pip install . --ignore-installed --no-deps -vv
| cokelaer/bioconda-recipes | recipes/porechop/build.sh | Shell | mit | 110 |
CPUPROFILE_REALTIME=1 CPUPROFILE_FREQUENCY=1000 bundle exec ruby perf/profile.rb
| abhirao/mongoid | perf/profile.sh | Shell | mit | 81 |
#!/bin/bash
# Script Name: AtoMiC Nginx Locations Configurator
echo
echo -e "${YELLOW}--->configuring Nginx Locations $ENDCOLOR"
# Copy any missing location files over but doesnt enable them. Enabled as required by each service)
for f in "$SCRIPTPATH"/utils/nginx/locations-available/*.conf; do
filename=$(basename... | htpcBeginner/AtoMiC-ToolKit | utils/nginx/nginx-locations-configurator.sh | Shell | mit | 1,421 |
#!/bin/bash
# Add the user
if [[ ! $(id jenkins) ]]; then
useradd jenkins
usermod -a -G sudo jenkins
fi
# Get the package if we don't have the folder ready to go
if [[ ! -e /home/jenkins/jenkins ]]; then
su -l jenkins -c 'wget "https://bintray.com/artifact/download/davidk01/generic/stashbot-unplugged.tar.gz"'
s... | davidk01/stashbot-unplugged | puppet-module/stashbot_unplugged/files/installer.sh | Shell | mit | 835 |
#!/bin/sh -ex
VERSION=`echo $TRAVIS_TAG | sed -e "s/v//g"`
echo "*** $VERSION deploy start ***"
goxc \
-arch="386 amd64" \
-os="linux darwin" \
-+tasks=clean,compile,archive \
-o="{{.Dest}}{{.PS}}{{.Version}}{{.PS}}packer-provisioner-mitamae-{{.Os}}-{{.Arch}}{{.Ext}}" \
-resources-exclude=".go,LICENSE,READM... | hatappi/packer-provisioner-mitamae | script/travisci/deploy.sh | Shell | mit | 521 |
#!/bin/bash
#
# Report changed WordPress website files.
#
# It is an hourly cron job.
declare -r DOCUMENT_ROOT="${HOME}/website/code/"
Tripwire_fake() {
# Core
nice /usr/local/bin/wp --no-debug --quiet core verify-checksums 2>&1 \
|| echo "ERROR: '$(/usr/local/bin/wp --no-debug option get blogname)' ... | szepeviktor/debian-server-tools | monitoring/tripwire-fake.sh | Shell | mit | 1,067 |
#!/bin/bash
# Announces a release after artifacts have been built:
#
# - Publishes release notes to GitHub
# - Announces in the #announce stream of Zulip
# - Adds a note about the release to LWIP
#
# Tools required in the environment that runs this:
#
# - bash
# - changelog-tool
# - curl
# - git
# - jq
set -o errexit... | btab/pony-semver | .ci-scripts/release/announce-a-release.bash | Shell | mit | 5,067 |
#!/bin/bash
set -eo pipefail -o nounset
if [[ -z $(conda info --envs | grep "*" | grep -o "\/.*") ]]; then
export CONDA_ROOT=$(conda info --root)
env_dir=$CONDA_ROOT
export RECIPE_DIR=$CONDA_ROOT/share/ggd/Homo_sapiens/hg19/hg19-clinically-associated-variants-ensembl-v1/1
elif [[ $(conda info --envs | grep... | gogetdata/ggd-recipes | recipes/genomics/Homo_sapiens/hg19/hg19-clinically-associated-variants-ensembl-v1/post-link.sh | Shell | mit | 3,092 |
#!/bin/zsh
alias dgres="/bin/grep -e '^\[=*\]' -e '^.*\[.*\(OK\|PASSED\|RUN\|ERROR\).*\]'"
alias dgv="dgres -e '^\[.*DEBUG.*$'"
alias dgvv="dgres -e '^\[.*\(TRACE\|DEBUG\).*$'"
alias dgo="grep -v -e '^.*\(DEBUG\|TRACE\).*'"
| rkowalewski/dotfiles | zsh/scripts/dash.zsh | Shell | mit | 226 |
# To install source this file from your .zshrc file
# Change this to reflect your installation directory
export __GIT_PROMPT_DIR=~/.oh-my-zsh/
# Initialize colors.
autoload -U colors
colors
# Allow for functions in the prompt.
setopt PROMPT_SUBST
autoload -U add-zsh-hook
add-zsh-hook chpwd chpwd_update_git_vars
add... | bak1an/oh-my-zsh | git_prompt.sh | Shell | mit | 2,883 |
#!/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... | jeantimex/swift-photo-viewer | Pods/Target Support Files/Pods-Swift Photo Viewer/Pods-Swift Photo Viewer-frameworks.sh | Shell | mit | 3,929 |
#!/bin/sh
if test ! $(which pyenv)
then
echo " Installing pyenv for you."
git clone git://github.com/yyuu/pyenv.git ~/.pyenv
eval "$(~/.pyenv/bin/pyenv init -)"
fi
if test ! -d ~/.pyenv/plugins/pyenv-update
then
echo " Installing pyenv-update for you."
git clone git://github.com/yyuu/pyenv-update.git ~/.p... | jawshooah/dotfiles | python/install.sh | Shell | mit | 349 |
# Start new tmux session or reattach to an existing session, but only if not
# already inside a tmux session.
function tm() {
local is_source=; [[ "$1" == "SOURCE" ]] && is_source=1 && shift
local tmux_no_logout=~/.dotfiles/caches/tmux-no-logout
if [[ ! "$TMUX" ]]; then
# Clean up any orphaned "no logout" fil... | ricardorsierra/dotfiles | source/10_tmux.sh | Shell | mit | 1,770 |
#!/bin/bash
set -e
# Exercise 3.3 Find out working set size for the benchmark programs.
for benchmark in equake vortex parser
do
for cache_lines in 64 4096 8192
do
BENCHMARK=$benchmark CACHE_LINES=$cache_lines ./simics -stall -no-stc -c ${benchmark}.conf -no-win -q -p Lab1_3-5/cache_hierarchy.py
... | myrjola/comparch_labs | Lab1_3-5/cache_hierarchy.sh | Shell | mit | 330 |
#!/bin/bash
# Copyright (c) 2013 - 2014 blackchip.org
#
# 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
# to use, copy, modify, ... | blackchip-org/step | test/fixtures/run_no_step.sh | Shell | mit | 1,163 |
#!/usr/bin/env bash
cd target && java -Dspring.profiles.active=DEV -jar *.war | xelita/spring-boot-web-mongo-archetype | src/main/resources/archetype-resources/launch_jar.sh | Shell | mit | 77 |
function git_prompt_info() {
if [[ "$(command git config --get oh-my-zsh.hide-status 2>/dev/null)" != "1" ]]; then
ref=$(command git symbolic-ref HEAD 2> /dev/null) || \
ref=$(command git rev-parse --short HEAD 2> /dev/null) || return 0
ref="$(command echo ${ref#refs/heads/})"
length=${#ref}
maxL... | tnwinc/omz-git | omz-git.plugin.zsh | Shell | mit | 1,665 |
#!/bin/sh
# base16-shell (https://github.com/chriskempson/base16-shell)
# Base16 Shell template by Chris Kempson (http://chriskempson.com)
# Monokai scheme by Wimer Hazenberg (http://www.monokai.nl)
# This script doesn't support linux console (use 'vconsole' template instead)
if [ "${TERM%%-*}" = 'linux' ]; ... | goude/runcom | home/.local/share/base16/templates/shell/scripts/base16-monokai.sh | Shell | mit | 4,124 |
#!/bin/bash
function now() {
date +"%m-%d-%Y %H-%M"
}
echo "$(now): backup-all-indexes.sh - Verifying required environment variables"
: ${DATABASE_URL:?"Error: DATABASE_URL environment variable not set"}
: ${S3_BUCKET:?"Error: S3_BUCKET environment variable not set"}
: ${S3_ACCESS_KEY_ID:?"Error: S3_ACCESS_KEY_ID ... | aptible/elasticsearch-logstash-s3-backup | src/backup-all-indexes.sh | Shell | mit | 3,797 |
#!/bin/bash
## Files Address
readonly SOURCES_LIST="/etc/apt/sources.list"
#Get sudo permission from user
get_sudo_permission() {
if [ "$(whoami)" != "root" ];then
echo -e "Hi, I need sudo permission\n"
sudo su
fi
}
#Run "apt-key update apt-get update && apt-get upgrade"
#About true in line... | nimaebrazi/debian-base-packeage-installer | src/helpers.sh | Shell | mit | 1,465 |
#!/bin/sh
# This install script is intended to download and install the latest available
# release of the dep dependency manager for Golang.
#
# It attempts to identify the current platform and an error will be thrown if
# the platform is not supported.
#
# Environment variables:
# - INSTALL_DIRECTORY (optional): defa... | testthedocs/redactor | install.sh | Shell | mit | 4,580 |
#!/usr/bin/expect -f
#
# This Expect script was generated by autoexpect on Thu May 29 02:49:46 2014
# Expect and autoexpect were both written by Don Libes, NIST.
#
# Note that autoexpect does not guarantee a working script. It
# necessarily has to guess about certain things. Two reasons a script
# might fail are:
#
#... | mrl1n/Dockerfiles | NoVNC/start-vnc-expect-script.sh | Shell | mit | 2,077 |
#!/bin/bash
OUT_FILE="./src/data/brew-packages.json"
PACKAGES=$(brew search)
#PACKAGES="apollo git"
TAPS=$(brew tap)
for TAP in $TAPS
do
brew untap $TAP
done
JSON=""
echo "{\"options\": [" > $OUT_FILE
for PACKAGE in $PACKAGES
do
JSON+="{\"name\": \"$PACKAGE\"},"
echo $PACKAGE
done
echo $JSON >> $OUT_... | osxstrap/osxstrap-web | bin/get-brew-packages.sh | Shell | mit | 392 |
#!/bin/sh
xrandr --output eDP-1 --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI-1 --off --output DP-1 --off --output HDMI-2 --off --output DP-1-1 --mode 1920x1080 --pos 1920x0 --rotate normal --output DP-1-2 --off --output DP-1-3 --off
| klaxalk/linux-setup | miscellaneous/arandr_scripts/petr/dell_lab.sh | Shell | mit | 245 |
#!/bin/bash
date ; sudo service ntp stop ; sudo ntpdate -s time.nist.gov ; sudo service ntp start ; date
| ThisIs-MyName/vps | update_time.sh | Shell | mit | 105 |
#!/bin/bash
# ----------------------------------------------------
# Setup
# ----------------------------------------------------
# Some fun colors
COLOREND=$(tty -s && tput sgr0)
GREEN=$(tty -s && tput setaf 2)
RED=$(tty -s && tput setaf 1)
BOLD=$(tty -s && tput bold)
# Get the script dir
DIR="$( cd "$( dirname "${... | nickskull/FIKS-Tasks | tests/01_05_NutTrouble.sh | Shell | mit | 2,180 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-1717-1
#
# Security announcement date: 2013-02-12 00:00:00 UTC
# Script generation date: 2017-01-01 21:03:08 UTC
#
# Operating System: Ubuntu 12.04 LTS
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - postgresql-9.1:9.1.8-0ubuntu12.04
#
... | Cyberwatch/cbw-security-fixes | Ubuntu_12.04_LTS/x86_64/2013/USN-1717-1.sh | Shell | mit | 652 |
#!/bin/bash
MAC=[MAC_ADDRESS]
Broadcast=[BRODCAST_OR_TARGET_IP]
PortNumber=9
echo -e $(echo $(printf 'f%.0s' {1..12}; printf "$(echo $MAC | sed 's/://g')%.0s" {1..16}) | sed -e 's/../\\x&/g') | nc -u $Broadcast $PortNumber -v
| ecraciun/VariousScripts | Bash/wol.sh | Shell | mit | 229 |
#Runs java app
#Limits number of cores used
if [ "$(id -u)" != "0" ]; then
echo "Sorry, you need to be root."
exit 1
fi
set_num_cpus()
{
arg=$1
dec=1
taskset -c -a -p 0-$((arg - dec)) $(pidof java) > /dev/null
#taskset -c -a -p 0-$((arg - dec)) $(pidof java) > /dev/null
}
# Runs java App
se... | Dar13/OpenMemDB | database/tests/db_testing/volt_test/run.sh | Shell | mit | 393 |
#!/usr/bin/env bash
# Download and install requirements for documentation auto-deployment.
#
# This script does the following:
#
# - Installs mkdocs under the current user.
# - Installs pymdown-extensions under the current user.
# - If the zf-mkdoc-theme is not present under the current directory, downloads
# and ins... | zendframework/zf-mkdoc-theme | theme-installer.sh | Shell | mit | 1,449 |
#!/bin/bash
# Usage: sync_publish /path/to/crate -f
#
# Publish a crate and wait for it to become available.
#
# https://gist.github.com/Riateche/a1c500fe760a2b9190beb0a7134db82d
set -e
set -o pipefail
TMP_DIR=/tmp/test1
DIR="$1"
FORCE="$2"
NAME=$(grep '^name' "$DIR/Cargo.toml" | head -n 1 | sed 's/name = "\([^"]*... | gluon-lang/gluon | scripts/sync_publish.sh | Shell | mit | 986 |
ansible-playbook -i kube-inventory.ini kube-docker-registry.yml
./kube-docker.sh
ansible-playbook -i kube-inventory.ini kube-cluster.yml
sleep 15
sudo rm /var/tmp/addon/*
ansible-playbook -i kube-inventory.ini kube-addon.yml
| reza-rahim/microservice | ansible/provision/kube-build.sh | Shell | mit | 229 |
#!/bin/bash
emmake make clean
emmake make
| holland01/assessment-image-library | rebuild.sh | Shell | mit | 43 |
#!/bin/bash
xcode-select --install
bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)
| Zemnmez/configs | macos-gvm.sh | Shell | mit | 137 |
#!/bin/sh
mkdir -p /usr/src/vim
curl -SL "ftp://ftp.vim.org/pub/vim/unix/vim-7.4.tar.bz2" | tar -xjC /usr/src/vim --strip-components=1
cd /usr/src/vim
echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h
echo '#define SYS_GVIMRC_FILE "/etc/gvimrc"' >> src/feature.h
./configure --prefix=/usr --with-features=... | jjasonclark/devbox | build/vim.sh | Shell | mit | 452 |
#! /bin/bash -x
### superscript template to do the preprocessing
### $Id: do_Subaru_0025_V.sh,v 1.4 2008-08-16 22:38:01 dapple Exp $
. progs.ini
REDDIR=`pwd`
export SUBARUDIR=/nfs/slac/g/ki/ki02/xoc/anja/SUBARU
#run=2005-11-30
#filter=W-J-B
run=2007-07-18
filter=W-J-V
STANDARDSTARTYPE=3SEC
IMGSDSS=SUPA0055775
IMG... | deapplegate/wtgpipeline | non_essentials/preprocess_scripts/do_Subaru_0025_V.sh | Shell | mit | 5,749 |
#!/usr/bin/env bash
set -x
set -e
# determine the script path
# ref: http://stackoverflow.com/questions/4774054/reliable-way-for-a-bash-script-to-get-the-full-path-to-itself
pushd `dirname $0` > /dev/null
SCRIPTPATH=`pwd -P`
popd > /dev/null
# get the browser version string
TARGET_BROWSER=`$SCRIPTPATH/node_modules/.b... | hanumesh/video-web | node_modules/travis-multirunner/setup.sh | Shell | mit | 1,053 |
#!/bin/bash
#
#SBATCH --job-name=matrix_mult
#SBATCH --output=res_matrix_mult.out
#SBATCH --ntasks=1
#SBATCH --cpus-per-task=8
#SBATCH --time=10:00
#SBATCH --mem-per-cpu=100
export OMP_NUM_THREADS=$SLURM_CPUS_PER_TASK
./matrix_mult
| leiverandres/HPC_assignments | openmp/matrix_mult.sh | Shell | mit | 234 |
#!/bin/bash
set -eux
apt-get install -y ntp
service ntp stop
| ggiamarchi/rpi-debian-builder | modules/basic/provision/scripts/10-ntp.sh | Shell | mit | 63 |
#!/bin/bash
# This program and the accompanying materials are made available under the
# terms of the MIT license (X11 license) which accompanies this distribution.
# author: M. Tasić, C. Bürger
# Array of CJava source files ordered w.r.t. their compilation dependencies:
declare -a cjava_racr_sources=(
exception-ap... | christoff-buerger/racr-boneyard | invasive-composition/refactored-case-study-by-Christoff-Bürger/install.sh | Shell | mit | 1,728 |
#!/bin/bash
#Author : Hemanth H.M
#Licence : GNU GPLv3
# Usage
show_help(){
echo "Usage is $0 a|m|n|c|h"
echo "-a or --all to plot cpu(c),mem(m) and net(n)"
}
# Make directory to store the results
setdir(){
mkdir -p zip_Stats
cd zip_Stats
}
# Use dstat to get the data set
gendata(){
echo "Collecting stats for sec wi... | CharlesZhong/Mobile-Celluar-Measure | bin/zip_stat.sh | Shell | mit | 3,007 |
#!/bin/bash
cat >/app/config.js << EOF
'use strict';
angular.module('config', [])
.constant('config', {
'endpoint' : "/api",
'provider' : "$PROVIDER",
'client_id' : "$CLIENT_ID",
'gitlab_url' : "$GITLAB_URL",
'colors' : {}
});
EOF
| satterly/docker-config | alerta-snmp/config.js.sh | Shell | mit | 272 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-2890-2
#
# Security announcement date: 2016-02-01 00:00:00 UTC
# Script generation date: 2017-01-01 21:05:09 UTC
#
# Operating System: Ubuntu 14.04 LTS
# Architecture: i686
#
# Vulnerable packages fix on version:
# - linux-image-4.2.0-27-lowlatency:4.2.0-... | Cyberwatch/cbw-security-fixes | Ubuntu_14.04_LTS/i686/2016/USN-2890-2.sh | Shell | mit | 2,130 |
#!/bin/bash
set -e
bundle exec rake db:migrate
echo "postdeploy.sh done"
| themarshallproject/pony | postdeploy.sh | Shell | mit | 73 |
#!/bin/sh
# (c) Copyright 2009 - 2010 Xilinx, Inc. All rights reserved.
#
# This file contains confidential and proprietary information
# of Xilinx, Inc. and is protected under U.S. and
# international copyright and other intellectual property
# laws.
#
# DISCLAIMER
# This disclaimer is not a license and does not gra... | kevintownsend/R3 | coregen/fifo_138x512/implement/planAhead_rdn.sh | Shell | mit | 2,529 |
#!/bin/bash
STATUSFILE=$TMPDIR/sleepwatcher-lync-status.txt
function _syslog-sleepwatcher() {
syslog -s -k Facility \
-k Sender com.nilswinkler.sleepwatcher-lync-status \
-k Level notice \
-k Message "Lync Status: $1"
}
function _lync-status() {
osascript 2>/dev/null <<EOF
if application "Microsoft Lync"... | nwinkler/sleepwatcher-lync-status | _lync-status.sh | Shell | mit | 2,494 |
#!/bin/bash
# This script sets up an openaps environment to work with loop.sh,
# by defining the required devices, reports, and aliases.
#
# Released under MIT license. See the accompanying LICENSE.txt file for
# full terms and conditions
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
#... | scottleibrand/openaps-sh | setup.sh | Shell | mit | 10,969 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for RHSA-2013:0821
#
# Security announcement date: 2013-05-14 20:12:38 UTC
# Script generation date: 2017-02-02 21:21:30 UTC
#
# Operating System: Red Hat 6
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - thunderbird.x86_64:17.0.6-2.el6_4
# -... | Cyberwatch/cbw-security-fixes | Red_Hat_6/x86_64/2013/RHSA-2013:0821.sh | Shell | mit | 954 |
#!/bin/bash
rake build
sudo rvm all do gem install --local pkg/pidx-0.0.1.gem | xudeheng/pidx | installer.sh | Shell | mit | 77 |
#!/usr/bin/env bash
source ~/.rvm/scripts/rvm
## Useage
## verbose_tester.sh ruby ruby2 ruby3
for ruby in $@
do
cd ./rails
rvm $ruby rake test
echo
cd ..
done
| tsykoduk/Rails-Bugmasher | testers/verbose_tester.sh | Shell | mit | 170 |
#!/bin/bash
#Do not edit. File automatically generated
#SBATCH --ntasks=128
#SBATCH --nodes=8
#SBATCH -A EvolvingAI
#SBATCH -t 120:00:00 # run time (hh:mm:ss) - 48 hours
#SBATCH --mail-user=anguyen8@uwyo.edu
#SBATCH --mail-type=begin # email me when the job starts
#SBATCH --mail-type=end # email me whe... | Evolving-AI-Lab/innovation-engine | sferes/launchScript.sh | Shell | mit | 1,151 |
#!/usr/bin/env bash
echo "Start HDFS and Yarn"
# get the script path http://stackoverflow.com/questions/4774054/reliable-way-for-a-bash-script-to-get-the-full-path-to-itself
pushd `dirname $0` > /dev/null
SCRIPTPATH=`pwd -P`
popd > /dev/null
ORIGINAL_WD=${PWD}
cd ${SCRIPTPATH}
source ../common.sh
${HADOOP_HOME}/sbi... | at15/hadoop-spark-perf | provision/single/hadoop/start.sh | Shell | mit | 414 |
#!/bin/bash
# script for awk to compute N50 for various contig split thresholds (ie number of consecutive N's)
# also will extend to do the same set of extensions for those records >= 1000 and >= 500
# 03Sep2016 changed to check if input file is a fasta file (by checking if first character is a ">")
# and if it is the... | calacademy-research/ScaffSplitN50s | ScaffSplitN50s.sh | Shell | mit | 7,451 |
#!/bin/bash
MPC="/usr/bin/mpc"
if [ "$($MPC status | grep pause | cut -d ' ' -f1)" == "[paused]" ]; then
$MPC play 1>/dev/null
else
$MPC pause 1>/dev/null
fi
| ggilestro/majordomo | bin/mpc_toggle.sh | Shell | mit | 165 |
# Sets reasonable OS X defaults.
#
# Or, in other words, set shit how I like in OS X.
#
# The original idea (and a couple settings) were grabbed from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.macos
#
# Run ./set-defaults.sh and you'll be good to go.
# Disable press-and-hold for keys in favor of key r... | arnold-almeida/dotfiles | osx/set-defaults.sh | Shell | mit | 2,630 |
#!/bin/bash
#SBATCH --partition=mono
#SBATCH --ntasks=1
#SBATCH --time=4-0:00
#SBATCH --mem-per-cpu=8000
#SBATCH -J Deep-RBM_MLP_6_inc_real_CD1_base
#SBATCH -e Deep-RBM_MLP_6_inc_real_CD1_base.err.txt
#SBATCH -o Deep-RBM_MLP_6_inc_real_CD1_base.out.txt
source /etc/profile.modules
module load gcc
module load matlab
c... | aciditeam/matlab-ts | jobs/deepJobs_RBM_MLP_6_inc_real_CD1_base.sh | Shell | mit | 607 |
#!/usr/bin/env bash
# installs node and yarn
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash
source $NVM_DIR/nvm.sh
nvm install stable
curl -o- -L https://yarnpkg.com/install.sh | bash
source ~/.bashrc
| vadimadr/generator-djdj | generators/app/templates/scripts/install_node.sh | Shell | mit | 240 |
#!/bin/bash
echo "INFO: Init SSH for ${USER} user."
if ( id ${USER} ); then
echo "INFO: User ${USER} already exists"
echo "INFO: Change ${USER} password with environment:"
echo "${USER}:${PASS}"|chpasswd
else
echo "INFO: User ${USER} does not exist, we create it"
ENC_PASS=$(perl -e 'print crypt($A... | ambroisemaupate/docker | light-ssh/start.sh | Shell | mit | 671 |
# Copyright (C) 2017 by
# Thomas E. Gorochowski <tom@chofski.co.uk>, Voigt Lab, MIT
# All rights reserved
# Released under MIT license (see LICENSE.txt)
# Count mapped reads for each "gene" feature
BIN_PATH=../bin
python $BIN_PATH/count_reads.py -settings ./data/settings.txt -samples tube_1 -feature gene -attribute... | VoigtLab/MIT-BroadFoundry | genetic-analyzer/circuit_example/02_count_reads.sh | Shell | mit | 2,275 |
#!/bin/bash
# Edit this if needed
BOWER=$HOME/node_modules/bower/bin/bower
#################
# Python stuff
echo "Installing Python modules."
pip3 install --user routes gunicorn ppp_core nltk ppp_questionparsing_grammatical
pip3 install --user ppp_datamodel_notation_parser ppp_oeis ppp_oracle ppp_hal
pip3 install --u... | ProjetPP/Deployment | bootstrap_modules.sh | Shell | cc0-1.0 | 1,745 |
#!/bin/bash
# $Id: sqlbackup.sh,v 2.0 2006/10/17 17:32:05 mistur Exp $
# ----------------------------------------------------------------------
# AlternC - Web Hosting System
# Copyright (C) 2002 by the AlternC Development Team.
# http://alternc.org/
# ------------------------------------------------------------------... | AlternC/AlternC | src/sqlbackup.sh | Shell | gpl-2.0 | 15,964 |
#/bin/bash
# old testing setup
# Test configurations with TestBaseDecider as Decider
./decider > out.tmp 2>&1
diff -I '^Assigned runID=' -I '^Loading NED files from' -w exp-output out.tmp
rm -f out.tmp
| olafur/mixim | tests/decider/runTest.sh | Shell | gpl-2.0 | 208 |
#!/usr/bin/env bash
################################################################################
# THIS FILE IS 100% GENERATED BY ZPROJECT; DO NOT EDIT EXCEPT EXPERIMENTALLY #
# READ THE ZPROJECT/README.MD FOR INFORMATION ABOUT MAKING PERMANENT CHANGES. #
########################################################... | thalman/fty-metric-snmp | ci_deploy.sh | Shell | gpl-2.0 | 1,077 |
#!/bin/sh
# Setup development environment on Mac OS X (tested with 10.6.8 and Xcode 3.2.6)
#
# $Id$
#
# Copyright 2011 Michael Tuexen, Joerg Mayer, Guy Harris (see AUTHORS file)
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <gerald@wireshark.org>
# Copyright 1998 Gerald Combs
#
# This program is free softw... | hashbrowncipher/wireshark | macosx-setup.sh | Shell | gpl-2.0 | 55,583 |
#!/usr/bin/env bash
status=""
counter=0
checkcounter=0
until [[ $status = "false" ]]; do
status=$(curl 2>/dev/null "http://$1/status.php" | jq .maintenance)
echo "($checkcounter) $status"
if [[ "$status" =~ "false" || "$status" = "" ]]; then
let "counter += 1"
if [[ $counter -gt 50 ]]; t... | nextcloud/android | scripts/wait_for_server.sh | Shell | gpl-2.0 | 482 |
#!/bin/bash
# sat6-updates.sh updates our hosts automatically it is
# called from cron everyday but only runs according the
# following schedule:
# Content View | Environments | Date
# -------------------------------------------------------------------
# Crash | Library --> Dev --> Prod | 1st Monday... | sean797/sat6 | api/sat6-wrapper.sh | Shell | gpl-2.0 | 1,675 |
#!/bin/ksh
# Had bug in not handling when errexit was set.
# We'll also test set -u.
set -o errexit
### FIXME: a bug in ksh prevents this, I think.
# set -u
print one
| rocky/kshdb | test/example/bug-errexit.sh | Shell | gpl-2.0 | 167 |
#!/bin/bash
## FUNCTIONS ##
noroot() {
sudo -EH -u vagrant HTTP_HOST="${SITE_HOST}" "$@";
}
get_config() {
local key=$1
local s='[[:space:]]*'
local w='[a-zA-Z0-9_]*'
sed -n "s/^$s$key$s:$s\($w\)$s$/\1/ p" "wp-cli.yml"
}
## PROVISIONING ##
DATABASE=$(get_config dbname)
echo "Setting up a local WordPres... | goblindegook/vvv-composer | vvv-init.sh | Shell | gpl-2.0 | 2,147 |
#!/bin/bash
threeDFile1=$1
threeDFile2=$2
finalName=$3
fileName1=${threeDFile1/.ply/}
fileName2=${threeDFile2/.ply/}
name_finale=${finalName/.ply/.txt}
if [ ! -d $fileName1 ]; then
./get_data.sh $threeDFile1
else
:
fi
if [ ! -d $fileName2 ]; then
./get_data.sh $threeDFile2
else
:
fi
while [ ! -d $fileName1 ]
do
:
... | naredokitsch/cavesmerge | merge.sh | Shell | gpl-2.0 | 584 |
#!/bin/bash
patch_files () {
pushd $1
if [ ! -f vss_patch_files.done ]; then
for f in `find -name Makefile.in -o -name Makefile.am -o -name configure.ac`; do \
sed -i \
-e "s;\[gstreamer-;\[wpe-gstreamer-;g" \
-e "s;plugindir=.*;plugindir=\"\\... | Metrological/buildroot-wpe | package/vss-sdk/gst1/brcm.fix.sh | Shell | gpl-2.0 | 498 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.