blob_id
stringlengths
40
40
length_bytes
int64
7
488k
source
stringlengths
7
488k
5d2a7483c06b514dbe4c92d347321d5030b4f706
163
#!/bin/bash echo " This is a sample script running in jekins" echo "Working Directory" pwd echo " List of files in this dir" ls -ltr echo " Todays date is" date
93499e58f2eaeffb38b6cb0baf184ca8f61f13f5
70
docker run -d -p 8888:8888 -v "$PWD":/root/work iphaeton/ml-kit:latest
7ee3bcf85c0ba58bf3ecc61a07cf9ce04c0a35e0
531
#!/bin/sh wget -q --no-check-certificate -O - 'https://www.iis.se/domaner/statistik/tillvaxt?chart=per-type' | awk '/text: .*DNSSEC.* 90 dagar/ { startchart = 1 } startchart && $1 == "data:" { print; nextfile }' | tr "[]" "\n\n" | grep Date.UTC | sed -e 's/^Date.UTC(\([0-9]*\), \([0-9]*\), \([0-9]*\)), \([0-9]*\)$/\1 \...
7c924b44b3c2fcfd72ffc838c2266c5b6b876e6e
143
export SECRET_KEY='madash' export MAIL_USERNAME='charlesmugambi100@gmail.com' export MAIL_PASSWORD='angelakinya100' python3.6 manage.py server
eb45c5cc735ea318b420b310478a081850ba3cf8
233
#!/usr/bin/env bash # load Jupyter Lab extensions jupyter labextension install @jupyterlab/server-proxy jupyter labextension install --clean dask-labextension \ @jupyter-widgets/jupyterlab-manager #EOF
823aa9eb5799cad8e05313c2a23d0c08a00b3102
250
REACT_APP_AUTH0_DOMAIN=rbclient.auth0.com REACT_APP_AUTH0_CLIENT_ID=qKKQCbXsLfaXX6frCciSU9JWRBfsvQjX REACT_APP_AUTH0_CALLBACK_URL=http://localhost:3000/callback REACT_APP_AUTH0_AUDIENCE=https://localhost:5001 REACT_APP_API_URL=https://localhost:5001
6f0add57a242f2e8d32c0a7ae7b4f6e853902728
576
#!/bin/bash my_pid=$$ echo "My process ID is $my_pid" echo "Launching roscore..." roscore & pid=$! echo "Launching Stage..." sleep 2s roslaunch multirobot_stage multirobot_stage.launch & pid="$pid $!" echo "Launching navigation stack..." sleep 2s for i in `seq 0 1`; do roslaunch nav_bundle single_slam.launch robo...
e6811dbc9f26d69648cf4379e1f76c37c35fe750
204
echo "links" curl -X GET http://10.0.1.10:8080/v1.0/topology/links | tr '{' '\n' | grep src | wc -l echo "" echo "switches" curl -X GET http://10.0.1.10:8080/stats/switches | awk -F' ' '{print NF; exit}'
0ce02df18aa78683e045392dcea8b7593040e298
70
#!/bin/bash echo "please input your filepath" read -p path echo $path
4e7b8f3fde74fb0bee012a0d5306a6ffff02e7ba
485
#!/bin/sh git filter-branch -f --env-filter ' an="$GIT_AUTHOR_NAME" am="$GIT_AUTHOR_EMAIL" cn="$GIT_COMMITTER_NAME" cm="$GIT_COMMITTER_EMAIL" if [ "$GIT_COMMITTER_EMAIL" = "micha@thinkminimo.(none)" ] then cn="Micha Niskin" cm="asdf@ubergibson.com" fi if [ "$GIT_AUTHOR_EMAIL" = "micha@thinkminimo.(none)" ] then a...
3bcb4d7191bb135249681e25861dfbc5e299294a
357
#!/bin/bash last_rel=$(git describe --tags | perl -pe 's/-.*//') echo "$last_rel ## TODO" echo -e "------\n" date "+%d %B %Y" echo -e "\nRelease subject ## TODO" echo -e "\nEnhancements: ## TODO" echo -e "\nFixes: ## TODO" # Changes since last release git log ${last_rel}..HEAD --oneline --no-merges --decorate=no | p...
65a705de16e6f7770b9a811a7dd44016d8cc00a3
212
#!/bin/sh # This is a convenience script, so that you can launch you # work from the commmand line, just by typing: ./run arg="$1"; [[ "$arg" == "" ]] && arg="index" open -a /Applications/*Chrome.app $arg.html
d90af8ac59f5f5636d2210eb945b509a61a933bf
1,329
#!/usr/bin/env bash # create intermediate intermediate mkdir /root/ca/intermediate cd /root/ca/intermediate mkdir certs crl csr newcerts private chmod 700 private touch index.txt echo 1000 > serial echo 1000 > crlnumber # update the configuration file cp -p /root/ca/openssl.cnf /root/ca/intermediate/openssl.cnf vi /...
40b38eaf4273a5e7c488a4c94cf01717f2c009ed
207
#!/bin/bash bc_file=$1 #KLEE_DIR=/home/whj/klee KLEE_DIR=/home/whj/myself_klee/klee $KLEE_DIR/Release+Asserts/bin/klee -check-div-zero=0 -check-overshift=0 $bc_file mv expression.txt ${bc_file%.bc}.expr
437d3639f6c108116a4a14634e1dce8c23ea349c
200
LINE_BOT_SERVICE_PORT= LINE_USER_ID= LINE_CHANNEL_ID= LINE_CHANNEL_SECRET= LINE_ASSERTION_KEY= LINE_CHANNEL_ACCESS_TOKEN= LINE_RICHMENU_ID= # Facebook FB_AUTO_REPLY_ID= # Redis REDIS_HOST= REDIS_PORT=
25ebb5bda83c4b14cd4a442105c887b70d81e472
884
#!/bin/bash echo "====================================================================" echo "======================= Installing Scala ===========================" echo "====================================================================" sudo dpkg --purge scala sudo dpkg --purge sbt SCALA_ARCHIVE=scala-2.11.6.deb ...
d138eda37fd9761378919720cf8310ce78cd17fa
788
#!/bin/bash name="fa_tb.vhdl" nam="fa_tb" ghdl -s $name if [ $? -eq 0 ]; then echo Syntax-check OK ghdl -a $name if [ $? -eq 0 ]; then echo Analyse OK ghdl -e $nam if [ $? -eq 0 ]; then echo Build OK ghdl -r $nam --vcd=testbench.vcd if [ $? -...
a61bd9d7c9843afd275a501e9046502680fbc0ce
76
#!/bin/bash sudo openvpn --config /etc/openvpn/ovpn-rdu2-tcp.conf --daemon
ecdd91544eec82719f3ac9407afa3993f468cc11
861
#!/bin/bash cd /tmp wget https://downloads.slack-edge.com/linux_releases/slack-desktop-3.0.2-amd64.deb sudo dpkg -i slack-desktop-*.*.*-amd64.deb sudo rm -rf slack-desktop-*.*.*-amd64.deb sudo apt-get -f install -y APP_NAME=Slack APP_EXEC="/usr/bin/slack --disable-gpu %U" AUTOSTART_CONFIG=~/.config/autostart/$APP_NAM...
59fd0adff5916a9ae4cb82310d620ed6f5b684ea
341
grep "non-coding" ../data/humangenome/rna.q | while read -r line ; do geneid=$(grep -Po "(?<=GeneID:)\\d+" <<< "$line") # echo "$geneid" awk '$12=="GENE"' ../data/humangenome/seq_gene.md | while read -r seq; do query="GeneID:$geneid\$" grep "$query" <<< "$seq...
1a976ba074cb22fbf84f5e7629777ee9c56d91ad
461
#!/bin/bash # $1 filename $2 number of the queries $3 number of tasklets $4 number of DPUs $5 query name sed -i '4d' Makefile sed -i "4 i NR_TASKLETS\ ?=\ $3" Makefile sed -i '5d' Makefile sed -i "5 i NR_DPUS\ ?=\ $4" Makefile sed -i '6d' Makefile sed -i "6 i QUERY\ ?=\ $5" Makefile make clean make ./bench $1 15 >> e...
017372cdef43c60071f069664bba4a388c82ef37
173
# We execute .bashrc to avoid maintaining two files # # Note that .bash_profile is executed at login; .bashrc at non-login. if [ -f ~/.bashrc ]; then source ~/.bashrc fi
3a6b0d833c801bf5df96f356848cfa0003f068c6
126
#!/bin/bash USAGE="$0 <JOBS-COUNT>" JOBS_COUNT=${1?$USAGE} gg force --jobs=$JOBS_COUNT --engine=openwhisk bin/llvm-tblgen
f726c9a04551b87fa20d41c67b64555eded43268
116
PX_API_KEY = 22344503-a6db0b9abab7684f337f57d7f GN_API_KEY = madomb01 WB_API_KEY = f2bc8e5508d747e4ae3f1c8bbc11981a
90a8211d5f178acc9f8b78628798dfb3a146a8c0
216
cat > resources/issue.gen <<EOF $(cat resources/issue) $(text Login as \"USER\", default password is \"PASS\" | sed -e "s/USER/$USERNAME/" -e "s/PASS/$PASSWORD/") EOF install_file resources/issue.gen "/etc/issue"
d706890ab902c016808d1c6f7b59fc86e06e02ad
574
#!/bin/sh # Source OpenShift scripting env [[ -s ${CONTAINER_SCRIPTS_ROOT}/container-deploy-common.sh ]] && source "${CONTAINER_SCRIPTS_ROOT}/container-deploy-common.sh" # Prepare initialization environment prepare_init_env # Create log directory and symlink from app setup_logs # Create Apache certs directory and s...
36c229f7fd38987c979b620c93f3fc9a4ec02a4e
75
VUE_APP_API_HOST=localhost VUE_APP_API_PORT=8000 VUE_APP_API_PROTOCOL=http
869cea640f3e0a84453dbb038e0d09ec33d24343
744
#!/bin/bash # DUE_VERSION_COMPATIBILITY_TRACKING=1.0.0 # SCRIPT_PURPOSE: Run configuration inside the docker container, after package install. # NOTE: this script will normally be overridden by one in the container template directory. # Bash should be installed at this point. # Copyright 2021,2022 NVIDIA Corporation....
550a02d02fd0165b4e1a46492ac77dddbacfb146
45
time python3.4 hw2_best.py $1 $2 $3 $4 $5 $6
359d5772f85a40c9a408d19b9bdb9310ae4e2d61
1,017
#!/bin/bash #$ -cwd #$ -l bluejay,mem_free=200G,h_vmem=200G,h_fsize=200G #$ -o /dcl02/lieber/ajaffe/SpatialTranscriptomics/LIBD/spatialDLPFC/Images/VNSlogs/$TASK_ID.txt #$ -e /dcl02/lieber/ajaffe/SpatialTranscriptomics/LIBD/spatialDLPFC/Images/VNSlogs/$TASK_ID.txt #$ -m e #$ -M madhavitippani28@gmail.com #$ -t 5 #$ -tc...
d558f9bf0513fbe07d87b69de51891e41db82785
710
#!/bin/bash organisation="caaqe" image_name="azure-image-builder" image_tag="latest" docker build -t ${image_name}:${image_tag} --file Dockerfile . exitCode=$? if [[ ${exitCode} -eq 0 ]]; then echo "Docker image ${image_name}:${image_tag} build done." else echo "Build failed." exit 2 fi read -r -p "Do you like ...
8579e93fbf98d043f08fead27e751dfd23fbf1f0
8,443
#!/bin/bash #installer curl whois mailutils #demande à l'utilisateur l'adresse à tester sur tout le script echo "Bienvenue, avant de commencer, nous rappelons qu'il est nécessaire" echo "d'avoir installer les applications suivantes : mailutils / curl / whois" echo " " echo -n "Avez-vous pris en compte le message précéd...
6453b1c47f597f07437c1ee59faf77394e7f1af4
118
#! /bin/bash LINE=1 while read -r CUR_LINE do echo "$LINE: $CUR_LINE" >> output.txt ((LINE++)) done < "./test.txt"
db57f5aa15e07f0c382fa6305690b319ab548f5f
65
clear cd include/ TOUCH $1.h cd .. cd src/ TOUCH $1.cpp cd ..
e192e0617fc8d81de50663b736fd2d276d668bd0
1,586
#!/bin/bash # ####### # Copyright (c) 2016 Fortinet All rights reserved # Author: Nicolas Thomas nthomas_at_fortinet.com # # 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....
74dbd6314c2f938ce3975872633b351bd38b47a6
1,738
#!/bin/sh # # Installs rbenv, ruby-build, rben-vars + the specified ruby version # set -xeu [[ -f setup/config-variables ]] && source setup/config-variables sudo apt-get update && sudo apt-get install -y \ autoconf \ automake \ bison \ build-essential \ curl \ exuberant-ctags \ git-core \ libc6-dev \ ...
1ecbe643d7edbf389e680a823539227be8fd6d9b
1,432
#!/bin/bash # get the right file paths under parent directory main="Main" pass=$(find .. -name "pass") fail=$(find .. -name "fail") # check whether the offsets flag is on offsets="" if [ "$1" == "--offsets" ] then offsets=$1 fi # for each test case folder do for folder in {$pass,$fail} do # display an infor...
4a0857550835a32a02f7d0f896be9fa8913c60a3
480
#!/bin/bash #echo "This script sets up a persistent .jenkins directory" if [ -e "$STACKATO_FILESYSTEM"/.jenkins ] then echo "Jenkins directory exists, using existing data." ln -s "$STACKATO_FILESYSTEM"/.jenkins "$STACKATO_APP_ROOT"/.jenkins else echo "Jenkins directory not found. Setting up..." # cr...
7abcde827329e6cf144235aade1c91c8833b7385
2,307
set -ue #argvs RAW_GFF=$1 UP=$2 DOWN=$3 READS=$4 SIZE=$5 #program dir DIR=`echo $0 | sed 's/\/[^\/]*$//'` #good gene annotation name GFF="goodgenes.gff" #file name READSNAME=`echo ${READS} | awk -F"/" '{print $NF}'` if [ $# -eq 0 ];then echo Usage: `basename $0` "<gff> <upsteam bp> <downsteam bp> <reads-BED format>...
65b28d665c44e65186ac2d9e79291a7d4a1b588b
110
AFFORDABLE_DB_HOST=localhost AFFORDABLE_DB_USER=root AFFORDABLE_DB_PASSWORD=1234 AFFORDABLE_DB_NAME=Affordable
2330537ab31978e60cc6b02c3e44b9af8f99f6bd
169
#!/bin/bash composer install cp .env.example .env php artisan key:generate php artisan config:cache php artisan migrate chmod 775 -R storage # grep APP_KEY .env php-fpm
8b56e3b416671e58910b42b2daf9d3485f031b28
4,963
#!/bin/bash APP_NAME=akka-cluster APP_VERSION=1.0-SNAPSHOT if [ -z "${AKKA_CLUSTER_HOME}" ]; then export AKKA_CLUSTER_HOME="$(cd "`dirname "$0"`"/.; pwd)" fi JAVA_OPTS="-Dfile.encoding=UTF-8 -Dlog4j.configurationFile=file://${AKKA_CLUSTER_HOME}/conf/log4j2.xml " JARS=$(echo ${AKKA_CLUSTER_HOME}/libs/*.jar | tr ' ...
ee0070ca3dc7bf1d8a78a3a7033e29cd805b44dd
111
#!/bin/bash rm -rf nohup.out nohup ./KeeperDeployment --alsologtostderr --IFC --ClusterFile=conf/cluster.conf &
438412922e2891b4aad1c980c3935dbc7c0ad0c3
1,291
# Enable Homebrew. if [[ $(uname -s) = Linux ]] && ! command -v brew >/dev/null; then eval $(~/.linuxbrew/bin/brew shellenv) fi # Enable Starship. eval "$(starship init zsh)" # Customize zsh setopt hist_ignore_all_dups hist_ignore_space noclobber pipefail share_history autoload -U select-word-style select-word-st...
30d4aa0be84dcbe030f0abaf2bd7ce266ca07b11
358
#!/usr/bin/env bash rm -rf french_song_listing mkdir french_song_listing for endPoint in "top-singles-streaming" "top-singles-telecharges" "top-singles-megafusion-annuel" "top-singles-megafusion" "top-radios"; do python3.6 music_names_from_french_ranking.py "http://www.snepmusique.com/tops-semaine/${endPoint}/" fre...
ec0a69d5afe9207fa1d0a0d64e129ade59889a2c
436
#!/bin/bash mysql -uroot -p$MYSQL_ROOT_PASSWORD -e "CREATE DATABASE tests" mysql -uroot -p$MYSQL_ROOT_PASSWORD -e "CREATE TABLE tests.person ( id bigint NOT NULL AUTO_INCREMENT, name VARCHAR(250),PRIMARY KEY (id))ENGINE=InnoDB DEFAULT CHARSET=utf8;" mysql -uroot -p$MYSQL_ROOT_PASSWORD -e "INSERT INTO tests.person (name...
2927a02beb56e0811b0edcae8430a986a2b3d1b4
229
#!/bin/bash cd {{data_dir}} mkdir -p {{data_dir}}/backups mongodump -d ecodata -u {{ ecodata_username }} -p {{ ecodata_password }} tar zcvf {{data_dir}}/backups/ecodata-$(date +%y%m%d).tgz /data/dump {{data_dir}}/ecodata/models
7816599a9a3a3758a79d24fdc5e36957af9687fa
442
#!/bin/sh # # Script for setting the production environment # # configuring network environment rm -f ./util/netconf.coffee cp ./scripts/netconf_prod.coffee.tmpl ./util/netconf.coffee # avoiding usage of local rendezvous server, but external one (cd ./dist && for c in ./*/*/config.toml; do sed -i -e 's/.*\/dns4\/loc...
2a0128adfa8a3a3022b306c28b616a6308b1bb7c
1,953
# MIT License # # Copyright (c) 2020 Edinburgh Architecture and Systems (EASE) Lab @ University of Edinburgh # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including...
75def943ed957364970a1f4c6d376a5e4b35d4e6
1,547
#!/bin/bash ROOT=${MSINSPECT_HOME:-.} BUILD=$ROOT/build LIB=$ROOT/lib LIBDB=$LIB/database LIBCDK=$LIB/cdk SIGNED=$ROOT/mzxml-signed HEAPSIZE=1524M DBJARS=$LIBDB/antlr-2.7.6.jar:$LIBDB/asm-attrs.jar:$LIBDB/asm.jar:$LIBDB/cglib-2.1.3.jar:$LIBDB/dom4j-1.6.1.jar:$LIBDB/hibernate3.jar:$LIBDB/hsqldb.jar:$LIBDB/jta.jar CDK...
38fd86637a264fdad7f49e25ef6d1da95db38513
1,350
### # vim: syntax=sh # # $Id: aliases 303 2007-03-21 17:58:58Z luke $ alias more=$READER less=$READER alias h=history z=suspend mv='mv -i' l='ls -al' ld='ls -ld' alias lp='lp -o nobanner' alias lock='xlock -mode random' alias checkother='ps $PSARGS | grep -v luke | grep -v root |grep -v UID| grep -v console' alias dia...
d8c4e882451b0bb09fb8f9d0f8b6e2bd67aa941d
2,165
#!/bin/bash me=$(basename "$0") if [ "$#" -ne 2 ]; then echo "Usage:" printf "\t%s <IMAGE IN> <IMAGE OUT>\n" "$me" exit 1 fi IMG_IN=$1 IMG_OUT=$2 DOCKERFOLDER=$(mktemp -d) DOCKER_ENV=$(docker inspect ${IMG_IN}|jq -c .[0].Config.Env[]| tr -d '"'|tr "\n" " ") DOCKER_CMD=$(docker inspect ${IMG_IN}|jq -c ....
22ba7938147b73a89f603f5a93120e0ba6d3c012
18,767
#!/bin/bash #Colors n="1" n2="2" n3="3" n99="99" h="HTTPS" white="\033[1;37m" grey="\033[0;37m" purple="\033[0;35m" red="\033[1;31m" green="\033[1;32m" yellow="\033[1;33m" Purple="\033[0;35m" Cyan="\033[0;36m" Cafe="\033[0;33m" Fiuscha="\033[0;35m" blue="\033[1;34m" redback=" \e[41m" greenback="\e[42m" nc="\e[0m" #Bann...
1f442f6e0acb3783f367a47f81d086f3e5ab8b0e
64
#!/bin/bash python /app/decode.py python /app/download_data.py
146509929dfa79c78a64e90595b4a453afc4b757
1,234
#!/bin/bash # VARIABLES TARGETS=( "win-x64" "osx-x64" "linux-x64" "linux-arm") RELEASEDIR="./release" BASENAME="PKCS11Explorer" BUILDTYPE="Release" VERSIONNUMBER="0" # START OF CODE function Main() { Setup #VerifyGitStatus GetCurrentVersion echo "Building version $VERSIONNUMBER" Build } function Setup() { if [...
717753955226f7157187302853754a4f88f2d5b8
295
#!/bin/bash PROJECT_DIR=~/ANPL install-android-core.sh cd ${PROJECT_DIR}/rosjava/src/android_core echo "include \"android_sensors_driver\"">> settings.gradle #clone android_sensor_driver git clone https://github.com/talregev/android_sensors_driver.git cd ${PROJECT_DIR}/rosjava catkin_make
088ba3d21bac3c46c0280cf514acfceaa7c8c9d0
132
CONSENSUS_OPTS=--rrr.nc 3 --rrr.ne 11 --rrr.q 6 --rrr.ta 2000 --rrr.intentphase 700 --rrr.confirmphase 1300 --rrr.roundlength 4000
b6f9b0d32b01310c38043532039b6e0d8bdc883a
666
#!/usr/bin/env bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" DAEMON_THREADS=$(grep -c ^processor /proc/cpuinfo) let DAEMON_THREADS=DAEMON_THREADS/2 if [ -z ${AWS_BATCH_JOB_MAIN_NODE_PRIVATE_IPV4_ADDRESS+x} ]; then aws s3 cp s3://${S3_BKT}/${COMP_S3_PROBLEM_PATH} $DIR/build/problem....
7801a0e486819ca609007d9d8e5d81d42bdf5964
2,006
#!/bin/sh # (9) SEED DATA TO BLOCKCHAIN - Calling Actions (Mimicing remote Nodejs API, but we use command-line API for the timebeing) # (9.1) Adding new citizens ~600 add_new_citizen() { # Creating multiple citizens (mocking registeration) cleos push action reliefchain addcitizen "[\"$1\", $2, \"$3\", $4, $5]"...
1b4992d22f50c3642653701717a45e8e2842f2db
115
#!/bin/sh build() { add_runscript } help() { echo "This hook changes system hostname from inside initramfs." }
831311f974c882b8711e8f032d0f8372dc9d01ad
473
#!/usr/bin/env bash echo "Be sure if you already run the command 'docker pull dpage/pgadmin4'" docker run -p 5050:80 -e "PGADMIN_DEFAULT_EMAIL=user@domain.com" -e "PGADMIN_DEFAULT_PASSWORD=SuperSecret" -d dpage/pgadmin4 # docker run -p 5050:80 -e "PGADMIN_DEFAULT_EMAIL=registry" -e "PGADMIN_DEFAULT_PASSWORD=P@ssw0rd" ...
32123408eb41607555bf203a6d4c78a66758334e
401
#!/usr/bin/env bash echo "Calling run-server" echo "Waiting for mysql to start" /usr/local/wait-for-it.sh --strict -t 0 db:3306 echo "Calling bundle exec rake db:migrate" cd /opt/buildingsync/dashboard && bundle exec rake db:migrate echo "Updating crontab" whenever --update-crontab # last command needs to be the n...
5b02d5d5878f14bccca2c3fc437bf1db95f50306
510
#!/usr/bin/env bash OPENBMP_VERSION=0.12.0-pre2 (cd /vagrant/deps && wget --quiet -c http://www.openbmp.org/packages/openbmp-$OPENBMP_VERSION.deb && dpkg -i openbmp-$OPENBMP_VERSION.deb) apt-get -y install python-pip python-snappy python-yaml pip install git+https://github.com/OpenBMP/openbmp-forwarder pip install g...
e228f38ce10389700dd2a381f0231385fbe2f4fa
662
######################################## # Script to install docker on centos7 ######################################## #!/bin/bash # remove older version of docker (if any) sudo yum remove docker docker-common docker-selinux docker-engine-selinux docker-engine docker-ce # Next install needed packages sudo yum insta...
e455a5683aa616fd1c5ecdca707c46891d80f876
1,338
#!/bin/bash SCRIPT_PATH="$(cd "$(dirname "$0")" && pwd -P )" SCRIPT_DIRNAME="$(basename "${SCRIPT_PATH}")" LIBPATH=${SCRIPT_PATH}/../app/native-dist/libs HOST="$(uname -s)" case "${HOST}" in "Darwin") STRIP_ARG="--strip-components=1" ;; "Linux") STRIP_ARG="--strip-components 1" ...
6970f8b7aec12e1350023cb121ad644ebb5455ea
40,171
#! /bin/bash # # GFrun # # Auteurs : Le.NoX ;o) # M@il : le . nox @ free . fr # https://github.com/xonel/GFrun Version="0.5.2" # # Licence: GNU GPL # # 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 Soft...
e85a09ecb955365512b0be0f06df274ad0079342
195
PORT=2224 URL_EXTRACT_URL=http://10.0.0.152:8192 DATABASE_URL=postgres://postgres:password@localhost:5432/content_hub SPOTLIGHT_URL=http://10.0.0.152:8192 STANFORD_NLP_URL=http://10.0.0.152:8192
f6b6dbfcd70706c07d49bd54e6c3998f29fc313d
816
#!/bin/bash g++ burbuja.cpp -o burbujaSIN g++ -O1 burbuja.cpp -o burbujaO1 g++ -O2 burbuja.cpp -o burbujaO2 g++ -O3 burbuja.cpp -o burbujaO3 g++ insercion.cpp -o insercionSIN g++ -O1 insercion.cpp -o insercionO1 g++ -O2 insercion.cpp -o insercionO2 g++ -O3 insercion.cpp -o insercionO3 g++ seleccion.cpp -o seleccionS...
96afe17e7c364d8dc4aeb3758265590394282e7b
136
#!/bin/bash read -p "실행할까요? (y/n)" CHOICE if [[ $CHOICE = [yY]* ]] then echo "실행됨" else echo "실행 취소됨" fi
f183aa8cab609532e13573f4ab55771f17a5b137
3,323
#!/bin/sh # summary data echo "Summary data" echo "Add linux summary" ruby add_linux.rb data/data_201501-201704.csv data/data_linux.csv 2015-01-01 2017-05-01 echo "Merge CNCF summary" ruby merger.rb data/data_201501-201704.csv data/data_cncf_projects_201501_201704.csv echo "Analysis summary" ruby analysis.rb data/data_...
b8830a9726ee1136aeed43fa5d9f60b63894f141
486
#!/bin/bash # Maintainer: manuel (see forum.endeavouros.com) pkgname=optionless-sudo-for-all pkgdesc="Optionless 'sudo' command for all users." url="https://github.com/manuel-192/m-m/raw/master/PKGBUILDs/$pkgname" pkgver=23 pkgrel=1 arch=(any) license=(GPL) source=(sudo) sha512sums=('c93a1c745d15799da99a3c9f595dc4d...
dd9c148307683c2c9676457c84aa621078525c52
309
#!/bin/bash docker run -d -p 80:80 -p 443:443 \ --name nginx_proxy \ -v /var/run/docker.sock:/tmp/docker.sock:ro \ -v /var/certs:/etc/nginx/certs:ro \ -v /etc/nginx/vhost.d \ -v /usr/share/nginx/html \ --label com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy \ jwilder/nginx-proxy
db341b3429a112c702b0ab61d2750b0c3cc23dd1
483
#!/bin/sh for topic in $TOPICS; do topicDescription=$(kafka-topics --zookeeper $ZOOKEEPER --describe --topic $topic) if [ -z "$topicDescription" ] then echo "creating $topic" kafka-topics --zookeeper $ZOOKEEPER \ --create \ --topic $topic \ --partitions ...
56447bb375af64e6fc672685ea5dc7c3766c1ee8
1,654
#!/bin/bash set -eo pipefail # exit on error /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" brew install --cask iterm2 brew install --cask google-chrome sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" # Xcode is needed by...
e618b79e5f5fbd1b75eb8b539672b1f22ce37fdc
135
#!/bin/bash echo "" echo "Installing nvm" echo "" curl -o- https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
7421763261bc7bfa705ea647e8d6313aa3fe01f8
1,289
#!/bin/bash set -x echo "Copy Dask configuration files from pre-load directory into /home/jovyan" cp --update -r -v /pre-home/. /home/jovyan if [ -z "$EXAMPLES_GIT_URL" ]; then export EXAMPLES_GIT_URL=https://github.com/ESIPFed/pangeo-example-notebooks fi rmdir examples &> /dev/null # deletes directory if empty,...
a0a604384867ac7b5ab6aa6bf1cd032574c7026f
176
#!/bin/bash export RA_MUX_SERVER="$(rustup which --toolchain stable rust-analyzer)" if [ "$USE_RA_MULTIPLEX" = "false" ]; then exec "$RA_MUX_SERVER" fi exec ra-multiplex
7774ee1b2e2b07456e3661567b0458721e979d32
364
#!/bin/bash list_of_services="nodejs-orientdb-service nodejs-kafka-service" for service_name in $list_of_services; do echo $service_name rm -rf $service_name mkdir $service_name cp basicstructrue/* $service_name cd $service_name rename "s/basicstructrue/$service_name/" * sed -i -- "s/basics...
24ab0d2152ef749c8943db0523bc548e3e45fb12
173
#!/bin/sh ln -s $(pwd)/idml2html.pl /usr/local/bin/idml2html.pl ln -s $(pwd)/idml2html.sh /usr/local/bin/idml2html ln -s $(pwd)/idml2html-all.sh /usr/local/bin/idml2html-all
4316aac0d24010792f2c767017ef791653f3df41
276
#!/bin/bash for f in "$@"; do for g in "$@"; do if [ "$f" != "$g" ]; then diff "$f" "$g" > /dev/null retval=$? if [ $retval -eq 0 ]; then echo "Has duplicate: $f and $g" exit 1 fi fi done done echo "No duplicates." exit 0
57429184e77d5b5e3e0611c6ec1c0b56addb5b37
68
#!/bin/bash cat map.commands.txt | xargs -I cathy -P10 sh -c cathy
7b70e6dce5b5ba41d375f033c91c9f22ea7bc473
411
echo "==========1" set 111 222 333 echo $@ echo "==========2" set -e 111 -e 333 echo $@ echo "==========3" set - set -- set -- aaa bbb ccc echo $@ echo "==========4" set -- aaa -e ccc echo $@ # echo "==========5" # set -- -e -e mmm nnn # echo $@ echo "==========6" set -- aa echo $@ echo "==========7" set aa bb --...
b966ddf98d0df1ab6e41b121b9650daf346d6db4
110
find /var/www/site1 -type d -exec sudo chmod 2775 {} + find /var/www/site2 -type f -exec sudo chmod 0664 {} +
0bac24f0b8e651c18eeffa7f2b933c122913dafe
414
#!/bin/sh name_string="${1:-Corsair_VOID_Wireless}" headset_index=$(pacmd list-sinks | awk -v search_str="name:.*$name_string" '$0 ~ search_str {print a; exit}{a=$0}' | sed 's/.*index:\ //') pacmd set-default-sink "$headset_index" || echo Failed to set default >&2 for i in $(pacmd list-sink-inputs | sed -n 's/.*index:\...
2567293ab4e9aad7f4cfb4def9139ce148ee4278
278
#!/bin/sh CURDIR=$(dirname $0) if [ ! -f "${CURDIR}/common.sh" ]; then echo "Can't find the common script." exit 1 fi . "${CURDIR}/common.sh" if [ -z "$1" ]; then echo "Please provide server to configure" exit 1 fi host=$1 shift runplay "server/$host" $host $*
33b2e4f3279228de93c15face5eb7d7898754a1c
979
Build image in Docker $ docker build -t oficina-ml . Check the image name $ docker images Run the container with the machine learning space $ docker run --name oficina-ml -p 8888:8888 -v "$PWD/notebooks:/opt/notebooks" -d oficina-ml Tagging the image $ docker tag 7e94b5c03aea nova6/oficina-ml:latest Login no Docker...
0afb5516c5487cab73c569ddf2e94054968fee6f
524
#!/usr/bin/env sh docker run \ -v ${PWD}/make_model.py:/image-recognition-with-jbrandowskis-nasnet-mobile/make_model.py \ -v ${PWD}/main.go:/image-recognition-with-jbrandowskis-nasnet-mobile/main.go \ -v ${PWD}/run_tutorial.sh:/image-recognition-with-jbrandowskis-nasnet-mobile/run_tutorial.sh \ ...
05a158a2a878fe58c0f158b9cf6b585d5dbef785
375
#!/bin/bash set -e base=base/mpi-report-j-embedded-win.pdf resl=150 outp=mpi-report-j-ocr.pdf mkdir -p pgm mkdir -p gif pdftoppm -r $resl -gray $base pgm/image for i in pgm/image-*.pgm do ppmtogif $i > gif/`basename $i .pgm`.gif done echo "pause for gif optimization (press key if continue)" read convert -quali...
fed4a1bdf2f3467a458aab02a59a232cdff42a3b
124
#! /bin/bash export VISION_ROOT=${HOME}/Desktop/v6 export GOPATH=${VISION_ROOT}:/home/mick/go go build ./shift.go
d58751ce6fafebfdc2198e313f8726081e0845a5
5,981
#!/bin/sh # CYBERWATCH SAS - 2016 # # Security fix for RHSA-2009:1649 # # Security announcement date: 2009-12-10 00:13:39 UTC # Script generation date: 2016-05-12 18:09:40 UTC # # Operating System: Red Hat 5 # Architecture: x86_64 # # Vulnerable packages fix on version: # - glassfish-jaxb.noarch:2.1.4-1.12.patch0...
cf12ba202cae9423e0efbe16ce65eebedebdc864
8,787
#!/bin/bash # Exit on failure, since this is a pipeline... set -e #SBATCH -J oracle_run --time=2:00:00 --output=oracle.out --error=oracle.err #SBATCH --mem=20GB #SBATCH -c 4 # Packages. module load java module load python/2.7.12 module load tensorflow/1.4.1 # First split up the ULF data into sentences and ULFs. DAT...
94e0fea8ea9285072bb1e93f8793a2ce05f9fbd3
146
#!/usr/bin/env bash pip3 install -r /app/requirements.txt python3 pocket-broker.py db upgrade python3 database.py python3 entry.py run -h 0.0.0.0
a4f1de03f7524c0c84c96e5364b628e75bdf8002
288
#!/bin/bash echo "enter the full path of script"; read path; while true ps aux | grep -v grep | grep -q $path || ( nohup php -f $path & ) done bash test.sh enter the full path of script php_test.php test.sh: line 7: syntax error near unexpected token `done' test.sh: line 7: `done'
aae5c31c33517a894c2b268a8b30c611027509eb
412
#!/bin/bash # # 得到最后一个位置参数 # 来自:abs chp4 http://www.tldp.org/LDP/abs/html/othertypesv.html # # 测试方法: ./lastparam.sh 1 2 3 4 # 会输出最后一个参数4 argnum=$# echo "argnum=$argnum" lastparam=${!argnum} # !表示间接引用 参考: http://www.tldp.org/LDP/abs/html/bashver2.html#VARREFNEW #lastparam=${!#} # 另一种方法 echo "lastparam is $lastparam"...
3c1d3735deee2713a7210c4fc416e2baec88509e
989
docker cp 94eae4500e87:/root/test_fr_invoices.pdf ./epam/GSM/UK_FR/FR_INVOICE/ docker cp 94eae4500e87:/root/IdeaProjects/gsm.hcpfr/invoices-for-warehouse/src/main/resources/jrxml/template01.jrxml ./epam/GSM/UK_FR/FR_INVOICE/ docker cp ./epam/GSM/UK_FR/FR_INVOICE/template01.jrxml 94eae4500e87:/root/IdeaProjects/gsm.hc...
b353b9727bc279a313f63d57ee065f9005c66f0d
179
#!/bin/bash findself() { SELF=`dirname $0` } findself java -cp $SELF/out/'*':$SELF/lib/'*' -Djava.rmi.server.hostname=`hostname` br.ufmg.dcc.vod.ncrawler.ui.CollectServer $*
9dbc61c118fc5c4e881f55f432dd0abdde1cda4d
3,986
#!/usr/bin/env zsh #------------------------------------------------------------------------------ # ZSH Options #------------------------------------------------------------------------------ # Remove the ^S ^Q mappings. See all mappings: stty -a # Disable start/stop characters in shell editor. stty ixany stty ixoff ...
c488f6b7d9aa4dca7d65c49a1150172adee42641
5,056
ls mkdir radio cd radio/ ls ls exit ls cd www ls cd dns.mk/ ls nano -w composer.json composer install ls cd vendor ls cd facebook/ ls cd php-sdk-v4/ ls cd .. cd .. cd .. ls ls cd vendor/ ls cat autoload.php ls cd .. nano -w test.php cat vendor/autoload.php cd vendor ls ls cd facebook/ ls cd php-sdk-v4/ ls cat autoloa...
06f1c13e00cf063d5a65d8e121134b7d731c9521
461
#!/bin/sh echo echo Facebook unique userlist contains `grep FBName switchboard.log | cut -d ':' -f 6 | sort -u | wc -l` users. echo echo Facebook running userlist contains `grep FBName switchboard.log | cut -d ':' -f 6 | wc -l` users. echo echo Ad-Hoc unique userlist contains `grep Ad-hoc switchboard.log | cut -d ':' -...
077c7ea3145799c90d334fdadce8b88e07577fcb
236
#!/bin/sh if [ $# -ne 2 ]; then echo Usage: $0 input_file output_file >&2 exit 1 fi (cat $1 && cat /dev/zero | head -c 1) \ | xxd --include /dev/stdin \ | sed "s/_dev_stdin/$(basename $1 | cut -d. -f1)_shader_src/g" \ > $2