blob_id
stringlengths
40
40
length_bytes
int64
7
488k
source
stringlengths
7
488k
7713715d75235abf37cd23b684635b96a77a3b93
444
#!/bin/bash echo "$0 $@" if [ $# -ne 2 ]; then echo "illegal number of parameters - expected 2: homeDir jarDir" exit 1 fi HOME_DIR=$1 JAR_DIR=$2 JAR_PATH=${JAR_DIR}/gvod_ws.jar APP_CONF=${HOME_DIR}/etc/gvod.conf WS_CONF=${HOME_DIR}/etc/gvod_ws.yml IPV4="-Djava.net.preferIPv4Stack=true" nohup java $IPV4 -Dconfi...
f61670f318c7f01b7c74278545f304772d5c3a7f
126
#! /bin/bash service mysql start fwconsole restart if [[ $# -gt 0 ]]; then exec "$@" else exec /usr/sbin/sshd -D fi
5d1179e37f299d84bf010b41b6a1a00f0cd5e85d
165
scp root@servidor://var/lib/mysql/wiki_sibe/* /var/lib/mysql/wiki_sibe/ chown mysql.mysql /var/lib/mysql/wiki_sibe/ -R -f mysqlcheck -uroot -psqlmestre -o wiki_sibe
f3f85fcc937dffd42d38b24c793eb7624430a3fd
638
#!/usr/bin/env bash # exported from COACH - https://github.com/alittlebrighter/coach #-ALIAS- = gcloud.svcaccount.create # -TAGS- = gcloud,service account #-SHELL- = bash # #-DOCUMENTATION- !DO NOT EDIT THIS LINE! # Creates a new service account for Google Cloud. # #-SCRIPT- !DO NOT EDIT THIS LINE! NAME=$1 PROJECT=$2...
f1e2c0b3956017a9e1fe80ef877c5ad75a374efe
2,068
#!/bin/sh # Run the VM, setting SQUEAK_PLUGINS if unset to the VM's containing directory # if unset, and ensuring LD_LIBRARY_PATH includes the VM's containing directory. BIN=`/usr/bin/dirname "$0"`/@expanded_relative_imgdir@ GDB= if [ "${SQUEAK_PLUGINS-unset}" = unset ]; then export SQUEAK_PLUGINS="$BIN" fi if [ "$1" ...
1bf5d78348749c7e34c9a172dbdca9178d872f1e
68
PUBLIC_URL=https://jopt05.github.io/link-shortener-front-end-mentor/
677a852e2a1a988be5c86dccdedb792f6cdef4c6
127
#! /bin/bash # ground environment export ROS_HOSTNAME="wrkcomp.ddns.net" export ROS_MASTER_URI="http://$ROS_HOSTNAME:11311"
f70f01536c6c89b073b884a5e3c18daec5d75d90
156
docker run -v /opt/atlassian/bitbucket:/var/atlassian/application-data/bitbucket --name="bitbucket" -d -p 7990:7990 -p 7999:7999 atlassian/bitbucket-server
14a33c7667befd01f7433ceb9651250e7580d096
643
#!/bin/bash mkdir static/img/positive/ mkdir static/img/negative/ mkdir static/img/log/ mkdir static/img/single_prediction/ mkdir core/cnn/dataset/ mkdir core/cnn/dataset/test_set/ mkdir core/cnn/dataset/test_set/class_positive/ mkdir core/cnn/dataset/test_set/class_negative/ mkdir core/cnn/dataset/training_set/ mkdir ...
cc51bbc36ded6fcd3772edca4a7fe047925e7ebd
75
mkdir -p build cd build conan install .. --build missing && conan build ..
05539f1b718bc89bc589076675bf83faa3fe4f1b
112
for i in {1..2} do echo '{"Name":"Daniel","Age":18,"Subjects":["OS","CN"]}' | fn invoke dotnetFDK fdk done
0d594d9079a35ef7f89808624c15b9978e6f1e87
4,069
# ------------------------------------------------------------------------ # Juan G. Hurtado oh-my-zsh theme # (Needs Git plugin for current_branch method) # ------------------------------------------------------------------------ # Color shortcuts RED=$fg[red] GREEN=$fg[green] BLUE=$fg[blue] CYAN=$fg[cyan] MAGENTA=$...
4787c4603895710a54e571517a43fd190226c0a7
47
#!/bin/sh jq -r . /github/workflow/event.json
0a26a967c73264a1d0d6f0f4f4028f06d370b5a4
2,609
#!/bin/bash checkMakeDirectory(){ echo -e "checking directory: $1" if [ ! -e "$1" ]; then echo -e "\tmakedir $1" mkdir -p "$1" fi } # create subdirectories checkMakeDirectory DI checkMakeDirectory HMM checkMakeDirectory DOMAINS checkMakeDirectory LOG checkMakeDir...
a1d14243a08849f3ebaad5fd9fbc54e0d5e9d780
238
./gradlew -Penvironment=production :sample-android:installFreeProdRelease && \ adb shell am start -n "kim.jeonghyeon.sample.compose/com.example.sampleandroid.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
0ebee4534cfa83ff7e285ef59da751abe2df1da4
737
#!/bin/sh set -e -x ################################################### # copy images from several subfolder to one folder ################################################### usage () { echo "use:" echo "./copy_im <src> <dest>" echo "" exit 1 } if [ -z $2 ]; then usage fi SRC=`pwd`/$1 DES=`pwd`/$...
1412ca2172d98dea22da186f41da17f165e4e101
463
#!/bin/bash pieceHeight=5408 pieceSlide=$[$pieceHeight-130] targetdir=./work infile="$1" inputname=${infile%%.*} mkdir -p ${targetdir} function getwidth() { magick identify -format '%[height]' "$1"; } height=$(getwidth "${infile}") echo "[${height}]" top="0" fno="0" while [ $top -lt $height ] do echo "$top $height...
fbda33ac52846bb396c94f9c11460f85ec6278d5
3,993
#!/bin/sh adb root sleep 1 adb shell mount -o rw,remount / mkdir tmp/ if [ -f "open_gapps-x86_64-7.1-pico-20201218.zip" ] then echo "File open_gapps-x86_64-7.1-pico-20201218.zip already downloaded!" else echo "Downloading houdini64.sfs" curl "https://uni-bonn.sciebo.de/s/s2z65Xs8eN4DHQc/download?path=%2F...
390ee8eaaec9a5e6e478377129e3fed508c1f7a8
136
# TODO: create shell script for Problem 2 python3 rnn/test.py --valid $1 --gt $2 --save_txt $3 --load_model 'rnn/log/model_best.pth.tar'
922ddb6e5bf9b43b4e0786bc77d3a35c7dd72f5a
174
#!/bin/bash TARGET=$1 if [ -z $TARGET ] ; then TARGET="/Volumes/firefox/vr/obj-arm-linux-androideabi/gradle/build/mobile/android/geckoview" fi cd $TARGET && simple-server.sh
da0303609f8cdcb0b1fdd48ca5fc1b29a6bdbbb7
33
for f in `ls`; do echo $f done
aa74459e5760e76628db3a14cca53d9574389fde
444
#!/bin/bash -x for (( i=0;i<10;i++ )) do val=$((100+RANDOM%99)) arr[$i]=$val done echo "Array: ${arr[@]}" temp=0 for (( i=0; i<10; i++ )) do for (( j=i+1; j<10; j++ )) do if [ ${arr[i]} -gt ${arr[$((j))]} ] then temp=${arr[i]} arr[$i]=${arr[$((j))]} arr[$((j))]=$temp fi done done echo "...
d279a8ae3a5e7e013d881d508e505302a02e51b5
1,379
#!/bin/bash # Copyright 2015 Google Inc. All Rights Reserved. # 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 applicable...
0868709f6dad3135b52aee7824f60bd44eb70395
172
#!/bin/sh if [[ -z $@ ]] ; then src=alacritty.yml else src=alacritty.$@.yml fi mkdir -p ~/.config/alacritty install -m 644 $src ~/.config/alacritty/alacritty.yml
76abf03f66e3f01608c0d3d09f7d23ff46b3588d
328
#!/bin/bash cp .env.example .env docker-compose exec app composer install docker-compose exec app chmod -R 775 storage docker-compose exec app php artisan key:generate docker-compose exec app php artisan config:cache docker-compose exec app php artisan migrate:fresh --seed docker-compose exec app php artisan passport:...
75cc1de57c5bba01910a61984aadd3e2269cf74b
1,242
H LLL LHL LLL LLL LLL LLL LLL LLL LLL LLL ...
eca900e7e90d30b7d27ffbe13ea3d1059f2cf4aa
10,705
#!/bin/bash # # Run remote bash commands through sudo or not via ssh and printing color report # author: sendmailwith@gmail.com # ## ## Setting variables ## SERVER_LST_FILE="" COMMAND_FILE="" SCRIPT_FILE="" CRED_LINE="" ## ## ## RUNNING_EXAMPLE_1=" \e[0;34mExample 1 : \n\t \e[1;36mautomate.sh -l server_list.txt -c...
ea73826741ccd41d10c8817ebdf1f758cdbbcfb9
2,472
#!/bin/sh # # kinect_fetch_fw - Fetch and install the Microsoft Kinect UAC firmware # # Copyright (C) 2011 Antonio Ospite <ospite@studenti.unina.it> # # This program is free software. It comes without any warranty, to # the extent permitted by applicable law. You can redistribute it # and/or modify it under the terms...
b7c2d6c21ae7c2e02d2d2be03b114009cc79bc26
25
HOST=localhost PORT=5000
7b602f6221a54cc61f07cbd67747c04e50112cfa
383
#!/usr/bin/env sh export RELEASE_PAYLOAD='{'\ ' "data":{'\ ' "stagedRepositoryIds":['\ ' "'${STAGING_ID}'"'\ ' ],'\ ' "description":"Releasing Atlas repo"'\ ' }'\ '}' curl --fail -s -u ${SONATYPE_USERNAME}:${SONATYPE_PASSWORD} \ -X POST \ -H "Content-Type:application/json" \ -d ...
5a8dfaff5a61f32f715604a4cc0b8251f140eb16
256
#!/bin/bash # testing closing file descriptors exec 3>test echo "This is a test line of data" >&3 # closing file descriptor exec 3>&- echo "This won't work" >&3 cat test #覆盖前一个test文件 exec 3>test echo "This'll be bad" >&3
09c858ca3110e3cbd61d5d8868fc296eb11bb0cd
989
#!/bin/sh # makes a backup of the owncloud server on the raspberry pi # # taken from # https://doc.owncloud.org/server/9.1/admin_manual/maintenance/backup.html # # author: langenhagen echo "Really?" echo "<ctrl+c> to escape or enter to proceed" read THROW_AWAY_VAR echo "`date` Starting Owncloud backup" OWNCLOUD_B...
df29770c5a6ee14349fe70895afb89d5fefd76ce
1,958
# IMPORTANT!!! DO NOT EDIT THIS FILE # # Do not edit /etc/profile. Instead, edit the master copy in Puppet, and run # puppetd -t. This will make sure the change is applied to all servers, and # not lost if the system is reinstalled. For more information, see # <https://wiki.toolserver.org/view/Admin:Puppet>. #ident...
ad1dcf35ccb2ca620e873fdcb0d0fcdbb73ce6f6
450
#!/usr/bin/env bash . /scripts/lib/main.lib librequire "standard"; std.msg "\nLoading Modules...\n" "default" "ok"; std.msg "Collecting information...\n" "default" "ok"; std.msg "Displaying information...\n" "default" "ok"; std.msg "\nLoaded Modules:\n" "blue,bold"; std.msg "${LIB_MODULE_LIST[*]}"; std.msg "\nclass lis...
fb0ee7866880bdb8ad3add7a69b229629c17a6d0
2,516
#!/bin/bash set -e DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" source ${DIR}/../../scripts/utils.sh if ! version_gt $TAG_BASE "5.4.0"; then logwarn "WARN: Audit logs is only available from Confluent Platform 5.4.1" exit 0 fi ${DIR}/../../ccloud/environment/start.sh "${PWD}/docker-compo...
a753d318b74844afd24677b2d887cfdf75feeec0
855
#!/bin/bash #Terminal # #Authors: # Bruno Goncalves Araujo <www.biglinux.com.br> # #License: GPLv2 or later ################################################# #kde-konsole if [ "$(ps -A | grep plasma-desktop)" != "" ] then if [ "$(which konsole)" != "" ]; then konsole $* exit 0 fi fi #gnome-termi...
6b7c297e60182ece1ebf8300d619128517b29d4f
431
#!/bin/bash echo "=============================" echo "Generating app artifactory..." echo "=============================" ./gradlew clean build echo "============================" echo "Building app docker image..." echo "============================" docker build -t playlist-by-weather . echo "============...
d6301faf0adb1860731b8341a185cd0095692951
4,292
#!/bin/sh PATH=/bin:/davinci:/davinci/dvr export PATH remove_usbdrivers() { [ -f /var/dvr/udhcpc.pid ] && kill `cat /var/dvr/udhcpc.pid` ifconfig rausb0 down /bin/rmmod rt73 /bin/rmmod mos7840 /bin/rmmod usbserial } # let tab102(live) finish its job if [ -f /var/dvr/tab102live -a -f /var/dvr/tab102.pid ]; ...
ec4533795785c44e0739101b4fbc7988e9f72d3c
65
python readImageCircleGrad.py application.linux64/pathCircleGrad
698ad03cf45cc920bc012dd541302992ef14005b
3,616
#!/bin/sh touch ~/.bash_untracked echo $'\n#!/bin/bash' > ~/.bash_untracked # Install brew /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" brew update brew upgrade #Install essential packages brew install \ coreutils automake autoconf openssl \ libyaml readline ...
5bfee3bfc868fbd5f6a95e686de0e1d3961ef982
181
TimeZone=America/New_York OLS_VERSION=1.6.15 PHP_VERSION=lsphp74 MYSQL_DATABASE=wordpress MYSQL_ROOT_PASSWORD=password MYSQL_USER=wordpress MYSQL_PASSWORD=password DOMAIN=localhost
75d6b15017b689864c82175ad28f50a8a818b37b
217
# DATABASE_URL= # AUTH0_CLIENTID= # AUTH0_DOMAIN= # AUTH0_CLIENT_SECRET= # AUTH0_SCOPE='openid profile' # AUTH0_COOKIE='some-really-long-string-has-to-be-at-least-40-characters' # BACKEND_ADDRESS=http://localhost:3000
195000ef085482e1772a373d1fa55ee06e2ef4c1
2,871
#!/bin/sh set -e cd $(dirname $0) cd .. RootPath=$(pwd) if test "$(uname -s)" != "Linux"; then echo "[ERROR] Current OS is not Linux" exit 2 fi if test ! -x "$(command -v pacman)"; then echo "[ERROR] pacman command is not found." exit 2 fi # check proxys # echo "==> checking proxy" # read -p "Should use pro...
b360891c955ee906672882bd73db3fb48623fed4
198
#!/bin/bash FWDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" WORK_DIR="$FWDIR/.." export PYTHONPATH="$WORK_DIR/python/:$PYTHONPATH" executable=$1 python $executable "${@:2}"
a4730e9d8930a1e8fbe43a914747518e84ae2138
1,015
APP_NAME = "Laravel Multi Auth" APP_ENV = local APP_KEY = base64:yY/+lD9ouyiJKk9UhjyFlm6EdBAquWBAnaWE0qna7BM= APP_DEBUG = true APP_URL = http://127.0.0.1:8000 LOG_CHANNEL = stack DB_CONNECTION = mysql DB_HOST = 127.0.0.1 DB_PORT = 3306 DB_DATABASE = laravel_multi_auth DB_USERNAME = root DB_PASSWORD = BROADCAST_DRIV...
37785dd9cfaa287b8dd1d13d9a74f735af84ad12
439
#!/bin/sh MYABSPATH=$(readlink -f "$0") PATCHBASE=$(dirname "$MYABSPATH") cd "$PATCHBASE" mkdir -p overlay/packages/apps/Settings/res/xml/ xmlstarlet ed --pf --ps \ -u '/PreferenceScreen/PreferenceScreen[@android:key="additional_system_update_settings"]/@android:title' -v "@string/wifi_show_advanced" \ ../../../pac...
47ef83b731c3dbb7996868b2e9bb869cc21a751f
1,196
#!/bin/bash hadoophome=~/HADOOP/hadoop-3.0.0-SNAPSHOT common="hadoop-common-project/hadoop-common/src/main" hdfs="hadoop-hdfs-project/hadoop-hdfs/src/main" yarn="hadoop-yarn-project/hadoop-yarn" mapred="hadoop-mapreduce-project" kms="hadoop-common-project/hadoop-kms/src/main" function copier { local dest=$1 shift ...
83c56a5b1745fccdaebc361b6a53a9fb1f553f60
362
echo 10 0 | gmt psxy -R-100/100/-80/120 -JX10 -Ba20g10/a20g10 -Sc2 -P -K > 01_psxy.ps echo -10 0 | gmt psxy -R-100/100/-80/120 -JX10 -Ba20g10/a20g10 -Sc2 -P -O -K >> 01_psxy.ps echo 0 40 | gmt psxy -R-100/100/-80/120 -JX10 -Ba20g10/a20g10 -Sc2.2 -P -O -K >> 01_psxy.ps echo 0 2 2 4 | gmt psxy -R-100/100/-80/120 -JX10 -B...
2626f8eed40e306609b9f37668c12820fe8ea4de
43
docker run -p 5555:8000 clean-mart-api:v99
3ce61128c1fa0f1fab46904169360d259b5e8c2b
5,097
#!/bin/bash # # Input a line cube uvt, and a continuum uvt # Output uvt = the line cube uvt subtract the continuum uvt # # Last update: # 2017-03-30 using "pdbi-uvt-core-arg-v4" # 2017-03-30 using "pdbi-uvt-core-arg-v5" # 2018-02-16 using "pdbi-uvt-core-arg-v8", cleaning more files # # # # Uage # usag...
0365ca7ea82bbb27231cbb839c387449c7f2eb0f
177
if [ ! "$(docker ps -q -f name=front-end)" ]; then if [ "$(docker ps -aq -f status=exited -f name=front-end)" ]; then # cleanup docker rm front-end fi fi
a523c5c463ceaa389fa1981e8f1effbe1fddd9b1
119
MAYA_SCRIPT_PATH = \\octvision.com\CG\Tech\maya_eighteen\scripts;\\octvision.com\CG\Tech\maya_eighteen\scripts\mayamel;
4d8ccee3db519167c357d717f13b7eabbd326f11
2,816
#!/bin/bash # This script is designed to do the following: # # 1. If necessary, create a directory for storing backup copies of Jamf Pro Self Service bookmark files. # 2. Make copies of the Self Service bookmark files. # 3. Name the copied files using the title of the Self Service bookmark. # 4. Store the copied book...
fe663e8f0cdcde243d5f5638c6a9c5511c4fa6f8
77
REACT_APP_API_SPACE="developer_bookshelf" REACT_APP_ACCESS_TOKEN="0b7f6x59a0"
154c14a7c96f9133037ff1b0f951d76b67e85bd3
1,967
#!/bin/bash # To run this, make sure you have dropboxfs already running. MOUNTPOINT=test echo "Runnning tests" cd $MOUNTPOINT function Run_Test() { NAME=$1 EXPECTED=$2 shift shift COMMAND=$@ DIFF=$(diff <(echo $EXPECTED) <(echo $COMMAND)) if [ -z "$DIFF" ]; then echo "PASSED $N...
98e37c00e852d552b7565872c23bca7babf76c2b
336
#!/bin/bash export PATH=~/anaconda3/bin:$PATH source activate pytorch_p36 echo "PATH: $PATH" JUP_ENV=`conda env list | grep "*" | awk '{print $1}'` echo "starting jupyter in conda env $JUP_ENV" cd /home/ubuntu/dev /home/ubuntu/anaconda3/envs/pytorch_p36/bin/jupyter-notebook --config=/home/ubuntu/.jupyter/jupyter_not...
0a5b46169d2dafea359ee6b66c25e4a79c8440b5
248
#!/usr/bin/env bash set -euxo pipefail COCKROACH_PATH="${GOPATH}/src/github.com/cockroachdb/cockroach" source "${COCKROACH_PATH}/build/jepsen-common.sh" progress Destroying cluster... terraform destroy --var=key_name="${KEY_NAME}" --force || true
495b761e259bdd02d312bea968cef14c508d0f86
510
#!/bin/sh launchctl setenv PATH /usr/local/bin:$PATH log_dir=$HOME/Library/Logs/Homebrew/update log_name=${log_dir}/`date "+%Y%m%d"`.log if [ ! -d ${log_dir} ]; then mkdir -p ${log_dir} fi brew doctor >> ${log_name} 2>&1 if [ $? -eq 0 ]; then brew file update >> ${log_name} 2>&1 brew file cask_upgrade -C >...
c70296f7c72e47200b4119194cf3919bce6f852d
807
#! /bin/sh # File: a12p3.sh # Author: Lei Xie # Purpose: the shell program find the file in /usr/bin count the sum of # file and sum of text file, print the sum of file, sum of text # file and precent of script file # Date: Dec 3, 2014 # Version: 1.0 # Note: None total=0 text=0 fi...
5b0378e6ab48a81ba1f182b017af9876a781a43a
2,537
#!/bin/bash function clone_repo { if [ -d "$1" ]; then echo 'Skipped: already exists.' else git clone --recursive https://github.com/${2:-PeterJCLaw}/$1 fi } for POSSIBLE_PYTHON in python3.9 python3.8 python3.7 python3 python; do PYTHON=$(which $POSSIBLE_PYTHON) $PYTHON --version 2>...
ef6c6da212ed61820bab46d540418fbd6a8c13a9
663
# Basic Config ENV=dev DEBUG=on # Time & Language LANGUAGE_CODE=ru-RU TIMEZONE=Europe/Moscow USE_I18N=on USE_L10N=on # Emails DEFAULT_FROM_EMAIL=info@example.com EMAIL_BACKEND=django.core.mail.backends.console.EmailBackend #EMAIL_BACKEND=django.core.mail.backends.smtp.EmailBackend EMAIL_HOST=smtp.example.com EMAIL_H...
cb59814bad760fd73631bef5f77de439a3582005
180
#!/bin/bash ps -A -o pid | awk '{file="/proc/"$1"/statm"; getline f < file; close(file); split(f, a); print $1,":", a[2] - a[3]}' | sort -r -n -k3 > script4file.log 4th.sh (END)
be5e9c18bc2936209c77d589025a2e8fc2bfc88e
678
#!/bin/bash for q in {1..9} do echo "Checking grid0$q" cat grid0$q.txt | python3 sud2sat_alt.py > alt_sat_input0$q.txt minisat alt_sat_input0$q.txt alt_sat_output0$q.txt python3 sat2sud.py alt_sat_output0$q.txt > alt_solution0$q.txt python3 check_sudoku.py < alt_solution0$q.txt echo "----------------------------...
7916cc0a604c8c18a1beebbb92a075fda2707ce6
843
#!/bin/sh exitWithMessage() { echo "$1" exit 1 } validateEnvironmentVariables() { if [ -z $AWS_ACCESS_KEY_ID ]; then exitWithMessage "AWS_ACCESS_KEY_ID missing" fi if [ -z $AWS_SECRET_ACCESS_KEY ]; then exitWithMessage "AWS_SECRET_ACCESS_KEY missing" fi if [ -z $AWS_DEFAULT_REGION ]; then ex...
27bd1a952c7dcffe225a8a19dc5744f241b636e4
6,352
#!/bin/bash function logToScreen() { clear printf '%s\n' "$(tput setaf 2)$1 $(tput sgr 0)" sleep 1 } function installPackages() { logToScreen "Installing required pacakges..." apt -y update apt -y install wget pwgen unzip git curl apache2 libapache2-mod-php php mariadb-...
e3f3ce4ac9c7598b42c0afc24ac5a16906941940
438
#!/usr/bin/env bash cd $(cd $(dirname $0) && pwd)/.. # Tweak php modules and install dependencies docker/tests-up.sh # Set browser according to environment variable docker-compose -f ./docker/docker-compose.yml exec php /var/www/html/docker/sh/set-test-browser.sh "${YY_TEST_BROWSER}" # Restart world rm -rfd runtime...
d43f71a58b45a824ba0a51ed27996017c5da6a31
1,760
#!/system/bin/sh #echo "" #echo " This is for QCT monitor mode" #echo "" if [ "$1" == "STOP" ]; then echo 0 > /sys/module/wlan/parameters/con_mode ifconfig wlan0 up iwpriv wlan0 monitor 0 echo "QCT SNIFFER MODE EXIT" return fi CHANNEL="$1" BANDWIDTH="$2" if [ "$CHANNEL" == "" ]; then CHANNEL=1...
7126b57dc271286d95a51da2e56f01f769ca02da
60
git commit src/main/java/girafon/MApriori/*.java git push
2e3b5fee008895ffb51ef8f1887c9e733a5fc6a1
242
#! /bin/bash set -e for test in acceptance_tests/*.sh; do echo "--------------------------------------------------------------" echo "$test" echo "--------------------------------------------------------------" (exec "$test"); done
ed28ffbac08d9713082918d08dc87eaccc3f650d
315
#!/usr/bin/env sh echo "Run migrations" python3 /opt/app/src/manage.py migrate --noinput # collect static files # echo "Collect static" python3 /opt/app/src/manage.py collectstatic --noinput echo "Starting production server" cd /opt/app/src || exit ; uvicorn boosting.asgi:application --host 0.0.0.0 --port 8000
3c5e26cb9af2240918e45234a1a8469ec99c0263
151
export EDITOR=/usr/bin/nano if [ "$XDG_CURRENT_DESKTOP" = "KDE" ];then echo $XDG_CURRENT_DESKTOP else export QT_QPA_PLATFORMTHEME="qt5ct" fi
272ec99e99a567eed99529df13a5bc8b74fea6c2
473
#!/bin/bash IMAGE_NAME=xiangming/java8:node6; echo "Pulling latest code..."; git pull --all if ! docker ps | grep "performance" | grep -v grep; then echo "Running docker image..."; docker run \ --tty \ --interactive \ --volume=$(pwd):/root/Developer/performance \ --workdir=/root/Developer/perfor...
591c1806269fdcd0c4d5fd0227b4555e9f590e38
1,181
#! /bin/sh -e #### BEGIN INIT INFO # Provides: samba-shares # Default-Start: 2 3 4 5 # Default-Stop: S 0 1 6 # Short-Description: generates /etc/inveneo/samba/shares.conf # Description: generates /etc/inveneo/samba/shares.conf # by reading all *.conf files in /etc/inceneo/sa...
e0065c4d35f57025a774764f3504cb720c46114e
161
aws_ssm_maintenance_window_delete() { local window_id="$1" shift 1 cond_log_and_run aws ssm delete-maintenance-window --window-id $window_id "$@" }
cc9479eb05b93a6b1357ca81d60f7eba1c3c08a0
185
#!/bin/bash PYTHONPATH=${PYTHONPATH}:/home/ubuntu01/IdeaProjects/QuantoniOanda/oanda/oandapy export PYTHONPATH python robotrunner.py --account 475120 --settings settings03.json #1 #2
4e574b8a71776fa9a4733a03c937f2e5eae99349
34
$PREFIX/bin/luarocks remove pprint
25fbe945082948f40697ba71c799919aeb088b03
1,707
#!/usr/bin/env bash DOTFILES=~/.dotfiles export EDITOR="/usr/bin/vim" export GIT_EDITOR='/usr/bin/vim' unset MAILCHECK # Don't check mail when opening terminal. alias reload='source ~/.bash_profile' source "${DOTFILES}/prompt/colors.theme.bash" source "${DOTFILES}/prompt/base.theme.bash" source "${DOTFILES}/prompt...
c7e7ebf878134a971714a6a4c4e44ae45e2bb421
6,609
#!/bin/sh # Copyright (c) 2015-2022 Franco Fichtner <franco@opnsense.org> # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the above copyright # notice, this list o...
e0641d4106ded69110638b6ce78af4c80197857c
488
#!/bin/sh set -x npm install ls -1 ./oas2/*.yml | while read swagger; do # use '$item' echo "${swagger}" oapi_output="$(echo "$(basename "${swagger}")" | cut -d'.' -f1)" echo "${oapi_output}" # npx api-spec-converter --from=swagger_2 --to=openapi_3 --syntax=yaml "${swagger}" > "./oas3/${oapi_output}.oas3.yaml...
7236aa7fb8538f72264ceee82e26fe6b75d12fbb
2,189
#!/bin/bash green='\e[0;32m' yellow='\e[33m' bold='\e[1m' endColor='\e[0m' usage() { echo -e " ${green}excel_validator compiler v1.1: ==================================${endColor} $0 option ${yellow}Available options: -b --build - build executable -c --clean - delete prepared files without executable...
444ebdb1a3aaac31130257ae5c9c7144ebef4983
298
#!/bin/sh usage() { echo "Delete the last N bytes of the file" >&2 echo "usage: $(basename $0) [length_of_data_to_delete] [filename]" >&2 exit 1 } if [ $# -ne 2 ];then usage fi LENGTH=$1 FILESIZE=$(stat --format=%s $2) FILESIZE=$(expr ${FILESIZE} - ${LENGTH}) truncate -s ${FILESIZE} $2
dd3afa2d6dd0c868557dbeab8213c09213e66a83
564
#!/bin/bash heslo=$1 echo $heslo if [ ${#heslo} -le 5 ] then echo Kratke heslo fi if [[ $heslo =~ [0-9] && $heslo =~ [a-z] && $heslo =~ [A-Z] ]] then echo Heslo je OK else echo Heslo nie je OK fi #================================================================== heslo=$(pwgen 12 1) heslo=$(date +%s | md5sum) he...
c75878d43e53de2b37b02a040c50e36083132c93
832
#!/bin/sh # # ECOS settings for tfisher-hp2 # export HOST=localhost export BINDING_HOST=localhost export JAVA_HOME=c:/software/jdk1.7.0_80_64 #export JAVA_HOME=c:/software/jdk1.6.0_38_x86_64 export JBOSS_HOME=c:/software/jboss-eap-6.4 #export JBOSS_HOME=c:/software/jboss-as-7.1.1.Final-node2 export JBOSS_RUNTIME_...
2a92d0d2d4ba33de8f7ecfe08a97be05bd5a9fca
5,648
declare -A arr arr+=( ["1941"]=-3 ["1943j"]=-3 ["1943kai"]=-2 ["1943mii"]=-2 ["1943u"]=-3 ["280zzzap"]=-1 ["3wonders"]=-2 ["4dwarrio"]=-2 ["jt1942"]=-3 ["A.1942"]=-5 ["A.ARKANOID"]=-2 ["A.ASTDELUX"]=-4 ["A.ASTROCADE"]=-2 ["A.CCLIMB"]=-3 ["A.COMSPC"]=-2 ["A.GALAXN"]=-2 ["A.PACMAN"]=-4 ["alibaba"]=-3 ["alienaru"]=-5 ["...
0c9f93062d15d033b0f1d8916b7d55a4ab9feac3
184
#!/usr/bin/env bash docker-compose -f ./docker-compose.yml down docker stop $(docker ps | awk ' /sagemaker/ { print $1 }') docker rm $(docker ps -a | awk ' /sagemaker/ { print $1 }')
739f8db9d1612330c760d4ac749f0c7be62daa1e
979
#!/usr/bin/env bash # Update and install Nginx. agt-get -y update apt-get -y install nginx # Install HAproxy v1.8 apt-get -y install software-properties-common add-apt-repository -y ppa:vbernat/haproxy-1.8 apt-get -y update apt-get -y install haproxy=1.8.\* # Enable HAproxy to start at boot sed -i '8iENABLED=1' /etc/...
f0080477a1e6e8ec5ab6652bf8df219f91545d95
280
#!/bin/bash # Invoke the Go cross compiler for panther. # Uses ../go_target to add PIE flags. # # This is just an example for an amd64 board. GOOS="linux" GOARCH="amd64" CGO_ENABLED="1" \ CC="x86_64-cros-linux-gnu-gcc" \ CXX="x86_64-cros-linux-gnu-g++" \ exec go_target "$@"
a64ad9b2c65a04319ff4d3d2db9314c53f026ef4
2,759
#!/bin/bash #/ Purpose: #/ Test the scm plugins list endpoints #/ DIR=$(cd `dirname $0` && pwd) export API_XML_NO_WRAPPER=1 source $DIR/include_scm_test.sh project="testscmlist" test_plugins_list_xml(){ local intname=$1 ENDPOINT="${APIURL}/project/$project/scm/$intname/plugins" test_begin "XML Response" AC...
504aa1a9b127dc73485de490d48f92ab186572b0
1,258
xcode-select --install /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" brew update brew install git brew install Caskroom/cask/java brew install go brew install maven brew install mono brew install ruby-build brew install rbenv rbenv install 2.3.0 rbenv global 2.3.0 ...
a3abdfdebc17c89e75b01994c43d044481ba3d26
43
SERVER_PORT = 1235 SERVER_HOST = 127.0.0.1
2d00a9dfaafa0a5b487857463f2158101c6515cf
758
eval "$(docker-machine env default)" echo 'removing existing containers' docker stop server docker stop client docker rm server docker rm client docker network rm mynetwork # docker rmi dsuser/basic:v1 # docker rmi dsuser/datavolume:v1 echo 'build images' docker build -t dsuser/basic:v1 -f Dockerfile-basic . docker...
0e71c988429baea3d4c75430c1583f7bbd117657
655
TERMUX_PKG_HOMEPAGE=https://www.mars.org/home/rob/proj/hfs/ TERMUX_PKG_DESCRIPTION="Tool for manipulating HFS images" TERMUX_PKG_LICENSE="GPL-2.0" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION=3.2.6 TERMUX_PKG_REVISION=1 TERMUX_PKG_SRCURL=ftp://ftp.mars.org/pub/hfs/hfsutils-${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_...
f546fb8c0534ca74843db59e1009fcab873d59a2
110
#!/bin/bash docker run -it -v /home/johnny/Videos:/mnt/media -p 8878:80 -p 8877:8081 homestream:1.0 /bin/bash
21ec4fde2ae55bac4cd2422ef79f48a28f1132fe
407
# Spotify API keys SPOTIFY_ID=7c50801920fd4ef08ee0460bf27753ef SPOTIFY_SECRET=20bdfc3769754cf79e0bfc1a4f965cd7 # Twitter API keys TWITTER_CONSUMER_KEY=MEPOMTWRln6YiwMGJkE9Y0j8O TWITTER_CONSUMER_SECRET=TQM24DXJOiCtZqUQ17vTXicsvAy0NuR8lVKeBNDlVgcCKRZUaO TWITTER_ACCESS_TOKEN_KEY=745496905-V0zkTAux7X3BXSG0E5K6hsLcc8cH...
a48f6d5c4e5ecd98928cec8637d6f65e84c916e9
104
#set -x export PATH=$HOME/bin:$PATH source $HOME/.bashrc.d/run_scripts run_scripts $HOME/.bashrc.d
72d85ea1eff20157f1952eda3bff3455a21c4296
69
#!/bin/bash sudo docker exec -it mongo-crawler mongo -p 10280 bread
a955df344040ca5ed75720c024c1f60f935e9159
519
echo STEP 1/4 : create python3.7 environnement... virtualenv -p python3.7 BigData_RK2 source BigData_RK2/bin/activate echo STEP 2/4 : install requirements.... pip install -r requirements.txt sleep 5 echo Done.... echo STEP 3/4 : executing main..... nohup python main.py & sleep 10 echo STEP 4/4 : Launching spark.....
1771b4a0ae3904556b2f1146720f49a9d545599f
458
#$ -S /bin/bash #$ -l h_rt=24:0:0 #$ -l h_vmem=128G,tmem=128G #$ -cwd #$ -j y #$ -N primary.analysis WD="/SAN/ugi/mdd/trans_ethnic_ma" /SAN/ugi/mdd/MR-MEGA/MR-MEGA -i $WD/scripts/mr_mega.in.txt --pc 3 -o $WD/results/AFR.EAS.SAS.HIS.MDD3SUM.MRMEGA #R --vanilla --slave --args $WD/scripts/RE2C.file.list.txt $WD/data/RE2C...
358b843597ec2f94e0ab8abe4586509bf482faf9
4,484
#!/bin/sh # # # Convenience script to run the Roundup outside of Docker or GitHub Action. # This assumes that the `roundup` executable is on your PATH. Run this inside of a # checked-out project directory, whether it's Python or Java. # # Typical usage: # # cd roundup-action # python3 -m venv venv # venv/bin/pip instal...
baf953ef83fe79a97148cf7e7b1b2934133a006a
226
#!/bin/bash olddir=$HOME/dotfiles_old # old dotfiles backup directory for i in `find . -name ".*" -type f`; do old=`echo $i | cut -d / -f 2` mkdir -p $olddir mv $HOME/$old $olddir/$old'.def' cp $i $HOME/ done