code stringlengths 2 1.05M | repo_name stringlengths 5 110 | path stringlengths 3 922 | language stringclasses 1
value | license stringclasses 15
values | size int64 2 1.05M |
|---|---|---|---|---|---|
#!/bin/sh
#
# Copyright (c) 2002-2012 The Xfce development team. All rights reserved.
#
# This library is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the Free
# Software Foundation; either version 2 of the License, or (at your option)
# any... | cedl38/xfce4-windowck-plugin | autogen.sh | Shell | gpl-3.0 | 1,250 |
#!/bin/bash
#-------------------------------------------------------------
#
# (C) Copyright IBM Corp. 2010, 2015
#
# 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... | aloknsingh/systemml | system-ml/scripts/perftest/runPCA.sh | Shell | apache-2.0 | 1,160 |
#!/bin/bash
# basic test to ensure that package-install files remain sorted
# alphabetically.
TOP=$(cd $(dirname "$0")/.. && pwd)
source $TOP/tests/unittest.sh
PKG_FILES=$(find $TOP/files/debs $TOP/files/rpms $TOP/files/rpms-suse -type f)
TMPDIR=$(mktemp -d)
SORTED=${TMPDIR}/sorted
UNSORTED=${TMPDIR}/unsorted
fo... | mssumanth/devstack | tests/test_package_ordering.sh | Shell | apache-2.0 | 688 |
#!/bin/bash
WORK_DIR="$(dirname "$0")"
PROJECT_DIR="$(dirname "$WORK_DIR")"
pip --version >/dev/null 2>&1 || {
echo >&2 -e "\npip is required but it's not installed."
echo >&2 -e "You can install it by running the following command:\n"
{% if cookiecutter.use_python2 == 'n' -%}
echo >&2 "wget https://boots... | andresgz/cookiecutter-django | {{cookiecutter.project_slug}}/utility/install_python_dependencies.sh | Shell | bsd-3-clause | 2,274 |
#!/bin/bash
#
# BLIS
# An object-based framework for developing high-performance BLAS-like
# libraries.
#
# Copyright (C) 2014, The University of Texas at Austin
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# m... | scibuilder/blis | build/gen-make-frags/gen-make-frag.sh | Shell | bsd-3-clause | 16,471 |
#!/bin/bash
GET http://celestrak.com/NORAD/elements/noaa.txt > new.tle
GET http://celestrak.com/NORAD/elements/goes.txt >> new.tle
GET http://celestrak.com/NORAD/elements/gps-ops.txt >> new.tle
GET http://celestrak.com/NORAD/elements/galileo.txt >> new.tle
GET http://celestrak.com/NORAD/elements/visual.txt >> new.tle
... | skorjevec/stel-n9 | stellarium/plugins/Satellites/util/get.sh | Shell | gpl-2.0 | 570 |
#!/bin/bash
# a script to install server dependencies
# provide messaging colors for output to console
txtbld=$(tput bold) # Bold
bldgrn=$(tput setaf 2) # green
bldred=${txtbld}$(tput setaf 1) # red
txtreset=$(tput sgr0)
elmslnecho(){
echo "${bldgrn}$1${txtreset}"
}
elmslnwarn(){
echo "${bldred}$1${t... | proconnor15/elmsln | scripts/install/handsfree/amazon/amazon-install.sh | Shell | gpl-3.0 | 3,318 |
#!/bin/bash
FN="SomatiCAData_1.32.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.14/data/experiment/src/contrib/SomatiCAData_1.32.0.tar.gz"
"https://bioarchive.galaxyproject.org/SomatiCAData_1.32.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-somaticadata/bioconductor-somaticadata_1.32.0_... | cokelaer/bioconda-recipes | recipes/bioconductor-somaticadata/post-link.sh | Shell | mit | 1,312 |
#!/bin/bash
###
# basic install and run test for atomic registry quickstart image
# run with "uninstall" argument to test tear down after test
###
# $1 is optional hostname override
set -o errexit
set -o pipefail
set -x
TEST_IMAGE=atomic-registry-quickstart
# we're going to use this for testing
# node ports aren't... | tmckayus/oshinko-rest | vendor/github.com/openshift/origin/examples/atomic-registry/test.sh | Shell | apache-2.0 | 1,817 |
#!/bin/bash
# this file is mostly meant to be used by the author himself.
root=`pwd`
version=$1
home=~
force=$2
ngx-build $force $version \
--with-ld-opt="-Wl,-rpath,$LIBDRIZZLE_LIB:$LUAJIT_LIB" \
--without-mail_pop3_module \
--without-mail_imap_module \
--without-mai... | LomoX-Offical/nginx-openresty-windows | src/drizzle-nginx-module-0.1.10/util/build.sh | Shell | bsd-2-clause | 1,373 |
# Usage: ./update.sh [blink-core-source-directory]
#
# Copies the needed files from a directory containing the original
# Decimal.h and Decimal.cpp source that we need.
# If [blink-core-source-directory] is not specified, this script will
# attempt to download the latest versions using svn.
# This was last updated wit... | kostaspl/SpiderMonkey38 | mfbt/decimal/update.sh | Shell | mpl-2.0 | 1,550 |
#!/bin/sh
# copied from projects/compose, with fixes for shellcheck
# shellcheck disable=SC2039
set -e
#########
#
# wait for docker socket to be ready, then run the rest of the command
#
########
RETRIES=${RETRIES:-"-1"}
WAIT=${WAIT:=10}
[ -n "$DEBUG" ] && set -x
# keep retrying until docker is ready or we hit our l... | justincormack/linuxkit | pkg/cadvisor/waitfordocker.sh | Shell | apache-2.0 | 1,253 |
function _cap_does_task_list_need_generating () {
if [ ! -f .cap_tasks~ ]; then return 0;
else
accurate=$(stat -f%m .cap_tasks~)
changed=$(stat -f%m config/deploy.rb)
return $(expr $accurate '>=' $changed)
fi
}
function _cap () {
if [ -f config/deploy.rb ]; then
if _cap_does_task_list_need_gene... | TheDahv/dotfiles | zsh/oh-my-zsh/plugins/cap/cap.plugin.zsh | Shell | mit | 538 |
#!/usr/bin/env bash
# Copyright 2016 The TensorFlow 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... | scenarios/tensorflow | tensorflow/tools/ci_build/osx/libtensorflow_gpu.sh | Shell | apache-2.0 | 1,453 |
#!/bin/bash
DIR=`dirname $0`
case $2 in
p1) $DIR/../../../bin/genprog_tests.py --program digits $1 $DIR/../../tests/whitebox/9.out $DIR/../../tests/whitebox/9.in && exit 0;;
p2) $DIR/../../../bin/genprog_tests.py --program digits $1 $DIR/../../tests/whitebox/8.out $DIR/../../tests/whitebox/8.in && exit 0;;
p3) $DIR/..... | ProgramRepair/IntroClass | digits/ca94e3756cbf8d1490bad660c06307f5d678e3675bbea85359523809a4f06b370066767ea2d2d76d270e4712b464924f12e19dbf1a12d28b75d367ceb202dbb9/007/whitebox_test.sh | Shell | bsd-3-clause | 1,395 |
#!/bin/bash
#
# Deploys the current Dagger website to the gh-pages branch of the GitHub
# repository. To test the site locally before deploying run `jekyll --server`
# in the website/ directory.
set -ex
REPO="git@github.com:square/dagger.git"
GROUP_ID="com.squareup.dagger"
ARTIFACT_ID="dagger"
DIR=temp-dagger-clone
... | goinstant/dagger | deploy_website.sh | Shell | apache-2.0 | 1,106 |
#!/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... | pedro-r-marques/kubernetes | cluster/ubuntu/config-default.sh | Shell | apache-2.0 | 3,252 |
#!/bin/bash
# Licensed to Cloudera, Inc. under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. Cloudera, Inc. licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use ... | rahul67/hue | tools/jenkins/jenkins-prod-tarball.sh | Shell | apache-2.0 | 1,725 |
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0
# Copyright(c) 2020 Intel Corporation, Weqaar Janjua <weqaar.a.janjua@intel.com>
# AF_XDP selftests based on veth
#
# End-to-end AF_XDP over Veth test
#
# Topology:
# ---------
# -----------
# _ | Process | _
# / ----------- \
... | GuillaumeSeren/linux | tools/testing/selftests/bpf/test_xsk.sh | Shell | gpl-2.0 | 5,832 |
apt-get update
apt-get -y upgrade
apt-get -y install linux-headers-$(uname -r)
sed -i -e '/Defaults\s\+env_reset/a Defaults\texempt_group=sudo' /etc/sudoers
sed -i -e 's/%sudo ALL=(ALL:ALL) ALL/%sudo ALL=NOPASSWD:ALL/g' /etc/sudoers
echo "UseDNS no" >> /etc/ssh/sshd_config
| Section9Labs/Cartero.packer | ubuntu/scripts/base.sh | Shell | lgpl-3.0 | 278 |
#!/usr/bin/env bash
# Copyright 2009 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# Generate Go code listing errors and other #defined constant
# values (ENAMETOOLONG etc.), by asking the preprocessor
# about the definitions.... | fagongzi/netproxy | vendor/golang.org/x/sys/unix/mkerrors.sh | Shell | apache-2.0 | 14,259 |
#!/usr/bin/env bash
echo 'begin deploy'
# if hidden files are added, add capture them with .??*
cd .tmp && tar -czvf ../dist.tar.gz * && cd ..
node scripts/deploy | thunder033/pulsar-api | scripts/deploy.sh | Shell | isc | 162 |
#!/bin/bash
# This script dumps the current site
# Can be called with the following arguments:
# 1. Type: dump/backup - is this a dump for sync, or a backup
# 2. Environment - if this is called on a server we might need to add the environment name, as specific paths etc. might
# need to be taken into account there - us... | titledk/ttools-sitesync-core | lib/dump-current-site.sh | Shell | mit | 3,354 |
export PATH=".:bin:/usr/local/bin:/usr/local/sbin:$ZSH/bin:$HOME/Dropbox/tools:$PATH"
export MANPATH="/usr/local/man:/usr/local/mysql/man:/usr/local/git/man:$MANPATH"
| antonsutton/dotfiles | system/path.zsh | Shell | mit | 168 |
#Ce script n'est pas vraiment un script d'install mais son execution devrait suffire
#Attention il efface tout le rep webapps
#on a pas réussit a configurer comme on voulais le elasticsearch en passant par /etc/init.d/elasticsearch donc on le fait à la main
#le problème c'est que plusieur instance peuvent etre créer si... | DDeis/Windmeal | run.sh | Shell | mit | 1,125 |
#!/bin/bash
read -p 'Enter 1-2 for the case of regular-unregular docs in Input/' prof
read -p 'Output name (csv) ' name
for file in `ls -a Input/*.xlsx`
do
echo "$file" | cut -d'.' -f1 | cut -d'/' -f2
echo -e "\n\n\t==>\033[31m $file \033[0m\n"
python profile_excel.py -t -u 10000 -s 0 $file > `echo "$fil... | SimoRihani/DataProfiling | script.sh | Shell | mit | 1,114 |
#!/bin/bash
#
# Description : VSCode
# Author : Jose Cerrejon Gonzalez (ulysess@gmail_dot._com)
# Version : 1.2.0 (28/Feb/21)
# Compatible : Raspberry Pi 4 (tested)
# Help : https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo
#
. ../helper.sh || . ./scripts/helper.sh || . ./helper.sh || wget -q 'https... | jmcerrejon/PiKISS | scripts/devs/vscode.sh | Shell | mit | 6,502 |
# commented are part of the API but not yet implemented
# export SPACE_LOG_ENABLED=
# export SPACE_WORKQUEUE_MONGO_URL=
# export SPACE_WORKQUEUE_MONGO_OPLOG_URL=
# export SPACE_WORKQUEUE_COLLECTION_NAME=
# export SPACE_ES_LOG_ENABLED=
export SPACE_ES_COMMITS_MONGO_URL=
export SPACE_ES_COMMITS_MONGO_OPLOG_URL=
export SP... | meteor-space/donations | environment.example.sh | Shell | mit | 658 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-1463-2
#
# Security announcement date: 2012-06-15 00:00:00 UTC
# Script generation date: 2017-01-01 21:02:39 UTC
#
# Operating System: Ubuntu 12.04 LTS
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - unity-2d-panel:5.12.0-0ubuntu1.1
#
#... | Cyberwatch/cbw-security-fixes | Ubuntu_12.04_LTS/x86_64/2012/USN-1463-2.sh | Shell | mit | 623 |
#!/usr/bin/env bash
cd $(dirname $(readlink -f $0))
source ../../utils/libdeploy.bash
VIM_SPEEDDATING_CUSTOM_PATH="${HOME}/.vim/plugged/vim-speeddating/after/plugin"
mkdir -p ${VIM_SPEEDDATING_CUSTOM_PATH}
mkdir -p ${HOME}/.vim/undodir
link_package \
./config/speeddating.vim ${VIM_SPEEDDATING_CUSTOM_PATH}/speeddat... | tiborsimon/dotfiles | configs/vim/04_deploy_remaining_config.bash | Shell | mit | 328 |
#!/bin/bash
IP="168.126.63.1"
for i in $IP; do
echo "word: $i"
done
IFS="."
for i in $IP; do
echo "word: $i"
done
| honux77/practice | bash/naveru/ifs_test.sh | Shell | mit | 120 |
#!/bin/bash -xe
date "+%Y-%m-%d %H:%M:%S"
apt-get update
apt-get -y --force-yes install software-properties-common jq curl
add-apt-repository --yes ppa:juju/stable
apt-get -y --force-yes update
apt-get -y --force-yes install juju-core sudo lxc git-core aufs-tools mysql-client
useradd -G sudo -s /bin/bash -m -d /home/... | ealekseev/packer-charms | scripts/lamp.sh | Shell | mit | 3,856 |
#!/bin/bash
python RunSimulation.py --Geo 1.0 --sim_num 60
| xji3/IGCCodonSimulation | ShFiles/YDR418W_YEL054C_IGCgeo_1.0_sim_60.sh | Shell | mit | 59 |
#!/usr/bin/env sh
ProjectDir="../../../../../"
cd $ProjectDir
export LD_LIBRARY_PATH=../tool/cuddn/v2/lib/:$LD_LIBRARY_PATH
CaffeRootDir="caffe/"
# build/tools/
Tools="build/tools/"
Tools=$CaffeRootDir$Tools
# models/Pose/FLIC/cp.pt.d302/lecun-8x-2b-sd5_5-tmarks_output_dependent-with_input/
ProtosDir="models/Pose/"
S... | zimenglan-sysu-512/pose_action_caffe | models/Pose/FLIC/cp.pt.d302/lecun-8x-2b-sd5_5-tmarks_output_dependent-with_input/s2_train.sh | Shell | mit | 2,184 |
#!/usr/bin/env bash
# You can optionally do a full delete and recreate of the products
# - e.g. to completely re-do category mapping
# - e.g. because in certain circumstances it is faster than a sync and requires less RAM on your local machine.
# first unpublish (you do need this step, otherwise the delete will fail... | nkuehn/commercetools-demo-site-setup | import-csv.sh | Shell | mit | 1,157 |
fileId=$(curl -sb -H -u "$SAUCELABS_USERNAME:$SAUCELABS_ACCESS_KEY" --location \
--request POST 'https://api.us-west-1.saucelabs.com/v1/storage/upload' \
--form 'payload=@"../build/ExampleSwift.ipa"' \
--form 'name="ExampleSwift.ipa"' | json item.id)
envman add --key SAUCELABS_FILE_ID_UPLOADED --value $fileId
| mercadopago/px-ios | .fastlane/scripts/saucelabs.sh | Shell | mit | 312 |
#!/bin/bash
set -x # echo on
# IntelliJ IDEA is a Java integrated development environment (IDE) for developing computer software.
# It is developed by JetBrains (formerly known as IntelliJ), and is available as an Apache 2 Licensed community edition, and in a proprietary commercial edition.
# Both can be used for comm... | gusenov/auto-soft-install | install/ideaIC.sh | Shell | mit | 2,025 |
#!/bin/bash
cd ..
nohup ./script/rundissect.sh --model alexnet_imagenet_full_conv_768 --layers "conv1 conv2 conv3 conv4 conv5" --dataset dataset/broden1_larger/ --workdir dissection_test --resolution 384 --force pid --probebatch 16 &
| bonyuta0204/NetDissec | research/alexnet_imagenet_full_conv_768_1028.sh | Shell | mit | 234 |
. functions.sh
# Install Cask
# brew tap caskroom/cask
# brew tap caskroom/versions
# brew tap caskroom/fonts
export HOMEBREW_CASK_OPTS="--appdir=/Applications"
# Core
brew cask install vlc
brew cask install google-chrome
brew cask install google-chrome-canary
brew cask install firefox
brew cask install firefoxnightl... | publicarray/dotfiles | setup/Caskfile-old.sh | Shell | mit | 2,468 |
#!/bin/bash
# Configures Git global configuration settings...
function git-setup {
local defaultUser="kbeckman"
local defaultEmail="kbeckman.c4sc@gmail.com"
git config --global user.name "${1:-$defaultUser}"
git config --global user.email "${2:-$defaultEmail}"
if [[ $(host-os) == "mac" ]]; th... | kbeckman/Scripts-Settings | Bash/FuncLib/functions-git.sh | Shell | mit | 1,236 |
#!/bin/bash
mkdir -p ~/.ssh
cat ssh/config* > ~/.ssh/config
cat shell/.gitconfig > ~/.gitconfig
cat shell/.gitignore_global > ~/.gitignore_global
cat osx/.profile shell/aliases > ~/.profile
| pgodel/dotfiles | install.sh | Shell | mit | 193 |
function little_dotty {
DOTTY_PWD_BASENAME=`basename $PWD`
if [[ $ARGC -eq 0 ]]; then
echo "USAGE: $0 FILE";
else
if [[ $DOTTY_PWD_BASENAME != "dotfiles" ]]; then
echo "you are not in ~/dotfiles, im scared...";
else
if [ -h ~/.$1 ]; then
echo ... | talvdav/dotfiles | myzshlib/little_dotty.zsh | Shell | mit | 742 |
#!/bin/sh
#
cd /app
#update packages
npm install
#run app
#pm2 start bin/www --watch --name app --log /log/access.log --error /log/error.log --output /log/output.log --no-daemon
forever -o /log/out.log -e /log/err.log bin/www | mosluce/dockerfiles | forever/run.sh | Shell | mit | 228 |
python -m markdown \
-x markdown.extensions.toc \
-x markdown.extensions.tables \
-x markdown.extensions.def_list \
$1 | lynx -stdin
| jmcguire/adventure-boilerplate | bin/test_md_in_lynx.sh | Shell | mit | 162 |
for nodes in $(ironic node-list | tail -n +4 | head -n -1 | awk -F "| " '{print $2}');
do ironic node-show $nodes;
done
| ibravo/tripleo | files/dothis.sh | Shell | mit | 122 |
#--------------------------------------------------------------------[ COMMAND ]
function clv-scm () {
cmd=$1
shift
case $cmd in
"type")
clv-scm-type $@
;;
"update")
clv-scm-update $@
;;
*)
echo "Usage: clv scm (type|upda... | cleversoap/clv | lib/clv-scm.zsh | Shell | mit | 2,092 |
#!/bin/sh
# Go to the right directory
cd /opt/openex-player/target
# Launch the worker
java -jar player-2.0.0.jar
| Luatix/OpenEx | openex-player/entrypoint.sh | Shell | mit | 116 |
#!/bin/sh
set -e
alias javac='~/.sdkman/candidates/java/13.0.1-open/bin/javac'
alias jlink='~/.sdkman/candidates/java/13.0.1-open/bin/jlink'
javac -version | grep 'javac 13'
jlink --version | grep 13
OUT=myjre
rm -rf $OUT
javac --module-source-path src \
--module-version 0.1 \
-d out -m hello.modules
jlink ... | zxh0/jvm.go | test/hw_module/test.sh | Shell | mit | 440 |
#!/bin/bash
set -euxo pipefail
IFS=$'\n\t'
# Set up homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew analytics off
# Utilities
# shellcheck disable=SC2006,SC2046
brew install \
bash-completion `: autocompletion for bash terminal` \
git ... | albertyw/dotfiles | scripts/install_macos.sh | Shell | mit | 1,248 |
#!/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... | HParis/PSNetworkUtils | Example/Pods/Target Support Files/Pods-PSNetworkUtils_Example/Pods-PSNetworkUtils_Example-frameworks.sh | Shell | mit | 3,731 |
script_dir=$(dirname "$(readlink -f "$0")")
export KB_DEPLOYMENT_CONFIG=$script_dir/../deploy.cfg
WD=/kb/module/work
if [ -f $WD/token ]; then
cat $WD/token | xargs sh $script_dir/../bin/run_integrate_probable_annotation_async_job.sh $WD/input.json $WD/output.json
else
echo "File $WD/token doesn't exist, aborti... | janakagithub/IntegrateMissingAnnotation | scripts/run_async.sh | Shell | mit | 339 |
#!/bin/bash
SENDGRID_API_KEY=""
EMAIL_TO="$1"
FROM_EMAIL="root@$HOSTNAME"
FROM_NAME="$HOSTNAME"
SUBJECT="$2"
read bodyHTML
maildata='{"personalizations": [{"to": [{"email": "'${EMAIL_TO}'"}]}],"from": {"email": "'${FROM_EMAIL}'",
"name": "'${FROM_NAME}'"},"subject": "'${SUBJECT}'","content": [{"type": "text/html... | countable-web/satchel | bin/sg.bash | Shell | mit | 548 |
#!/bin/bash -ev
#
# Installation Script
# Written by: Tommy Lincoln <pajamapants3000@gmail.com>
# Github: https://github.com/pajamapants3000
# Legal: See LICENSE in parent directory
#
#
# Dependencies
#**************
# Begin Required
#xml__simple-2.20
# End Required
# Begin Recommended
# End Recommended
# Begin Optiona... | pajamapants3000/BLFS_scripts_etc | scripts/icon_naming_utils-0.8.90.sh | Shell | mit | 1,234 |
#!/usr/bin/env bash
#
# cli-test: Tests for god
#
# (C) 2013 Unitech.io Inc.
# MIT LICENSE
#
# Yes, we have tests in bash. How mad science is that?
node="`type -P node`"
nodeVersion="`$node -v`"
pm2="`type -P node` `pwd`/bin/pm2"
script="echo"
file_path="test/fixtures"
function fail {
echo -e "######## \033[31... | 1stvamp/pm2 | test/cli.sh | Shell | mit | 2,829 |
#!/usr/bin/env bash
# Base16 Chalk - Gnome Terminal color scheme install script
# Chris Kempson (http://chriskempson.com)
[[ -z "$PROFILE_NAME" ]] && PROFILE_NAME="Base 16 Chalk 256"
[[ -z "$PROFILE_SLUG" ]] && PROFILE_SLUG="base-16-chalk-256"
[[ -z "$DCONF" ]] && DCONF=dconf
[[ -z "$UUIDGEN" ]] && UUIDGEN=uuidgen
ds... | dcelasun/dotfiles | config/base16-gnome-terminal/color-scripts/base16-chalk-256.sh | Shell | mit | 4,159 |
#!/bin/bash
mysql -u root --password="root_password" -e "drop database db;"
mysql -u root --password="root_password" -e "create database db;"
echo "no" | python /var/www/smartcontrol/manage.py syncdb
echo "import scripts.init_db" | python /var/www/smartcontrol/manage.py shell
echo "\n"
| miccrun/smartcontrol | scripts/reset.sh | Shell | mit | 288 |
#!/bin/bash
#PBS -q workq
#PBS -l nodes=1:ppn=20
#PBS -l walltime=12:00:00
export OMP_NUM_THREADS=1
INPUT=$A
OUTDIR=$B
MATDIR=/home/pmotter/work/UF_Collection_Matrix-Market
EXEDIR=/home/pmotter/work/trilinos-prediction/tpetra_solvers
echo $INPUT
echo $OUTDIR
echo $MATDIR
echo $EXEDIR
mkdir -p $OUTDIR
OLDIFS=$IFS
I... | patemotter/trilinos-prediction | tpetra_solvers/batch_scripts/supermic/supermic_np12.sh | Shell | mit | 804 |
#! /bin/sh
BASEDIR=`dirname $0`
BASEDIR=`readlink -f $BASEDIR`
cd $BASEDIR
ERL_LIBS=$BASEDIR:$BASEDIR/deps
export ERL_LIBS
SNAME=adventures@localhost
if [ "$1" = "shell" ]; then
erl -remsh $SNAME -sname rem
else
exec erl +K true -noinput -noshell \
-sasl errlog_type error \
-sname $SNAME \
... | joekinley/adventures-in-erlang | run.sh | Shell | mit | 348 |
#!/bin/bash
declare -r GITHUB_REPOSITORY="makabde/dotfiles"
declare -r DOTFILES_ORIGIN="git@github.com:$GITHUB_REPOSITORY.git"
declare -r DOTFILES_TARBALL_URL="https://github.com/$GITHUB_REPOSITORY/tarball/master"
declare -r DOTFILES_UTILS_URL="https://raw.githubusercontent.com/$GITHUB_REPOSITORY/master/src/os/utils.... | makabde/dotfiles | src/os/setup.sh | Shell | mit | 7,381 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DLA-394-1
#
# Security announcement date: 2016-01-18 00:00:00 UTC
# Script generation date: 2017-01-01 21:09:06 UTC
#
# Operating System: Debian 6 (Squeeze)
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - passenger:2.2.11debian-2+deb6u1
#
#... | Cyberwatch/cbw-security-fixes | Debian_6_(Squeeze)/x86_64/2016/DLA-394-1.sh | Shell | mit | 641 |
#!/bin/bash
#
# This script configures PostgreSQL, generates passwords,
# and stores the generated database info into
# $REPO_DIR/server/config/settings.py
## Load configuration
# find the scripts directory (note the /..)
DIR="$( builtin cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )"
source $DIR/load_config.sh
cd... | seanbell/opensurfaces | scripts/install/install_postgres.sh | Shell | mit | 6,517 |
#!/bin/bash
# ============================================================================== #
# MIT License #
# #
# Copyright (c) 2017 Donato Rimenti ... | aurasphere/mongodb-university-classes | M102 - MongoDB for DBAs/Chapter 5 - Replication Part 2/Homework 5.1/Homework 5.1 Solution.sh | Shell | mit | 3,095 |
#!/bin/bash
# echo First convert FASTQ files to a fake SAM format:
$RQS/fastq2fsam.sh $1
output=$2/`basename $1`.fsam
mv $1.fsam $output
# echo Generate our dictionary with read multiplicity r=2:
#../generate_dict 2 dict.db $1.fsam
$RQS/generate_dict 2 $2/dict.db $output
# echo In this example, we compress the corpus... | cmhill/q-compression | src/run_rqs.sh | Shell | mit | 1,596 |
#!/usr/bin/env sh
~/documents/caffe/build/tools/caffe train \
--solver=./solver_fine4.prototxt \
--weights=./models/caffenet_train_fine2_iter_10000.caffemodel \
--gpu 0
| JasonTam/ndsb2015 | fine_tune.sh | Shell | mit | 181 |
#!/bin/bash
grep -e 'Temperature' log |cut -d '=' -f 2 |nl >tlog.dat
grep -e '^Density' log |cut -d '=' -f 2 |nl >rlog.dat
grep -e '^Velocity' log |cut -d '=' -f 2 |nl >ulog.dat
gnuplot <<- EOF
set xlabel "t"
set ylabel "log(Error)"
set logscale y
#set format y "%s*10^{%S}"
set format y "%.2e"
... | zhulianhua/dugksFoam | src/scripts/plotLog.sh | Shell | mit | 580 |
source $HOME/.dotfiles/common/functions.sh
# ln for Sublime
if [ -f "/usr/local/bin/subl" ]; then
msg_checking "ln for Sublime"
else
ln -s "/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/subl
fi
| andrevvalle/dotfiles | sublime/global.sh | Shell | mit | 237 |
prepare_sailor() {
echo "node ./node_modules/elasticio-sailor-nodejs/run.js" > sail.sh
echo "node ./node_modules/elasticio-sailor-nodejs/runService.js \${1} \${2} \${3}" > serve.sh
}
update_component_json() {
comp_file="component.json"
sailor_ver=`read_json "$build_dir/node_modules/elasticio-sailor-nodejs/pack... | elasticio/elasticio-buildpack-nodejs | lib/elasticio.sh | Shell | mit | 1,393 |
# Warning: make sure iphas-dr2-arxiv.bbl exists and is an up-to-date bbl file
tar -cvf arxiv.tar iphas-dr2-arxiv.tex iphas-dr2-arxiv.bbl mn2e.bst mn2e.cls aas_macros.sty tables/columns.tex figures/footprint/footprint_small.png figures/depth/depth_r.pdf figures/depth/depth_i.pdf figures/depth/depth_h.pdf figures/seeing/... | barentsen/iphas-dr2 | paper/tar-arxiv.sh | Shell | mit | 1,091 |
sudo apt-get install libcurl3-dev
| Anton04/OpenEnergyPlayground | nodered/packets.sh | Shell | mit | 34 |
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/wvdial/doinst.sh | Shell | mit | 445 |
#!/bin/sh
# This hook compiles a style.scss file after each BufWritePost event on
# files ending in "scss".
sass style.scss style.css
| ahw/vim-hooks | examples/scss.bufwritepost.vimhook.recompile-sass.sh | Shell | mit | 136 |
#!/bin/bash
# Petit script pour changer les sources pour apt-get, cela permet d'aller beaucoup plus vite que les serveurs USA où il y a trop de monde :-(
# zf191002.1023
# source:
echo -e "
Ne fonctionne pas pour l'instant ! zf191002.1023
"
exit
#sed -i -e "s/http:\/\/archive.ubuntu.com/http:\/\/mirror.switch.ch\/f... | zuzu59/deploy-proxmox | change_sources_depots.sh | Shell | mit | 460 |
# Get script's dir
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
CHOICES=$(dialog --stdout --checklist 'Select what you want to setup' \
0 0 4 linux 'Prepares the machine to export 32 and 64 bits linux templates' on \
android 'Prepares the machine to export android templates' on \
... | brunosxs/godotbox | scripts/main-menu.sh | Shell | mit | 791 |
#!/bin/bash
MXE_INCLUDE_PATH=/mnt/mxe/usr/i686-w64-mingw32.static/include
MXE_LIB_PATH=/mnt/mxe/usr/i686-w64-mingw32.static/lib
i686-w64-mingw32.static-qmake-qt5 \
BOOST_LIB_SUFFIX=-mt \
BOOST_THREAD_LIB_SUFFIX=_win32-mt \
BOOST_INCLUDE_PATH=$MXE_INCLUDE_PATH/boost \
BOOST_LIB_PATH=$MXE_LIB_PATH \
OPENSSL_INCLUDE... | anonfgc/GUY | compile.sh | Shell | mit | 643 |
#!/bin/bash
find ~/.emacs.d/ -iname '*.el' -print0 | xargs -I{} -0 emacs -batch -f batch-byte-compile {}
| morgen-peschke/bash-config | bin/compile-emacs-libraries.sh | Shell | mit | 105 |
#!/usr/bin/env bash
# wget -c http://chromedriver.storage.googleapis.com/2.24/chromedriver_linux64.zip
# sudo ln -s /home/vagrant/node_modules node_modules
# Run SONARQUBE
# sudo docker run -d --name sonarqube -p 9000:9000 -p 9092:9092 sonarqube
# # docker run -d -p 9000:9000 -p 9092:9092 sonarqube
# # ... | OElabed/ice-microservices | vagrant/provision/setup.sh | Shell | mit | 2,079 |
#!/bin/bash -xe
#
# First-time init for dhcpd
# Remove any stale lock file
rm -f /run/dhcpd.pid
# Create the leases file
touch /var/lib/dhcp/dhcpd.leases
| zultron/docker-provisioning | dhcpd/init.sh | Shell | mit | 156 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for CESA-2010:0061
#
# Security announcement date: 2010-01-22 14:11:11 UTC
# Script generation date: 2017-01-01 21:10:04 UTC
#
# Operating System: CentOS 5
# Architecture: i386
#
# Vulnerable packages fix on version:
# - gzip.x86_64:1.3.3-18.el4_8.1
# - gzip.i3... | Cyberwatch/cbw-security-fixes | CentOS_5/i386/2010/CESA-2010:0061.sh | Shell | mit | 699 |
BASEDIR=$(dirname $0)
if [ ! -d ~/.oh-my-zsh ];
then
wget --no-check-certificate http://install.ohmyz.sh -O - | sh
fi
if [ -f ~/.zshrc ];
then
mv ~/.zshrc ~/.zshrc.bak
fi
ln -s ${BASEDIR}/.zshrc ~/.zshrc
if [ -f ~/.gitconfig ];
then
mv ~/.gitconfig ~/.gitconfig.bak
fi
ln -s ${BASEDIR}/.gitconfig ~/.git... | mitchellolsthoorn/dotfiles | setup.sh | Shell | mit | 328 |
#!/bin/bash
. env.conf
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PACKAGE_MANAGER="apt-get"
do_install() {
printf "Installing... "
crontab crontab
sh -c "$PACKAGE_MANAGER -y update"
sh -c "$PACKAGE_MANAGER -y install git"
sh -c "$PACKAGE_MANAGER -y install make"
if [ -n "$(pytho... | kkleidal/PoshServerTemplate | manage.sh | Shell | mit | 2,835 |
#!/usr/bin/env bash
#/srv/scripts/create-vhost-laravel.sh "centbox.app" "/var/www/default"
sudo mkdir -p /etc/nginx/sites_enabled 2>/dev/null
sudo mkdir -p /etc/nginx/ssl 2>/dev/null
PATH_SSL="/etc/nginx/ssl"
PATH_KEY="${PATH_SSL}/${1}.key"
PATH_CSR="${PATH_SSL}/${1}.csr"
PATH_CRT="${PATH_SSL}/${1}.crt"
if [ ! -f $PA... | danydavila/CentBox | scripts/create-vhost-codeigniter.sh | Shell | mit | 1,274 |
#!/bin/bash
echo "Installing dotfiles"
source install/link.sh
if [ "$(uname)" == "Darwin" ]; then
echo "Running on OSX"
echo "Brewing all the things"
source install/install_tools.sh
echo "Updating OSX settings"
source install/osx.sh
echo "Installing node (from nvm)"
source install/nvm.s... | hacker1db/Dotfiles | install.sh | Shell | mit | 1,105 |
#!/usr/bin/env node
/*global require, console, process*/
// Requires
var optparse = require('optparse'),
RepoDiffReporter = require('./diffReporter').RepoDiffReporter;
// shell options
var switches = [
['-h', '--help', "Shows this help section."],
['--lk DIR', "Root directory of the Lively Kernel git... | LivelyKernel/livelykernel-scripts | scripts/ww-diff/runDiff.sh | Shell | mit | 1,058 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_CONF=Max32
CND_DISTDIR=dist
TMPDIR=build/${CND_CONF}/${IMAGE_TYPE}/tmp-packaging
TMPDIRNAME=tmp-packaging
OUTPUT_PATH=dist/${CND_CONF}/${IMAGE_TYPE}/Strip2.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
OUTPUT_BASENAME=Strip2.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
PACK... | MattAtHazmat/PIC32LEDStrip | PIC32LEDStrip2/Strip2/firmware/Strip2.X/nbproject/Package-Max32.bash | Shell | cc0-1.0 | 1,361 |
#!/bin/bash
. $RADIVSCRIPTS/funcs/functions_radivity.sh
. $RADIVSCRIPTS/funcs/functions_mod.sh
. $RADIVSCRIPTS/funcs/functions_irrad.sh
. $RADIVSCRIPTS/funcs/progbar.sh
runtime_initial=$(date +"%s")
expert_mode=false
path_to_module=$PWD"/modules/irrad"
root_path=$(echo $PWD)
logfile=$1
fullusername=$2
if [ ! -z $3 ]... | wolfris/radivity | radivity/scripts/irr.sh | Shell | gpl-2.0 | 1,661 |
#!/bin/sh
plasmapkg2 --type kwinscript -i .
mkdir -p ~/.local/share/kservices5
ln -sf ~/.local/share/kwin/scripts/quarter-tiling/metadata.desktop ~/.local/share/kservices5/kwin-script-quarter-tiling.desktop
| Jazqa/kwin-quarter-tiling | install.sh | Shell | gpl-2.0 | 208 |
#! /bin/sh -e
# tup - A file-based build system
#
# Copyright (C) 2011-2020 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... | ppannuto/tup | test/t4057-environ3.sh | Shell | gpl-2.0 | 1,702 |
etgz(){
echo "not implemented"
}
dtgz(){
local directory=${2:/tmp}
openssl enc -d -aes-256-cbc -in $1 |tar zvx -C $2
}
| agustim/myscripts | endecode.sh | Shell | gpl-2.0 | 126 |
#!/bin/sh
echo "$1"
/usr/bin/thunderbird -compose "$1" > /dev/null 2>&1 &
| gchiesa/sp2html-server | bin/mail.sh | Shell | gpl-2.0 | 76 |
#!/bin/sh
#
# Migrate records from ARMS 1B to 2A.
#
#
# Usage: arms1b-2a.sh
#
# Copyright (C) 2014, QCIF Ltd.
#----------------------------------------------------------------
# usage:
# arms1b-2a nodename
#
help()
{
cat << eof
Working directory has to be one level above stroage: e.g. /opt/redbox
Usage: $0 nodenam... | qcif/rdsi-arms | support/1B-2AMigration/arms1b-2a.sh | Shell | gpl-2.0 | 1,534 |
#!/bin/bash
# Colorize and add text parameters
red=$(tput setaf 1) # red
grn=$(tput setaf 2) # green
cya=$(tput setaf 6) # cyan
txtbld=$(tput bold) # Bold
bldred=${txtbld}$(tput setaf 1) # red
bldgrn=${txtbld}$(tput setaf 2) # green
bldblu=${txtbld}$(tput setaf 4) #... | talnoah/m7-gpe | build.sh | Shell | gpl-2.0 | 3,043 |
#!/bin/tcsh -xef
3dMEMA -prefix memJudge_MDD-CTL_tlrcMSK \
-jobs 4 \
-groups CTL MDD\
-mask tlrcTemplate_mask+tlrc \
-set judge_CTL \
PARC_sub_2699 rbuck.recallGAM.PARC_sub_2699+tlrc'[17]' rbuck.recallGAM.PARC_sub_2699+tlrc'[18]' \
PARC_sub_2754 rbuck.recallGAM.PARC_sub_2754+tlrc'[17]' rb... | sorensje/dissertation | 3dmem_test_CTL-MDD_memJudge.sh | Shell | gpl-2.0 | 4,204 |
#!/usr/bin/bash
# build_tempsys.sh
# -------------------------------------------------------
# R3VRSL: Behavioral.Code.Memory
# build: 1.0
# Github: https://github.com/r3vrsl
# ---------------------------------------------------
# R3VRSL: 2-12-2016
# Copyright (c) 2016: R3VRSL Development
# URL: https://r3vrsl.com
# --... | InterGenOS/r3vrsl_dev | r3vrsl_core_buildscripts/build_tempsys.sh | Shell | gpl-2.0 | 9,918 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_CONF=default
CND_DISTDIR=dist
TMPDIR=build/${CND_CONF}/${IMAGE_TYPE}/tmp-packaging
TMPDIRNAME=tmp-packaging
OUTPUT_PATH=dist/${CND_CONF}/${IMAGE_TYPE}/LedBlinking.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
OUTPUT_BASENAME=LedBlinking.X.${IMAGE_TYPE}.${OUTPUT_... | nemesyslab/ee1001 | labs/MPLAB/LedBlinking.X/nbproject/Package-default.bash | Shell | gpl-2.0 | 1,393 |
sh startjava.sh && sh startserver.sh
| tcslab/Syndesi | start.sh | Shell | gpl-2.0 | 37 |
#!/bin/sh
#
# Vivado(TM)
# runme.sh: a Vivado-generated Runs Script for UNIX
# Copyright 1986-2015 Xilinx, Inc. All Rights Reserved.
#
if [ -z "$PATH" ]; then
PATH=/afs/ece/support/xilinx/xilinx.release/Vivado/ids_lite/ISE/bin/lin64:/afs/ece/support/xilinx/xilinx.release/Vivado/bin
else
PATH=/afs/ece/support/xi... | 545/Atari7800 | lab3sound/lab3sound.runs/impl_1/runme.sh | Shell | gpl-2.0 | 1,080 |
#!/bin/sh
VERSION=`date "+%Y.%m.%d"`
#VERSION=2010.05
# This is the same location as DEPLOYDIR in macosx-build-dependencies.sh
export MACOSX_DEPLOY_DIR=$PWD/../libraries/install
`dirname $0`/release-common.sh -v $VERSION
if [[ $? != 0 ]]; then
exit 1
fi
echo "Sanity check of the app bundle..."
`dirname $0`/macosx... | theorbtwo/openscad-enhanced | scripts/publish-macosx.sh | Shell | gpl-2.0 | 567 |
#!/bin/bash
# Word List Manipulator (wlm)
# Version 0.9 last edit 13-05-2013 23:00
# Build: 0905
# Credits to ;
# ============
# Gitsnik, because he's awesome :)
# Pureh@te as used and learned a lot from his wordlist_tool script.
# Members at unix.com, have always received expert help there.
# http://cfajohnson.com/sh... | ausarbluhd/EternalLLC | scripts/wlm.sh | Shell | gpl-2.0 | 84,631 |
#!/bin/bash
#
# Script by Christoph Daniel Miksche
# License: GNU General Public License
#
# Contact:
# > http://christoph.miksche.org
# > Twitter: CMiksche
# > GitHub: CMiksche
#
# Default User
defaultuser=""
# Default User Password
defaultpass=""
# Name of your Website
website=""
# Database
# Options: mysql
database=... | CMiksche/DebianWebserverConfig | 01-config.sh | Shell | gpl-2.0 | 378 |
#!/bin/sh /etc/rc.common
STOP=01
if [ ! "$CONFIGLOADED" ]; then
if [ -r /etc/rc.d/config.sh ]; then
sync
. /etc/rc.d/config.sh 2>/dev/null
CONFIGLOADED="1"
fi
fi
stop ()
{
touch /tmp/upgrade_chk.txt
sync;
if [ "$CONFIG_IFX_MODEL_NAME" = "ARX382_GW_EL_ADSL" ] ; then
sleep 3;
fi
while : ; do
grep -q "... | kbridgers/VOLTE4GFAX | package/feeds/ltq_feeds_netcomp_cpe/ifx_config_common_features/files/etc/init.d/upgradesync.sh | Shell | gpl-2.0 | 669 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.