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
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... | JockerLUO/ShiftLibra | ShiftLibra/Pods/Target Support Files/Pods-ShiftLibra/Pods-ShiftLibra-frameworks.sh | Shell | mit | 4,571 |
sed -i "s/^.*requiretty/#Defaults requiretty/" /etc/sudoers
cat > /etc/yum.repos.d/epel.repo << EOM
[epel]
name=epel
baseurl=http://ftp.riken.jp/Linux/fedora/epel/6/\$basearch/
enabled=1
gpgcheck=0
EOM
yum -y install gcc make gcc-c++ kernel-devel-`uname -r` zlib-devel openssl-devel readline-devel perl wget dkms nfs-u... | mgi166/packer_boxes | templates/CentOS-6.4-x86_64-minimal/base.sh | Shell | mit | 425 |
#!/bin/bash
#
# Titel: FTP Transfer Script
# Description: Datei automatisch auf einen festgelegten FTP-Server hochladen.
# Version: 0.1
### EINSTELLUNGEN
FTP_SERVER=Adresse_des_FTP-Servers ;#Bsp.: 192.168.0.100
FTP_USER=Benutzername
FTP_PASS=Passwort
#Die Datei(en) welche uebertragen werden soll
FILE2TRANSFER="/home... | meigrafd/Sample-Code | transfer_ftp.sh | Shell | mit | 628 |
#!/bin/bash
sudo apt-get update
sudo apt-get install nodejs-legacy
sudo apt-get install npm
sudo npm install -g azure-cli
sudo pip install paramiko PyYAML jinja2 httplib2 ansible
sudo dpkg -i vagrant_1.8.1_x86_64.deb
vagrant plugin install vagrant-azure
| AngelValera/bares-y-tapas-DAI | Scripts/install_Azure_Vagrant.sh | Shell | mit | 254 |
#!/bin/sh
node --harmony node_modules/springbokjs/bin/sJs.js $*
| christophehurpeau/SpringbokJS | bin/sJs.sh | Shell | mit | 64 |
#!/bin/sh
if [ ! -f "/var/local/webvirtmgr/webvirtmgr.sqlite3" ]; then
/usr/bin/python /webvirtmgr/manage.py syncdb --noinput
echo "from django.contrib.auth.models import User; User.objects.create_superuser('admin', 'admin@localhost', '1234')" | /usr/bin/python /webvirtmgr/manage.py shell
fi
| zaraki673/docker-webvirtmgr | bootstrap.sh | Shell | mit | 296 |
#!/bin/sh
# Clean out the package of all machine made files
rm -rf autom4te.cache aclocal.m4 config DESTDIR gems
# Now recreate those machine made files and collect the gem tarballs
autoreconf -i
./configure
# package generated and man made stuff into a tarball
make dist
| stagrlee/rubygems_bldr | configure_pkg.sh | Shell | mit | 272 |
#!/bin/bash
RM_VERSION=$(cat ./RM_VERSION)
ALM_VERSION=$(cat ./ALM_VERSION)
DOCKER_ALM_REV=$(cat ./DOCKER_ALM_REV)
if [ ! "${DOCKER_ALM_REV}" = "" ]; then
DOCKER_ALM_REV=.${DOCKER_ALM_REV}
fi
DOCKER_ALM_VER=$(cat ./ALM_VERSION | sed "s/^[vV]//")${DOCKER_ALM_REV}
echo start to build docker-alminium
echo " Redmine V... | ayapapa/docker-alminium | build.sh | Shell | mit | 730 |
#!/usr/bin/env bash
nosetests | viniciussalmeida/rice-university | run_travis.sh | Shell | mit | 29 |
#!/usr/bin/env bash
# Install Node Version Manager
# curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.xx.xx/install.sh | bash
# nvm install x.x && nvm alias default x.x
# Or if you have a previous NVM installation
# nvm install x.x --reinstall-packages-from=x.x && nvm alias default x.x
# Essentials
npm i... | rizkysyazuli/dotfiles | npm.sh | Shell | mit | 765 |
#!/bin/sh
rshell -a -b 115200 --buffer-size=100 -p /dev/ttyUSB0 <<EOF
rm -rf /pyboard/*
mkdir /pyboard/static
rsync -v $HOME/docker.esp8266/device/dist /pyboard/static
rsync -v $HOME/docker.esp8266/python /pyboard
rsync -v $HOME/.micropython /pyboard
EOF
| twhtanghk/docker.esp8266 | flash.sh | Shell | mit | 256 |
# This script is intended to be run from within a fresh
# instance of Ubuntu Server 14.04.1 LTS from the user directory.
# Curran Kelleher Feb 2015
# Install Java
sudo apt-get update
sudo apt-get install -y default-jdk
# To check what your Java version is, you can run
# java -version
# Set up SSH keys for Hadoop to... | curran/setupHadoop | setupHadoop.sh | Shell | mit | 1,995 |
#! /bin/sh
echo Gerando latex...
HAS_ANSWER=`ls "$(dirname $1)" | grep answer.tex -c`
if [ "$HAS_ANSWER" -eq "0" ]; then
touch "$(dirname $1)"/answer.tex;
fi
#cp -R ~/.tubaina/pythonenv . #needed only if you don't have pygments installed globally
pdflatex -interaction nonstopmode -shell-escape book.tex > /dev/nu... | caelum/tubaina | etc/latex.sh | Shell | mit | 492 |
cd /Users/sumukh/Code/CS61A/RunestoneTools;
sudo paver build
| 42cs/book | build.sh | Shell | mit | 61 |
#!/bin/bash
if [ $# -lt 3 ];
then
echo "Usage: $0 from_id to_id y/n";
echo " y to enable cores, n to disable";
exit;
fi;
from=$1;
shift;
to=$1;
shift;
yn=$1;
shift;
printf "Handling: "
for c in $(seq $from 1 $to);
do
printf "%d " $c;
sudo sh -c "echo '${yn}' > /sys/devices/system/cpu/cpu${... | LPD-EPFL/lockin | scripts/disable_cores.sh | Shell | mit | 347 |
#!/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... | gliyao/TransitionViewController | Example/Pods/Target Support Files/Pods-TransitionViewController_Example/Pods-TransitionViewController_Example-frameworks.sh | Shell | mit | 3,771 |
#!/bin/bash
set -e
backup() {
echo -n " Backing up current network settings..."
cat /etc/sysctl.conf > "/etc/sysctl.conf.$(date +"%Y-%m-%d_%H-%M-%S")"
echo "done."
}
wipe_old() {
echo -n " Removing previous network settings..."
sed -i '/[#]plex[-]settings[-]start/,/[#]plex[-]settings[-]end/ d' /etc/sysctl... | n8io/plex-server | setup/02.os-settings.sh | Shell | mit | 2,112 |
#!/bin/sh
./node_modules/fbjs-scripts/node/check-dev-engines.js package.json
./node_modules/.bin/electron-rebuild
| yesmeck/hotelbar | scripts/postinstall.sh | Shell | mit | 115 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for CESA-2013:1500
#
# Security announcement date: 2013-11-04 19:32:13 UTC
# Script generation date: 2017-01-01 21:10:51 UTC
#
# Operating System: CentOS 6
# Architecture: i386
#
# Vulnerable packages fix on version:
# - gc.i686:7.1-12.el6_4
# - gc-devel.i686:7... | Cyberwatch/cbw-security-fixes | CentOS_6/i386/2013/CESA-2013:1500.sh | Shell | mit | 679 |
#!/usr/bin/env bash
koopa::macos_install_python_framework() { # {{{1
# """
# Install Python framework.
# @note Updated 2021-05-28.
# """
local file macos_string macos_version major_version name prefix
local name_fancy pos reinstall tee url version
reinstall=0
pos=()
while (("$#"))
... | steinbaugh/seqcloud | lang/shell/bash/functions/os/darwin/install/python.sh | Shell | mit | 2,596 |
NAME=pi2
IP=`hostname -I | tr -d ' '`
#http://pi-sauloal.c9.io/54628/log/pi2/172.18.38.93/
URL=http://pi-sauloal.c9.io/54628/log
curl "${URL}/${NAME}/${IP}/" &> /home/pi/update_ip.log
| sauloalrpi/pifollow | pi/update_ip.sh | Shell | mit | 185 |
#!/bin/bash
# set -x
declare -a __OPTS__=() __VARS__=()
function opts() {
function opt_name() {
local opt=$1
local type name
type=$(opt_type "$opt")
name=$(echo "${opt/--no-/}" | tr -d '\-=[]')
if [[ $type == array && ${name: -1} == s ]]; then
name=${name%?}
fi
echo "$name"
}
... | svenfuchs/bash_opts | lib/bash_opts.sh | Shell | mit | 4,686 |
#!/bin/bash
HEADER="Why Be Normal?\n\nHere, have a cookie:\n"
echo -e "${HEADER}$(fortune)" > ~/.mutt/sig
| sillyfellow/silly-tiny-scripts | sigmaker.sh | Shell | mit | 109 |
#!/bin/bash
if [[ ! -d $1 ]]
then
echo "You need to specify an existing destination folder"
exit -1
else
D_PATH=$1
fi
if [[ $2 == "" ]]
then
echo "Warning! No name specified... using Path"
D_NAME=$1
else
D_NAME=$2
fi
defaults write com.apple.dock persistent-others -array-add "<dict><key>tile-data</key><d... | corefile/autostall | Folder2Dock.sh | Shell | mit | 723 |
#!/usr/bin/bash
ECOLAB_VERSION=`git describe`
git archive --format=tar --prefix=ecolab-$ECOLAB_VERSION/ HEAD -o /tmp/ecolab-$ECOLAB_VERSION.tar
# add in submodules
for sub in classdesc classdesc/json_spirit graphcode; do
pushd $sub
git archive --format=tar --prefix=ecolab-$ECOLAB_VERSION/$sub/ HEAD -o /tmp/$$.t... | highperformancecoder/ecolab | makeDist.sh | Shell | mit | 451 |
#!/bin/bash
#
# (c) Copyright 2011 Hewlett-Packard Development Company, L.P.
#
# See "man chkconfig" for information on next two lines (Red Hat only)
# chkconfig: - 90 1
# description: hp SNMP Agents.
#
#
# Following lines are in conformance with LSB 1.2 spec
### BEGIN INIT INFO
# Provides: amsHelper
# Defa... | marker55/hp-ams | hp-ams.sh | Shell | mit | 3,029 |
#!/bin/sh
echo "Installing dependencies"
npm install
echo "Setting environment to development"
export NODE_ENV=development
echo "Starting application"
npm run-script start-devel | sunewt/component-koa-et-al-boilerplate | devel.sh | Shell | mit | 178 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-3138-1
#
# Security announcement date: 2016-11-28 00:00:00 UTC
# Script generation date: 2017-01-01 21:05:46 UTC
#
# Operating System: Ubuntu 16.04 LTS
# Architecture: i386
#
# Vulnerable packages fix on version:
# - python3-cryptography:1.2.3-1ubuntu0.1
... | Cyberwatch/cbw-security-fixes | Ubuntu_16.04_LTS/i386/2016/USN-3138-1.sh | Shell | mit | 818 |
for i in `seq 10`; do
npm run test
if [ $? -ne 0 ];
then
exit $?
fi
done
echo "test run successfully"
exit $?
| loganfreeman/react-is-fun | bin/batch-test.sh | Shell | mit | 117 |
#!/bin/bash
mkdir /tmp/_
curl https://raw.githubusercontent.com/txthinking/dotfiles/master/vim/.vimrc -o /tmp/_/.vimrc
curl https://raw.githubusercontent.com/txthinking/dotfiles/master/vim/use.sh -o /tmp/_/use.sh
chmod +x /tmp/_/use.sh
echo "Compile:"
echo ' $ cd /tmp/_ && ./use.sh'
| txthinking/dotfiles | vim/get.sh | Shell | mit | 289 |
#!/usr/bin/env bash
mvn clean install
java -jar target/jmh-stack.jar
| Alex-Diez/Java-TDD-Katas | old-katas/concurrent-stack-kata/run-benchmarks.sh | Shell | mit | 69 |
pep8="python pep8.py";
pylint="/opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/pylint --method-rgx=[a-z_][A-Za-z0-9_]{2,60}$ --disable-msg=C0111 --good-names=d";
rm -rf pylint
rm -rf pep8
directories=$(find "../awspider" -type d \! -path "*.git*" )
for directory in $directories
do
pythonFilesCount=... | wehriam/awspider | static_analysis/check.sh | Shell | mit | 851 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_PLATFORM=GNU-Linux-x86
CND_CONF=Release
CND_DISTDIR=dist
CND_BUILDDIR=build
CND_DLIB_EXT=so
NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging
TMPDIRNAME=tmp-packaging
OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/cpucc
OUTP... | EatonEmmerich/CPUCC | nbproject/Package-Release.bash | Shell | mit | 1,433 |
#!/usr/bin/env bash
cd "$(dirname "${BASH_SOURCE}")";
git pull origin master;
function doIt() {
rsync \
--exclude ".git/" \
--exclude ".DS_Store" \
--exclude "bootstrap.sh" \
--exclude "install" \
--exclude "README.md" \
--exclude "LICENSE-MIT.txt" \
-avh --no-perms . ~;
source ~/.bash_profile;
}
i... | umayr/dotfiles | bootstrap.sh | Shell | mit | 546 |
#/usr/bin/bash
DEBUG=0
[ -z "$1" ] && echo "need a threshold argument" && exit
TH=$1
URL='https://maker.ifttt.com/trigger/burn/with/key/bCxTnGJ_T9EXjds2Ut68Vs'
HEAD='Content-Type: application/json'
function post {
echo "post: $1"
[ $DEBUG -eq 1 ] && return -1
curl -X POST -H "$HEAD" -d '{"value1":"'$1'"}' $URL
... | tshm/dotfiles | systemd/sensor.sh | Shell | mit | 565 |
#!/bin/bash
main ()
{
if [ -f ~/.bashrc ]; then
. ~/.bashrc
elif [ -f /etc/bashrc ]; then
.
fi
source autocms.cfg
case "${commandline_args[0]}" in
print) autocms_print
;;
start) autocms_start
;;
stop) autocms_stop
;;
submit) autocms_submit
;;
logharve... | appeltel/AutoCMS | autocms.sh | Shell | mit | 5,582 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-2961-1
#
# Security announcement date: 2016-05-04 00:00:00 UTC
# Script generation date: 2017-01-01 21:05:23 UTC
#
# Operating System: Ubuntu 14.04 LTS
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - liblcms2-2:2.5-0ubuntu4.1
#
# Last v... | Cyberwatch/cbw-security-fixes | Ubuntu_14.04_LTS/x86_64/2016/USN-2961-1.sh | Shell | mit | 622 |
ps aux | grep supervisor
ps aux | grep runserver
ps aux | grep rabbit
ps aux | grep celery
ps aux | grep erl
| rebearteta/social-ideation | grep_things.sh | Shell | mit | 109 |
#!/usr/bin/env bash
TIME="$(date "+%Y%m%d%H%M%S")"
FAILED=
PREFIX=$1
usage() {
echo "Usage: ./run-tests.sh <prefix>"
}
if ! which "bats" > /dev/null; then
echo "You need http://github.com/sstephenson/bats installed." >&2
exit 1
fi
if [ $# -eq 0 ]; then
usage
exit 1
fi
echo "Testing on $PREF... | jaguerra/php-build-plugin-suhosin | run-tests.sh | Shell | mit | 883 |
#!/bin/bash
# Set Minecraft version
MC_VERSION="${MC_VERSION:-1.8.3}"
# Download Minecraft
curl -o vendor/minecraft_server.jar "https://s3.amazonaws.com/Minecraft.Download/versions/${MC_VERSION}/minecraft_server.${MC_VERSION}.jar"
| jacobwgillespie/heroku-minecraft | bin/postinstall.sh | Shell | mit | 234 |
#!/bin/sh
make html
python -c "import os, webbrowser; webbrowser.open('file://' + os.path.abspath('./build/html/index.html'))"
watchmedo shell-command ../ --patterns "*.rst;*.py" --recursive --command="rm -rf build;make html;"
| PyFilesystem/pyfilesystem2 | docs/editdocs.sh | Shell | mit | 227 |
#!/bin/bash
# SYMLINK
./ln_common.sh
# VIM
mkdir -p ~/.vim/undo
# ZSH
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install
# curl -sL --proto-redir -all,https https://raw.githubusercontent.com/zplug/installer/master/installer.zsh | zsh
git clone https://github.com/zplug/zplug $HOME/.zplu... | SicariusNoctis/dotfiles | setup_minimal_linux.sh | Shell | mit | 467 |
#!/bin/bash
ROOT_PATH=`dirname $0`
PLUGIN_PATH="$ROOT_PATH/plugin"
DEPLOY_PATH="../miaou/plugins/fireworks"
# installing the plugin in the plugins directory of the miaou installation
rm -rf $DEPLOY_PATH
cp -r $PLUGIN_PATH $DEPLOY_PATH
| Canop/miaou.fireworks | install.sh | Shell | mit | 237 |
#!/bin/bash
# Copyright (c) 2011-2018, wradlib developers.
# Distributed under the MIT License. See LICENSE.txt for more info.
set -e
# test if `conda` is available
if ! [ -x "$(command -v conda)" ]; then
# if conda is not available
# test if we are in CI
if [ -z ${TRAVIS+x} ]; then
# if local pri... | heistermann/wradlib | scripts/install.sh | Shell | mit | 2,776 |
#!/usr/bin/env bash
###################################################
## Use this to control server promotion/demotion ##
###################################################
#
HOST=$4
# Selects this identity index
IDTOPROMOTE=$1
# 'f' -> FEDERATED SERVER
# 'a' -> AUDIT Server
TYPE=$2
# 'a' -> Add / Promte
# 'r' ... | FactomProject/Testing | P2PTesting/M2SimpleTestService/loadidentities/send.sh | Shell | mit | 7,831 |
#!/usr/bin/env bash
################################################################################
# Name : OTRS ITSM Module get script.
# Create date : 2016/09/12
# Update date : 2016/09/12
# Auther : Toshihiro Takehara aka nouphet
#########################################################################... | nouphet/otrs-installer | get-otrs50-itsm-modules.sh | Shell | mit | 1,143 |
#!/bin/bash
echo "A"
echo "~~~" | oleander/bitbar | Resources/Scripts/stream-nomore.sh | Shell | mit | 32 |
#!/usr/bin/env bash
shopt -s extglob
PHP_INSTALL_VERSION="0.0.1"
PHP_INSTALL_DIR="${BASH_SOURCE[0]%/*}"
PHP_DISTRIBUTIONS=(php)
CONFIGURE_OPTS=()
#
# Auto-detect the package manager.
#
if command -v apt-get >/dev/null; then PACKAGE_MANAGER="apt"
elif command -v yum >/dev/null; then PACKAGE_MANAGER="yum"
elif ... | marcosdsanchez/php-install | share/php-install/php-install.sh | Shell | mit | 5,961 |
#!/bin/sh
ps aux | grep ssh
| gserafini/useful-server-scripts | scripts/ssh_count.sh | Shell | mit | 29 |
#!/bin/bash -e
MY_DIR=$(cd $(dirname $BASH_SOURCE); pwd)
: ${2:?Usage: from_ts.sh (PATH|URL) TARGET.json}
readonly SOURCE=$1
readonly TARGET=$2
echo -n $SOURCE
reportError() {
echo " - error: $(cat | grep Error:)"
}
filterBadTypes() {
node -pe '
var json = JSON.parse(require("fs").readFileSync("'$... | cloud9ide/tern_from_ts | from_ts.sh | Shell | mit | 1,491 |
#!/bin/bash
DIR="$( cd "$( dirname "$0" )" && pwd )"
python $DIR/GA3C.py PLAY_MODE=True
| futurely/openai-universe-agents | ga3c/_play.sh | Shell | mit | 90 |
#!/bin/sh
OUTPUT=$(mktemp)
node scripts/typings.js --spec lib/specs/swagger-1.13.json.gz --output $OUTPUT
diff -Naur typings/index.d.ts $OUTPUT
| godaddy/kubernetes-client | scripts/test-generated.sh | Shell | mit | 147 |
#!/usr/bin/env bash
###########################################################################
# Packaging script which creates debian and RPM packages for influxdb-sqlserver.
# Requirements:
# - GOPATH must be set
# - 'fpm' must be on the path
#
# https://github.com/zensqlmonitor/influxdb-sqlserver
#
# Packaging... | zensqlmonitor/influxdb-sqlserver | scripts/package.sh | Shell | mit | 11,016 |
# Customised prompt with git info
git_prompt_info() {
ref=$(git symbolic-ref HEAD 2> /dev/null)
if [[ -n $ref ]]; then
echo " %{$fg_bold[green]%}${ref#refs/heads/}%{$reset_color%}"
fi
}
setopt promptsubst
export PS1='${SSH_CONNECTION+"%{$fg_bold[green]%}%n@%M:"}%{$fg_bold[blue]%}%n@%M%{$reset_color%}$(git_pr... | jsok/dotfiles | zsh/plugins/prompt.zsh | Shell | mit | 338 |
#!/bin/bash
cat > project-euler.cabal << EOF
-- Initial project-euler.cabal generated by cabal init. For further
-- documentation, see http://haskell.org/cabal/users-guide/
name: project-euler
version: 0.1.0.0
-- synopsis:
-- description:
license: MIT
license-file: LICEN... | DevJac/haskell-project-euler | build.sh | Shell | mit | 1,300 |
#!/bin/bash
sudo /opt/conda/bin/conda install --yes numpy matplotlib scipy pytest pytest-cov scikit-learn
| ddboline/garmin_scripts | setup_conda.sh | Shell | mit | 107 |
#!/usr/bin/env bash
set -e
# For each directory containing one or more valid NIC templates' source
templateDirs=$(find . -type d -name NIC -exec dirname {} \; | xargs -n1 dirname | sort -u)
for d in $templateDirs; do
pushd $d &> /dev/null
# For each valid NIC template source
templateSubDirs=$(find . -type d -name ... | theos/templates | build.sh | Shell | cc0-1.0 | 474 |
#!/bin/bash
TEST_DESCRIPTION="root filesystem on LVM on encrypted partitions of a RAID-5"
KVERSION=${KVERSION-$(uname -r)}
# Uncomment this to debug failures
#DEBUGFAIL="rd.shell rd.break" # udev.log-priority=debug
#DEBUGFAIL="rd.shell rd.udev.log-priority=debug loglevel=70 systemd.log_target=kmsg systemd.log_target=... | fabiand/dracut | test/TEST-13-ENC-RAID-LVM/test.sh | Shell | gpl-2.0 | 5,748 |
#!/bin/bash
# Dirty compile script, until a I write a real Makefile
gcc -I../../hidapi/hidapi/ -I../src/ ../src/eizo_ctrl.c eizomon.c ../../hidapi/linux/libhidapi-hidraw.so -o eizomon
| Xfennec/eizomon | linux/comp.sh | Shell | gpl-2.0 | 186 |
#!/bin/bash
# No author, see below.
###
# = util.sh(3)
#
# == NAME
# util.sh - for Frugalware
#
# == SYNOPSIS
# General utility functions for Frugalware packages.
#
# == EXAMPLE
#
# Example for Fdesktop2:
# --------------------------------------------------
# _F_desktop_name="Adobe Reader"
# _F_desktop_icon="acroread... | frugalware/xorgtesting | source/include/util.sh | Shell | gpl-2.0 | 45,771 |
#!/bin/bash
##############################
#Set up the character counts for corpora. This includes James and Wikipedia data. Actually, James and Wikipedia data are both classes of data and also fit into a super-class. If we want to think about them in those terms.
##############################
#This should be for al... | HughP/MLKA-Bash-data | Dependencies/combined-corpus-process.bash | Shell | gpl-2.0 | 1,043 |
#!/bin/bash
"$@"
if [ -n "$(git status --porcelain=v1)" ]; then
echo "Modified files found, did you forget to run '$@'?"
git status --porcelain=v1
exit 1
fi
| tjcsl/ion | scripts/build_ensure_no_changes.sh | Shell | gpl-2.0 | 169 |
#! /bin/sh
# Copyright (C) 2003-2022 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 ... | autotools-mirror/automake | t/conflnk.sh | Shell | gpl-2.0 | 1,716 |
# $Progeny$
#
# Copyright 2005 Progeny Linux Systems, Inc.
#
# This file is part of PDK.
#
# PDK 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 optio... | 64studio/pdk | atest/future/B-redist.sh | Shell | gpl-2.0 | 1,096 |
#!/bin/sh
#
# Copyright (c) 2003, 2004, 2005, 2006, 2007, 2009, 2010 Dan McMahill
# This program is free software; you can redistribute it and/or modify
# it under the terms of version 2 of the GNU General Public License as
# published by the Free Software Foundation
#
# This program is distributed in the hope tha... | WileyECoyote/pcb | tests/run_tests.sh | Shell | gpl-2.0 | 19,672 |
#!/bin/bash
if [ $# -ne 2 ] ; then
echo "Podano $# argumentów. Wymagane to : append (tekst) (plik)."
exit 1
fi
TEXT=$1
FILE=$2
echo $TEXT >> $FILE
| folkien/scripts | append.sh | Shell | gpl-2.0 | 156 |
#!/bin/bash
export TERM=screen-256color
bin/weechat -d .weechat
| Jmainguy/OpenShiftWeechat | weechat.sh | Shell | gpl-2.0 | 64 |
#!/usr/bin/env bash
#
# This file is part of Invenio.
# Copyright (C) 2015, 2016 CERN.
#
# Invenio 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 lat... | rthieledesy/invenio | scripts/start-instance.sh | Shell | gpl-2.0 | 4,470 |
#!/bin/sh
#######################################
# #
# https://github.com/pedroguima #
# #
#######################################
## This is simple local check for check_mk. Just edit and drop this script in your local checks directory.
#... | pedroguima/mysqlstuff | check_mysql_backup.sh | Shell | gpl-2.0 | 955 |
#!/bin/bash
# This is a basic bash script.
[[ "cat" == "cat" ]]
# OUTPUT: 0 (TRUE)
echo $?
[[ "cat" = "dog" ]]
# OUTPUT: 1 (FALSE)
echo $?
[[ 20 -gt 100 ]]
# OUTPUT: 1 (FALSE)
echo $?
a=""
b="cat"
[[ -z $a && -n $b ]]
# OUTPUT: 0 (TRUE)
echo $? | tahmid-tanzim/bash-scripting | basic-bash/my.sh | Shell | gpl-2.0 | 250 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_PLATFORM=GNU-Linux-x86
CND_CONF=Release
CND_DISTDIR=dist
CND_BUILDDIR=build
CND_DLIB_EXT=so
NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging
TMPDIRNAME=tmp-packaging
OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/ex07_parau... | pdavila13/Programacion_C | Cadenas/Ex07_paraulesRevesAmpliat/nbproject/Package-Release.bash | Shell | gpl-2.0 | 1,549 |
#! /bin/sh
clear
FILE=`zenity --file-selection --title="Select a File to create a shortcut for:"`
case $? in
0)
echo "\"$FILE\" selected.";;
1)
echo "No file selected."
exit 0
;;
-1)
echo "An unexpected error has occurred."
exit 1
;;
esa... | adnan-tariq/create-sc | createsc.sh | Shell | gpl-2.0 | 669 |
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
check() {
local vardir
vardir=/var/lib/dracut
[ -x /bin/setupcon ] || exit 1
rm -rf $vardir/console-setup-dir
mkdir -p $vardir/console-setup-dir || exit 1
setupcon --setup... | cmorty/dracut | debian/09console-setup/module-setup.sh | Shell | gpl-2.0 | 786 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_PLATFORM=GNU-Linux-x86
CND_CONF=Release
CND_DISTDIR=dist
CND_BUILDDIR=build
CND_DLIB_EXT=so
NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging
TMPDIRNAME=tmp-packaging
OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/exercici_1... | pdavila13/Programacion_C | DatosSimples/Exercici_12_-_DatosSimples/nbproject/Package-Release.bash | Shell | gpl-2.0 | 1,547 |
#! /bin/sh
. ../../testenv.sh
analyze_elab_simulate_status()
{
file=$1
ent=$2
status=$3
analyze $file
set +e
echo "elaborate and simulate $ent"
$GHDL --elab-run $GHDL_STD_FLAGS $ent
if [ $? -ne $status ]; then
echo "Exit status $status expected"
exit 1
fi
set -e
}
GHDL_STD_FLAGS=--std=08... | peteut/ghdl | testsuite/gna/ticket77/testsuite.sh | Shell | gpl-2.0 | 536 |
#! /bin/sh
# Copyright (C) 2006-2018 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program ... | komh/automake-os2 | t/amopt.sh | Shell | gpl-2.0 | 1,018 |
FINEGRAINED_SUPPORTED=yes
NAMEEXTRA=
run_bench() {
BIND_SWITCH=
if [ "$KU_LATENCY_BINDING" != "" ]; then
BIND_SWITCH=--bind-$KU_LATENCY_BINDING
fi
$SHELLPACK_INCLUDE/shellpack-bench-ku_latency $BIND_SWITCH \
--run-seconds "${KU_LATENCY_RUN_SECONDS}" \
--start-send-first "${KU_LATENCY_START_SEND_FIRST}"
ret... | wjn740/mmtests | drivers/driver-ku_latency.sh | Shell | gpl-2.0 | 329 |
#!/bin/bash
cd src
sudo make install
sudo make clean
cd ..
# load new module
sudo rmmod e1000e
sudo modprobe e1000e
| merlinrebrovic/e1000e | setup_drivers.sh | Shell | gpl-2.0 | 117 |
#Version 1.0
if [ $1=="" || $2="" || $3="" || $4="" ]; then
echo "Invalid app or module or database or password">"intall-log"
fi
APP=$1
MODULE=$2
DATABASE=$3
PWD=$4
Library="/var/www/scientiavulgaria/Library"
ModulePhp="/var/www/scientiavulgaria/Applications/$APP/Modules/$MODULE"
#Architecture
mkdir $ModulePhp
mkd... | severus21/Scientia-Vulgaria | Applications/Frontend/Modules/Tmpfile/install-module.sh | Shell | gpl-2.0 | 858 |
#!/bin/bash
#
# Copyright (C) 2016-2021 Canonical
#
# 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
# of the License, or (at your option) any later version.
#
# This program is ... | ColinIanKing/stress-ng | kernel-coverage.sh | Shell | gpl-2.0 | 15,222 |
#!/bin/sh
# Полный бэкап системы на запасной диск
# Предотвращаем съедание процессом всей памяти.
ulimit -v 200000
# Исключаем одновременный запуск двух rsync процессов.
IDLE=`ps -auxwww | grep -E "root.*rsync" | grep -vE "grep|rsync_backup"`
if [ "$IDLE" != "" ]; then
echo "FATAL DUP"| mail -s "FATAL RSYNC BACK... | opennet/FSBackup | contrib/rsync_sample/local_rsync/rsync_backup.sh | Shell | gpl-2.0 | 1,385 |
#!/bin/bash
SOURCE_URL="https://github.com/AndroidTamer/jadx"
MAINVER="0.6.1"
Extra=".2"
if [ -d "source" ]
then
cd source
git pull
cd ..
else
git clone $SOURCE_URL ./source
fi
cd source
SVER=`git log --pretty=format:'%h' -n 1`
cd ..
VERSION=$MAINVER$Extra"-SNAPSHOT-"$SVER
## Build
cd source
./gradlew dist
cd ..
... | AndroidTamer/Packaging_Tools | Build/jadx/build.sh | Shell | gpl-2.0 | 1,600 |
echo "Please input page size (KB): "
read page
echo "Please input reference address : "
read address
echo "Page: $page ; Reference Address: $address"
p=$((page * 1024))
echo "Page: $p ; Reference Address: $address"
pagenumber=$((address / p))
offset=$(( address - pagenumber*p))
fragmentation=$((p - offset))
echo "Pag... | arielisidro/myprograms | os023l1/shell/paging.sh | Shell | gpl-2.0 | 417 |
#!/bin/sh
cd /home/fracturedplanet/www && /usr/bin/git pull && cd -
| mere/fracturedplanet | post-receive.sh | Shell | gpl-2.0 | 68 |
#!/bin/bash
# steps/make_phone_graph.sh data/train_100k_nodup/ data/lang exp/tri2_ali_100k_nodup/ exp/tri2
# Copyright 2013 Johns Hopkins University (Author: Daniel Povey). Apache 2.0.
# This script makes a phone-based LM, without smoothing to unigram, that
# is to be used for segmentation, and uses that together ... | michellemorales/OpenMM | kaldi/egs/wsj/s5/steps/make_phone_graph.sh | Shell | gpl-2.0 | 5,004 |
#!/bin/bash
dpctl add-flow unix:/tmp/zyxel_2.sock in_port=0xfffe,dl_type=0x800,nw_src=172.16.0.11,actions=mod_vlan_vid:3954,mod_vlan_pcp:4,output:2
sleep 30
dpctl del-flows unix:/tmp/zyxel_2.sock in_port=0xfffe,dl_type=0x800,nw_src=172.16.0.11
| damomeen/ofagent-for-zyxel-FSG2200HNU | testing/test_zyxel_1.sh | Shell | gpl-2.0 | 245 |
#!/bin/sh
# Copyright (C) 2010-2013 OpenWrt.org
. /lib/functions/leds.sh
. /lib/ramips.sh
get_status_led() {
board=$(ramips_board_name)
case $board in
3g150b|\
3g300m|\
w150m)
status_led="$board:blue:ap"
;;
3g-6200n|\
ar670w|\
ar725w|\
br-6425|\
br-6475nd|\
c50|\
dch-m225|\
dir-860l-b1|\
e1700|\
e... | p055877632/source | target/linux/ramips/base-files/etc/diag.sh | Shell | gpl-2.0 | 4,488 |
#!/bin/bash
PROJDIR=$1
CONFIG=$2
BOARD=$3
QT5_DIR=$4
QMAKE=${QT5_DIR}/build/${BOARD}/qt5host/bin/qmake
PROJFILE=${PROJDIR}/sources/antenna-analyzer.pro
DEVSPEC="none"
case $BOARD in
"bananapim2")
DEVSPEC="linux-sun6i-g++"
;;
"orangepipc")
DEVSPEC="linux-sun8i-g++"
;;
"rpi3-arm")
DEVSPEC="linux-rasp... | orpaltech/antenna-analyzer | board_make.sh | Shell | gpl-3.0 | 717 |
#!/bin/bash
stty -F /dev/ttyRoverFTDI hupcl
avrdude -pm2560 -cstk500v2 -P/dev/ttyRoverFTDI -b115200 -Uflash:w:ROS_mega/Debug/ROS_mega.hex:a
| rbtying/Companion-Cube | firmware/flash.sh | Shell | gpl-3.0 | 140 |
#!/bin/sh
#
# rename.sh
#
# Copyright 2011-2012, Bmath Web Application Platform Project. (http://bmath.jp)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
#... | aotake/peachp1 | webapp/tool/rename.sh | Shell | gpl-3.0 | 3,139 |
#!/bin/bash
###########################################################################
######### ###########
######### Autofastq ###########
######### @uthor : D Baux david.baux<at>inserm.fr ###########
######### Date : 13/04/2016 ###########
######### ###########
################################... | beboche/autofastq | autofastq.sh | Shell | gpl-3.0 | 10,632 |
#! /bin/sh
function main()
{
local path="."
if [ $# -gt 0 ]; then
path="$1"
fi
echo "detect hole under ${path}"
local size=0
local space=0
for file in $(find "${path}" -type f); do
if [ -f "${file}" ]; then
size=$(stat -c "%s" "${file}")
space=$(($... | goodpaperman/apue | 04.chapter/find_hole.sh | Shell | gpl-3.0 | 654 |
#!/bin/bash -ex
mkdir -m 0700 .ssh
ssh-keygen -f .ssh/id_rsa -N ""
cat >.ssh/config <<EOF
Host *.example.com
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
StrictHostKeyChecking no
LogLevel QUIET
EOF
chmod 0600 .ssh/config
mkdir .openshift
cat >.openshift/express.conf <<EOF
default_rhlogin=demo
use_au... | chris-milsted/demobuilder | layers/rhel-server-6/gui/openshift/@target/demouser.sh | Shell | gpl-3.0 | 489 |
#!/bin/bash
docker exec uappexplorer_server_1 node /srv/uappexplorer/src/runSpider.js $@
| bhdouglass/uappexplorer | env/spider.sh | Shell | gpl-3.0 | 90 |
#!/bin/bash
# Ref: https://docs.aws.amazon.com/zh_cn/kms/latest/developerguide/importing-keys-encrypt-key-material.html
openssl rand -out PlaintextKeyMaterial.bin 32
openssl rsautl -encrypt \
-in PlaintextKeyMaterial.bin \
-oaep \
-inkey wrappingKey_0e40a8a3-b33e-4... | iceflow/aws-demo | kms/steps.sh | Shell | gpl-3.0 | 460 |
#!/bin/bash
tar xvf ${DOWNLOADDIR}/mpfr-3.1.2.tar.xz -C ${BUILDDIR}
pushd ${BUILDDIR}/mpfr-3.1.2
patch -Np1 -i ${DOWNLOADDIR}/mpfr-3.1.2-upstream_fixes-3.patch
./configure --prefix=/usr \
--enable-thread-safe \
--docdir=/usr/share/doc/mpfr-3.1.2
make
... | jay2013/justforfun | LinuxFromScratch/create_tgt_sys/tgt_sys/installMPFR.sh | Shell | gpl-3.0 | 426 |
PLATFORM=$1
TYPE=$2
WHERE="cat != ManualTest"
TEST_DIR="."
TEST_PATTERN="*Test.dll"
ASSEMBLIES=""
if [ -d "$TEST_DIR/_tests" ]; then
TEST_DIR="$TEST_DIR/_tests"
fi
NUNIT="$TEST_DIR/NUnit.ConsoleRunner.3.2.0/tools/nunit3-console.exe"
NUNIT_COMMAND="$NUNIT"
NUNIT_PARAMS="--teamcity"
if [ "$PLATFORM" = "Windows" ]; t... | jamesmacwhite/Radarr | test.sh | Shell | gpl-3.0 | 1,348 |
#!/usr/bin/env bash
(
set -e
PS1="$"
function changelog() {
base=$(git ls-tree HEAD $1 | cut -d' ' -f3 | cut -f1)
cd $1 && git log --oneline ${base}...HEAD
}
bukkit=$(changelog work/Bukkit)
spigot=$(changelog work/Spigot)
paper=$(changelog work/Paper)
updated=""
logsuffix=""
if [ ! -z "$bukkit" ]; then
l... | GlowstoneMC/Glowkit | scripts/upstreamCommit.sh | Shell | gpl-3.0 | 1,089 |
#!/usr/bin/env bash
#Install the most recent version of NCL-NCARG without sudo
#Author: Toberumono (https://github.com/Toberumono)
#Get the command to use when grabbing subscripts from GitHub.
[ "$(which wget)" == "" ] && pull_command="curl -#fsSL" || pull_command="wget -qO -"
ncl_tar="$(ls -t1 $(pwd)/ncl_ncarg* | he... | Toberumono/Miscellaneous | ncl-ncarg/sudoless_install.sh | Shell | gpl-3.0 | 1,482 |
#!/usr/bin/env bash
# Set names/directories
TARGET_DIR=`pwd`"/silo"
SILO_BASEURL="https://wci.llnl.gov/content/assets/docs/simulation/"\
"computer-codes/silo/silo-4.10/"
SILO_TARNAME="silo-4.10-bsd-smalltest.tar.gz"
SILO_DIRNAME="silo-4.10-bsd"
BUILD_DIR="ext_libs_build"
# Do compilation etc. in build directory
mkdir... | huahbo/afivo | build_silo.sh | Shell | gpl-3.0 | 804 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.