code stringlengths 2 1.05M | repo_name stringlengths 5 110 | path stringlengths 3 922 | language stringclasses 1
value | license stringclasses 15
values | size int64 2 1.05M |
|---|---|---|---|---|---|
#!/bin/bash
SRC=src/client/tacion.js
DST=src/client/tacion.min.js
# minifies tacion and gives it a spiffy header
uglifyjs $SRC | tr '\n' ' ' | \
sed 's/\* \* Tacion v/ Tacion v/g' | \
sed 's/ \* A.*\*\//| GPLv2 + MIT | http:\/\/azof.fr\/tacionjs *\/ /g' \
> $DST | azoff/tacion.js | build.sh | Shell | mit | 266 |
#!/bin/sh
echo "apiserver address $1"
echo "join token $2"
echo "kubernetes version $3"
sudo kubeadm init --apiserver-advertise-address $1 --token $2 --kubernetes-version $3
# move kubecfg file to home folder
mkdir -p $HOME/.kube
sudo cp -rf /etc/kubernetes/admin.conf $HOME/.kube/config
sudo chown $(id -u):$(id -g) ... | HagaiBarel/k8s-vagrant | master-setup.sh | Shell | mit | 681 |
#!/usr/bin/env bash
#
# -*- Mode: sh; coding: utf-8; indent-tabs-mode: nil; tab-width: 2 -*-
# vim:set expandtab tabstop=2 fenc=utf-8 fileformat=unix filetype=sh:
#
# Performs some adjustments for the Finder
system_type=$(uname -s)
# Show Hidden Files
dotfiles_install::darwin_finder::show_dotfiles() {
defaults writ... | dreadwarrior/dotfiles | .local/bin/dotfiles-install/darwin_finder.sh | Shell | mit | 1,711 |
#!/bin/sh
#SBATCH -J CS381VpROJ # Job name
#SBATCH -o experiment.out # Specify stdout output file (%j expands to jobId)
#SBATCH -p gpu # Queue name
#SBATCH -N 1 # Total number of nodes requested (16 cores/node)
#SBATCH -n 1 # Total number of tasks
#SBATC... | zerolocker/neural-style | cmd.sh | Shell | mit | 1,196 |
#!/bin/sh
set -e
echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
install_framework()
{
local source="${BUILT_PRODUCTS_DIR}/Pods-SMSegmentView_Tests/$1"
local... | trungung/SMSegmentView | Example/Pods/Target Support Files/Pods-SMSegmentView_Tests/Pods-SMSegmentView_Tests-frameworks.sh | Shell | mit | 2,367 |
#!/bin/bash
#
# Cleanroom Project release generator script
#
# by emaloney, 7 June 2015
#
set -o pipefail # to ensure xcodebuild pipeline errors are propagated correctly
SCRIPT_NAME=$(basename "$0")
SCRIPT_DIR=$(cd "$PWD" ; cd `dirname "$0"` ; echo "$PWD")
source "${SCRIPT_DIR}/include-common.sh"
showHelp()
{
de... | emaloney/MBGeolocation | BuildControl/bin/releaseMe.sh | Shell | mit | 14,436 |
#!/usr/bin/env bash
set -euo pipefail
rm -rf RxAlamofire-SPM.xcodeproj
rm -rf xcarchives/*
rm -rf RxAlamofire.xcframework.zip
rm -rf RxAlamofire.xcframework
brew bundle
xcodegen --spec project-spm.yml
xcodebuild archive -quiet -project RxAlamofire-SPM.xcodeproj -configuration Release -scheme "RxAlamofire iOS" -dest... | RxSwiftCommunity/RxAlamofire | scripts/xcframeworks.sh | Shell | mit | 4,472 |
#!/bin/sh
if [ $# -ne 4 ]
then
echo "Usage: $0 <source> <start> <end> <width>" 1>&2
exit 2
fi
SOURCE="$1"
START="$2"
END="$3"
WIDTH="$4"
LENGTH=`expr $END - $START`
hexdump -s $START -n $LENGTH -e $WIDTH'/1 "%02X "' -e '" : "' -e '"%_p"' -e '"\n"' $SOURCE
| forte916/hello_world | bash/hexdump.sh | Shell | mit | 269 |
#!/bin/sh
cd /home/wwwroot/www.reactshare.cn/air/images
convert -delay 100 -loop 0 *.png animation.gif
convert -delay 20 -loop 0 *.png animation-fast.gif
# 输出视频
#cat *.png | ffmpeg -f image2pipe -framerate 10 -i - output2.mkv
| raywill/crawl_air | animate.sh | Shell | mit | 238 |
#!/bin/bash
for i in *.tsp
do
for j in `echo "1 2 3 4 5 6 7 8 9 10"`
do
echo "$i" >> tspOptimized.Bench
./tsp -f $i -d >> tspOptimized.Bench
done
done
| heineman/algorithms-nutshell-2ed | Code/Graph/SingleSourceShortestPath/Tables/DeltaDense.sh | Shell | mit | 167 |
cf cups config-service -p '{"uri":"http://config-server.cf.demo.local/"}'
cf cups service-registry -p '{"uri":"http://eureka.cf.demo.local/"}'
cf cs p-mysql 100mb-dev fortune-db
| Sbodiu-pivotal/cloud-lab | labs/fortune-teller/create_services-local.sh | Shell | cc0-1.0 | 178 |
#!/bin/sh
#(c) Copyright Barry Kauler 2009, puppylinux.com
#2009 Lesser GPL licence v2 (see /usr/share/doc/legal).
#called from /usr/local/petget/installpreview.sh or check_deps.sh
#/tmp/petget_proc/petget_pkg_name_aliases_patterns is written by pkg_chooser.sh.
#passed param is a list of dependencies (DB_dependencies f... | jamesbond3142/woof-CE | woof-code/rootfs-skeleton/usr/local/petget/findmissingpkgs.sh | Shell | gpl-2.0 | 7,689 |
#! /bin/sh -e
#just a test file ignore this
PATH=/usr/local/bin/node:/bin:/usr/bin:/sbin:/usr/sbin
DAEMON=/root/Desktop/java_n_node/update/autoupdate.js #where's ur app at?
case "$1" in
start) forever start $DAEMON ;;
stop) forever stop $DAEMON ;;
force-reload|restart)
forever restart $DAEMON ;;
*) echo "Usage: /etc/in... | flipchan/autoupdater | forever.sh | Shell | gpl-2.0 | 404 |
#!/bin/sh
# Default build for Raspbian
ARCH="arm"
while getopts ":v:p:a:" opt; do
case $opt in
v)
VERSION=$OPTARG
;;
p)
PATCH=$OPTARG
;;
a)
ARCH=$OPTARG
;;
esac
done
BUILDDATE=$(date -I)
IMG_FILE="Volumio${VERSION}-${BUILDDATE}-sparky.img"
if [ "$ARCH" = arm ]; th... | chrismade/Build | scripts/sparkyimage.sh | Shell | gpl-2.0 | 5,277 |
#!/bin/bash
CC=gcc-4.0
cd `dirname $0`
if [ ! -f Makefile ]; then
echo "This script must be run from the ioquake3 build directory"
exit 1
fi
# we want to use the oldest available SDK for max compatibility. However 10.4 and older
# can not build 64bit binaries, making 10.5 the minimum version. This has been tested... | wtfbbqhax/ioq3 | make-macosx-ub.sh | Shell | gpl-2.0 | 2,968 |
#!/bin/bash
# -------------------------------------------------------------------------------
# Name: register-servicedata.sh
# Description: Registers Service Metadata for the current Node on an existing
# Consul cluster.
# Author: Carlos Veira Lorenzo - cveira [at] thinkinbig.org
# Version... | cveira/docker-aux | settings/scripts/register-servicedata.sh | Shell | gpl-2.0 | 3,172 |
#! /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/yacc-grepping.sh | Shell | gpl-2.0 | 2,194 |
convert images/OCS-194-A.png -crop 1566x311+0+0 +repage images/OCS-194-A-0.png
convert -append images/OCS-193-B-12.png images/OCS-194-A-0.png images/OCS-193-B-12.png
rm images/OCS-194-A-0.png
convert images/OCS-194-A.png -crop 1566x309+0+312 +repage images/OCS-194-A-1.png
convert images/OCS-194-A.png -crop 1566x235+0+6... | jonnymwalker/Staroslavjanskij-Slovar | scripts/findindents.OCS-194.sh | Shell | gpl-2.0 | 2,053 |
#!/usr/bin/env bash
#===============================================================================
#
# FILE: recurrent_nnlm.ex003.make_configs.sh
#
# USAGE: ./recurrent_nnlm.ex003.make_configs.sh
#
# DESCRIPTION:
#
# NOTES: ---
# AUTHOR: Hao Fang, hfang@uw.edu
# CREATED: 0... | hao-fang/UWNeuralNetLMRepo | examples/recurrent_nnlm.ex003.make_configs.sh | Shell | gpl-2.0 | 2,571 |
#!/bin/sh
#
# Copyright (c) 2013-2021, Christian Ferrari <tiian@users.sourceforge.net>
# All rights reserved.
#
# This file is part of FLoM.
#
# FLoM 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.
#... | tiian/flom | tests/scripts/flom_test_exec4.sh | Shell | gpl-2.0 | 1,272 |
#!/usr/bin/env bash
###########################################################################
# astyle.sh
# ---------------------
# Date : August 2008
# Copyright : (C) 2008 by Juergen E. Fischer
# Email : jef at norbit dot de
##################################... | ahuarte47/QGIS | scripts/astyle.sh | Shell | gpl-2.0 | 3,769 |
#!/bin/bash
# Check if user is root
if [ $(id -u) != "0" ]; then
printf "Error: You must be root to run this script!\n"
exit 1
fi
printf "\n"
printf "============================\n"
printf " PostFix V2.6.6 Install \n"
printf " copyright: www.doitphp.com \n"
printf "============================\n"
printf "... | doitphp/lnmp | postfix/setupShell/postfixInstall.sh | Shell | gpl-2.0 | 2,032 |
#!/bin/bash
#
# Run select tests by setting ONLY, or as arguments to the script.
# Skip specific tests by setting EXCEPT.
#
set -e
ONLY=${ONLY:-"$*"}
#Bug number for excepting test 6705
ALWAYS_EXCEPT="$SANITY_SCRUB_EXCEPT 1c 5 10"
[ "$SLOW" = "no" ] && EXCEPT_SLOW=""
# UPDATE THE COMMENT ABOVE WITH BUG NUMBERS WHEN... | HPCStack/lustre-release | lustre/tests/sanity-scrub.sh | Shell | gpl-2.0 | 30,976 |
#!/bin/sh
# see if we are in the top of the tree
if [ ! -f configure.proto ]; then
cd ../..
if [ ! -f configure.proto ]; then
echo "please run this script from the base of the VICE directory"
echo "or from the appropriate build directory"
exit 1
fi
fi
curdir=`pwd`
CC=owcc CXX=owcc RANLIB=true STRIP... | AreaScout/vice-gles2 | build/openwatcom/win32-build.sh | Shell | gpl-2.0 | 497 |
#!/bin/bash
### InterGenOS setup.sh - Put sources and variables in place to build the Temporary System
### Written by Christopher 'InterGen' Cork <chris@intergenstudios.com>
### 2/19/2015
#############################################################################################
##****!!!! Please note that the u... | InterGenOS/build_001---deprecated | setup.sh | Shell | gpl-2.0 | 7,020 |
#!/bin/sh
# create cjw_newsletter build package
# tar.gz package
EXTENSION_NAME=cjw_newsletter
CURRENT_DIR=`pwd`
cd ..
cd ..
cd ..
EZROOT=`pwd`
echo '---------------------------------------------------'
echo "START Build:" $EXTENSION_NAME
echo '---------------------------------------------------'
cd $EZROOT
... | styleflashernewmedia/cjw_newsletter | _build/build_extension.sh | Shell | gpl-2.0 | 634 |
time sh demo.sh
| esoule/crosstool | time.sh | Shell | gpl-2.0 | 16 |
#!/bin/sh
# this can be called from another script as ./q3hostfw <server-id> <port-number>
NAME=${1:-LIMITER} # you need to specify unique table name for each port
PORT=${2:-27960} # and unique server port as well
RATE=768/second
BURST=128
# flush INPUT table:
#iptables -F INPUT
# insert our rule at the beginning... | Q3HQ/Quake3hq | docs/firewall/fw-q3host.sh | Shell | gpl-2.0 | 532 |
#!/bin/sh
#
# mailer-t1.sh: test #1 for the mailer.py script
#
# This test generates "email" for each revision in the repository,
# concatenating them into one big blob, which is then compared against
# a known output.
#
# Note: mailer-tweak.py must have been run to make the test outputs
# consistent and reproduc... | bdmod/extreme-subversion | BinarySourcce/subversion-1.6.17/tools/hook-scripts/mailer/tests/mailer-t1.sh | Shell | gpl-2.0 | 938 |
#!/bin/sh
NODE_BIN=./node_modules/.bin
# Mocha (express app tests)
NODE_ENV=test $NODE_BIN/mocha --reporter spec app/tests
# Karma (angular app tests)
NODE_ENV=test $NODE_BIN/karma start
# Protractor (end-to-end tests)
NODE_ENV=test npm start &> /dev/null &
SERVER_PID=$!
sleep 5
$NODE_BIN/protractor
kill $SERVER_PID... | peap/rankcfb | test.sh | Shell | gpl-2.0 | 395 |
#! /bin/sh
# Copyright (C) 2007-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/color-tests.sh | Shell | gpl-2.0 | 3,833 |
#!/bin/bash
if [[ $(dpkg-query -W -f='${Status}\n' python) != 'install ok installed' ]]; then
apt-get install -y --force-yes python
fi
if [[ $(dpkg-query -W -f='${Status}\n' python-pip) != 'install ok installed' ]]; then
apt-get install -y --force-yes python-pip
fi
#Iniciamos los módulos de GAE
git submodule in... | juanfranrv/iDronDataAnalyzer | deployToGAE.sh | Shell | gpl-2.0 | 510 |
#!/bin/bash
# This is a simple script to search a directory for TIFF images and convert them to PDF.
# It relies on find, tiff2pdf, and egrep to work its magic.
# Files ending in '.tiff' or '.tif' (in any case) are supported.
# Found this script here: http://www.neowin.net/forum/topic/1143030-need-helping-making-tiff2... | opendatakosovo/useful-bash-scripts | tiffs2pdfs.sh | Shell | gpl-2.0 | 770 |
#!/bin/sh
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: lib/version.sh
# Copyright (C) 2010 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or m... | OpenSDE/opensde-nopast | lib/version.sh | Shell | gpl-2.0 | 2,043 |
#!/bin/bash
source ./test_DATA.sh
source ./test_ffmpeg.sh
source ./test_MCTF.sh
source ./test_wget.sh
source ./test_Kakadu.sh
VIDEO=coastguard_352x288x30x420x300
GOPs=1 # Without including the first GOP (that has only a I image)
Y_DIM=288
X_DIM=352
FPS=30
MAX_Q_SCALE=46000
TRLs=6
# TRLs=1 GOP_SIZE=1
# TRLs=2 GOP_SIZE... | vicente-gonzalez-ruiz/QSVC | trunk/tests/RD-MCJ2K-coastguard_352x288x30x420x300.sh | Shell | gpl-2.0 | 935 |
#!/bin/bash
function displayUsage
{
echo "Usage: ./encode_hls.sh <source file path> <file prefix of output HLS segments> <logfile>"
exit
}
function write_status
{
echo "$(date +'%Y-%m-%d %H:%M:%S') STATUS $1" >> $2
}
if [[ -z "$4" ]]
then
displayUsage
fi
inputfile=$1
output_prefix=$2
logfile=$3
hlsurl=$4
... | mrnastor/chopsuey | shell_scripts/encode_hls.sh | Shell | gpl-2.0 | 5,254 |
#! /bin/sh
# Copyright (C) 2005-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/lispdry.sh | Shell | gpl-2.0 | 1,303 |
STATUS=`defaults read com.apple.finder AppleShowAllFiles`
QUERY="{query}"
if [ "$QUERY" == "off" ];
then
if [ $STATUS == NO ];
then
defaults write com.apple.finder AppleShowAllFiles YES
#killall Finder
killall Finder /System/Library/CoreServices/Finder.app
echo "Show Hidden Files Now"
fi
echo "Alre... | wzxjohn/File-Hidden-Switch-Workflow | source/script.sh | Shell | gpl-2.0 | 853 |
#!/bin/bash
source /etc/kubernetes/controller-manager
source /etc/kubernetes/config
export KUBE_LOGTOSTDERR
export KUBE_LOG_LEVEL
export KUBE_MASTER
export KUBE_CONTROLLER_MANAGER_ARGS
exec /usr/bin/kube-controller-manager \
$KUBE_LOGTOSTDERR \
$KUBE_LOG_LEVEL \
$KUBE_MASTER \
$KUBE_CONTROLLER_MANAGER_ARGS \... | DirectXMan12/Fedora-Dockerfiles | kubernetes/controller-manager/launch.sh | Shell | gpl-2.0 | 326 |
#!/bin/sh
# Copyright Abandoned 1996 TCX DataKonsult AB & Monty Program KB & Detron HB
# This file is public domain and comes with NO WARRANTY of any kind
# MySQL daemon start/stop script.
# Usually this is put in /etc/init.d (at least on machines SYSV R4 based
# systems) and linked to /etc/rc3.d/S99mysql and /etc/rc... | m4734/mysql_pio | support-files/mysql.server.sh | Shell | gpl-2.0 | 10,835 |
#! /bin/sh -e
# tup - A file-based build system
#
# Copyright (C) 2009-2022 Mike Shal <marfey@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distribu... | gittup/tup | test/t2006-missing-file.sh | Shell | gpl-2.0 | 920 |
#!/bin/bash
# Try to create JIS-encoded channel containing ',' to see if JIS support works as expected
# $Id: jistest.sh 99 2010-01-19 22:14:36Z karel.tuma $
if (echo "USER sd 0 sd :sd"; echo "NICK sd--"; /bin/echo -e "JOIN #\033\$Btest,test2\033(B"; echo QUIT) | nc localhost 6607 | grep "test,test"; then
echo "JP te... | asterIRC/ircd-ratbox-ircnet | contrib/testnet/jistest.sh | Shell | gpl-2.0 | 366 |
#!/bin/sh
# $Id: findversion.sh 22447 2011-05-13 17:52:35Z rubidium $
# This file is part of OpenCoaster Tycoon.
# OpenCoaster Tycoon 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, version 2.
# OpenCoaste... | ShaunOfTheLive/OpenCoasterTycoon | findversion.sh | Shell | gpl-2.0 | 5,493 |
#!/usr/bin/env sh
# THIS IS AN AUTO-GENERATED FILE
# IT IS UNLIKELY YOU WANT TO EDIT THIS FILE BY HAND
# IF YOU WANT TO CHANGE THE ROS ENVIRONMENT VARIABLES
# USE THE rosinstall OR rosws TOOL INSTEAD.
# Generator version: 0.7.5
# see: http://www.ros.org/wiki/rosinstall
# This setup.sh file has to parse .rosinstall fi... | rcln/Golfred | golem/jade_workspace/setup.sh | Shell | gpl-2.0 | 6,802 |
# Installing the virtualbox guest additions
VBOX_VERSION=$(cat $HOME/.vbox_version)
cd /tmp
mount -o loop $HOME/VBoxGuestAdditions_$VBOX_VERSION.iso /mnt
sh /mnt/VBoxLinuxAdditions.run
umount /mnt
rm -rf $HOME/VBoxGuestAdditions_*.iso
| mvj3/install | definitions/hadoop_centos/virtualbox.sh | Shell | gpl-2.0 | 236 |
#!/bin/bash
# TRL = 4
#set -x
base_dir=$PWD
# Parámetros comunes
CABECERA_H1=9040
CABECERA_H2=4528
CABECERA_H3=2272
CABECERA_H4=1144
CABECERA_L=1144
PICTURES=129
# Parámetros video
parametrosCIFx30 () {
X_DIM=352
Y_DIM=288
FPS=30
BLOCK_SIZE=152064
DURATION=`echo "$PICTURES/$FPS" | bc -l` #segundos
}
paramet... | vicente-gonzalez-ruiz/QSVC | trunk/tests/Control_BR_slopes/C_crew_cif/slopesTRL_3.sh | Shell | gpl-2.0 | 15,066 |
#!/bin/bash
#SBATCH --job-name=getMGRAST
#SBATCH --partition=compute
#SBATCH --time=84:00:00
#SBATCH --ntasks=1
#SBATCH --cpus-per-task=1
#SBATCH --output=getMGRAST_%j.out
#SBATCH --error=getMGRAST_%j.err
key=$1
mgid=$2
echo "$1 for $2"
srun curl -H "auth: $key" -H 'Accept-Encoding: gzip,deflate' "http://api.metageno... | Askarbek-orakov/ASAR | bash/getMGRAST.sh | Shell | gpl-3.0 | 806 |
#!/bin/bash
# Rss ativated for download new musics
# test n2
# data do ultimo update
$LAST_UPDATE =
RSS_START ()
{
rsstail \
--newer $LAST_UPDATE
--format
}
# validated if rsstail is installed
if [[ command_exists rsstail != 0 ]] ;then
RSS_START
else
echo "Please install rsstail for cont... | thiago2roshi/my-dotfiles | bin/rss_update2.sh | Shell | gpl-3.0 | 329 |
#!/bin/sh
#
# Script TO grant privileges TO the bacula database
#
db_user=${db_user:-bacula}
pg_config=`which pg_config`
bindir=`pg_config --bindir`
PATH="$bindir:$PATH"
db_name=${db_name:-bacula}
psql -q -f - -d ${db_name} $* <<END-OF-DATA
SET client_min_messages=WARNING;
-- Grants for the database
ALTER DATABASE ... | wanderleihuttel/webacula | install/PostgreSql/30_grant_postgresql_privileges.sh | Shell | gpl-3.0 | 3,156 |
#!/bin/bash
# License GPL, see LICENSE
# Written by Nanomad [condellog_At_gmail_dot_com]
if `gnome-terminal -e ./zenity_check`;
then zenity --info --title "Ubuntu Parental Control setup" --text $"This will install and configure a basic parental control feature for Ubuntu" && gksudo -t "Ubuntu Parental Contro setup" 'gn... | KIAaze/bin_and_dotfiles_public | bins/public_bin/Parental_control/install.sh | Shell | gpl-3.0 | 363 |
#!/bin/bash
#BSUB -J "pindel[1-573]"
#BSUB -q long
#BSUB -M 8000
#BSUB -n 8
#BSUB -R "select[mem>8000] rusage[mem=8000] span[ptile=8]"
#BSUB -e pindel.err.%I
#BSUB -o pindel.out.%I
cd /lustre/scratch116/casm/cgp/users/tn5/katarina/
TUMOUR=`ls bams/filtered/*.bam | head -n $LSB_JOBINDEX | tail -n 1`
NORMAL=bams/contro... | TravisCG/SI_scripts | pindel.sh | Shell | gpl-3.0 | 971 |
#!/usr/bin/env bash
# Copyright: Christoph Dittmann <github@christoph-d.de>
# License: GNU GPL, version 3 or later; http://www.gnu.org/copyleft/gpl.html
#
# Hiragana trainer.
DIRECTORY="$(dirname "$0")"
KANA_FILE="$DIRECTORY/hiragana.txt"
IRC_COMMAND='!hira'
# shellcheck source=kana/kana.sh
. "$(dirname "$0")/kana.sh... | Christoph-D/Japanese-Tools | kana/hira.sh | Shell | gpl-3.0 | 322 |
#!/bin/bash
VNCDISPLAY=$(ls $HOME/.vnc/*.log | sed -e "s/[^:]*://" -e "s/\.log$//")
vncserver -kill :$VNCDISPLAY
| jcrodriguez-dis/vpl-xmlrpc-jail | vpl_vnc_stopper.sh | Shell | gpl-3.0 | 113 |
sudo chmod ugo+r /var/lib/command-not-found/commands.db
| Erotemic/local | scripts/fix_command_not_found.sh | Shell | gpl-3.0 | 56 |
#! /bin/sh
#
# Copyright 2012 Andrew Gottemoller.
#
# This software is a copyrighted work licensed under the terms of the
# Secure Rsync license. Please consult the file "SR_LICENSE" for
# details.
gmake --directory=secure_rsync -r -R setup
| agottem/secure_rsync | setup.sh | Shell | gpl-3.0 | 244 |
#!/bin/bash
# E-WPS - The easiest way to crack WPS
# Copyright (C) 2015-2016
# Script by Leprechaun
#
# 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 L... | Leproide/E-WPS | e-wps-nomacchange.sh | Shell | gpl-3.0 | 5,560 |
#!/bin/bash
set -ue
APP_NAME="withnicome"
SCRIPT_PATH="$(dirname "$(readlink -f "${0}")")/"
error_exit() {
printf "%s\n" "${*}" >&2
exit 1
}
# Check next version.
currentVer="$(sed -ne 's/.*[, \t]\+"version":\ \?"\([0-9.]\+\)",\?/\1/p' "${SCRIPT_PATH}manifest.json")"
printf "CURRENT_VERSION: %s\n" "${current... | choco-la/nicomment | package.sh | Shell | gpl-3.0 | 1,201 |
#!/bin/bash
cd $HOME
# setup vagrant user as an admin of the system
bash /var/www/elmsln/scripts/install/users/elmsln-admin-user.sh
# refresh file so its good when next call uses it
source $HOME/.bashrc
# add vagrant to the elmsln group
sudo usermod -a -G elmsln vagrant
# set all permissions correctly and for vagrant u... | mmilutinovic1313/elmsln | scripts/vagrant/cleanup.sh | Shell | gpl-3.0 | 1,251 |
source ./scripts/dev/environment.sh
source ./scripts/dev/virtualize.sh | layuplist/layup-list | init.sh | Shell | gpl-3.0 | 70 |
#!/usr/bin/env bash
#set -xv
#####################################################################
#
# Name: Luke Collins
# Date: 19/03/2018
# Script Description: Script to enable cloudflare
# Version: 1.0
# Copyright: Cop... | LukeCollins-net/Ops-Tools | cloud/vps1/scripts/cloudflare/enableCF.sh | Shell | gpl-3.0 | 1,974 |
#!/bin/bash
echoerr() { echo "$@" 1>&2; }
typ="$1"
entity="$2"
options="$3"
folder="$4"
path="$5"
[ -z "$typ" ] && echo "No class provided (e.g. Shop)"
[ -z "$entity" ] && echo "No entity type provided (node, way or relation)"
[ -z "$folder" ] && folder=`date +%F`
[ -z "$path" ] && path="../target/dump/"
targetDir=... | GeoKnow/LinkedGeoData | linkedgeodata-dump/bin/create-script-entity-type-tool.sh | Shell | gpl-3.0 | 928 |
EXP_PFILE=/home/michal/Dropbox/study/university/final_year/final-year-project/src/exp_params.txt
DEF_PFILE=/home/michal/Dropbox/study/university/final_year/final-year-project/src/params.txt
INDIR=/media/michal/Edison/fyp/new/morerandom/morerandom_params
STREAM_DIR=/media/michal/Edison/fyp/new/morerandom/morerandom_stre... | heuristicus/final-year-project | scripts/randfunc/runtd_exp.sh | Shell | gpl-3.0 | 4,177 |
#!/bin/bash
set -ex
CHROME_DOWNLOAD_PATH=~/Downloads/
if [ "$1" == "-r" ]; then
rm ${CHROME_DOWNLOAD_PATH}/LF*.html 2> /dev/null
else
echo -n "Copying html ... "
rm -rf ./html/ ./md/
mkdir -p ./html/{orig,clean}
mv ${CHROME_DOWNLOAD_PATH}/LF*.html html/orig #2> /dev/null
# rm html/clean/* 2> /dev/null
# rm -f md... | kanner/lfs-crawler | run.sh | Shell | gpl-3.0 | 660 |
#!/bin/bash
#if [ -f /etc/apf/factory.conf ] ; then
# cp -f /etc/apf/factory.conf /etc/apf/factory.conf.bak
#fi
if id apf > /dev/null 2>&1; then
: # do nothing
else
/usr/sbin/useradd --comment "AutoPyFactory service account" --shell /bin/bash apf
fi | edquist/autopyfactory | misc/rpm-pre.sh | Shell | gpl-3.0 | 256 |
#!/bin/bash
#
# Unattended/SemiAutomated OpenStack Installer
# Danny j. Pérez M. perezdann at gmail dot com
# Based on 1.0.5 ubuntu16lts by Reynaldo R. Martinez P. TigerLinux at gmail dot com
#
# Main Installer Script
# Version: 1.0.6.deb8 "Daenerys"
# July 09, 2016
#
# OpenStack MITAKA for Debian 8
PATH=$PATH:/bin:/s... | dannyperez/openstack-mitaka-autoinstaller-debian8 | modules/heatinstall.sh | Shell | gpl-3.0 | 11,036 |
# build script for Wikispeech
# mimic travis build tests, always run before pushing!
set -e
SLEEP=60
if [ $# -ne 0 ]; then
echo "For developers: If you are developing for Wikispeech, and need to make changes to this repository, make sure you run a test build using build_and_test.sh before you make a pull request... | stts-se/pronlex | build_and_test.sh | Shell | gpl-3.0 | 1,072 |
#!/bin/bash
# script to resubmit next job after current job completed
# Andre R. Erler, 28/02/2013
# The following environment variables have to be set by the caller:
# INIDIR, RSTDIR, WRFSCRIPT, RESUBJOB, NEXTSTEP, NOWPS
# set default for $NOWPS and $RSTCNT, to avoid problems when passing variable to next job
NOWPS=... | aerler/WRF-Tools | Scripts/Common/resubJob.sh | Shell | gpl-3.0 | 4,964 |
#!/bin/bash
BUTTERFLY_BUILD_ROOT=$1
BUTTERFLY_SRC_ROOT=$(cd "$(dirname $0)/../.." && pwd)
source $BUTTERFLY_SRC_ROOT/tests/functions.sh
network_connect 0 1
server_start 0
nic_add 0 1 42 sg-1
nic_add 0 2 42 sg-1
qemus_start 1 2
for i in {1..10}; do
ssh_no_connection_test udp 1 2 6000
ssh_no_connection_test ud... | outscale-jju/butterfly | tests/scenario_25/test.sh | Shell | gpl-3.0 | 753 |
#extract graphic characters
wget http://www.unicode.org/Public/5.1.0/ucdxml/ucd.all.flat.zip
unzip -p ucd.all.flat.zip | python3 ../parse.py > characters.html
wc -l characters.html
#100507
| taroyabuki/onepage-unicode-chars | 5.1/stage1.sh | Shell | gpl-3.0 | 192 |
#!/usr/bin/env bash
#set -o nounset #exit if an unset variable is used
set -o errexit #exit on any single command fail
# find voltdb binaries in either installation or distribution directory.
if [ -n "$(which voltdb 2> /dev/null)" ]; then
VOLTDB_BIN=$(dirname "$(which voltdb)")
else
VOLTDB_BIN="$(dirname $(di... | migue/voltdb | tests/test_apps/kafkaimporter/run.sh | Shell | agpl-3.0 | 5,420 |
#!/usr/bin/env sh
# Get the tag
if [ "$#" -gt 0 ] ; then
export TAG="$1"
else
export TAG="latest"
fi
# Get the build
if [ -n "$GITHUB_SHA" ] ; then
GIT_HASH=${GITHUB_SHA}
GIT_BRANCH=${GITHUB_REF#refs/heads/}
else
GIT_HASH=$(git rev-parse HEAD)
GIT_BRANCH=$(git symbolic-ref --short HEAD)
fi
GIT... | mrsarm/django-coleman | docker-build.sh | Shell | agpl-3.0 | 584 |
#!/usr/bin/env bash
#
# publish.sh
#
# Command that send your blog/website to the public area
rsync -a --partial --delete ${DESTDIR}/ ${PUBLISH_DESTINATION}/
| blankoworld/makefly | tools/publish.sh | Shell | agpl-3.0 | 159 |
#!/bin/sh
### BEGIN INIT INFO
# Provides : Ait-Mlouk Addi (aitmlouk@gmail.com)
# site web : http://www.aitmlouk-addi.info/
# blog : http://aitmlouk-addi.blogspot.com/
# linkedin : http://ma.linkedin.com/pub/addi-ait-mlouk/56/850/32a
# viadeo : http://ma.viadeo.com/en/profile/addi.mlk
# Google+ : https://plu... | aitmlouk/odoo-scripts | backup.sh | Shell | agpl-3.0 | 895 |
#!/usr/bin/env bash
# Kill the apt services holding a dpkg lock, so that the ansible-bootstrap
# script can run without conflicts.
# NOTE: this is a temporary fix. Instead, we should be doing what SRE does,
# and first run the security+common roles on a vanilla AMI, which will disable
# unattended-updates and set up ... | edx/configuration | util/packer/stop-automatic-updates.sh | Shell | agpl-3.0 | 779 |
#!/bin/bash
# ------------------ Process Commandline Options -------------------
USAGE="Usage: "`basename $0`" [-u uid][-p][-h help]"
USERNAME=`whoami`
PASSWD=''
COURSE_SUBSTR=''
DB_NAME='Extracts'
needPasswd=false
TABLE_NAME=''
ALL_COLS=''
# Execute getopt
ARGS=`getopt -o "u:ph" -l "user:,password,help" \
-n... | EDUlib/eTracesX | Translation_software/edx_to_MOOCdb_piping/import.openedx.apipe/scripts/makeCourseNameListTable.sh | Shell | agpl-3.0 | 1,901 |
#!/bin/bash
#
# This file is part of SerialPundit.
#
# Copyright (C) 2014-2021, Rishi Gupta. All rights reserved.
#
# The SerialPundit is DUAL LICENSED. It is made available under the terms of the GNU Affero
# General Public License (AGPL) v3.0 for non-commercial use and under the terms of a commercial
# license for... | RishiGupta12/SerialPundit | tools-and-utilities/udev-ftdi-latency-timer.sh | Shell | agpl-3.0 | 1,677 |
#!/bin/sh
cd doc
make
| mattam82/Coq-Equations | makedoc.sh | Shell | lgpl-2.1 | 23 |
#!/usr/bin/env bash
#
# Copyright (C) 2018 Gaëtan Harter <gaetan.harter@fu-berlin.de>
#
# This file is subject to the terms and conditions of the GNU Lesser
# General Public License v2.1. See the file LICENSE in the top level
# directory for more details.
#
#
# Central test script to have sanity checks for the build s... | aeneby/RIOT | dist/tools/buildsystem_sanity_check/check.sh | Shell | lgpl-2.1 | 7,826 |
#!/bin/sh
set -e
set -x
rm -rf dbmod
# Debugging + logging
#FLAGS = -DDEBUG -g -D_DEBUG
# Logging
#FLAGS = -DDPRNT -O3
# Profiling
#FLAGS = -DNDEBUG -O3 -pg
# Normal
FLAGS='-DNDEBUG -O3'
COPT="${FLAGS} -DUNIX -Dcdecl= -D__NO_ANONYMOUS_UNIONS__ -Dstrnicmp=strncasecmp -Dstricmp=strcasecmp -Ddp_ANET2"
mkdir dbmod
cd d... | BygoneWorlds/anet | src/tca/mkdbmod.sh | Shell | lgpl-2.1 | 624 |
#!/usr/bin/env bash
. ./wvtest-bup.sh || exit $?
. t/lib.sh || exit $?
set -o pipefail
mb=1048576
top="$(WVPASS pwd)" || exit $?
tmpdir="$(WVPASS wvmktempdir)" || exit $?
readonly mb top tmpdir
export BUP_DIR="$tmpdir/bup"
export GIT_DIR="$tmpdir/bup"
bup() { "$top/bup" "$@"; }
WVPASS cd "$tmpdir"
# The 3MB guess... | tjanez/bup | t/test-sparse-files.sh | Shell | lgpl-2.1 | 4,647 |
#!/bin/sh
#############################################################################
##
## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
## Contact: http://www.qt-project.org/legal
##
## This file is the build configuration utility of the Qt Toolkit.
##
## $QT_BEGIN_LICENSE:LGPL$
## Commercial License Us... | CodeDJ/qt5-hidpi | qt/qtbase/tests/auto/network/ssl/qsslkey/keys/genkeys.sh | Shell | lgpl-2.1 | 3,608 |
rsync -avz --progress /home/pedro/Projetos/LNBIO/SH/Code/src/Java\ Src/SimpleHistogramPanel/src/ ./src/
| pdroalves/SimpleHistogramPanel | sync.sh | Shell | lgpl-3.0 | 104 |
$HOME/stm32/stlink/st-flash write SPI-dma-lcd.bin 0x08000000
| llooxy2112/STM32-demo | SPI-dma-lcd/flash.sh | Shell | lgpl-3.0 | 61 |
#!/bin/bash
gem build verum.gemspec
sudo gem install verum-0.3.0.gem | paulosalem/verum | install_gem_locally.sh | Shell | lgpl-3.0 | 69 |
#!/bin/bash
set -eu
#
# tools/build-win64-toolchain.sh: Win64 toolchain build script.
#
# n64chain: A (free) open-source N64 development toolchain.
# Copyright 2014-16 Tyler J. Stachecki <stachecki.tyler@gmail.com>
#
# This file is subject to the terms and conditions defined in
# 'LICENSE', which is part of this sourc... | tj90241/n64chain | tools/build-win64-toolchain.sh | Shell | lgpl-3.0 | 5,934 |
#!/bin/bash
while true; do
s=$(nc -p 2300 -l |perl -n -e 'printf "magic=%s from=%s type=%s data=%s\n", unpack("a4 a12 a12 a48");')
date "+%Y-%m-%d %T %Z : $s"
done
| matthewg42/Mebm | mebm_test/test_listen.sh | Shell | lgpl-3.0 | 168 |
#!/bin/bash
# Clockslow -- A tool to trick app to let it think time goes slower or faster
# Copyright (C) 2014 StarBrilliant <m13253@hotmail.com>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software F... | m13253/clockslow | clockslow.sh | Shell | lgpl-3.0 | 1,595 |
#!/bin/bash
svn update
rm -f ~/.gtranslator/umtf/personal-learn-buffer.xml
printf "po/pt_BR.po\ny" | /usr/local/share/gtranslator/scripts/build-gtranslator-learn-buffer.sh
make .bin/pot/pw3270.pot
cp .bin/pot/pw3270.pot po/pt_BR.po
gtranslator --auto-translate=po/pt_BR.po > /dev/null 2>&1
gtranslator po/pt_BR.po > ... | laubstein/pw3270 | ptbr.sh | Shell | lgpl-3.0 | 555 |
#!/bin/sh
set -ue
umask 0027
export LANG='C'
IFS='
'
: ${SRCDIR:=${HOME}/.dotfiles}
: ${DESTDIR:=${HOME}}
: ${SRCTYPE:=${SRCDIR}/.src_type}
# create_symlinks FROM TO
create_symlinks () {
(
srcdir=$1
destdir=$2
find "${srcdir}" -type d | \
sed "s%^${srcdir}/%${destdir}/.%" | \
xargs mkdir -p >/dev/null 2>&1... | glabra/dotfiles | bootstrap.sh | Shell | unlicense | 2,684 |
#!/usr/bin/env bash
set -e
CA_PATH=../ca
CERTS_PATH=server-certs
export CA_DIR=$CA_PATH
export INTERMEDIATE_DIR=$CA_PATH/intermediate
mkdir -p $CERTS_PATH/certs $CERTS_PATH/csr $CERTS_PATH/private
cp openssl/server/openssl*.conf $CERTS_PATH/
cd $CERTS_PATH
# Consul Server
openssl genrsa \
-out private/consul... | picodotdev/blog-ejemplos | ConsulVaultNomadDatacenter/server-certs.sh | Shell | unlicense | 6,293 |
#!/bin/bash -x
# Configure the locale to have proper language support.
localedef -i en_US -c -f UTF-8 en_US.UTF-8
dpkg-reconfigure locales
# Configure the timezone.
echo "Europe/Zurich" > "/etc/timezone"
dpkg-reconfigure -f noninteractive tzdata
# Set the machine’s hostname.
echo "DE0-Nano-SoC" > "/etc/hostname"
tee... | sahandKashani/DE1-SoC | DE0_Nano_SoC/DE0_Nano_SoC_demo/sw/hps/linux/rootfs/config_system.sh | Shell | unlicense | 2,721 |
typeset -Ag FX FG BG
LSCOLORS="exfxcxdxbxegedabagacad"
LS_COLORS="di=34:ln=35:so=32:pi=33:ex=31:bd=34;46:cd=34;43:su=0;41:sg=0;46:tw=0;42:ow=0;43:"
FX=(
reset "%{[00m%}"
bold "%{[01m%}" no-bold "%{[22m%}"
italic "%{[03m%}" no-italic "%{[23m%}"
underline "%{[04m%}" no-underlin... | kloetzl/dotfiles | zsh/colors.zsh | Shell | unlicense | 693 |
#!/bin/bash
rm -f *.txt *.key *.crt *.csr *.srl
exit 0
| flipk/pfkutils | libprotossl/keys/clean.sh | Shell | unlicense | 57 |
#!/usr/bin/env bash
#
# setup.python.sh: Install a specific Python version and packages for it.
# Usage: setup.python.sh <pyversion> <requirements.txt>
# Sets up custom apt sources for our TF images.
# Prevent apt install tzinfo from asking our location (assumes UTC)
export DEBIAN_FRONTEND=noninteractive
# Set up sh... | tensorflow/build | tf_sig_build_dockerfiles/setup.sources.sh | Shell | apache-2.0 | 982 |
#!/bin/bash
#
# Downloads and runs Google closure linter.
# Guide: https://google.github.io/styleguide/shell.xml
# Link: https://github.com/google/closure-linter
# Source: https://github.com/Datamart/Workspace/blob/master/build/jslint.sh
readonly CWD=$(cd $(dirname $0); pwd)
readonly LIB="${CWD}/lib"
readonly TMP="${C... | Datamart/Komito | build/jslint.sh | Shell | apache-2.0 | 2,018 |
#!/usr/bin/env bash
# Purpose: print current state of git tree (for logging purposes)
# Usage: git_info.sh
set -o errexit -o nounset
if ! GITEXE=$(which git); then
echo "No git executable in path. Exiting."
exit 1
fi
echo " $(git describe --all --long --dirty)"
# All active changes (un-/staged) to tracked ... | openstack/training-labs | labs/osbash/tools/git_info.sh | Shell | apache-2.0 | 361 |
pt-query-digest --user=root --password=root --review h=192.168.214.131,D=slow_query_log,t=global_query_review --history h=192.168.214.131,D=slow_query_log,t=global_query_review_history --no-report --limit=0% --filter="\$event->{Bytes} = length(\$event->{arg}) and \$event->{hostname}=\"$HOSTNAME\"" slow.log
#--... | zhujzhuo/anemometerAudit_SQL | digest-slow.sh | Shell | apache-2.0 | 1,960 |
#!/bin/bash
# This script must be run with sudo.
# for libopencv-dev-2.4
add-apt-repository -y ppa:kubuntu-ppa/backports
# for proto2.5
add-apt-repository -y ppa:chris-lea/protobuf
apt-get -y update
# remove CONDA directory
rm -rf $CONDA_DIR
# invoke BVLC caffe scripts
./caffe-public/scripts/travis/travis_install.sh
| anfeng/CaffeOnSpark | scripts/travis/travis_install.sh | Shell | apache-2.0 | 318 |
#!/bin/sh
export PATH=$GOPATH/bin:$PATH
# /tmp isn't moutned exec on most systems, so we can't actually start
# containers that are created there.
export SRC_DIR=$(pwd)
export LXD_DIR=$(mktemp -d -p $(pwd))
chmod 777 "${LXD_DIR}"
export LXD_CONF=$(mktemp -d)
export LXD_FUIDMAP_DIR=${LXD_DIR}/fuidmap
mkdir -p ${LXD_FUI... | basvanbeek/lxd | test/main.sh | Shell | apache-2.0 | 5,770 |
# Helper functions for lstore-release
#
# Globals
#
LSTORE_SCRIPT_BASE=$(cd $(dirname "${BASH_SOURCE[0]}") && pwd)
LSTORE_RELEASE_BASE=$(cd $(dirname "${LSTORE_SCRIPT_BASE}") && pwd)
LSTORE_TARBALL_ROOT=$LSTORE_RELEASE_BASE/tarballs/
LSTORE_LOCAL_REPOS="toolbox ibp gop lio meta release"
#
# Informational messages
#
f... | PerilousApricot/lstore | scripts/functions.sh | Shell | apache-2.0 | 11,314 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.