blob_id stringlengths 40 40 | length_bytes int64 7 488k | source stringlengths 7 488k |
|---|---|---|
dabb9cb25f8f6461dc1bc9fa1551e3e848c2d76e | 73 | #! /bin/bash
source .venv/bin/activate
python3 bme280_main.py
deactivate
|
936852bcc458fe5cf6ed94960dc005114f4b631f | 3,022 | #!/bin/bash
# Init file for codedeploy-agent
#
# chkconfig: 2345 98 02
# description: codedeploy-agent processes the deployments created by AWS CodeDeploy and installs \
# the deployment artifacts on to this instance.
### BEGIN INIT INFO
# Provides: codedeploy-agent
# Required-Start: $all
# Required-Stop:... |
fa5920b6bbac299744fb8ba39e37a48a1fc32b4e | 1,002 |
#!/bin/sh
(~/prism/1121/bin/upprism mm_3_cv_2.psm mm_3_nc000913_2_cv_2_sw mm_3_nc000913_2_cv_2_sw_h nc000913_2_u60_f1_dat viterbi > ../viterbi/mm_3_nc000913_2_cv_2_f1.vit &)
(~/prism/1121/bin/upprism mm_3_cv_2.psm mm_3_nc000913_2_cv_2_sw mm_3_nc000913_2_cv_2_sw_h nc000913_2_u60_f2_dat viterbi > ../viterbi/mm_3_nc000... |
5a5f6c83b783304c08cb661ce4de96b032714f52 | 42 | PORT = 3001
SECRET = "asdasdksadksassads"
|
53426b39293ce3640877b8806331ab6c9306452d | 192 | #!/bin/bash
echo "WE'RE ABOUT TO STOP RIGHT NOW !"
/usr/sbin/httpd -k stop
echo "Everything is properly stopped, we can exit"
# everything is properly stopped, we can exit
rm -f /opt/letitrun
|
80aee1d9c301300dfe66ed0bf865eea6bb0075ac | 139 | #!/bin/#!/bin/sh
wget -nd 'https://data.nlextract.nl/bag/csv/bag-adressen-full-laatst.csv.zip'
unzip -a 'bag-adressen-full-laatst.csv.zip'
|
49b2df3a93103644ea6bda4db804d1b21f2e973f | 3,900 | #!/bin/bash
## Remove unused Firefox localizations
apt-get remove -y --purge firefox-esr-l10n-ar firefox-esr-l10n-ast \
firefox-esr-l10n-be firefox-esr-l10n-bg firefox-esr-l10n-bn \
firefox-esr-l10n-bs firefox-esr-l10n-ca firefox-esr-l10n-cs \
firefox-esr-l10n-cy firefox-esr-l10n-da firefox-esr-l10n-de \
... |
657b0cf4e26beb1e4264304fcf1353101c4d3fd8 | 104 | #!/bin/bash
gunicorn -b 0.0.0.0:5000 wsgi --worker-class=gevent --worker-connections=1000 --timeout 90
|
13b6b092f9e7ed657218b9a01f98b344cca8ad66 | 31 | ln -s dotfiles/.fonts ../fonts
|
3785bc944f332f2a754bc44151ffe60ad179f610 | 396 | #! /bin/bash
echo "hokuyo starting"
source /opt/ros/indigo/setup.bash
# this is not necessary as user is in dialout group and have permissions
#chmod a+rw /dev/ttyACM1
rosparam set hokuyo_node/calibrate_time false
rosparam set hokuyo_node/port /dev/serial/by-id/usb-Hokuyo_Data_Flex_for_USB_URG-Series_USB_Driver-if00... |
51d41d5bc32db9165171c3990399b76165d732a5 | 1,060 | APP_NAME=msm
APP_ENV=local
APP_KEY=base64:DjSoZcseao6Y+xbVqErrc7xpt3TGltR6y+4KIgxi3aA=
APP_DEBUG=true
APP_URL=http://localhost:8001
LOG_CHANNEL=stack
DB_CONNECTION=mysql
DB_HOST=mysql
DB_PORT=3306
DB_DATABASE=db
DB_USERNAME=root
DB_PASSWORD=123456
BROADCAST_DRIVER=log
CACHE_DRIVER=redis
QUEUE_CONNECTION=redis
SESSIO... |
86c6103a6f242c040cd8c93587ca6f35f1c2a891 | 800 | # Maintainer: Steven Allen <steven@stebalien.com>
# Contributor: stlarch stlarchie@gmail.com
pkgname=stlarch_font
pkgver=1.5
pkgrel=1
pkgdesc="Font with icons for status bars"
arch=('any')
url="http://sourceforge.net/projects/stlarchfont"
license=('GPL2')
depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-mkfontdir' ... |
4792584491e024acde57c8c239fdf22efc5a4b97 | 2,609 | #!/bin/bash
# oromisbackup - backup everything on my router/firewall/vpnserver
# joe brendler - 19 May 2019
source /usr/local/sbin/script_header_brendlefly
BUILD=0.0
VERBOSE=$TRUE
verbosity=2
#---[ variables ]-----------------------------------------------------------
# sync all content in these directories (restrict... |
3a8fd2babebb7de55c001655c0223120e8f6cc66 | 128 | source ./env
# Run bugzilra
sudo docker stop $CONTAINER
echo "stop $CONTAINER"
sudo docker rm $CONTAINER
echo "rm $CONTAINER"
|
4a96e82c86634f8a83be2afefc97fb9f51f70260 | 290 | #!/bin/bash
# Kill the existing process if it's already running
if [ "$(lsof -i:8085)" ]; then
kill $(lsof -t -i:8085)
fi
# Kick off the new process
gcloud beta emulators pubsub start --project=grpc-demo-proj
# Connect to environment variables
$(gcloud beta emulators pubsub env-init)
|
b5e034b8eb2413bbb138bc0d968507b8293ac770 | 59 | #!/usr/bash
git add -A & git commit -m "commit" & git push |
6e1ffa2d656758a3b2e527255545b8632e6a7132 | 165 | #!/bin/bash
clear
numero=0
echo "Digite um numero:"
read numero
if (( $numero > 10 )); then
echo "EH MAIOR QUE 10!"
else
echo "NAO EH MAIOR QUE 10!"
fi |
ec6110fb4937fcc96452242f0157605b93174cbc | 1,038 | echo installing easy-rsa
sudo apt install -y easy-rsa openssl
exit 0
OLDDIR=$(pwd)
echo "user $(whoami) will have the root ca..."
mkdir ~/easy-rsa
ln -s /usr/share/easy-rsa/* ~/easy-rsa/
chmod 700 ~/easy-rsa
cd ~/easy-rsa
./easyrsa init-pki
cd ~/easy-rsa
echo -e 'set_var EASYRSA_REQ_COUNTRY "SE"
set_var EASYRS... |
d3cb25c6619748f787780ee28f96ec7df316a174 | 809 | #! /bin/bash
set -e
########################################################################
# Author : John da Eira
# Email : jdaeira@gmail.com
########################################################################
## Install Necessary Files
sudo pacman -S zsh --noconfirm --needed
sudo pacman -S curl --nocon... |
e78743e821e0278e71cc7739d277d063ab06c785 | 681 | #!/usr/bin/env bash
set -eou pipefail
# https://stackoverflow.com/questions/11952274/how-can-i-create-keystore-from-an-existing-certificate-abc-crt-and-abc-key-fil
# these are file paths
keyfile="$1"
certfile="$2"
password="$quandl_api_key" # something random
# first we need to merge the keys into a pkcs12 keysto... |
59fe7c52e9aeb2ff64cd33ec992ec08f3ddd16fc | 5,087 | #!/bin/sh
# Exit on error
set -e
DATA_HOME=`dirname $0`/../vendor
GEO_HOME=$DATA_HOME/geonames
OPENNLP_LIB=$DATA_HOME/opennlp
TLD=$DATA_HOME/tld
mkdir -p $GEO_HOME $OPENNLP_LIB $TLD
curl https://data.iana.org/TLD/tlds-alpha-by-domain.txt -o $TLD/tlds-alpha-by-domain.txt
# Geo Names
curl http://download.geonames.or... |
3d959f17e2a22218aedb5a020256ea29fe1ed9d8 | 10,219 | #!/bin/bash
# Cores
preto="\033[0;30m"
vermelho="\033[0;31m"
verde="\033[0;32m"
marrom="\033[0;33m"
azul="\033[0;34m"
purple="\033[0;35m"
cyan="\033[0;36m"
cinzaClaro="\033[0;37m"
pretoCinza="\033[1;30m"
vermelhoClaro="\033[1;31m"
verdeClaro="\033[1;32m"
amarelo="\033[1;33m"
azulClaro="\033[1;34m"
purpleClaro="\033[1;... |
c6f86ddc5f8f51bf36fabd5140bad0f71810a13d | 2,451 | #!/bin/bash
# Retries a command a configurable number of times until a success or a failure
# Adapted from:
# http://stackoverflow.com/questions/8350942/how-to-re-run-the-curl-command-automatically-when-the-error-occurs
# Colors
color_success=$(tput bold)$(tput setaf 2) # Green
color_failure=$(tput bold)$(tput setaf ... |
12d47c5062fdcdba544f7e33a005b5f64cec8c3e | 902 | #!/bin/bash
#
# Iterates over commit range,, checks out every revision in reverse order and performs actions on
# each revision. Sums up the exit codes of each action and returns this sum at the end.
#
# author: andreasl
oldrev="$1"
newrev="$2"
all_revs="$(git rev-list $oldrev..$newrev)"
# For experimental reasons
e... |
4c6698299772650274b2482603c7d0bfe718e7f8 | 113 | #!/bin/sh
mkdir data/us_names
cd data/us_names
wget http://www.ssa.gov/oact/babynames/names.zip
unzip names.zip
|
a80e78666d4431898480eab4d2a6ed2e20442445 | 737 | #!/usr/bin/env bash
## CONFIG
USR=`whoami`
SHARED_FOLDER=/home/${USR}/NAS
## GO CONFIG
GOVER='1.11.1'
GOPATH=/opt/go
GO_INSTALL_FOLDER=/usr/local/
GOROOT=${GO_INSTALL_FOLDER}/go
# Install deps
sudo apt update -ybuild-essentials
sudo apt dist-upgrade -y
apt install git make build-essentials -y
# Install go
sudo mkdir... |
6c788923200c900015117fee174e8b4fb08801b0 | 189 | #!/bin/bash
# FileName: build_env.sh
# Author: Chuanxiong Yi
# @contact: yichuanxiong@brandeis.edu
# @version: $Id$
brew cask install chromedriver
pip install -r requirements.txt |
efa0f5be389e6757e3acf742ea66a40c14466b2a | 1,003 | #!/bin/bash
printf "%s\n" "hello printf" # 一行
printf "%s\n" "hello printf" "in" "bash script" # 三行
printf "%s\t%s\n" "1" "2 3" "4" "5" # 两行,制表符分隔
printf "%s\n" "1" "2" "\n3" # 不会解释\n
printf "%b\n" "1" "2" "\n3" # 会解释\n
# %-10s 最少10位字符串,左对齐
# %08d 不足8位前补零
# %11.2f 精度2
printf "%d\n" 255 0xff 0377 3.5 # 整数,3.5不能正常解释
pr... |
ef5468b264473544795164c5f8b5fb1977261855 | 171 | #!/bin/bash
#
g++ --std=c++17 \
-Wall \
-Werror \
-Wshadow \
sizeOf.cc \
-o sizeOf
if [ $? == 0 ]
then
./sizeOf
rm sizeOf
fi
|
0c434402013158758d29506d57af78dd00ef5352 | 71 | #!/bin/bash -e
echo 'start httpd'
LANG=C /usr/sbin/httpd -DFOREGROUND
|
b027b04505f3289ae56d0a63667790de85280ac0 | 434 | #!/bin/sh -e
. /etc/default/sie-dns-sensor
. /usr/lib/sie/functions
if [ -z "$uploadkey" ]; then
echo "$0: uploadkey is not set"
exit 1
fi
if [ -e "$uploadkey" ]; then
echo "$0: $uploadkey already exists"
exit 1
fi
mkdir -p $(dirname $uploadkey)
ssh-keygen -t rsa -b 1024 -f $uploadkey -N '' -C "$(g... |
d800eb0cee16de0bdc4f30556c068ccbd2c35342 | 881 | wget https://s3-us-west-2.amazonaws.com/ds-satellite-projects/historic-risk-explorer/moz-2015/$SCENEID/${SCENEID}_B2.TIF
wget https://s3-us-west-2.amazonaws.com/ds-satellite-projects/historic-risk-explorer/moz-2015/$SCENEID/${SCENEID}_B3.TIF
wget https://s3-us-west-2.amazonaws.com/ds-satellite-projects/historic-risk-ex... |
6945a249fc33c555a373f08d270102b49f0332ba | 460 | #!/bin/sh
case $1 in
master)
cd $WORK_DIR/frontend \
&& npm run build:prod \
&& service nginx start
python $WORK_DIR/crawlab/flower.py >> /opt/crawlab/flower.log 2>&1 &
python $WORK_DIR/crawlab/worker.py >> /opt/crawlab/worker.log 2>&1 &
cd $WORK_DIR/crawlab \
&& gunicorn --log-level=DEBUG -b 0.0.0.0 ... |
e1a9ef9c69546037d3a1be6be557745121825040 | 76 | ls
l
cd ../
ls
ll
cd ../
ls
cp ~/tools/miRanda-3.3a/install/bin/miranda .
l
|
6f7d30753af97a0e5bff1a241b33cd71bed0114a | 5,050 | #!/usr/bin/env bash
# pip install websocket-client
# nkf --unix --overwrite fmplapla.py
# chmod 755 fmplapla.py
date=`date +%Y%m%d-%H%M`; datesek=`date +%S`
tmpdir=/tmp
outdir=$HOME/Downloads
nkf='nkf --fb-skip -m0 -Z1 -Lu'
omch=fmhanabi
omduration=32
ver=0.9.1
# help
if [[ $1 = '-h' ]]; then
echo "fmxxr.sh($ver):... |
4bff6a71deae5d57922fe663548c3b87ba4931eb | 306 | #!/bin/sh
#
# This file is sourced at Plasma startup, so that
# the environment variables set here are available
# throughout the session.
if [ -x /usr/bin/gpgconf ]; then
/usr/bin/gpgconf --launch gpg-agent >/dev/null 2>&1
fi
if [ -x /usr/bin/ssh-agent ]; then
eval "$(/usr/bin/ssh-agent -s)"
fi
|
72851406642779fbc9d12b4ae506dcb91fad8ecf | 230 | sudo sed -i '/mk_arcade_joystick_rpi/d' /etc/modprobe.d/mk_arcade_joystick_rpi.conf
cp -f /opt/retropie/configs/all/attractmode/Attract\ Mode\ Setup/icon/gpio/off/* /opt/retropie/configs/all/attractmode/Attract\ Mode\ Setup/icon/ |
c6ecaaf50e55df482b176eb6a6cac7e0cc59e9dd | 569 | #!/bin/bash
function singleton() {
[ -f $0.pid ] && pid="$(cat $0.pid)"
# echo Old PID: $pid
# echo New PID: $$
if [ -n "$pid" ] && kill -0 $pid 2> /dev/null 1> /dev/null; then
echo -e "${red}Another instance is running (PID: $pid)${fontreset}"
return 1
else
# write PID file... |
805fd99c4ce5b071e97c11013db5762ca03cb284 | 837 | #!/bin/bash -f
export SETTINGS=$HOME/hk8sLabsSettings
if [ -f $SETTINGS ]
then
echo "Loading existing settings information"
source $SETTINGS
else
echo "No existing settings cannot continue"
exit 10
fi
SAVED_DIR=`pwd`
cd ../common/vault
FINAL_RESP=0
bash ./vault-individual-secret-destroy.sh OCI... |
9ebb6c0e8801df3998e214921627faec02e9492b | 2,822 | #!/usr/bin/env bash
set -Eeuo pipefail
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd "$DIR"
fail() {
echo "$1"
echo
exit 1
}
{
echo; echo "Authorize baking"
echo "ACCEPT"
{
echo 8001000011048000002c800006c18000000080000000 # Authorize baking
} | ../apdu.sh
}
{
echo; echo "Baking a ... |
89e2d9a375252c4532cc67005bc059e8fae5d497 | 112 | #! /bin/sh
rsync -zavu --progress -e ssh /home/daq/data/raw/ kevinh@ferrari.caltech.edu:Data/UCN/UCNb2010/raw/
|
20e271b6fe13faf2ff470c9ae01178c253bd7f4e | 7,016 | #! /bin/sh
# buildFrameworks
#----------------------------------------------------------------------------------------
# Script Name: buildFrameworks
#
# Edit Number: 000002
#
# Description: This file is a shell script which will cause the compilation of
# an XCode project in the current directory and install... |
0aca18121b86bd0d2fc37773884e35c003a5f5dc | 1,917 | #!/bin/bash
read -p "Node Name (If multiple, then give node name which has local storage):" NODE_NAME
export NODE_NAME=$NODE_NAME
read -p "Do you wish to install plex (y/n)?" yn
case $yn in
y )
cd plex
sh ./setup.sh
cd ..
;;
esac
read -p "Do you wish to install tautulli (y/n)?" y... |
a25178cfc7d0af3fda3b1ef462705a72a38d494f | 635 | #!/bin/sh
# /etc/init.d/MIsrv
. /etc/sysconfig/rc
. ${rc_functions}
# Start some services for magicinstaller.
boot_mesg -n "Start tftpd service for magicinstaller..." ${INFO}
boot_mesg -n "" ${NORMAL}
/etc/init.d/tftpd
evaluate_retval
if [ ${?} != 0 ]; then
> /tmp/MIsrv.failed
echo_warning
boot_mesg -n "... |
8a9a98fa36bfa4252716f3fcab45bdfd1d0f55d3 | 797 | #!/usr/bin/env bash
#
# NAME
#
# inkconv - convert between vector graphics formats using Inkscape
#
# SYNOPSIS
#
# inkconv <input> <output>
#
# DEPENDENCIES
#
# inkscape(1)
#
[[ $# -lt 2 ]] && {
echo >&2 "usage: ${0##*/} <input> <output>"
exit 1
}
args=( "--export-area-drawing" )
# Choose converter acc... |
f5f39571709a503e81ba570511fcedf66ec2d150 | 57 | #!/bin/bash
perl -ne 'm/\d{10}\s*(.*)$/; print $1."\n"'
|
8a3dcad302ccd556dcfab8c7cfbf68daf7c70d59 | 244 | #!/bin/bash
until host github.com &>/dev/null
do
echo "Waiting until github.com is resolvable..."
done
git clone --recursive https://github.com/opendaylight/releng-builder.git /opt/ciman
/opt/ciman/global-jjb/jenkins-init-scripts/init.sh
|
e4130ec19c5707ee1b4e3fe79253b0866c9a3ddd | 200 | #!/bin/bash
here=$(dirname "$0")
javadocs="$here/javadocs"
cd "$javadocs" || {
echo "Could not cd to directory 'javadocs' -- exiting" >&2
exit 1
}
javadoc -sourcepath ../javasrc/ org.jpl7
|
9dbc5bc4d26afd1eab3468b61ee7faf563c8d120 | 294 | #!/bin/sh
hadoop jar /usr/lib/hadoop-mapreduce/hadoop-streaming.jar \
-input /user/parallels/streaming/input \
-output /user/parallels/streaming/output \
-mapper ./map.py \
-reducer ./reduce.py \
-file /usr/lib/hadoop−mapreduce/hadoop−streaming.jar \
-file ./reducer.py \
-file ./map.py \
|
6beeb7f1e16c3660f45418e3a5aa04976228f61f | 1,339 | #!/usr/bin/bash
# This shell script loops through a list of raw data from the internet and throws out lines that we dislike.
# First, we declare our file paths as variables:
readFile="$1" #(i.e. this is the first argument we pass to the shell from the command line.)
writeFile="/home/george/Documents/Flatiron/Learnco/... |
b7173c6273cd8379869577ca8821c2744f3c1bfe | 138 | #!/usr/bin/env bash
echo "CREATE DATABASE MRA" | mysql -u root -p
mysql mra -u root -p < ./groupdb.sql
mysql mra -u root -p < ./inputs.sql |
6cc00fc71a69d5e2879b49ba1758faf6e97a6fe8 | 363 | python ./train_classifier_sex.py "config/config_reisedom_german_sex_max_samples.json" 1000
python ./train_classifier_sex.py "config/config_reisedom_german_sex_max_samples.json" 2000
python ./train_classifier_sex.py "config/config_reisedom_german_sex_max_samples.json" 3000
python ./train_classifier_sex.py "config/config... |
e0a2e8c9e673ce8b9d2348e0b1a46a23e1f8514c | 301 | #!/bin/bash
export DOCKER_IMAGE_NAME
export DOCKER_IMAGE_VERSION
export DOCKER_USER_NAME
docker build . \
-f docker/Dockerfile \
-t ilyabasharov/${DOCKER_IMAGE_NAME}:${DOCKER_IMAGE_VERSION} \
--build-arg UID=${UID} \
--build-arg GID=${UID} \
--build-arg USER=${DOCKER_USER_NAME}
|
3fa2cb7d86549b2b86afe62e6bd2b988a7d9d63a | 927 | #!/bin/bash
export SERVER__PORT=9999 &&
export SERVER__SRC_FOLDER="site" &&
export SERVER__URL="http://localhost:${SERVER__PORT}" &&
export SERVER__START_CALLBACK="ops/scripts/request-refresh-browser-script.js" &&
export SERVER_LIVERELOAD_PROXY__PORT=4444 &&
export SERVER_LIVERELOAD_PROXY__URL="http://localhost:${SERV... |
13546143d0a101d9b64b4048af2ebee899fad4a7 | 12,039 | #!/bin/bash
#set -x
TOOL_NAME="Microsoft Office Installer Cache"
TOOL_VERSION="1.1"
## Copyright (c) 2018 Microsoft Corp. All rights reserved.
## Scripts are not supported under any Microsoft standard support program or service. The scripts are provided AS IS without warranty of any kind.
## Microsoft disclaims all i... |
ac6ada6f01d863a6a49bfbbc57e5f44ac1061886 | 572 | #!/bin/sh
cd "${0%build}" || exit 1
build() {
${X}gcc -c -O2 $C src/*.c -I. -I../zlib/src
${X}gcc *.o -shared -o ../../bin/$P/$D -L../../bin/$P -lz $L
rm -f ../../bin/$P/$A
${X}ar rcs ../../bin/$P/$A *.o
rm *.o
}
if [ "$OSTYPE" = "msys" ]; then
P=windows L="-s -static-libgcc" D=png.dll A=png.a build
elif [... |
bc90eaabeaf1bb6e45746b11ad7a5f96f1fe4889 | 1,301 | #!/bin/bash
#used to setup the beaglebone environment after a fresh clone of this repo
#ONLY RUN ON A BEAGLEBON RUNNING DEBIAN
WORKING_DIR=$PWD
#ensure root permisions
if [ "$EUID" -ne 0 ]
then echo "Please run as root"
exit
fi
#setup the required Debian packages
apt-get update
apt-get upgrade -y
apt-get insta... |
7415305374b35858dc199b31e34fadc69b538bcd | 6,476 | #!/usr/bin/env bash
hosts_file="$GITHUB_WORKSPACE/.github/hosts.yml"
export PATH="$PATH:$COMPOSER_HOME/vendor/bin"
export PROJECT_ROOT="$(pwd)"
export HTDOCS="$HOME/htdocs"
export GITHUB_BRANCH=${GITHUB_REF##*heads/}
export CI_SCRIPT_OPTIONS="ci_script_options"
function init_checks() {
# Check if branch is availab... |
bb40bea329816062cc21df65a7e141421a510800 | 3,632 | #!/bin/sh
#
# This file is part of OpenMediaVault.
#
# @license http://www.gnu.org/licenses/gpl.html GPL Version 3
# @author Volker Theile <volker.theile@openmediavault.org>
# @copyright Copyright (c) 2009-2018 Volker Theile
#
# OpenMediaVault is free software: you can redistribute it and/or modify
# it under the ... |
ffc62cedadbbaecccfdc97b918c103424f0d0568 | 217 | #! /bin/sh
SCRIPT=$(basename $0 .sh | sed 's/_[0-9][0-9]*$//')
if ./scripts/${SCRIPT} \
tests/inputs/ternary.lark \
tests/inputs/ternary_1.txt
then
echo OK
else
echo Parse error
fi
|
3962601cb7ea4b693b4a6d3370ed272121f294c8 | 292 | POSTGRES_USERNAME=udagramhatemdev
POSTGRES_PASSWORD=0123456789
POSTGRES_DB=udagramhatemdev
POSTGRES_HOST=udagramhatemdev.cku43frwooce.us-east-2.rds.amazonaws.com
AWS_REGION=us-east-2
AWS_PROFILE=DEPLOYED
AWS_BUCKET=udagram-east-hatem-bucket
JWT_SECRET=helloWorld
URL="http://localhost:8100"
|
4cfcaf9e0356ab10a65bacfaafe7aeeacc45e646 | 136 | #!/bin/sh
a=1
while [ "$a" -lt 177 ]
do
fsl_sub -q long.q matlab -r "epg33_step2_nonregularisation($a)"
a=`expr $a + 1`
done
|
2ca186ddb6ef50a8c0f8eda4dfce136a1923886b | 720 | #!/usr/bin/env bash
usage() {
cat << EOF
Simple rot13 encoder/decoder
See: https://en.wikipedia.org/wiki/ROT13
Can be used on files or STDIN.
Options:
help : display this help and exit
stdin : process the content of STDIN (to be used in pipes)
files a.txt b.txt c.txt : proce... |
85821cd1f55d8073243c0a07d8e37aa79dd7c24e | 883 | #PBS -N merge_and_shrink_d18_p8
#PBS -m b
#PBS -M marvin.zarate@ufv.br
#PBS -l nodes=1:ppn=1
#PBS -l walltime=1800
#PBS -l pmem=6gb
cd $PBS_O_WORKDIR
source /usr/share/modules/init/bash
module load python
module load mercurial
RESULTS=/home/marvin/marvin/testkre/merge_and_shrink/problemas/visitall-opt11-strips... |
8af40e1b0318e44590623494164a5db67f9ee083 | 617 | $NetBSD: patch-instsetoo__native_inc__openoffice_unix_find-requires-x11.sh,v 1.1 2020/05/19 22:03:25 tnn Exp $
Shell compatibility
--- instsetoo_native/inc_openoffice/unix/find-requires-x11.sh.orig 2020-04-07 15:26:49.000000000 +0000
+++ instsetoo_native/inc_openoffice/unix/find-requires-x11.sh
@@ -18,8 +18,8 @@
#
... |
4719cc1913958ddb51b930208ad09e9b10152800 | 681 | pkgname=gtkplatform-git
pkgver=0.1.0.r8.1e6222f
pkgrel=1
pkgdesc="Run Qt applications using gtk+ as a windowing system"
arch=('i686' 'x86_64')
url="https://github.com/CrimsonAS/gtkplatform"
license=('LGPL3' 'GPL2')
depends=('gtk3' 'libnotify' 'qt5-base')
makedepends=('git')
provides=("${pkgname%-VCS}")
conflicts=("${pk... |
a26eee23bba8fbb12364ac50b11b87fac5e008ac | 377 | #!/usr/bin/env bash
set -eu
pushd release-tarball
release_version=$(bosh int --path /version <(tar -xzf release.tgz -O release.MF))
popd
echo "Found version: $release_version"
cat << EOF > windows2016fs-opsfile/specified-windows2016fs-version.yml
---
- type: replace
path: /releases/name=windows2016fs?
value:
... |
716d083d7a09f7ae94b3521042bceb26dd5f3c67 | 1,119 | #!/bin/bash
#配置网络
#printf "\nauto ens33\niface ens33 inet static\n address 192.168.0.237\n netmask 255.255.255.0\n gateway 192.168.0.1\n\ndns-nameservers 192.168.0.1\n" >>/etc/network/interfaces
#systemctl restart networking
rm -rf /etc/netplan/*
printf "\nnetwork:\n version: 2\n renderer: networkd\n ether... |
68f8f313b45bea5a7dde32073688ccddcd8ec476 | 334 | #!/usr/bin/zsh
for i in 210000 220000 230000 240000 250000 260000 270000 280000 290000 300000
{
python closest_pair_tests/gen_random.py $i > closest_pair_tests/random_ints_$i
}
for i in 210000 220000 230000 240000 250000 260000 270000 280000 290000 300000
{
time python closest_pair.py closest_pair_tests/rando... |
2c77c4664f7448f9b4e43ac3362cc78e3e77cd9f | 2,658 | ## SETTINGS #############################
bdspath=/Users/karldurrance/Documents/docker/minecraftbds/data/
gotifytoken=AnlT4--knUxhDSD
gotifyserver=http://192.168.0.100:8383
dockercontainer=minecraftbds
#########################################
## make sure our state file exists for last line in log
if [ ! -f ${bdspath... |
55df429495cf8dbde3bf53972afc9417c291f2df | 172 | #!/usr/bin/env bash
set -x
source logging.sh
source common.sh
source validation.sh
early_cleanup_validation
sudo podman image prune --all -f
sudo podman volume prune -f
|
fcf4363fd816bc55c6fa4adb9a9357569186296c | 54 | #!/bin/bash
du -hd1 /var 2> /dev/random | grep "var/"
|
33e5d662a14ff862f792fbdb75d20208b895da5d | 212 | #!/bin/sh
echo "This is the test symbolic test, input should be test symbolic test"
g++ ../src/test_symbolic_tests.cpp -o test_symbolic_tests -std=c++11
./test_symbolic_tests
rm test_symbolic_tests
|
83ae0faa182c09e8f2b9620fde1d3277b127cae9 | 421 | #! /bin/bash
grep -lir "appointment" cache-search-umn/ > people-to-move.txt
for i in `cat people-to-move.txt`
person=`grep "Internet ID:" $i`;
echo "cp $i cache-serach-individual/content-$person.html";
done
After running the above shell script outputing to cp-command.txt.
Open in text editor, remove up to <TT> a... |
6e1b36c0f35dadf8b18570c124347b71c596943b | 688 | # -*- coding: utf-8 -*-
##########
#Created on Fri Jul 12 11:05:22 2019
#start codes for running ner task.
#Note that read_tf_events.py is to read evaluation results from tf events file.
###########
CUDA_VISIBLE_DEVICES=0 python ../run_classifier_ner.py \
--task_name=ner \
--do_train=true \
--do_eval=true \
--... |
b6ed52427c7cd6c73122c6336ef3975374c2fa21 | 901 | #!/bin/bash
syntax_folder="${0%/*}/../src/syntax"
cd $syntax_folder
syntaxes=$(echo *.cc | sed 's/\.cc//g')
echo "#include \"syntax-lookup.h\""
echo "#include <map>"
echo "#include <string>"
for syntax in $syntaxes; do
echo "#include \"syntax/$syntax.h\""
done
echo "std::map<std::string, Syntax*> SyntaxHighlighti... |
b4a5e9474e47a189acda1760d63647bc4665f16b | 11,015 | #!/usr/bin/env bash
export LOCALDIR=`cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd`
export TOOLS=${LOCALDIR}/tools
export DEVICE=lavender
export TYPE=eu
export VERSIONS=(stable)
export SDAT2IMG=${TOOLS}/sdat2img.py
export IMG2SDAT=${TOOLS}/img2sdat.py
export IMGEXTRACT=${TOOLS}/imgextractor.py
export MKUSERIMG=${TOOLS}/... |
60a1889ac0c4dd9dacaa9d617dc1cd41b469e09d | 85 | #!/bin/sh
java -jar /database-export-x.x.x.jar
echo $! > /var/run/database-export.pid |
e24643402e47b3db78b997ffc8c535e3ceebd468 | 557 | #!/usr/bin/env bash
# Init variables
action="$1"
process_name="$2"
account_name="$3"
# ops.sh get sshconfig nearsoft
if [ "$action" == "get" ]; then
if [ "$process_name" == "sshconfig" ]; then
sh ./ssh_config/ssh_config.sh $account_name
sh ./ssh_config/merge_files.sh $account_name
else
... |
4069d860a7a27eb9435bd823bf83ae6b9349dd57 | 34 | #!/bin/sh
stop_backend
stop_video
|
0f6f3b597c4b473cea6e56d8bb0a267a3496e60f | 549 | #!/usr/bin/env bash
# Input point ----------------------------------------------
readonly CONFIG="/etc/roadrunner/.rr.local.yml"
readonly RELATIVE_PATH=`dirname $0`
echo $0
main() {
local rule
if [[ $# -eq 0 ]]; then
rule=""
else
rule="$1"
shift
fi
local args="$@"
case "$rule" in
reset-wo... |
0ee7cb0663252ad5e1c2fa9508f157e694e41a7c | 9,804 | # Options library for zsh, v1.6
# Adapted from the bash version, probably some things could be done more
# efficiently in zsh directly.
# Main differences:
# - Arrays start at 1 (zsh)
# - dests variables have the $ included
# Copyright 2009 David Vilar
#
# This program is free software: you can redistribute it and/or... |
a293d9785266a4d9e6d665c363f1688fae9260ce | 82 | #!/bin/bash
set -e
DIR=$(dirname "$0")
sudo docker build --tag mt_mongo ${DIR}
|
137c2b901842cf75eecf6f4e512fa5001d24171e | 290 | #!/bin/bash -xe
module load tacc-singularity
MEGAHIT_CMD_LINE_ARGS=`singularity exec imicrobe-megahit.img python3 /scripts/agave_to_megahit_cmd_line_args.py $@`
echo "megahit command line args: \"${MEGAHIT_CMD_LINE_ARGS}\""
singularity run imicrobe-megahit.img ${MEGAHIT_CMD_LINE_ARGS}
|
00298c9dceed17e10e1dcbb453386eab20a6a3a3 | 161 | nvcc -O3 nbody_gl.cu -I"../inc" -I"../glfw-3.3/include" -I"/usr/include" -L"../Asztal/glew-2.1.0/" -L"../glfw-3.3/build/src/" -o gl.out -lglfw3 -lGLEW -lGL -lX11 |
333d8f643d75f68f8490e74128b36dbb6d181991 | 767 | #!/bin/bash
# 替换文件夹中所有文件中的字符串
# sed -i "s/oldString/newString/g" `grep oldString -rl /path`
suffix="retrain"
path='./test'
sed -i "s/conv11_mbox_conf_new/conv11_mbox_conf_$suffix/g" `grep conv11_mbox_conf_new -rl $path`
sed -i "s/conv13_mbox_conf_new/conv13_mbox_conf_$suffix/g" `grep conv13_mbox_conf_new -rl $path`... |
d40b03cb17edf7c134b5a61cab5755e0a7eb9944 | 738 | #! /bin/sh
. "${srcdir=.}/init.sh"; path_prepend_ . ../src
# Test ISO C 99 <inttypes.h> format string directives.
# Verify that msgunfmt, applied to a .mo file of major revision 1 (with
# system-dependent strings), yields a PO file with c-format annotation, so that
# msgfmt applied to it will again produce a .mo file ... |
935077b10ec34b40cbb04aee802e974b8163a17f | 126 | PROJECT_ROOT=./www
REMOTE_HOST=172.17.0.1
HOST_PORT=8000
MYSQL_PORT=3010
DB_ROOT_PASSWORD=
DB_NAME=magento19
DB_USERNAME=root
|
e212c7e291a6abdb0d3559929d81fd3679171dfb | 1,163 | #!/bin/sh
VERSION=${VERSION:-latest}
BUILD_DIR_API=build-api
BUILD_DIR_GUI=build
rm --recursive ${BUILD_DIR_API}
mkdir --parents ${BUILD_DIR_API}
cp --recursive \
package.json \
favicon.ico \
api \
components \
config \
extensions \
public \
${BUILD_DIR_API}
docker build \
--file docker/api/Docker... |
acf29375af631572867aba848d83bb1ae63a0d82 | 155 | #/bin/bash
docker build -t ausfestivus/internet-speedtest-docker-raspbian:speedtest .
docker push ausfestivus/internet-speedtest-docker-raspbian:speedtest |
b7182c5b851ca6e1bae26f481df889944328748f | 27 | alias ssh='TERM=xterm ssh'
|
86551d12a95ba24f1faf5a7e0ef9e677cf385ff1 | 118 | DB_CONNECTION='mongodb+srv://api:api@cluster0.fvvqm.mongodb.net/myFirstDatabase?retryWrites=true&w=majority'
PORT=3000 |
6ec23392899cff4ab77cc871c0913265e733f840 | 1,478 | set -e
rvm get head
echo '---- Updating submodules ----'
git submodule update --init --remote --recursive
echo '---- Downloading and setting up boost ----'
curl -o boost_1_77_0.zip -L https://sourceforge.net/projects/boost/files/boost/1.77.0/boost_1_77_0.zip/download
rm -rf boost_1_77_0
unzip boost_1_77_0.zip
cd lib... |
c1d14bbcbba9c7aa6f1f8273b2af42de4385129b | 1,504 | #!/usr/bin/env bash
export REF_FILE=/Users/aga/workplace/sequila/src/test/resources/reference/Homo_sapiens_assembly18_chr1_chrM.small.fasta
## SAMTOOLS
# -x ignore overlaps
# -B Disable base alignment quality (BAQ) computation
# -A (--count-orphans) Do not skip anomalous read pairs in variant calling.
# -q 0 base qu... |
55525e95e34f1ea50e8f970fa81528688b892cfd | 1,186 | #!/bin/bash
set -e
##
# SSH to a service host
# Open an SSH connection to the host instance of a running ECS service.
##
USAGE="Open an SSH connection to the host instance of a running ECS service.
Usage:
ssh-to-service-host <cluster> <service> [...]
Parameters:
<cluster> Name of the ECS cluster.
<service>... |
63ea871c61c77e87fd95e040d14aa203911704c2 | 1,468 | #!/usr/bin/env bash
#Script para ejecutar pruebas de la práctica
NUM_EXAMPLES="6" # Numero de ejemplos por heuristica
HEURISTICS=(hone htwo hthree noh) # Heuristicas utilizadas para las pruebas
TIME_THRESH="400" # Tiempo maximo de espera para un test
# Ejecuta el programa con la heuristica correspondiente
execTe... |
f992bb3eeffcfd5f9025cc1d7af9c51e306d7011 | 55 | xt_main -f examples/default_cases/muzero_pong_new.yaml
|
95abed7a1f941378f50e7a37f33fb7d37021f52e | 691 | #!/bin/sh
if [ ! $1 = "" ]; then
sudo su --command="echo $2 > /sys/bus/usb/devices/1-$1/power/control"
else
echo USB Device Power:
for i in $(seq 0 5); do
file="/sys/bus/usb/devices/1-$i"
if [ -d "$file" ]; then
if [ -f "$file/power/control" ]; then
power=$(cat $f... |
94bcf717176c6a7a5e41141a8a36f77b8cbc0636 | 479 | #!/bin/sh
sleep 1
echo "stahuji m3u converter"
echo ""
cd /tmp
curl -k -Lbk -m 55532 -m 555104 "https://drive.google.com/uc?id=1b5oCguBFo4QWebAutWb3zNUFoQ9RBKe_&export=download" > /tmp/enigma2-plugin-extensions-m2b-0.3-r0.ipk
sleep 1
echo "instaluji ...."
cd /tmp
opkg install /tmp/enigma2-plugin-extensions-m2b-0.3-r0.... |
c0c0ae8790b201a590d3384f0bad9ce269f8ae36 | 167 | #!/bin/bash
virtualenv -p python3 plotting
source plotting/bin/activate
pip install pyqtgraph
pip install PyQt5
pip install zmq
pip install queue
pip install protobuf
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.