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 |
|---|---|---|---|---|---|
source ~/.dotfiles/aliases/network.sh
source ~/.dotfiles/aliases/youtube-dl.sh
source ~/.dotfiles/aliases/please.sh
source ~/.dotfiles/aliases/git.sh
# https://github.com/LukeSmithxyz/voidrice/blob/efa9fffae21abdcf207678655a446770082afd9a/.config/aliasrc#L17
alias ls="ls -hN --color=auto --group-directories-first"
ali... | gko/dotfiles | aliases.sh | Shell | mit | 1,513 |
#!/bin/bash
set -e
function gen_config() {
PATH_OFBIZ=/data/coclab-ofbiz
PATH_CONFIG=/data/config
##################### generate config #####################
# List configure files:
# 1. build.xml: config max memory for jvm ofbiz
# 2. entityengine.xml
# 3. url.properties -> use... | tranhuucuong91/docker-image-tmpl | docker-entrypoint.sh | Shell | mit | 1,554 |
#!/bin/bash
python -m coverage run -m unittest discover -p "*_test.py"
coveralls | groppe/mario | build/analyze_code_coverage.sh | Shell | mit | 80 |
#!/bin/bash -e
kernel=$(uname -s)
machine_name="exp-docker"
_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
_REV=$(git rev-parse --short HEAD)
init=1
reset=0
build=0
test=0
push=0
run=0
prebuild=0
open=0
open_environment="development"
exec=0
if [ "$EXP_OSX_DOCKER" == "true" ]; then
kernel=Linux
fi
if [ "$1"... | ExpressenAB/exp-containership | scripts/exp-containership.sh | Shell | mit | 5,924 |
main() {
# Use colors, but only if connected to a terminal, and that terminal
# supports them.
if which tput >/dev/null 2>&1; then
ncolors=$(tput colors)
fi
if [ -t 1 ] && [ -n "$ncolors" ] && [ "$ncolors" -ge 8 ]; then
RED="$(tput setaf 1)"
GREEN="$(tput setaf 2)"
YELLOW="$(tput setaf 3)"
... | ccock/cut | install.sh | Shell | mit | 1,533 |
export TORQUEBOX_HOME=/opt/torquebox/current
export JBOSS_HOME=$TORQUEBOX_HOME/jboss
export JRUBY_HOME=$TORQUEBOX_HOME/jruby
| plainprogrammer/puppet-torquebox | files/torquebox_vars.sh | Shell | mit | 125 |
# Set computer name
if [ $HOSTNAME ]; then
sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server NetBIOSName -string "$HOSTNAME"
sudo scutil --set ComputerName "$HOSTNAME"
sudo scutil --set HostName "$HOSTNAME"
sudo scutil --set LocalHostName "$HOSTNAME"
fi
| buo/dotfiles | osx/_36sharing.sh | Shell | mit | 294 |
# Create SSH filesystem
# Logs into the server, mounting its path unto yours (and syncing them)
sshfs -o defer_permissions user@hostname.com:/${PATH} ${MOUNT}
# To Undo the mount...
unmount ${MOUNT}
# -------------------------------------------------------------------
# SSH Keys
# generate private key fr... | Saevon/Recipes | shell/ssh.bash | Shell | mit | 1,371 |
#!/bin/bash
set -o nounset
set -o errexit
readonly Progname=$(basename "$0")
readonly Progdir=$(readlink -m $(dirname "$0"))
readonly Args="$@"
# Helpers for printing stuff
success () { printf "\e[32m$1\e[39m\n"; }
warning () { printf "\e[33m$1\e[39m\n"; }
error () { printf "\e[31m$1\e[39m\n"; }
main () {
if [ ... | Sgoettschkes/va | package.sh | Shell | mit | 757 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-2537-1
#
# Security announcement date: 2015-03-19 00:00:00 UTC
# Script generation date: 2017-01-01 21:04:22 UTC
#
# Operating System: Ubuntu 14.10
# Architecture: i686
#
# Vulnerable packages fix on version:
# - libssl1.0.0:1.0.1f-1ubuntu9.4
#
# Last ver... | Cyberwatch/cbw-security-fixes | Ubuntu_14.10/i686/2015/USN-2537-1.sh | Shell | mit | 748 |
curl 'http://fiddle.jshell.net/echo/html/' -H 'Origin: http://fiddle.jshell.net' -H 'Accept-Encoding: gzip, deflate' -H 'Accept-Language: en-US,en;q=0.8' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36' -H 'Content-Type: applicatio... | NickCarneiro/curlconverter | fixtures/curl_commands/post_with_urlencoded_data.sh | Shell | mit | 533 |
#!/bin/sh
brew install cairo
pip3 install tensorflow
pip3 install numpy
pip3 install svgpathtools
pip3 install rdp
pip3 install cairosvg
pip3 install svg.path
pip3 install scipy
| judithfan/sketch-rnn | pix_to_sketch/requirements_shell.sh | Shell | mit | 179 |
#!/bin/bash
# Takes page by name, downloads it to /tmp and opens in man
page=$1.tldr
page_path=https://github.com/JIghtuse/manpages-tldr/raw/master/pages/$page
pushd /tmp && wget $page_path && popd && man /tmp/$page
| JIghtuse/manpages-tldr | tools/thinpage.sh | Shell | mit | 218 |
#!/bin/bash -ev
#
# Installation Script
# Written by: Tommy Lincoln <pajamapants3000@gmail.com>
# Github: https://github.com/pajamapants3000
# Legal: See LICENSE in parent directory
#
#
export KDE_PREFIX=/opt/kde
as_root cp -v files/etc/profile.d/kde.sh /etc/profile.d/
as_root chown -v root:root /etc/profile.d/kde.sh
a... | pajamapants3000/BLFS_scripts_etc | scripts/kde_prep_opt.sh | Shell | mit | 822 |
#!/bin/bash
# Copyright (c) 2014-2016 Docker, Inc.
# Origin: https://github.com/docker-library/healthcheck/blob/master/mysql/docker-healthcheck
# Licence: MIT
set -eo pipefail
if [ "$MYSQL_RANDOM_ROOT_PASSWORD" ] && [ -z "$MYSQL_USER" ] && [ -z "$MYSQL_PASSWORD" ]; then
# there's no way we can guess what the ran... | viorelgheba/btrack-web | docker/db/docker-healthcheck.sh | Shell | mit | 858 |
#!/bin/sh
SCRIPT_DIR=`dirname $0`
node $SCRIPT_DIR/extract-attributes.js
node $SCRIPT_DIR/extract-elements.js
node $SCRIPT_DIR/generate-components.js $SCRIPT_DIR/data/elements.txt
node $SCRIPT_DIR/generate-index.js
| plotly/dash | components/dash-html-components/scripts/generate-all.sh | Shell | mit | 217 |
#!/usr/bin/env sh
# Terminate already running bar instances
killall -q polybar
# Wait until the processes have been shut down
while pgrep -x polybar >/dev/null; do sleep 1; done
# Launch bar1 and bar2
polybar -r Bar &
echo "Bars launched..."
| prajnak/dotfiles | config/polybar/launch.sh | Shell | mit | 246 |
#!/bin/bash
# Sonia Szeton
filename=$1
# Check command line arguments
if [ "$filename" = "" ]; then
echo "Usage: $0 filename"
exit -1
fi
# sorting the data alphabetically, finding the average score of each person and formatting the results
cat $filename | sort -k3,3 -k2,2 | awk '{OFS="";} {printf "%2d [%s] %s... | soniaszeton/Junior | SoftwareDev/HW1/GradesAwk.sh | Shell | mit | 356 |
#/bin/sh
# file: simulate_mti.sh
#
# (c) Copyright 2008 - 2011 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 ... | aj-michael/Digital-Systems | Lab4-Part1-40x7bit-RAM/ipcore_dir/Clock35MHz/simulation/timing/simulate_mti.sh | Shell | mit | 2,626 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DLA-685-2
#
# Security announcement date: 2016-12-29 00:00:00 UTC
# Script generation date: 2017-01-01 21:09:28 UTC
#
# Operating System: Debian 7 (Wheezy)
# Architecture: i386
#
# Vulnerable packages fix on version:
# - libxi:2:1.6.1-1+deb7u3
#
# Last versio... | Cyberwatch/cbw-security-fixes | Debian_7_(Wheezy)/i386/2016/DLA-685-2.sh | Shell | mit | 591 |
sudo apt-get update
sudo apt-get install oracle-java8-installer
sudo apt-get install libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5 lib32z1
# ADB Path
export PATH=$PATH:/home/<user>/Android/Sdk/platform-tools | creativcoder/pyutils | droid_bootstrap.sh | Shell | mit | 209 |
#!/bin/bash
# Set the path to the Handbrake watch folder as seen from the Unraid command line
WATCH="/mnt/user/Media/Handbrake_hotfolder/watch"
if [ -d "$WATCH" ] && [ -n "$(ls -A "/$WATCH")" ]; then
docker start HandBrake
logger "HandBrake started by User Scripts"
fi
| jorgenjanssonlee/Auto-convert-and-distribute-media-files | HandBrakeStart_unraid_user_scripts.sh | Shell | mit | 275 |
#!/bin/sh
srcdir="$1"
out="$2"
if [ -z "$srcdir" ]; then
echo "missing source directory" >&2
exit 1
fi
if [ -z "$out" ]; then
echo "missing destination file" >&2
exit 1
fi
last_commit="`cd "$srcdir" && git rev-parse --short --verify HEAD 2>/dev/null `"
if [ -n "$last_commit" ]; then
echo "$last_commit" > "$ou... | rclasen/srmio | getcommit.sh | Shell | mit | 326 |
#!/usr/bin/env bash
# -----------------------------------------------------------------------------
# Info:
# author: Miroslav Vidovic
# file: eclipseman.sh
# created: 26.04.2016.-20:12:12
# revision: 24.07.2017.
# version: 1.1
# ------------------------------------------------------------------... | miroslavvidovic/bash-scripts | eclipse-management/eclipse-management.sh | Shell | mit | 1,986 |
#!/bin/sh
echo "Inside before-install"
echo "Current running branch $TRAVIS_BRANCH"
## Here put a switch for ad hoc and app store distribution
## 1 = ad hoc, 2 = app store, 0 = emulator
PROVISIONING_TYPE="1"
if test "$PROVISIONING_TYPE" = '1'; then
PROFILE_NAME="tnswebformprofile2019"
PROVISIONING_PROFILE="3af42d6a... | fyhao/tns-webform-client | scripts/before-install.sh | Shell | mit | 1,827 |
# Copyright (c) 2016-present Arctic Ice Studio <development@arcticicestudio.com>
# Copyright (c) 2016-present Sven Greb <development@svengreb.de>
# Project: igloo
# Repository: https://github.com/arcticicestudio/igloo
# License: MIT
export ZDOTDIR="${ZDOTDIR:-${XDG_CONFIG_HOME:-$HOME/.config}}/zsh"
[[ -x $ZDOTD... | arcticicestudio/igloo | snowblocks/zsh/main.zsh | Shell | mit | 376 |
# !/bin/sh
#
set -euo pipefail
trap "echo 'error: Script failed: see failed command above'" ERR
. $(dirname "$0")/scripts/libs/utils.sh
use_red_green_echo 'Install Linux'
change_default_sh_to_bash(){
sudo ln -fs /bin/bash /bin/sh
}
install_dev_libs(){
sudo apt-get install \
libncurses5-dev libreadline6 librea... | Jackysonglanlan/devops | _install.linux.sh | Shell | mit | 2,631 |
#!/usr/bin/env bash
#
# A script to convert the local system to use my dotfiles my local dotfiles over
# the provided ones already on the system. This script will backup any of the
# existing dot files, before linking to the ones in this repository.
#
# This script must be able to operate cleanly on an already bootstr... | warricksothr/dotfiles | scripts/bootstrap.sh | Shell | mit | 5,291 |
#!/bin/bash
################################################################################
#
# This file is part of SplashSync Project.
#
# Copyright (C) Splash Sync <www.splashsync.com>
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warran... | SplashSync/Magento1 | ci/scripts/config_apache.sh | Shell | mit | 790 |
#!/bin/bash
# ./git-flow-create.sh
# Written by Wilson Mar (wilsonmar@gmail.com)
# This creates the conditions for testing Michael Haggerty's "git imerge",
# as described in https://wilsonmar.github.io/git-flow
# cd
# Before running this, copy this file to the folder where you want the test repo created,
# then chmod... | wilsonmar/git-utilities | git-flow-create.sh | Shell | mit | 1,857 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DLA-433-1
#
# Security announcement date: 2016-02-25 00:00:00 UTC
# Script generation date: 2017-01-01 21:09:08 UTC
#
# Operating System: Debian 6 (Squeeze)
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - xerces-c:3.1.1-1+deb6u2
#
# Last ve... | Cyberwatch/cbw-security-fixes | Debian_6_(Squeeze)/x86_64/2016/DLA-433-1.sh | Shell | mit | 617 |
#!/bin/bash --this-is-fake
| philoserf/macos-ansible-local | files/shell/secrets.d/empty.sh | Shell | mit | 27 |
#!/bin/bash
# This script will copy pages that exists in English but missing in foreign languages (e.g. Japanese)
# 'Missing' in this case means the pages are not translated yet, so we want to copy from English pages.
SOURCE_DIR=$1
DEST_DIR=$2
for file in $(diff -qr $SOURCE_DIR/ $DEST_DIR | grep "Only in $SOURCE_DIR" ... | circleci/circleci-docs | scripts/shim-translation.sh | Shell | mit | 528 |
export https_proxy=https://proxyout.lanl.gov:8080
export http_proxy=http://proxyout.lanl.gov:8080
eval $(ssh-agent -s)
ssh-add ~/.ssh/mysshkey
cd /github/fp
git pull
source /opt/Xilinx/Vivado/2016.2/settings64.sh
source /opt/Xilinx/SDK/2016.2/settings64.sh
make NAME=digitizer bit
make NAME=current_voltage bit
make NAME... | fbalakirev/red-pitaya-notes | scripts/upd_mk.sh | Shell | mit | 477 |
#!/bin/bash
elm make --output web/js/app.js src/Elm/App.elm
| bjorse/dtws | build-elm.sh | Shell | mit | 60 |
#!/bin/bash
# author : liuxu
# date : 2017-02-28
# replace strings under dir
DEBUG=false
ORIGIN_STR=
TARGET_STR=
TARGET_DIR=$(pwd)
#====================================
DEBUG() {
if $DEBUG; then
$@
fi
}
function Help() {
cat <<EOF
----------------------------------------------------------------... | liuxu0703/lx_bash_script | common_script/dir_string_replace.sh | Shell | mit | 2,596 |
#!/usr/bin/env bash
set -e
OLD_RUNNING_CONTAINER_ID=`docker ps | grep indoorcup-web | awk '{print $1}'`
if [ -z "$OLD_RUNNING_CONTAINER_ID" ];
then
OLD_RUNNING_CONTAINER_ID=`docker ps | grep 0.0.0.0:80 | awk '{print $1}'`
fi
if [ ! -z "$OLD_RUNNING_CONTAINER_ID" ];
then
echo "Stop container $OLD_RUNNING_CONTA... | leozilla/indoorcup-web | scripts/docker-redeploy.sh | Shell | mit | 748 |
#!/bin/bash
for i in *.go; do
go build -o ${i%.go} $i
done
| nsf/gothic | _examples/all.bash | Shell | mit | 61 |
#!/bin/sh -eux
#---------------------------------------------------------------------------------------------------
# Configure the AWS Command Line Interface (CLI) 2 by Amazon for the specified user.
#
# The AWS Command Line Interface (AWS CLI) 2 is an open source tool that enables you to interact
# with AWS services ... | ed-barberis/devops-2.0 | provisioners/scripts/common/config_aws_cli_2.sh | Shell | mit | 5,191 |
#!/bin/bash
cp /root/ftp.conf /etc/proftpd.conf
exec "$@"
| blacklabelops/proftp | ftpscripts/entrypoint.sh | Shell | mit | 60 |
#!/bin/sh
sudo apt-get update
sudo apt-get install -y apt-transport-https ca-certificates
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
echo "deb https://apt.dockerproject.org/repo ubuntu-xenial main" | sudo tee /etc/apt/sources.list.d/docker.l... | bikehawk/Ubuntu-Setup | docker.sh | Shell | mit | 571 |
#!/bin/sh
# before this, you should have homebridge installed an configured properly
# see homebridge/hb_install.sh
sudo npm install -g homebridge-mqtt
| funshine/rpidemo | mqtt_thermostat/install.sh | Shell | mit | 154 |
rm *.sdf
worklist=(`gsutil -m ls gs://pubchem/*.sdf`)
R CMD BATCH MakeNewDb.R
rm RunLog
touch RunLog
###############################
for i in "${worklist[@]}"
do
###############################
echo "copying $i to local" >> RunLog
gsutil -m cp $i .
echo "extracting datablockfield of $i and embedding" >> RunLo... | andrewdefries/PubChem2InChI | NewRun/GetMeInChIKeys.sh | Shell | mit | 540 |
#!/usr/bin/env sh
coq_makefile -f Make -o Makefile | clarus/coq-labelled-containers | configure.sh | Shell | mit | 51 |
#!/bin/bash
# Note: This can also be used to update Rstudio desktop (until they get a PPA!)
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Prerequisites
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
sudo apt-get -y install libclang-dev gdebi-core pandoc
# - - - - ... | brendan-R/dotfiles | os/install_rstudio_desktop.sh | Shell | mit | 928 |
#!/bin/sh
if docker run --rm coderdojo/boot2zen > boot2zen.iso
then
echo "created boot2zen.iso"
exit 0
else
echo "failed to create boot2zen.iso"
rm boot2zen.iso
exit 1
fi
| niccokunzmann/cp-docker-development | docker/vm/build/02_create_iso.sh | Shell | mit | 183 |
export PATH="$HOME/bin:$HOME/.rbenv/shims:/usr/local/bin:/usr/local/sbin:$HOME/.sfs:$ZSH/bin:$PATH"
export PATH=$HOME/.rbenv/bin:$PATH
export MANPATH="/usr/local/man:/usr/local/mysql/man:/usr/local/git/man:$MANPATH" | mbrandonw/dotfiles | system/path.zsh | Shell | mit | 216 |
#!/bin/bash
apt-get install postgresql-9.4
sudo -u postgres psql
\password postgres
-u
sudo -u postgres createdb -O postgres marketingTool
sudo -u postgres createdb -O postgres postgres
sudo -u postgres createdb -O postgres pim
| Starkad/linconfig | firstConfigScripts/installPostgres.sh | Shell | mit | 229 |
#!/bin/bash
LIBUSB_VERSION="c6a35c56016ea2ab2f19115d2ea1e85e0edae155"
# ^ tag v1.0.24
set -e
. $(dirname "$0")/build_tools_util.sh || (echo "Could not source build_tools_util.sh" && exit 1)
here=$(dirname $(realpath "$0" 2> /dev/null || grealpath "$0"))
CONTRIB="$here"
PROJECT_ROOT="$CONTRIB/.."
pkgname="libusb"
i... | spesmilo/electrum | contrib/make_libusb.sh | Shell | mit | 2,218 |
npm install
npm run transpile
echo "All done! Deleting container."
| Stankec/kappa | examples/api_gateway_proxy/start.sh | Shell | mit | 67 |
#!/bin/bash
prject_dir="$(cd $(dirname ${BASH_SOURCE:-$0}); pwd)/"
docker run --platform linux/amd64 -v $prject_dir:/opt/gruff --rm -it gruff bash
| topfunky/gruff | docker-launch.sh | Shell | mit | 148 |
#!/bin/bash
case $1 in
start)
cd $APP_DIR
# Launch your program as a detached process
bundle exec rake >> $WEBKIT_LOG 2>&1 &
;;
stop)
kill `cat $PIDFILE`
;;
*)
echo "usage: run_server.sh {start|stop}" ;;
esac
exit 0
| vintikzzz/capybara-webkit | server.sh | Shell | mit | 246 |
#!/bin/bash
if [ "$#" != 3 ];
then
echo "Usage: $0 INPUT_FILE OUTPUT_FOLDER RESULTS_FILE"
echo "==============================================================="
exit -1
fi
INPUT_FILE=$1;
OUTPUT_FOLDER=$2;
RESULTS_FILE=$3;
name=`basename $INPUT_FILE`;
fasta=`head -c 1 $INPUT_FILE |grep '>'`;... | dariogf/scbi_fqbin | test/read_tests/50-fq_time_x4.sh | Shell | mit | 492 |
#!/bin/sh
# start instances of the simplest process
values="('sample.process', '{\"check\":\"this 0\"}')"
for run in $(seq 1 100); do
values="${values},('parallel.process', '{\"check\":\"this ${run}\"}')"
done
time psql flow_check -c "SET search_path TO flow, public; \
INSERT INTO input (process, data) VALUES ${... | dgf/pgx-flow | perf.sh | Shell | mit | 331 |
#!/bin/bash
docker build -t tmp -f Dockerfile.build .
docker rm -f tmp
docker create --name tmp tmp
docker cp tmp:/src/vagrant-vcloud-0.4.7.1.gem .
docker build -t plossys/vagrant-vcloud:build -f Dockerfile .
| plossys/vagrant-vcloud | travis-build.sh | Shell | mit | 209 |
DISTNAME=ubuntu
RELVER=18.04
| vpsfreecz/build-vpsfree-templates | builders/ubuntu/config.sh | Shell | mit | 29 |
#!/bin/sh
# Copyright (c) 2012-2016 Codenvy, S.A., Red Hat, Inc
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
#
# Contributo... | gazarenkov/che-sketch | dockerfiles/launcher/launcher_cmds.sh | Shell | epl-1.0 | 7,766 |
#*******************************************************************************
# Debrief - the Open Source Maritime Analysis Application
# http://debrief.info
#
# (C) 2000-2020, Deep Blue C Technology Ltd
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the Eclipse ... | debrief/debrief | org.mwc.cmap.combined.feature/root_installs/sample_data/other_formats/sender.sh | Shell | epl-1.0 | 960 |
CLOVERAGE_VERSION='1.0.4-SNAPSHOT' lein2 cloverage -o cov --coveralls
curl -F 'json_file=@cov/coveralls.json' 'https://coveralls.io/api/v1/jobs'
| bfontaine/Minimaliterals | test/coveralls.sh | Shell | epl-1.0 | 145 |
#!/bin/sh
# This script does all the magic calls to automake/autoconf and
# friends that are needed to configure a cvs checkout.
#
# If you are compiling from a released tarball you don't need these
# tools and you shouldn't use this script. Just call ./configure
# directly.
PROJECT="centroidvorony"
TEST_TYPE=-d... | gerddie/cvremesh | autogen.sh | Shell | gpl-2.0 | 4,380 |
#! /bin/sh
# Copyright (C) 1996-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 ... | pylam/automake | t/txinfo-vtexi2.sh | Shell | gpl-2.0 | 1,185 |
#!/usr/bin/env bash
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
sudo echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list
sudo apt-get update
if ($(aptitude show mongodb-org > /dev/null 2>&1)) then
installed=$(... | zbitname/ubuntu-install-snippets | install/mongodb.sh | Shell | gpl-2.0 | 601 |
#!/bin/sh
#
# Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2000-2002 Internet Software Consortium.
#
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission n... | atmark-techno/atmark-dist | user/bind/bin/tests/system/dnssec/tests.sh | Shell | gpl-2.0 | 19,201 |
#!/bin/sh
do_deconfig() {
ifconfig $interface 0.0.0.0
ifconfig $interface up
}
do_bound() {
ifconfig $interface $ip netmask $subnet
}
case $1 in
deconfig) do_deconfig ;;
bound) do_bound ;;
esac | evo-cloud/stemcell | packages/initrd/udhcpc-script.sh | Shell | gpl-2.0 | 216 |
#!/bin/bash
# Copyright 2015-2016 Sarah Flora Juan
# Copyright 2016 Johns Hopkins University (Author: Yenda Trmal)
# Copyright 2016 Radboud University (Author: Emre Yilmaz)
# Apache 2.0
corpus=$1
set -e -o pipefail
if [ -z "$corpus" ] ; then
echo >&2 "The script $0 expects one parameter -- the location of the ... | michellemorales/OpenMM | kaldi/egs/fame/s5/local/fame_data_prep.sh | Shell | gpl-2.0 | 1,774 |
# this file will be included in
# /lib/wifi/mt{chipname}.sh
repair_wireless_uci() {
echo "repair_wireless_uci" >>/tmp/wifi.log
vifs=`uci show wireless | grep "=wifi-iface" | sed -n "s/=wifi-iface//gp"`
echo $vifs >>/tmp/wifi.log
ifn5g=0
ifn2g=0
for vif in $vifs; do
local netif net... | link4all/20170920openwrt | own_files/mt7620/files_tw7620/lib/wifi/ralink_common.sh | Shell | gpl-2.0 | 11,014 |
#!/bin/sh
test_description='Test the refresh command from a subdirectory'
. ./test-lib.sh
stg init
test_expect_success 'Refresh from a subdirectory' '
stg new p0 -m p0 &&
echo foo >> foo.txt &&
mkdir bar &&
echo bar >> bar/bar.txt &&
stg add foo.txt bar/bar.txt &&
cd bar &&
stg refresh &&
... | emacsmirror/stgit | t/t2300-refresh-subdir.sh | Shell | gpl-2.0 | 2,062 |
#!/bin/bash
../bin/rshell < precedence_tests.txt
| ajuanr/rshell | tests/precedence_test.sh | Shell | gpl-2.0 | 50 |
#!/bin/sh
echo "Extracting CD"
mkdir -v testdisc1
cd2track -t flac -D -d testdisc1
echo "Transcoding CD"
mkdir -v testdisc2
track2track -t wv testdisc1/*.flac -d testdisc2
echo "Getting info"
trackinfo testdisc2/*.wv
echo "Comparing CD to original"
trackcmp testdisc1 testdisc2
echo "Calculating lengths"
tracklengt... | Excito/audiotools | test/apptest.sh | Shell | gpl-2.0 | 1,254 |
SCRIPT_NAME=nw
OUTPUT_FORMAT="cgc32-powerpc"
TEXT_START_ADDR=0x0400000
DATA_ADDR=0x10000000
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
ARCH=powerpc
| CyberGrandChallenge/binutils | ld/emulparams/ppcnw.sh | Shell | gpl-2.0 | 142 |
#!/bin/sh
CLEAN_FLAG=0
if [ "$1" = "-u" ]; then
CLEAN_FLAG=1
fi
TARGET_PREFIX=/usr/local/dync/msgserver/sequence
TARGET_LOG_PREFIX=/opt/dync/msgserver/sequence
TARGET_CONF_PATH=$TARGET_PREFIX/conf
TARGET_BIN_PATH=$TARGET_PREFIX/bin
TARGET_LOG_PATH=$TARGET_LOG_PREFIX/log
TARGET_LIB_PATH=$TARGET_PREFIX/lib
SYS_BIN_PATH=... | DyncKevin/Teameeting-MsgServer | MsgServer/MsgServerSequence/sequence/install.sh | Shell | gpl-2.0 | 1,085 |
#!/usr/bin/env bash
## Test for correct handling of Darcs v1 patches with nested { }
##
## Copyright (C) 2010 Ganesh Sittampalam
##
## 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... | DavidAlphaFox/darcs | tests/split-patches.sh | Shell | gpl-2.0 | 1,982 |
#!/bin/sh
# jvmtop - java monitoring for the command-line
# launch script
#
# author: Markus Kolb
#
DIR=$( cd $(dirname $0) ; pwd -P )
if [ -z "$JAVA_HOME" ] ; then
JAVA_HOME=`readlink -f \`which java 2>/dev/null\` 2>/dev/null | \
sed 's/\/bin\/java//'`
fi
TOOLSJAR="$JAVA_HOME/lib/tools.jar"
if [ !... | patric-r/jvmtop | src/main/wrappers/jvmtop.sh | Shell | gpl-2.0 | 512 |
#!/usr/bin/env bash
#======================================================================#
#======================== Notes ========================#
#======================================================================#
# Orignally created by KroniK907 @ http://www.reddit.com/user/KroniK907
# See... | taxbender/ubuntu | bash_template.sh | Shell | gpl-2.0 | 3,115 |
convert images/OCS-256-A.png -crop 1527x4634+69+267 +repage images/OCS-256-A.png
#
#
#/OCS-256.png
convert images/OCS-256-B.png -crop 1572x4524+2+253 +repage images/OCS-256-B.png
#
#
#/OCS-256.png
| jonnymwalker/Staroslavjanskij-Slovar | scripts/cropedges.OCS-256.sh | Shell | gpl-2.0 | 197 |
#!/bin/bash
source vars.inc.bash
bash ./backup_close_period.bash $1 >> $logfile 2>&1
| funkytwig/funkybackup | run_backup_close_period.bash | Shell | gpl-2.0 | 88 |
###
SCRIPT="./task_ParamScan_Multi.sh"
qsub $SCRIPT
| denglert/2HDM_ParameterSpaceScan | qsub/submit_default.sh | Shell | gpl-2.0 | 53 |
# echo "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><experiment backgroundColour=\"#FFFFFF\" complementColour0=\"#EAC3A3\" complementColour1=\"#9D7B5E\" complementColour2=\"#C69E7C\" complementColour3=\"#FFEDDE\" complementColour4=\"#FFFDFB\" defaultScale=\"1.0\" isScalable=\"true\" preserveLastStat... | MPI-ExperimentGroup/ExperimentTemplate | ExperimentDesigner/src/main/resources/frinex-templates/bootstrapxmltemplates.sh | Shell | gpl-2.0 | 49,066 |
#! /bin/bash
docker build -t hello .
| eloycoto/devops_examples | docker/build.sh | Shell | gpl-2.0 | 37 |
#!/bin/bash
# Add Specific sources.list
mv /etc/apt/sources.list /etc/apt/sources.list.bak
cp -v sources.list /etc/apt/
# Add Specific global bashrc
mv /etc/bash.bashrc /etc/bash.bashrc.bak
cp -v bash.bashrc /etc/
# Add Super bashrc and zshrc
cp -v ../bashrc ~/.bashrc
cp -v ../zshrc ~/.zshrc
cp -v ../bashrc /etc/skel/.... | abhis3k/gnu-linux | debian/automate.sh | Shell | gpl-2.0 | 6,340 |
#!/bin/bash
#########################################################
# (C) ZE CMS, Humboldt-Universitaet zu Berlin
# Written 2014 by Daniel Rohde <d.rohde@cms.hu-berlin.de>
#########################################################
while read tmpl exts ; do
for e in $exts; do
pointsize=8
if [ ${#e} -gt 5 ]; the... | DanRohde/webdavcgi | htdocs/views/simple/icons/set-uni/createicons.sh | Shell | gpl-3.0 | 1,016 |
#!/bin/sh
DIR_DESKTOP=$(xdg-user-dir DESKTOP)
DIR_GAME=$(dirname "$0")
echo "Removing desktop icon..."
rm $DIR_DESKTOP/game-1812-la-aventura.desktop
#echo "Removing icon in game directory..."
#rm $DIR_GAME/game-1812-la-aventura.desktop
echo "Removing launcher menu entry..."
rm ~/.local/share/applications/game-1812-... | Firenz/1812 | executables/linux/x86/uninstall.sh | Shell | gpl-3.0 | 354 |
#!/bin/bash
#
# Instalador desatendido para Openstack Juno sobre CENTOS7
# Reynaldo R. Martinez P.
# E-Mail: TigerLinux@Gmail.com
# Octubre del 2014
#
# Script de instalacion y preparacion de Sahara
#
PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
if [ -f ./configs/main-config.rc ]
then
sour... | tigerlinux/openstack-juno-installer-centos7 | modules/saharainstall.sh | Shell | gpl-3.0 | 6,418 |
#!bin/sh
pushd $( dirname "$0" )
source standard/common_windows.sh .
TEMP_DIR=$PWD/../temp/sdl2
###########################SDL_TTF#################################
SDL_TTF_DIR_NAME=SDL_ttf-2
SDL_TTF=$PWD/../external/sdl2/$SDL_TTF_DIR_NAME
SDL_TTF_TEMP=$TEMP_DIR/sdlttf_build
#########################TTF############... | libcrosswind/libcrosswind | setup/sdl_ttf_windows.sh | Shell | gpl-3.0 | 1,367 |
#!/usr/bin/env bash
set -euo pipefail
# nohup ~/apps/idea/bin/idea.sh > ~/.logs/idea.log 2>&1 &
# SIGINT fix hack
(
trap - SIGINT
exec /bin/bash ~/apps/idea/bin/idea.sh
) &
| ninrod/dotfiles | options/arch/intellij/idea.sh | Shell | gpl-3.0 | 174 |
#!/bin/bash
# mysqlaccess.sh
# Script used for audit MySQL Access
#
source /yoda/bin/inc/init
TMPFILE="/tmp/mysqlaccess.sql"
TYPE=${1-2}
if [ "$TYPE" = "2" ]; then
cat >| $TMPFILE <<SQL
SELECT Grantee, TableSchema, REPLACE(GROUP_CONCAT(DISTINCT PrivilegeType ORDER BY PrivilegeType SEPARATOR ','),' ','_') AS 'Privs... | ljay79/yoda | security/mysqlaccess.sh | Shell | gpl-3.0 | 1,869 |
#!/bin/bash
#
# Script de construction de la base de données Intranet V3
#
# Author: franckwastaken - 28/10/2015
#
#
DB_NAME_TO_CREATE="intranet_v3_0_dev"
DB_NAME_V2_PRD="intranet_v2_0_prod_dev"
DB_NAME_MODEL="intranet_v3_0_model"
ENV_DEST="dev"
MYSQL_SERVER_NAME_DEST="dev-intranet.agis.fr"
MYSQL_USER_NAME_DEST="root"... | SalokineTerata/intranet | apps/upgrade/upgrade2_Sous_dev.sh | Shell | gpl-3.0 | 609 |
#!/bin/bash
# Builds libgcrypt, libgpg-error and libotr for all three current iPhone targets:
# iPhoneSimulator-i386, iPhoneOS-armv6, iPhoneOS-armv7.
#
# Copyright 2012 Chris Ballinger <chris@chatsecure.org>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provi... | auviz/safejab | OTRKit/build-all.sh | Shell | gpl-3.0 | 2,029 |
#!/bin/bash
#hack for cron
cd /home/pi/osm/gtfs_import/osm_extract
source ../config.sh
pushd $osm_dir
# récupère le delta et l'insère dans la base
osmosis --rri workingDirectory=. --wpc database=$dbname host=$dbhost user=$dbuser password=$dbpwd >result_osmosis.txt 2>&1
popd
| sidjy/gtfs2osm | osm_extract/filter_and_fill_update_daily.sh | Shell | gpl-3.0 | 284 |
#!/bin/sh
# CHANGE OLD_EMAIL and CORRECT_EMAIL
git filter-branch --env-filter '
OLD_EMAIL="OLD"
CORRECT_EMAIL="NEW"
CORRECT_NAME="Sergio Valverde"
if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ]
then
export GIT_COMMITTER_NAME="$CORRECT_NAME"
export GIT_COMMITTER_EMAIL="$CORRECT_EMAIL"
fi
if [ "$GIT_AUTHOR_EMAI... | svg153/configLinux | SCRIPTS/git_change_author_mail.sh | Shell | gpl-3.0 | 528 |
#!/bin/bash
#IFS=`printf ' \t\n'`
IFS=" "$'\t'$'\n'
lp=$'\0'
for i in `cat $1`; do
lp="${lp} ${i}"
done
echo $lp
exit 0
| jmanoel7/my_shell_scripts | bin/list-packages.sh | Shell | gpl-3.0 | 126 |
#!/bin/bash
workPath=$(dirname $0)
cd $workPath
country=$1
confPath=/etc/NetworkManager/system-connections/
#Is an argument right?
if ! (echo $country | grep '[a-z|A-Z]\{2\}')
then
su $USER -c "notify-send -i dialog-error 'Wrong argument!'"
exit 1
fi
#Convert the argument to uppercase
country=$(echo $country | awk... | SunnyWolf/VPNGate | set.sh | Shell | gpl-3.0 | 2,128 |
#!/bin/bash
usage() {
echo "Usage: $0 url filename lbitid userid cloud_prefix"
exit 1
}
[ $# -eq 0 ] && usage
export PATH=/usr/local/bin:$PATH:
PWD=`pwd`
URL=$1
DFILE=`echo $2`
CLOUD_PREFIX=$5
CACHE_DIR=/tmp/$3
mkdir -p $CACHE_DIR
cd $CACHE_DIR
if [ ! -e "$DFILE" ]; then
echo "About to download file from ... | colearnr/colearnr | scripts/download.sh | Shell | gpl-3.0 | 441 |
#!/bin/bash
TEMP_DIR=`mktemp -d`
echo tempdir is ${TEMP_DIR}
cd ${TEMP_DIR} || exit 1
echo 1
for SERVER in two1 two2 awo1 awo2 pwo1 pwo2
do
echo "Fetch osgi configs from ${SERVER}"
mkdir ${SERVER}
cd ${SERVER}
scp ${SERVER}:/usr/local/liferay/osgi/configs/* .
cd ..
done
meld *
| joolz/hutspot | diff_osgi_configs.sh | Shell | gpl-3.0 | 289 |
ZIPALIGN="/home/rama/android/adt-bundle-linux/sdk/tools/zipalign"
UNSIGNED="./platforms/android/ant-build/NacionalRock-release-unsigned.apk"
platforms/android/cordova/build --release
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore /home/rama/keystore/xicnet-release-key.keystore $UNSIGNED Xicnet_Rele... | Xicnet/radioflow | tools/release.sh | Shell | gpl-3.0 | 409 |
#!/usr/bin/env bash
VER="0.9.5"
echo "....fetching librdkafka dependency...."
mkdir tmp_build
cd tmp_build
wget https://github.com/edenhill/librdkafka/archive/v${VER}.tar.gz
tar -zxf v${VER}.tar.gz
echo ".....done....."
cd librdkafka-${VER}
echo "....compiling librdkafka...."
./configure && make
sudo make install
ech... | colab-chat/colab-server | travis.sh | Shell | gpl-3.0 | 426 |
#!/bin/bash
java -Djava.library.path=lib/native -jar DistroWars.jar
| Nushio/ArenaClient | DistroWars.sh | Shell | gpl-3.0 | 68 |
# rebuild the initramfs if the drivers changed
#
# probably not required, but I prefer to rely on this information when it
# is backed by udev
have_udev || return 0
# check if we need to do something
if test -s $TMP_DIR/storage_drivers && ! diff $TMP_DIR/storage_drivers $VAR_DIR/recovery/storage_drivers >&8 ; then
# ... | terreActive/rear | usr/share/rear/finalize/Debian/i386/170_rebuild_initramfs.sh | Shell | gpl-3.0 | 1,995 |
#!/bin/bash
mkdir alpha_quadrant
cd alpha_quadrant
touch {betazed,earth,vulcan}
echo "Before: "
ls -lh
echo "Live long and prosper" > vulcan
echo "After: "
ls -lh
echo "So long and thaks for all the fish!"
| IstrazivackiCentarMladih/soc2017 | terminal/vulcan.sh | Shell | gpl-3.0 | 206 |
#!/bin/bash
#
# automove - Automatic media file distributor based on filename
############################################################################
# © 2014 - John Gerritse - version 1.2
############################################################################
####
# Functions
####
exit_int() {
# Function ... | tyhawk/tyhawk-shell | misc/automove.sh | Shell | gpl-3.0 | 5,836 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.