blob_id
stringlengths
40
40
length_bytes
int64
7
488k
source
stringlengths
7
488k
87675b19618cb2ab86ed453ca67efbfcd8377f31
240
# /bin/sh # script to kill all dead processes with <defunct> in process name PID="$(ps aux | grep ztd-log | grep -v grep | awk '{print $2}')" echo ${PID} if [ x"${PID}" != x"" ]; then kill -9 ${PID} &>/dev/null sleep 1 fi echo "done"
012f5202f7197dca9cdfa625ebe602dc50a5449a
922
#!/usr/bin/env bash set -eu PLATFORM=$(uname) if [[ $PLATFORM == 'Linux' ]]; then sudo curl -fsSL https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo gpg --dearmor --yes -o /etc/apt/keyrings/kubernetes-archive-keyring.gpg echo "deb [signed-by=/etc/apt/keyrings/kubernetes-archive-keyring.gpg] https:/...
1d6c8a620d60c74aa13dcd5154379b95cafb7bb6
146
xrandr --auto --output HDMI-0 --mode 1920x1080 --right-of DVI-0 # tint2 & conky & xautolock -time 15 -locker slock & sh ~/.fehbg & numlockx on &
51575a6d3ad516736ebaefb35aef3085c2012b1e
808
trim_galore Unsorted-plusDox-HAChIP-12hr-rep1_R1.fastq bowtie2 -p 20 --local --very-sensitive -I 10 -x /nethome/Shared/annotation/iGenome/Mus_musculus/UCSC/mm9/Sequence/Bowtie2Index/genome -S Unsorted-plusDox-HAChIP-12hr-rep1.sam -U Unsorted-plusDox-HAChIP-12hr-rep1_R1_trimmed.fq grep -v "XS:i:" Unsorted-plusDox-HAChI...
9332a4dff7c4e0f9806d8829d2921da58724336c
120
#!/bin/sh # PYTHON=python3 CLIENT_CONFIG=Orchestrator.config $PYTHON Client.py --Ice.Config=$CLIENT_CONFIG "$1" "$2"
4f57b5b077ed32e904b56aefedf2eca826c4eaf7
363
#!/bin/bash #remove limit on stack size to prevent related segfault ulimit -s unlimited ### Asimov limit mkdir -p limit pushd limit for file in ../cards/*.root; do TAG=$(basename $file | sed 's/card_//g;s/.root//g'); combine -M AsymptoticLimits $file -t -1 -n $TAG --setParameters LUMISCALE=1 --freezeParameter...
6627807115150e3f6a79d523c783a50f190bce96
5,755
# -*- mode: sh; sh-shell: bash; -*- # Copyright 2020 Canonical Ltd. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
de4cc91b50fb7f1336224b8852cfe8e42c2160de
619
#!/usr/bin/env bash echo -e "Starting to update gh-pages\n" cp -R example/build/reports/specs $HOME/specs cd $HOME git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com" git config --global user.name "${GITHUB_ACTOR}" git clone --quiet --branch=gh-pages https://${GH_TOKEN}@github.com/Adven27/Exam.g...
3b5e5911ed69386005cbd31085c33ad5978c0ce2
198
#!/bin/bash echo "Test Running Custom Classifier ::" PYTHONPATH=./ python tools/run_custom_classifier.py --custom_classifier=tests/resources/checkpoint_dir --path_in=tests/resources/test_video.mp4
32aea2cc9cdefcec04d217a07f59e53865c47602
87
NODE_ENV = development PORT = 5000 MONGO_COMPASS_DBNAME=basicshop JWT_TOKEN = aldi1234
2d6deb1d942f9bcf1c1df711e51423429f7d8a5c
1,752
#!/bin/bash echo "Installing non apt applications..." sleep 1 ### Installing custom applications from github cd /tmp/ ### Install Alacritty wget https://github.com/alacritty/alacritty/releases/download/v0.4.3/Alacritty-v0.4.3-ubuntu_18_04_amd64.deb sudo dpkg -i Alacritty*.deb ### Install bat wget https://github.com...
522c030b4b200927545e306a719dd9d9e7054143
3,132
#!/bin/bash $(bashlibs --load-base) include shunit2_enhancements.sh include directories.sh include os_detection.sh create_root_path() { set_root_path /tmp mkdir -p $(release_file_dir) } clean_root_path() { safe_delete_directory_from_tmp $(release_file_dir) unset_root_path } create_ubuntu_lsb_release_...
6609ce46f1c41276ba4f2c070d6ca49d9112308c
389
#!@RCD_SCRIPTS_SHELL@ # # $NetBSD: avahidaemon.sh,v 1.2 2008/12/20 23:51:39 ahoka Exp $ # # PROVIDE: avahidaemon # REQUIRE: DAEMON # KEYWORD: shutdown # if [ -f /etc/rc.subr ] then . /etc/rc.subr fi name="avahidaemon" rcvar=${name} command="@PREFIX@/sbin/avahi-daemon" required_files="@PKG_SYSCONFDIR@/avahi-daemon.co...
57527eeed96505ae58e21e470212f696f42c9ee7
291
#!env bash cd "$(dirname "$0")"/.. wget -cO bicis.zip https://data.buenosaires.gob.ar/api/datasets/rk7pYtZQke/download wget -cO bicis-trayectos.zip https://data.buenosaires.gob.ar/api/datasets/HJ8rdKWmJl/download mkdir data unzip -o bicis.zip -d data unzip -o bicis-trayectos.zip -d data/
f064350a5949cb93842b9abcca048f5587926d75
119
#!/bin/sh set -e dpkg-maintscript-helper rm_conffile \ /etc/gss/mech.d/mech.ntlmssp 0.7.0-2 gss-ntlmssp -- "$@"
b6246d09ea6188e5df1a3a310694fa9b746faa56
257
#!/bin/sh bases="b o d h x" for i in ${bases} ; do for j in ${bases} ; do if [ ${i} != ${j} ] ; then #rm ${HOME}/bin/${i}2${j} ln -s ${HOME}/bin/base_change.sh ${HOME}/bin/${i}2${j} fi done done rm ${HOME}/bin/h2x ${HOME}/bin/x2h
6171fb9f93146b13e44c9878a15f22dcf7330ae7
232
CELERY_BROKER_URL=rabbitmq SCRAPPER_URLS=https://www.walmart.ca/en/grocery/N-117 CELERYD_MAX_TASKS_PER_CHILD=1 SELENIUM_URL=http://selenium:4444/wd/hub MAX_NUMBER_OF_PRODUCTS_TOTAL=3000 MAX_NUMBER_OF_PRODUCTS_PER_PAGE=65 MAX_PAGE=2
9527c75846605845c6edb34e298b4635d3e2034f
70
#!/bin/sh curl -X DELETE "http://127.0.0.1:8080/v2/apps/%2Fspleepy"
0ef4b01e06419508be733c5b1e79159156f302a8
197
#!/bin/bash path=$1; num_regular=$(find "$path" -type f | wc -l) num_dir=$(find "$path" -type d | wc -l) echo "There were" $num_dir "directories." echo "There were" $num_regular "regular files."
348eb8ae301da1add50ff97f41b216ca3120b8a0
3,628
#!/bin/bash #================================================================= # date: 2018-05-30 13:47:20 # title: postbuild #================================================================= if [[ $# != 3 ]] then echo "Error, Use: prebuild.sh project_top_dir platform release_dir" exit fi echo "======> postb...
9975a033d7d503ed882fd7db1be576e38bf0fc9b
135
#!/usr/bin/env bash sizes=(16000 16000 32000) for (( i = 0 ; i < ${#sizes[@]} ; i=$i+1 )); do echo $i echo ${sizes[${i}]} done
9cd1b75207d4b9091b9365b4c876743e5a7d4fb6
472
#!/usr/bin/env bash #脚本目录 basedir=`pwd` dirname $0|grep "^/" >/dev/null if [ $? -eq 0 ];then basedir=`dirname $0` else dirname $0|grep "^\." >/dev/null retval=$? if [ $retval -eq 0 ];then basedir=`dirname $0|sed "s#^.#$basedir#"` else basedir=`dirname $0|sed "s#^#$basedir/#"` fi ...
fab41df26e8190a4d0ca0c6c41d2e0a2e877e14f
1,254
#!/bin/sh -e #******************************************************************************* # Copyright (c) 2011-2019 Software AG, Darmstadt, Germany and/or Software AG USA Inc., # Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors. # # SPDX-License-Identifier: Apache-2.0 # # Lice...
0be43325f76a0695ff92c727628d234e48c1f42c
803
#!/bin/bash # This should be invoked from ~/.bashrc. # -------------------------------------------------------------------------------- # gitprompt configuration # -------------------------------------------------------------------------------- # Set config variables first GIT_PROMPT_ONLY_IN_REPO=0 # GIT_PROMPT_F...
f534f7280d6c2a1206e5cbe42c20f98d7aa12be5
487
#!/bin/bash set -o errexit -o nounset -o pipefail command -v shellcheck > /dev/null && shellcheck "$0" # get this files directory regardless of pwd when we run it SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" "${SCRIPT_DIR}"/test_stop.sh if [[ $(docker ps -q) ]]; then echo "Some docker containers ...
eb58f93d9024d02bf8e38b906cac9869c61e3f6e
686
#!/bin/sh ./SXSimulator_8Dec -f /home/jameswong/h_sapiens_v37_1/hs_grc_chr20.fa_masked -rand -o SIMrun20 -pe 205 5 -SNP 0.1 1 1 -s 30 -c 30 -dist ./SXSimulator_8Dec -f /home/jameswong/h_sapiens_v37_1/hs_grc_chr21.fa_masked -rand -o SIMrun21 -pe 205 5 -SNP 0.1 1 1 -s 30 -c 30 -dist ./SXSimulator_8Dec -f /home/jameswong/...
644df72dae31c23550357615a4cda6148852c791
639
#!/bin/bash NUM=$1 dir=src/problem_$NUM tmp=$(mktemp) readme=$dir/README.md mkdir "$dir" cp tools/template.h "$dir"/problem_"$NUM".h cp tools/template.cpp "$dir"/problem_"$NUM".cpp cp tools/template.CMakeLists.txt "$dir"/CMakeLists.txt sed -i 's/NUM/'"$NUM"'/' "$dir"/problem_"$NUM".* curl https://projecteuler.net/...
8f21ed6cac111ef62b658bc531f8b3e6fd82079e
229
#!/bin/bash -e while true; do if kubectl get pods | grep Running > /dev/null then echo SQL Server is Ready break else echo Waiting for SQL Server to be Ready ... sleep 5 fi done
5134a68a81573a9bc7834ed6e43c1f4e43e17fe5
864
#!/bin/bash set -e readonly confdir=conf readonly initrd=$(pwd)/initrd readonly busyboxdir=busybox readonly outputdir=$(pwd)/output if [ -e ${initrd} ]; then echo -n "Removing existing initrd, press ENTER to proceed... " read input rm -rf ${initrd} fi echo -n "Creating initrd filesystem... " mkdir ${initrd} &...
3c457304bb993f0061657f70bc09c492d65064d7
197
#!/usr/bin/env bash set -e gitbook build cd _book git init git add --all git commit -m "deploy $(date) " git push --force --quiet "git@github.com:Debbie-Lab/app-proto-recipes.git" master:master
b1dfaeed17c4a61fe36ddf957400e1669c91f8aa
457
#!/bin/bash echo "boot2net running" >/tmp/t.t # Remove old config if there was one /bin/sed '/Config.*netcfg\.txt/,$ d' -i /etc/dhcpcd.conf # Add identifier to start of new config, then copy in the config removing any windows CRs echo "#Config from /boot/netcfg.txt" >>/etc/dhcpcd.conf /bin/sed 's/\r//g' /boot/netcfg....
27e7476c8508e7872eb3b4a2fe1df576a89b064f
420
#!/bin/sh conda activate py36 wd="/mnt/nfs/home/b7053098/ciaran/TGCA" echo $wd echo ${wd}/tgca/ga_for_cluster.py for num_features in {1..15}; do for num_clusters in {2..6}; do echo "${num_features}_${num_clusters}" FLAGS="--ntasks=1 --cpus-per-task=1 --job-name=f_${num_features}_k_${num_clusters}" sbatch...
545224f2e9069553857cd9a49ffd745f9c84f13d
198
#!/bin/bash -eu cd $(dirname `realpath $0`)/../;source .env docker run --rm -t postman/newman:alpine ${@} # docker run --rm -v ${PWD}/postman/collections/:/etc/newman -t postman/newman:alpine ${@}
d2d20543c579de0ae699c680d7e2f25ab893ea8d
627
#!/usr/bin/env bash set -e # set up directories for state _condor_local_dir=`condor_config_val LOCAL_DIR` || exit 5 mkdir -p "$_condor_local_dir/lock" "$_condor_local_dir/log" "$_condor_local_dir/run" "$_condor_local_dir/spool" "$_condor_local_dir/execute" "$_condor_local_dir/cred_dir" # start condor condor_master ...
bbc1953e87f4afe6103d6fe1320eb01ec1a61c2d
1,284
#!/usr/bin/env zsh # Does org-mobile-push from ~/org/mobile via tramp+scp to the remote # directory. # # For org-mobile-pull, emacs reads from and writes to the remote # mobileorg.org inbox directly via tramp so no rsync is required. # Any new items captured via the Android app will then appear locally # in the file d...
6e1422386969b376997ad3befb915e123cf6963e
2,149
#!/bin/bash # -------------------------------------------- # Export vars for helper scripts to use # -------------------------------------------- # name of app-sre "application" folder this component lives in; needs to match for quay export COMPONENT_NAME="image-builder-frontend" # IMAGE should match the quay repo set...
6f11e67246de2d0ff10b6bd289b260af08d2435c
205
#!/bin/bash # train_mnist.sh <CAFFE_HOME> <SOLVER> set -e CAFFE_HOME=$1 SOLVER=$2 echo "${CAFFE_HOME}/build/tools/caffe train --solver=${SOLVER}" ${CAFFE_HOME}/build/tools/caffe train --solver=${SOLVER}
942739bc8bfa7bedf438489c46e9db7c71e18b0b
514
#!/bin/bash echo run initial script! # add path for file # initial environment export GOPATH=$HOME/work export PATH=$PATH:$GOPATH/bin export GOROOT=/usr/local/go/ # kill process which hold port 6121 # netstat -tulnap sudo kill -9 $(lsof -t -i:6121) # setup network condition delay 100 miliseconds sudo tc qdisc de...
9e17d3a07d522135ee0e58d78ab8d99039e601a8
141
PORT=4000 USERBD="admin" USERBDPASSWORD="12345" SERVER="127.0.0.1" DATABASENAME="GYMNoPainNoGain" MAXIMUMCOUNTUSERINASITE=300 TOKEN_SECRET=''
4a1411a7584cf4e300f34d4162c48b13a78ceda6
67
#!/bin/sh cd html git commit -a -m "1" git push origin master cd -
57031efc744d6ffb090e5b471d1c505290e6c588
59
#!/bin/bash while true; do echo 'sleeping'; sleep 30; done
517286a1847840769f20567da857928aa3aca763
63
#!/bin/sh ssh -p 2221 behemoth4@behemoth.labs.overthewire.org
351105325bf9b9b225b7f329338afb6988a42f5f
68
python3.6 test.py --outf $1 --netVAE ./checkpoint/netVAE.pth --cuda
1273fc3dbeec0f4ea717b8e6bd23e47757330f8e
567
DOCKER_IMAGE=python:3.8.0-slim-buster INFLUXDB_DOCKER_IMAGE=influxdb:1.7.9 # The database name to be used INFLUX_DB=smart_development # Influxdb configuration. These valures are used at python to access the # database and at docker-compose.yml to configure the influx1 service. INFLUX_HOST=influx1 INFLUX_USER=influx I...
cd3f11c23045a7aeb30b82ceee4c7e96322016de
133
cd backend ./gradlew bootBuildImage --imageName=harbor.bearisland.tkg-vsphere-lab.winterfell.life/animal-rescue/animal-rescue-backend
2fee86aa4c4d607beb1a9436d3f80d1954cdf582
1,243
### BEGIN INIT INFO # Provides: nodejs_server_startup # Required-Start: $remote_fs $named $syslog # Required-Stop: $remote_fs $named $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Script for stopping and starting nodejs server # Description: This script wa...
7aed9551b19b14df2e39368fca842c0fe699321a
111
#!/bin/sh update-ca-certificates if test -x /usr/sbin/update-ca-certificates; then update-ca-certificates; fi
43699a4aa7f5eba657e2b3181442ff0b0abf1cf8
62
QEMU_OPTS+=( -bios $SCRIPT_DIR/../bios/seabios-1.12.0.bin )
2ac0ed82046a8e950fa4653df56d44aecdecd32a
3,907
#!/usr/bin/env bash set -e ROOT_DIR=$(dirname $0)/.. action="$1" function usage() { cmd="$1" echo "" echo "Usage for more information read DEVELOPMENT.md" echo "$cmd <command>" echo "" echo "command:" echo " deploy-infra ...
09bab88a07282ee862b365a15da9b2f2565ad8be
15,209
h62725 s 00001/00001/00017 d D 5.2 89/07/05 19:28:40 john 27 26 c Ensure that arguments are passed on correctly e s 00002/00001/00016 d D 5.1 89/06/20 16:48:52 john 26 25 c Update SCCS headers e s 00001/00001/00016 d D 4.2 88/09/26 10:54:33 john 25 24 c Convert back to Osiris e s 00000/00000/00017 d D 4....
4fb2948732cb3cbb1e8c72fcd37a260abe7def92
109
#!/bin/bash for ((i=0; i<10; i++)) do rm -f tmp$1 ./round$1.sh > tmp$1 diff -s tmp$1 round$1.out done
e3589b8cffc4429546a9b495ea66c1e73a47918c
215
#!/bin/bash echo "date of loss" read date echo "time of loss" read time echo "am or pm" read time_2 date2=$date* #echo $date2 grep -e $date -e $time $date2 | grep -ie $time_2 | awk -F ' ' '{print $1,$2,$5,$6}'
c85f9ece8f08ba5b1960336dc57e9fca146d3ab2
86
#!/bin/bash # Bash script to send a DELETE request to URL passed curl -sX DELETE "$1"
fff44a9831eeff679330bc7a4e00481fb8a014ff
151
num=1;find . | grep -i wav$ | while read q; do ffmpeg -v 0 -nostdin -i "$q" -f s16le -ar 16000 -ac 2 -y $num.bin; ./strim $num.bin let num=$num+1;done
dd4677cd38d1cd098d7dcd35e79b510bd16dc5cf
3,854
#!/bin/sh set -e echo " .----------------. .----------------. .----------------. .-----------------. .----------------. .-----------------. .----------------. " echo "| .--------------. || .--------------. || .--------------. || .--------------. || .--------------. || .--------------. || .--------------. |" echo "...
f4e666d3fe9bf18a48c40708045a0a61325768d3
18
echo "I am v6086"
3cd149507eb7b2f47140ab3147714cfd250b659c
219
#!/bin/bash -e # Cloning the Linux kernel source code git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git cd linux-stable git checkout v4.14.34 cd .. # Call the rebuild script ./rebuild.sh
85be527c7eb8981c91b37623681d17a178507d48
1,321
#!/bin/bash ## ----------------------------------------------------------------------------- ## Linux Scripts. ## Simple tool for compressing files to an auto timestamped bz2 archive. ## ## @package ojullien\bash\bin ## @license MIT <https://github.com/ojullien/bash-tartime/blob/master/LICENSE> ## ---------------------...
418e161eecc2838a102c2f8d4f71bbf83b12ea0e
1,099
#!/usr/bin/env bash # Glace # by eevee # Generated with Charc0al's cowsay file converter http://charc0al.github.io/cowsay-files/converter x="\e[49m "; #reset color a="\e[48;5;123m "; b="\e[48;5;81m "; c="\e[48;5;74m "; d="\e[48;5;30m "; e="\e[48;5;39m "; f="\e[48;5;23m "; g="\e[48;5;32m "; h="\e[48;5;...
b2cea818427b8efc1cd2389b4ffeb975d29e14fa
210
#!/usr/bin/env bash curl -H "Content-Type: application/json" -d '{"temp":22.4}' https://webhooks.mongodb-stitch.com/api/client/v2.0/app/stitchtest-adsgi/service/sensors/incoming_webhook/post_sensor?secret=test
78c1b63f292272a77553ebe8e71290e61f0f28c6
117
#!/bin/bash set -e if [ -d "build" ]; then rm -fr build fi mkdir build cd build cmake .. make ./runtests cd ..
84296fb42699f48681aec9d0b3b9d80ddf1aa2eb
52
#!/bin/bash set -eo pipefail echo "Build complete!"
7dcb7da2597d41e28d9f77e979806705067ee8e4
190
# generated from dynamic_reconfigure/cmake/setup_custom_pythonpath.sh.in PYTHONPATH=/root/catkin_ws/odroid-devel/.private/realsense_camera/lib/python2.7/dist-packages:$PYTHONPATH exec "$@"
a07e9f5c59b9b22ba3c9f3e0f4ab390dd31fb1de
145
#!/bin/bash ## ## Variables SCRIPTDIRA=$(dirname $0) source "$SCRIPTDIRA"/foldervars.var if [[ -f $TEMPPARSEVARS ]] then rm $TEMPPARSEVARS fi
ee830d420a02043fc79f16d94aad33807e8de1cf
312
#!/usr/bin/env bash apt-get update && \ DEBIAN_FRONTEND=noninteractive \ apt-get install -y \ tzdata \ python3.7 \ python3-distutils \ libpython3.7 \ libxxf86vm1 \ curl \ git-core \ emacs \ xvfb \ && rm -rf /var/lib/apt/lists/*
cc631d6056d70a8789a38c7b2f2db7cb02b1a62d
3,711
#!/bin/bash CMD_PATH=. DST_PATH=./conf_orig CONF_DEPLOY_DIR=./conf_deploy RUN_DATE=$1 MY_LOCALE=$($CMD_PATH/get-conf-data.sh ./locale.txt LOCALE) if [ $MY_LOCALE = 'CN' ]; then source ./locale_cn.txt else source ./locale_en.txt fi #Start ceph cluster installation mkdir -p $CONF_DEPLOY_DIR #Modify /etc/hosts ...
c2b17b6666ed35c16373ae63a9e3edb111fd1ce6
137
#!/bin/sh -l bash java -jar /app/bllok.jar /src/template/ /src/docs/ "$1" "$2" "$3" echo "::set-output name=bllok-status::bllok-status"
d91b44bf1c016c8a8ce52c6e90ad594a5e48a16c
272
CODENAME=meme SETUP_MNODES_COUNT=${SETUP_MNODES_COUNT:-1} MNODE_DAEMON=${MNODE_DAEMON:-/usr/local/bin/memed} MNODE_INBOUND_PORT=${MNODE_INBOUND_PORT:-29377} GIT_PROJECT=meme GIT_URL=https://github.com/pepeteam/pepecoin.git SCVERSION="tags/2.5.2.0" NETWORK_BASE_TAG="2012"
5124ff1828c74fb260e15984ef30f878a612a725
239
#!/bin/sh # Init script for qmail-send # Copied from LWQ SERVICE=send . /var/qmail/bin/qmail-config-system && \ exec env - PATH="${PATH}" \ QMAILREMOTE="${QMAILREMOTE}" \ qmail-start "$(grep -v '^#' /var/qmail/control/defaultdelivery)"
e1dd830de132736bd15e511833cd3a214377e795
33
MONGO_URI=mongodb://mongo/hn-feed
a05eaac84de9147229518279cfe371a0ded1fffa
936
#!/bin/bash #for i in {1..4}; # low print #do # ./do_all $i 42; #done #for i in 5; #do # ./do_all $i 32; #done for i in {1..2}; do list="${i}x32" #for t in {0..5}; #do for v in {0..7}; #1 2 5 7; do echo "command: do_all "$list" 66 $v" # $t" ./do_all "$li...
3893761bf045d12ff7a9e9969799402236bb9849
2,273
#!/bin/bash set -e -x -o pipefail # spark_standalone 0.0.1 # Create a spark standalone cluster with a number of worker nodes # and run your spark application # # See https://wiki.dnanexus.com/Developer-Portal for tutorials on how # to modify this file. main() { echo "Value of application: '$application'" echo...
f42a291f7e56c2b1105aa975a8881e90ef774bdb
577
#!/bin/sh # # ~/.xinitrc # if [ -d /etc/X11/xinit/xinitrc.d ]; then for f in /etc/X11/xinit/xinitrc.d/*; do [ -x "$f" ] && . "$f" done unset f fi ## Source .xprofile - Vũ Nhân [ -f /etc/xprofile ] && source /etc/xprofile [ -f ~/.xprofile] && source ~/.xprofile amixer -c 0 set Speaker 100% [[ -f ~/.Xresourc...
8496e7f004536bec4c218a3e576c673dc7016f04
178
#!/bin/sh PROJECTDIR="$( cd "$(dirname "$0")" ; cd ".." ; pwd -P )" ARGS=$@ docker run -it --rm -v "$PROJECTDIR:/var/www/html" -w "/var/www/html" node:latest sh -c "npm $ARGS"
aa2ffeb38c93cb0531466127b67ffcbee905b39b
1,184
#!/usr/bin/env bash ELECTRON_REPO=https://github.com/electron/electron # cd the root path realpath() { [[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}"; } ROOT=$(dirname "$(realpath "$0")") cd ${ROOT} # clone the depot_tools repository rm -rf ${ROOT}/depot_tools git clone https://chromium.googlesource.com/chromium/t...
058c407d6c4f6d830684178be784c0de58d6df0f
37
python -m pip install pymongo bottle
d33608a926c087420da5e368731dfae7aec38c45
234
#!/tmp-mksh/tmp-mksh for i in `ls /sys/class/scsi_disk/`; do cat /sys/class/scsi_disk/$i/write_protect 2>/dev/null | grep 1 >/dev/null if [ $? -eq 0 ]; then echo 'temporary none' > /sys/class/scsi_disk/$i/cache_type fi done
48853e1b775a3e046ad6c91999140946beae6738
4,057
#!/bin/sh # # Copyright (c) 2015 EMC Corporation # All Rights Reserved # # # Quick verification script # # Usage: ./sghelper.sh <SID> <NAME_PATTERN> <NUMBER_OF_MASKING_VIEWS> <NUMBER_OF_LUNS_EXPECTED> <POLICY_NAME> # # set -x # First parameter is the Symm ID SID=$1 shift # Subsequent parameters: MaskingView Name, Nu...
5feae835d2ec31b9adcb8edf051a7927337a0dde
1,732
#!/usr/bin/env bash #printf "\E[44;37m" trap "tput cnorm; clear; ls -Alh; exit" INT topline=0 count=$topline tput civis robot="`cat << "EOF" |@|@|@|@| |@|@|@|@| |@|@|@|@| _____ |@|@|@|@| |@|@|@|@| /\_T_T_/\ |@|@|@|@| |@|@|@|@||/\ T T /\||@|@|@|@| ~/T~~T~||~\/~T~\/~||~T...
091483378adefbae9be21fc1b6279e0819ce227c
120
#!/bin/bash name=`ls` echo "name = $name" for m in $name do echo $m if [ -d $m ]; then cd $m fi pwd cd - done
d206b190bf5f2ba348f870b7859433c87bda5204
64
lutris -i "$DOTFILES_DIR/config/lutris/overwatch-standard.json"
67364cd2d4d3b0807dc565e872d50586d1e20d0d
88
#!/bin/bash INDEX=1 while [ $INDEX -lt 5 ] do echo "INDEX: $INDEX" ((INDEX++)) done
03e5aa8494e15745674b9f9ccc690e35e29a7b97
1,766
#!/bin/bash # toolset export HAM_TOOLSET=REPOS export HAM_TOOLSET_NAME=repos export HAM_TOOLSET_DIR="${HAM_HOME}/toolsets/repos" # platform case $HAM_OS in NT*) toolset_check_and_dl_ver repos nt-x86 v4 || return 1 export REPOS_DIR="${HAM_TOOLSET_DIR}/nt-x86" export OPENSSL_CONF="${REPOS_DI...
1e43fae24522eb30c9f890020981c084780a3bde
999
#!/bin/bash echo "Records are being converted to KBART format." # Convert records using fixes specified in file marc2kbart.fix # Save records as records.csv catmandu convert MARC --type RAW to CSV --fix marc2kbart.fix --fields publication_title,\ print_identifier,online_identifier,date_first_issue_online,\ num_first_...
0d6b403ca10b78ce15d89ed0ba3b3f117fb66845
1,408
#!/bin/sh SCRIPT_DIR=$(cd "$(dirname $0)"; pwd) . $SCRIPT_DIR/../util.sh . $SCRIPT_DIR/version.sh set_prefix . $PREFIX_TOOL/env.sh LOG=$BUILD_DIR/dsqss-$DSQSS_VERSION-$DSQSS_MA_REVISION.log PREFIX="$PREFIX_APPS/dsqss/dsqss-$DSQSS_VERSION-$DSQSS_MA_REVISION" if [ -d $PREFIX ]; then echo "Error: $PREFIX exists" e...
40ae0ba090c41f26bca4cd9b07e29c1aecf4fea6
180
gcc -m32 -c -o main.o main.c ld -m elf_i386 main.o -Ttext 0xc0001500 -e main -o kernel.bin dd if=kernel.bin of=/usr/local/share/bochs/hd60M.img bs=512 count=200 seek=9 conv=notrunc
74d82cfa1d7a8278a728360f59fd2e464ede820b
1,224
# Merged with official ABS kimap2 PKGBUILD by João, 2021/01/31 (all respective contributors apply herein) # Maintainer: João Figueiredo & chaotic-aur <islandc0der@chaotic.cx> # Contributor: Felix Golatofski <contact@xdfr.de> # Contributor: Marco Scarpetta <marcoscarpetta02@gmail.com> # Contributor: Jens Staal <staal197...
8a00eda1f9078dd0f3982d6f2cdcfde6043744f4
109
1kb5_optmaven_ACI yes no 1kb5.pdb A,B 2,3,27,113,114,115,118,119,120,2,3 2,3,27,113,114,115,118,119,120,2,3
69391f499dde15b74035eb82248e5a1640272fa8
478
#!/bin/bash # Install Python (python 3.x) [[ -z $(which python) ]] && sudo apt-get install python [[ -z $(which python3) ]] && sudo apt-get install python3 sudo apt-get update && sudo apt-get install python-pip && sudo pip install yeelight # Copy latest version of yeecli python script wget -P yeecli/ https://raw.git...
eca25a36ab889f2acc7ef0da517e96b1d2127c91
103
docker stop nginx-proxy docker rm nginx-proxy # docker volume rm logsvol docker network rm service-tier
5c33974d87ec90222b8c754294c7e76aef4eb8d3
167
#!/bin/bash if [ -z "$*" ]; then echo "no arguments supplied" exit 1 fi OLD_NAME=$1 NEW_NAME=$2 find $3 -type f -exec sed -i "s/$OLD_NAME/$NEW_NAME/g" {} +
6bd64d902cec81b602850755874056ae8ac3e893
482
#********************************************************** #作用:循环建立多级目录 #用法:dir_build.sh n 。n为要建立目录的级数,如 #dir_build.sh 3,则会在当前目录下建立3级目录文件./F1/F2/F3 #********************************************************** #! /bin/sh dir_num=$1 i=1 while [ $i -le $dir_num ] do dir=`pwd` mkdir "$dir/F$i" cd "./F$i" let i++ do...
bbfa7bfe98184deb731fc8ab929e387eae2dde10
1,218
# P@ssw0rd001 lxc exec centos-01 -- adduser vagrant -c "Vagrant user" -m -p '$6$AzpvezuLJ6TGSNUL$BPhlJgN0O2Yo4GHYTa18/t7UnP/.C1.yvytLV6LJp0UVkfi5IczN7yFTZE9caYorQPmEx2/tU73YQ/q/Ncl9h0' -s /bin/bash lxc exec centos-01 -- mkdir -m=700 /home/vagrant/.ssh lxc exec centos-01 -- sh -c "echo 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABA...
c85e77cb9c747cc02b6013a9052342d4d2fc6133
299
#!/bin/bash configs=('tests/FFN_1Layer_100' 'tests/FFN_1Layer_150' 'tests/FFN_1Layer_200' 'tests/FFN_1Layer_250' 'tests/FFN_1Layer_300' 'tests/FFN_1Layer_350' 'tests/FFN_1Layer_400') for configfile in "${configs[@]}"; do echo "$configfile" python train_model.py --config-file "$configfile" done
f49b30e5f77e28c9054e422b1d37e534613d8061
78
#!/bin/bash /etc/init.d/nginx start uwsgi --ini /etc/uwsgi/vassals/uwsgi.ini
ecb4b6466547ae5a40e77b6e55ae287729ad1f66
3,014
GIT_FOLDER="$HOME/git/gitautomata/profile" GIT_FUNCTIONS_FOLDER="$GIT_FOLDER/functions" GIT_CFG_FOLDER="$GIT_FOLDER/config" FUNCTIONS_FOLDER="$HOME/.local/bin" # Get commandline options # -f: Force, or "redo all", even if e.g. a file already exists. Used for updating mostly # -u: Uninstall, remove gitautomata from the...
5b7215de1c9ee710e55bb1731b961bf4b4f6ea41
2,778
#! /bin/bash echo '*** WARNING *** WARNING *** WARNING *** WARNING *** WARNING ***' >&2 echo '*** WARNING *** WARNING *** WARNING *** WARNING *** WARNING ***' >&2 echo '*** WARNING *** WARNING *** WARNING *** WARNING *** WARNING ***' >&2 echo '' >&2 echo 'Current versions of Tclkit contain a bug that allows arbitrary ...
663896f69b1183dd2c76b9ee1519c311671f772b
41
java -Xms100M -Xmx4G -jar Core_Server.jar
a5a94d3efe89333e5d44bd0629d5e213a3054538
334
#!/usr/bin/env bash # This script displays a power menu with wofi pgrep -x wofi && exit 1 OPTIONS="Reboot\nPoweroff\nSleep" choice="$(echo -e $OPTIONS | wofi -i -dmenu )" [ -z "$choice" ] && exit 1 case "$choice" in Reboot) systemctl reboot ;; Poweroff) systemctl poweroff ;; Sleep) systemctl suspend ;; *) ;;...
f597b7b80c7a884ef73ea484ed2722cad0406dc8
83
BOT_TOKEN= BOT_USERNAME= YOUTUBE_API_KEY= REDIS_PORT= REDIS_HOST= REDIS_PASSWORD=