blob_id
stringlengths
40
40
length_bytes
int64
7
488k
source
stringlengths
7
488k
ecb42dd143622982dd6a38209408e92cf21fe3bb
57
gcc -O1 -x c -Wall -std=c99 -pedantic main.cpp && ./a.out
10fa965da6554c3cc1b07fba2bb8d7bef73341f3
485
#!/bin/bash set -e if (git remote | grep --fixed-strings --line-regexp --quiet 'upstream') then git diff upstream/master --stat $@ git diff --check upstream/master $@ git diff --find-copies-harder --ignore-space-change --inter-hunk-context=10 --color --unified=10 upstream/master $@ else git diff origin/master ...
ee7e8727d6e5fdc554a5ee4dd8624389cb57c335
982
# https://github.com/jamiew/git-friendly # the `push` command which copies the github compare URL to my clipboard is heaven sudo bash < <( curl https://raw.github.com/jamiew/git-friendly/master/install.sh) # https://rvm.io # rvm for the rubiess curl -L https://get.rvm.io | bash -s stable --ruby # https://github.com/i...
bad430633f3926d0bd12c44c07fe8a2f5a195d9f
282
PROJECTS="libraries/libjni-gdal libraries/libjni-ecw libraries/libjni-mrsid libraries/libjni-potrace libraries/libjni-proj4 " for i in $PROJECTS; do project=$(echo $i | awk -F/ '{ print $2; }') svn co https://svn.forge.osor.eu/svn/gvsig-desktop/trunk/$i ../../../$project done
b6f703b614008d667b82179f8919ac3ef791a033
1,747
. $(dirname $0)/../cluster.properties # Use jq to number the different roles #PREFIX=${1:?"No name prefix supplied"} # Hosts by role is an array with the 0,2,4 etc. being keys, and the 1,3,5 etc being values # The keys are in the set {cm,gateway,master,worker} and are sorted hosts_by_role=($(gcloud compute instances...
b72e80ea0e428a741a6cdeff81fbaf1dbe5968ab
169
#!/bin/bash make clean && make package && mv .theos/_/Library/MobileSubstrate/DynamicLibraries/ForceReset.dylib . && ldid -SEntitlements.plist ForceReset.dylib exit 0
8b2d5d5bd0d288123b0cf334123d192ead426fb3
55
DB_PASS = jhonStore DB_USER = ema DB_NAME = emaJhonShop
84165d9724a50d97ed2212572e2415af100f5b48
431
#!/bin/bash set -e -u -x for layout in \ {debian10,centos{6,7}}'-64a{hypervisor=vagrant}' \ 'fedora28-64a{hypervisor=vagrant,box=generic/fedora28}' \ 'fedora29-64a{hypervisor=vagrant,box=fedora/29-cloud-base}' \ 'fedora30-64a{hypervisor=vagrant,box=fedora/30-cloud-base}' do BEAKER_debug=yes BEAKER_setfile="...
134e1806b38b77567f5d7c457d99f9f642e9f2c0
69
_curdir=`pwd` sudo cat >> ~/.bashrc <<ENND PATH=$PATH:$_curdir ENND
75db7886e94e74a9f37f1b0860f95eafb22a2e81
81
//MongoDB config MONGO_URI = mongodb://localhost:27017 MONGO_DATABASE_NAME= test
3b075746cdf896efccd1428e1c082462f3b73068
1,251
#!/bin/bash -l # Name of the job #SBATCH --job-name=cSiaSiMD # SBATCH --nodes=2 # SBATCH --ntasks=2 #SBATCH --array=0-3 #SBATCH --cpus-per-task=32 #SBATCH --partition=med2 #SBATCH --time=24:00:00 #SBATCH --output='outputs/cSiaSiMD-%j.output' #SBATCH --mail-user="dgunruh@ucdavis.edu" #SBATCH --mail-type=END...
c71a9a110b1a78da9fe26b07353313e7337b35c3
553
#!/bin/bash # the following 4 cases have same meaning #1 if /usr/bin/[ -z "$1" ] then echo "No command-line arguments" else echo "First command-line argument is $1" fi echo #2 if [ -z "$1" ] then echo "No command-lane arguments" else echo "First command-line argument is $1" fi echo #3 if test -z "$...
cdf79594d28af9380700f562e8ad0c2dda343e93
170
#!/bin/bash java -Xms512M -Xmx2048M -XX:MaxPermSize=256m -XX:+UseParallelGC -XX:ParallelGCThreads=2 -XX:+UseNUMA -jar forge-1.7.10-10.13.4.1448-1.7.10-universal.jar nogui
f1c2d3e6ee50b61f108c237e7ac984c4e47283b2
1,145
#!/bin/zsh # Make sure weโ€™re using the latest Homebrew. brew update # Upgrade any already-installed formulae. brew upgrade # Install more recent versions of some OS X tools. brew install moreutils brew install vim brew install grep brew install openssh brew install screen brew install wget # System Packages brew in...
96641586a76cf26cff55619935a9524cc5168341
3,522
#!/bin/bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" function print_help { local current_install_dir=$(source $DIR/files/env.sh && echo $SPINNAKER_WORKSPACE) echo "usage: install.sh [-hu]" echo "" echo "-h show help and exit" echo "-u proceed with install without GI...
97ed5b570ad6e14a1445fa32853d1926f5306438
1,877
#!/bin/bash serverLocalesInstallScriptDirectory=$(dirname "$(readlink -f ${BASH_SOURCE[0]})") source $(realpath ${serverLocalesInstallScriptDirectory}/../helpers/loadScriptingColors.sh) source $(realpath ${serverLocalesInstallScriptDirectory}/../helpers/requiresSudoRights.sh) echo -e "${gray}=======================...
d31cd96982804d0d2423f3d205bfc5bf6e468747
499
#!/bin/bash cd /netshare1/home1/szzhongxin/proj1/hansun/aftmapping/2A java -Xmx4g -jar \ /netshare1/home1/people/hansun/GATK/GenomeAnalysisTK.jar \ -R /netshare1/home1/people/hansun/GATK/bundle/ucsc.hg19.fasta \ -knownSites /netshare1/home1/people/hansun/GATK/bundle/dbsnp_132.hg19.vcf \ -I 2A.realigned.bam...
24212afff416f0c437291fbd3400a9357a3a3908
58
if [ "$linux_run" == "yes" ]; then sudo swapoff -a fi
ff7b6bd4a1e03b8179c03840baeb9bb57e6dd734
771
#!/bin/bash DnGroupp=0 while [ $DnGroupp -eq 0 ] do clear tput cup 3 3; echo "Grupo o GID a dar de baja" tput cup 4 3; read GIDD busqueda=$(cut -d: -f1 /etc/group |grep "$GIDD") if [ -z $busqueda ] then busqueda=$(cut -d: -f3 /etc/group | grep -n "$GIDD" | cut -d: -f1) if [ -z $busqueda ] then tput cup...
3fd52aaeeeac8aacfa75548843626243ae20d50e
5,221
#!/bin/bash set -e # Mandatory input [ -z "${KERBEROS_REALM}" ] && echo "KERBEROS_REALM must be defined" && exit 1 # Optional input [ -z "${LDAP_ENUMERATE}" ] && LDAP_ENUMERATE="False" [ -z "${LDAP_USER_MEMBEROF}" ] && LDAP_USER_MEMBEROF="memberOf" [ -z "${LDAP_IGNORE_GROUP_MEMBERS}" ] && LDAP_IGNORE_GROUP_MEMBERS="...
4c4529b2ad6930abe58c16beff4a94c94b1ff69e
257
#!/bin/bash getent group kibana >/dev/null || groupadd -r kibana getent passwd kibana >/dev/null || \ useradd -r -g kibana -G kibana -d /usr/share/kibana -s /usr/sbin/nologin -c "Kibana" kibana chown -Rf kibana:kibana '/usr/share/kibana' #DEBHELPER#
b5063b09dff0e1cd10d1124e125ba90468372d3c
213
# General settings IPC=private RUNTIME=runc HOST_IP=0.0.0.0 HOST_PORT=4343 CONTAINER_PORT=4343 NVIDIA_VISIBLE_DEVICES= NVIDIA_DRIVER_CAPABILITIES= COMPOSE_PROJECT_NAME=emily-iq-test-d3mauh PYTHONPATH=./ # Extra
640915a431fda9a3d94ed7b8afbee22736a635de
770
#! /usr/bin/env bash # BuildCompatible: KitCreator version='7.22.0' url="https://github.com/flightaware/tclcurl-fa/archive/1fd1b4178a083f4821d0c45723605824fbcdb017.tar.gz" sha256='5abad0f369205b8369819f3993a700bb452921bcab7f42056ef29a1adc3eb093' tclpkg='TclCurl' function postinstall() { if [ "${pkg_configure_shared...
287c1849354d3472a17c282d02f2ee986e60c72c
590
#!/bin/bash # script used for running multiple files through Vpsr code # use with care, i.e. fear! for i in `ls -1 data_grids/*1024.txt` do pulsar=${i:11:9}; echo $pulsar; rm -rf J$pulsar/ ./Valign.py -f $i -p J$pulsar -o -r 2 -d -g -n & done wait for i in `ls -1 data_grids/*1024.txt` do pulsar=${i:11:...
dd3e8688dd31801700c2c25213afd4077dd7f8e3
228
#!/bin/bash export COMPRESSION="NONE" export HBASE_HOME=/opt/hbase export TSDB_VERSION="::TSDB_VERSION::" export JAVA_HOME="::JAVA_HOME::" /usr/local/share/opentsdb/tools/create_table.sh touch /opt/opentsdb_tables_created.txt
5d2f961a5b6164a8e745b1599df82437379afb0f
276
#!/bin/bash SCRIPT_PATH=$(dirname $(realpath $0)) cd ${SCRIPT_PATH} MOD_DIR=${SCRIPT_PATH}/mod/* LIB_DIR=${SCRIPT_PATH}/lib/* STORAGE_DIR=${HOME}/.aion java -cp "${MOD_DIR}:${LIB_DIR}" -Dlocal.storage.dir=${STORAGE_DIR} -Xms300m -Xmx500m org.aion.wallet.WalletApplication
d965a438bfb15e406b29c0ec5232d2a231335055
748
#!/bin/bash # Job Name #SBATCH -J random_BS # Walltime requested #SBATCH -t 36:00:00 # Provide index values (TASK IDs) #SBATCH --array=151-200 # Use '%A' for array-job ID, '%J' for job ID and '%a' for task ID #SBATCH -e Logs/random_BS_sub-%a.err #SBATCH -o Logs/random_BS_sub-%a.out # Resources requested #SBATCH -c...
4086d9d9e4470f12f1bab0a52b0d6c88fe989621
480
#!/bin/sh set -e . ../../common.sh # Read the 'xlib' download URL from '.config'. DOWNLOAD_URL=`read_property XLIB_SOURCE_URL` # Grab everything after the last '/' character. ARCHIVE_FILE=${DOWNLOAD_URL##*/} # Download 'xlib' source archive in the 'source/overlay' directory. download_source $DOWNLOAD_URL $OVERLAY_...
b3d8b5578a465ef94fa2c030a74053ce86c9556d
216
#!/bin/bash # Remove extension_attributes script rm -f "${MUNKIPATH}preflight.d/extension_attributes" # Remove extension_attributes.plist cache file rm -f "${MUNKIPATH}preflight.d/cache/extension_attributes.plist"
0e794c39bacc7a91ce6ded9fe0e87edfff9065ca
331
cd "${SRC}/${isim}-${surum}" patch -Np1 -i "${SRC}/libmpeg2-0.5.1-gcc4.6.patch" sed '/AC_PATH_XTRA/d' -i configure.ac autoreconf --force --install cd "${SRC}/${isim}-${surum}" ./configure --prefix=/usr --enable-shared --disable-static make OPT_CFLAGS="${CFLAGS}" \ MPEG2DEC_CFLAGS="${CFLAGS}" \ LIBMPEG2...
ee8883060c953fb59545be77d52898c4a364fc61
210
#/bin/sh echo "Testing ioctl -v for a INVALID version" cd /test/bkpfs_test rm -f * cd - cd /mnt/bkpfs echo "Hello World 1" > testE /usr/src/hw2-jranjan/CSE-506/ioctl -v 2 testE cd - cd /test/bkpfs_test ls cd -
dcbd263198080ca1c6bcda3fc87e1067927dfe93
411
# # Command: box util get-sha1-checksum <filename> # # Returns just the sha1 checksum for a file # (omits the filename, unlike shasum and sha1sum) # if (( 0 == "$#" )) ; then stdErr "No filename passed." return 1 fi filename="$1" if [ "${BOXCLI_PLATFORM}" = "macOS" ] ; then sha1="$(shasum "${filename}")" ...
9e6b824f49026e2bfd7d1dc2cc43502192f08406
224
#!/bin/bash tag=$1 if [ -z $tag ]; then echo -e "\nYou must provide a tag" echo -e "\nUsage: bash build_docker.sh TAG\n" exit 1 fi docker build -t quay.io/humancellatlas/secondary-analysis-dropletutils:$tag .
f5f4342400ade7c6a956c000373fde12f9319dd9
452
#!/bin/sh # Finds PHP binary PHPBIN=`whereis php-cgi | cut -d" " -f2` if [ "$PHPBIN" == "" ]; then PHPBIN=`whereis php | cut -d" " -f2` if [ "$PHPBIN" == "" ]; then echo "Error. PHP binary not found" exit 1 fi fi # saves the path to this script's directory dir=` dirname $0 ` # absolutizes the path if necessa...
f1b5f8e00585b257985d68bca6f0c6f611c7d12d
78
#!/bin/bash # read the name of the user and print hello echo "Matt LaFayette"
de2bb284a604e40207ec55ca1818a03049e3f407
642
#!/bin/bash # Check if a number is prime # function to return whether prime or not in given range check_prime() { current_number=$1 flag=0 i=2 while test $i -le `expr $current_number / 2` do if test `expr $current_number % $i` -eq 0 then flag=1 fi i=`expr...
8a135ee29e764268aaea5ecf04ff9fb9d477e154
382
#!/bin/sh DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # Even though we don't need to be in the right directory in theory, # in practice, being in the wrong directly could lead to permissions # issues cd "$DIR/../.." su -c 'pm2 update' web su -c 'NODE_ENV=production DATABASE=production pm2 start -i 0 /home...
608bb1ea454bb09f59c0a136308c17ae9a998e33
1,136
#!/bin/bash mkdir -p .logs touch .logs/${_new_name}.log exec > >(tee -a .logs/${_new_name}.log) 2>&1 _base=archlinux-base _new_name=$1 source ./utils.sh virt-clone \ --original ${_base} \ --name "${_new_name}" \ -f "/var/lib/libvirt/images/${_new_name}.qcow2" || exit 1 sudo virt-sysprep -d "${_new_name...
914d3431dc0244d2b5ec4486309be8724f98ba98
6,810
#!/bin/bash ################################################### # Test # # Globals: # None # # Arguments: # $1 system-name (eg. "snes") # $2 rom filename (eg. "SuperMetroidRandomized.smc") # $3 image (eg. "image.png") # # Returns: # Nothing # function addGameToXml() { xmlstarlet edit --inplace --upda...
1877af0f2ae2ab1934b6611f889a0a4fa7c09081
3,650
#!/bin/sh # /usr/openwin/bin/ff.core exploit - horizon # tested on 2.5.1, and 2.6 # thanks to joej, adm, and joej :> # you can use ff.core to do a rename() as root # files must be on same filesystem and the destination must be in a # directory that is a subset of the source directory # this exploit can be ...
d9447b2c0398a53f9e7173c16926353e1556149f
574
#!/bin/sh # # func/TS # # a convenient way to create an environment for collaborative testing # # Copyright ยฉ 1994โ€“2008 martin f. krafft <madduck@madduck.net> # Released under the terms of the Artistic Licence 2.0 # # Source repository: git://git.madduck.net/etc/zsh.git # local topic filename ret topic="${(j:_:)@}" fi...
5bcc8fb6f054a7d641b8102c7c1d169b92ff3375
83
docker build -t clean-architecture . && docker run -dp 3000:3000 clean-architecture
2d21a5eff7a96de853015749d9d5927c6a75212a
1,598
#!/bin/bash source "${BASH_SOURCE%/*}/utils.sh" # Global definitions ROOT_LOCAL_DIR="${BASH_SOURCE%/*}/../../.." ROOT_DIR="$(absolute $ROOT_LOCAL_DIR)" BUILD_DIR="$ROOT_DIR/build" CMAKE_DIR="$ROOT_DIR/cmake" CI_DIR="$ROOT_DIR/ci" SCRIPTS_DIR="$CI_DIR/scripts" PYTHON_DIR="$SCRIPTS_DIR/python" PYTHON_VENV_DIR="$PYTHON_...
cebcc1090ab329c937e6a72ea1be8596a6e6245d
343
#!/bin/bash itemnumber=$1 id=MeganKre-71ab-4611-9fc8-68195808373e singleitemurla="http://open.api.ebay.com/shopping?callname=GetSingleItem&responseencoding=XML&appid=" singleitemurlb="&siteid=0&version=515&ItemID=" singleitemurlc="&IncludeSelector=Description" request=$singleitemurla$id$singleitemurlb$itemnumber$single...
4304aeabe77c4d9e570101d20b47b504e6fd1670
497
#!/usr/bin/env bash algorithm="cryptonight" . ~/.local/etc/nicehash mkdir -p ~/.nicehash cd ~/.nicehash sed -i "s/^\"wallet_address\".*/\"wallet_address\":\"$address.$worker\",/" ~/.local/etc/nicehash-cryptonight sed -i "s/^\"pool_address\".*/\"pool_address\":\"$algorithm.$location.nicehash.com:3355\",/" ~/.local/etc/n...
0ac8ea1c14769bf1aa4578374ad604b9016c49b1
66
#!/usr/bin/env zsh arch -x86_64 /usr/local/Homebrew/bin/brew "$@"
445c57d1febde2ddb1e39ca6724aee35ebfb2877
80
gcc -o a main.c io.c f4f.c f4x.c hash.c bootstrap.c manifest.c ./a a.flv
7d1e3340954338455189953232532d6389e6ec0e
1,257
#!/bin/bash # Remove docker engine key to make it unique sudo rm -f /etc/docker/key.json sudo service docker restart # Configure the docker daemon sudo mkdir /etc/systemd/system/docker.service.d cat << "EOF" > /etc/systemd/system/docker.service.d/daemon.conf { [Service] ExecStart= ExecStart=/usr/bin/dock...
f462868b1d1f1f5977ede4f3d0f3a9bef4f274bf
111
#!/bin/bash THDS=$1 TC=$SYSBENCH_LUA_SCRIPT_LOCATION"/oltp_update_non_index.lua" ./workload/run.sh $THDS $TC
2086c8238ec1c74bd3212ca132307e5aeaeb974e
59
# .rails_env_production.bash export RAILS_ENV=production
f8c374098b20cc70cdc9613931f6579dbeab9aeb
138
#!/bin/bash BIN=$1 OUTDIR=$2 TIMEOUT=$3 INDIR=$4 timeout -k 9 ${TIMEOUT}s $BIN 698 0 0 990 464 5856 3 640 501 1 0 0 &> $OUTDIR/o34
793dd1ce13a7734cf5bc17fbdeb7204faa32b2b2
1,853
#!/bin/bash #Copyright (c) 2008, Jay Wang #All rights reserved. # #Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, this list of conditions and th...
bef20e195796a7f3f42fe418f75d8eed03d5fede
576
#!/bin/ksh . /`uname -n`/informix/etc/`uname -n`_1.inf_setup PATH=.:/bin:$INFORMIXDIR/bin:/uswsup01/usw/offln/bin:/usr/sbin:/usr/local/bin:/uswsup01/usw/reports/monthly/bin:$PATH #INFORMIXSERVER=uswsup01_1; export INFORMIXSERVER #INFORMIXDIR=/informix-$INFORMIXSERVER; export INFORMIXDIR #PATH=.:/bin:$INFORMIXDIR/bin:...
24dbc3d417f64596d6d26e184d0c88ab3f188b29
416
export PATH="/opt/jdk1.7.0/bin/:$PATH" export JAVA_HOME="/opt/jdk1.7.0" exec "/opt/jdk1.7.0/bin/java" -Xmx2000m -classpath "/usr/share/java/ant.jar:/usr/share/java/ant-launcher.jar:/usr/share/java/jaxp_parser_impl.jar:/usr/share/java/xml-commons-apis.jar:/opt/jdk1.7.0//lib/tools.jar" -Dant.home="/usr/share/ant" -Dant.l...
5012ada26c3b37a791b292384f271957213ba0e8
57
#/bin/sh docker build --rm -t test -f build.dockerfile .
66f3a5a5413a2b35553995a7dd9a2195dd063d70
145
cd doc for i in $(seq 1 2); do pdflatex -shell-escape documentation.tex; done cd .. mkdir -p public/doc cp doc/documentation.pdf public/doc/
8941d54ab4e709dbf9bd41fe10a24af268708a79
64
mkdir Application/Runtime sudo chmod -R 777 Application/Runtime
3826209ed978f37f67fad3cb7f7c761903988223
14,457
#!/bin/bash # This script provides common script functions for the hacks # Requires ONION_ROOT to be set set -o errexit set -o nounset set -o pipefail # The root of the build/dist directory ONION_ROOT=$( unset CDPATH onion_root=$(dirname "${BASH_SOURCE}")/.. cd "${onion_root}" pwd ) ONION_OUTPUT_SUBPATH="${...
9c9c48f9ac03b0ebe3083cb9259cf16bc8517afc
475
#!/bin/bash SCRIPT_LOC="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" . ${SCRIPT_LOC}/shared-vars.sh ${SCRIPT_LOC}/stop-server.sh || error "Could not stop server" # Prepare configuration files echo "eula=true" > ${DEPLOY_LOC}/eula.txt cp -f ${SCRIPT_LOC}/${BASE_SERVER_PROPERTIES} ${DEPLOY_LOC}/s...
6c4be1b7d0ef7962a82a1f6ccc9d889ced20a6e4
478
#!/bin/bash python src/train.py --model rf-shallow --normalize standardize --datamanip smote-.1 --fold 0 python src/train.py --model rf-shallow --normalize standardize --datamanip smote-.1 --fold 1 python src/train.py --model rf-shallow --normalize standardize --datamanip smote-.1 --fold 2 python src/train.py --model ...
19d065e9809e8108dbf2fd8c9a264711e60fe9cb
469
#!/bin/bash # Example1 i=0 while [[ $i -lt 5 ]] do echo "Number: $i" ((i++)) if [[ $i -eq 2 ]]; then break fi done echo 'All Done!' # Example2 for i in {1..3}; do for j in {1..3}; do if [[ $j -eq 2 ]]; then break fi echo "j: $j" done echo "i: $i" done echo 'All Done!' ## Con...
42ec5e446b7603cfed4ef742a24805732397d8b8
896
#!/bin/sh # Run: curl -s https://raw.githubusercontent.com/Surveily/Images/master/script/wg0.sh | sudo sh set -e if [ `whoami` != root ]; then echo "Please run this script with sudo:" echo "sudo $0 $*" exit 1 fi # Setup wg0 chmod 600 /etc/wireguard/wg0.conf systemctl enable wg-quick@wg0.service systemc...
aed6eb3bc7273cc4f9498a2d95881c8b774c2465
7,764
#!/bin/bash # ===============LICENSE_START======================================================= # Acumos Apache-2.0 # =================================================================================== # Copyright (C) 2018 AT&T Intellectual Property. All rights reserved. # ============================================...
c2ce879cfd488f1554dccb895339df0692e7db42
425
# seqs=(c041 c042 c043 c044 c045 c046) # seqs=(c010 c016 c017 c018 c019 c020 c021 c022 c023 c024 c025 c026 c027 c028 c029 c033 c034 c035 c036) seqs=(c006 c007 c008 c009) gpu_id=0 for seq in ${seqs[@]} do CUDA_VISIBLE_DEVICES=${gpu_id} python detect2img.py --name ${seq} --weights yolov5x.pt --conf 0.1 --agnostic --...
3b12047601db69aa87fd48f9aa9883d7f6c40275
494
echo "usage:$0 <kill_keyword_in_ps_ef>" echo ".e.g.: $0 firefox" echo "^C to break, anykey to continue...";read readline echo "below ps -ef results will be killing...";read readline2 ps -ef | grep $1 echo "^C to break, anykey to continue...";read readline #ps -ef|grep wget |tr '\b' ' '|cut -d" " -f4-9|sed 's/^ *//g'...
e62ce6672a88297054c0cf3a3d1ac9e8d16834cf
987
# Maintainer: Philip Mรผller <philm[at]manjaro[dot]org> # Developer: Filipe Marques <eagle[dot]software3[at]gmail[dot]com> pkgname=packnroll pkgver=1.0.0 pkgrel=1 pkgdesc="It's so easy doing the packaging process !" arch=('i686' 'x86_64') url="https://github.com/filipe-marques/packnroll" license=('GPL') depends=('qt5-b...
2d105a8f7309c070f335f0ec0921a5ef18a34be2
78
./test_rw_lock & ./test_rw_lock & ./test_rw_lock & echo abcd > /dev/rw_lock &
3c604620259df5a434994e72980b4d6b9319afdf
282
#!/bin/bash esearch -db sra -query ERS1349673 | esummary | xtract -pattern DocumentSummary -ACC @acc -block DocumentSummary -element "&ACC" | cut -f 5 > acc/ERS1349673 bash /home/ubuntu/test/PSST/psst_2.sh -s acc/ERS1349673 -n snp.txt -d out/ERS1349673 -e jlever@bcgsc.ca -t 1 -p 1
05033d40e3fe94aa8f85fa5b86dfa3b4b43eee3d
916
# Calculate the number of `repeatNumber` estimated by EHdn-v0.8.0 # Output folders for EHdn GRCh37 OUTPUT_PATH_b37=/genomes/scratch/kgarikano/GEL_STR/EHdn/output_EHdnv0.8.0/numberRepeats/GRCh37/ # Input folders for EHdn v0.8.0 for GRCh37 INPUT_PATH_b37=/genomes/scratch/kgarikano/GEL_STR/EHdn/output_EHdnv0.8.0/GRCh37 ...
43ecb09e51ac45fa3802fb0a7c776e62e9c7cd0c
159
#!/bin/sh echo "Start dotnet bootstrap ~~~" export DOTNET_ROOT=$(pwd)/rt export PATH=$(pwd):$(pwd)/rt:${PATH} dotnet ./src/bin/Release/netcoreapp3.1/index.dll
6e3248836b99720d6efa7dd00c668ac075399b7d
547
DISK_PATH=/datadrive/NPS/ python eval_cmd.py --model_weights $DISK_PATH/exps/arm_16_5em5_greedy_nogrammar_47+/Weights/best.model \ \ --vocabulary $DISK_PATH/data/1m_6ex_karel/new_vocab.vocab \ --dataset $DISK_PATH/data/1m_6ex_karel/test.json \ --eval_nb_ios 5 \ ...
40fafd765f3b412d36f27411e9dbfe133f2aee94
383
#!/usr/bin/env bash # ๆ‰น้‡่ฟ่กŒrun.sh # ้ๅކๆŒ‡ๅฎšๆ–‡ไปถๅคน๏ผŒ็„ถๅŽ่ฟ่กŒๅ…ถไธญ็š„run.sh่„šๆœฌ # check parameters if [ $# -ne 1 ] then echo Please input directory exit 1 fi dir=$1 for d in $dir/* do if [ -d $d ] then echo start $d/run.sh cd $d bash run.sh else echo $d is not directory fi done...
cd3adba12c907792f3acdc76b6302ef54ac944f3
3,185
#! /bin/sh -x ############################################################################ # # MODULE: osmphgarmin map build script # # AUTHOR(S): Ervin Malicdem schadow1@s1expeditions.com # Emmanuel Sambale esambale@yahoo.com emmanuel.sambale@gmail.com # # PURPOSE: Shell script for creatin...
3e13c4796eb3387683c0de84685a78e1426a4bbf
2,860
#!/bin/bash #------------------------------------------------------------------------ # A script to copy the necessary credentials into the right places in the # build. # #------------------------------------------------------------------------ # Utility methods # fatal() { echo "credentials.sh: fatal: $1" 1>&2 ...
6a0a8b5cbe65623434e83ed49e653b31c6445eae
340
#!/bin/bash DIR="$1" for file in $DIR/*; do if [ -s $file ] then rm -f $file fi done #Kasowanie wszystkich plikoฬw pustych (o zerowej wielkosฬci) w zadanym katalogu (parametr wywoล‚ania skryptu). Skrypt powinien tworzycฬ w zadanym pliku listeฬจ skasowanych plikoฬw. Nie powinien analizowacฬ doล‚aฬจczenฬ symbol...
0995098a59ac2a61f343395653f11a4b0cb7fe88
228
#! /bin/bash ./crash 6 touch test/helloWorld.txt echo "Hello World" > test/helloWorld.txt touch test/password.txt echo "My Password is PA55WORD" > test/password.txt ./crash -1 echo "My Password is: " cat test/password.txt
069741a7c1af52475d9216c30f07b86a4c92769f
56
if [ "${INCSSHFS}" == "Y" ]; then INCFUSETHREE="Y" fi
e88610f2bab0db8346938fe9bc9f1ae7de0113c2
220
#!/bin/bash #NAVETEUR Lucas svgdir () { #Vรฉrification des arguments if [ -z $2 ] || [ ! -z $3 ]; then echo "Usage : bash 04-doslike.sh <arg1> <arg2>" exit fi cp -r $1 $2 } svgdir $1 $2
88ae802c5b45615d59c2934ae12f9bfb4705bd01
412
#!/bin/bash # Quick script to cat our ssh config entries, and hand over the host name blocks to fzf for selction. # That selection is then run directly with ssh since it's a named HostName entry. TARGET=$(cat $HOME/.ssh/config | grep -i -G "Host\ " | awk '{print $2}' | fzf --border=rounded --reverse) # return if canc...
0b8daaabdddef08cc2d8edd5f8da739e346bc795
44
#!/bin/sh echo "Starting gbans..." exec "$@"
44e1f0af5ad48057bd082aec232a1b17845b0666
502
#!/bin/bash echo ไฟกๆฏ: ๅผ€ๅง‹้…็ฝฎtest_r2c05ๅทฅ็จ‹ใ€‚ #้œ€่ฆ้…็ฝฎ็š„้กน็›ฎใ€‚ SRC_DIR="$BUILD_ROOT/src/test_r2c05" SRC_INC="$BUILD_ROOT/import/r2c05/include $BUILD_ROOT/src/cmd_base $BUILD_ROOT/src/alm_common" DEST_DIR="$BUILD_ROOT/bin/test_r2c05" DEST_BIN="run.out" DYN_LIBS="-lpthread" STAT_LIBS="$BUILD_ROOT/bin/alm_common/alm_common.a $BUILD_R...
87aa4956bf9aeb867eea48641cf7a55b8dfeff82
898
#!/bin/bash # Various ways for writing for-loops clear echo "First way (for i in 1 2 3 4 5):" for i in 1 2 3 4 5 do echo "Hello!" done echo echo "Second way (for i in {1..5}):" for i in {1..5} do echo "Holla!" done echo echo "Third way (with step/increment):" for i in {0..20..2} # {start..end..step} do echo $i ...
36fa499a54f0cb58147f96aa0e6737d88e5379a2
7,023
#!/bin/zsh # plugin manager # unplugged: https://github.com/mattmc3/zsh_unplugged # ----------------------------------------------------------------------------- ZPLUGINDIR=$HOME/.zsh/plugins # clone a plugin, find an init.zsh, source it, and add it to your fpath function plugin-load () { local giturl="$1" local...
2ec91fa94233b8bd6c321ef360f0c84052edaeae
163
#!/usr/bin/env bash array=(a b c d) echo ${#array[@]} echo ${#array[*]} echo `expr 2 + 5` echo `date` for i in array do echo ${i} done curl www.baidu.com
8bac2ccec812b686ead15f7d6472f18a46019031
1,095
#!/bin/bash printf '\nInstall Kubernetes dashboard from Github repository. Check at https://github.com/kubernetes/dashboard\n\n' kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.3.1/aio/deploy/recommended.yaml printf '\nCreate a service account in the default namespace.\n\n' kubectl create...
7fa76d375321575207fc6e86d32bdb3f283a00b5
619
#!/bin/bash cd /usr/local/ALM/staging for file in *; do if [[ "$file" = *metadata* && -N "$file" ]]; then cp $file /opt/shibboleth-idp/metadata/ elif [[ "$file" != *metadata* && -N "$file" ]]; then c...
686b164dbbdff05c71744bd1b02fbaee863f0760
313
#!/bin/sh git ls-files -oi --exclude-standard find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatch find . -name *.o -print0 | xargs -0 git rm -f --ignore-unmatch find . -name *.out -print0 | xargs -0 git rm -f --ignore-unmatch find . -name test.dSYM -print0 | xargs -0 git rm -rf --ignore-unmatch
b03542887d59d6c084888cbe10b3675ccb4ee11b
9,488
#!/bin/bash wget 'http://www2.dgi.inpe.br/api/download/TIFF/CBERS4A/2020_06/CBERS_4A_WPM_RAW_2020_06_01.13_04_30_ETC2/196_138_0/4_BC_UTM_WGS84/CBERS_4A_WPM_20200601_196_138_L4_BAND0.xml?key=leandro.biondo@inma.gov.br&collection=CBERS4A_MUX_L4_DN&scene_id=CBERS4A_WPM19613820200601' wget 'http://www2.dgi.inpe.br/api/dow...
cee99c436e4e59d40905092f9d2bf661051cc845
1,387
# Maintainer: grimsock <lord.grimsock at gmail dot com> # Contributor: Fraser P. Newton <fpnewton90 [at] gmail [dot] com> pkgname=gcp-cups-connector pkgver=v1.12.r2.g27a84c8 pkgrel=1 pkgdesc="The Google Cloud Print (aka GCP) CUPS Connector shares CUPS printers with users of Google Cloud Print." arch=('i686' 'x86_64' '...
55aebc2b807f7ccb006019f79593968f6235eaac
451
#!/bin/bash magicNumber=$(( $RANDOM % 100 )) ## write your code here ## read number win=$[] while : do if [ $number -lt $magicNumber ] then echo $number echo 'less' else if [ $number -gt $magicNumber ] then echo $number echo 'greater' else ...
2e4ac8304af642bc37a1c4827c1b4b5f6fa077ed
993
#!/bin/sh # # --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../devfsd/devfsd.init # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2003 Clifford Wolf # # More information can be found in the files COPYING and README. #...
1adfbaff0582a6d38d96c08a7e2bd804dde351fa
299
#!/bin/bash # Copyright 2021 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. source "$(dirname $0)/common.sh" ./tools/dev_container --hermetic ./tools/run_tests --target=vm:aarch64 --arch armhf -v
70daf997dc758e8b65324df5aa7a0963b74c7d76
573
#!/bin/bash set -e if [ "$1" = 'teamcity-server' ]; then SCRIPT=./bin/$1.sh shutdown() { local signal=$1 local pid=$2 echo Received $signal, sending TERM to PID $pid. pkill -TERM -P $pid } # More information: http://veithen.github.io/2014/11/16/sigterm-propagation.html trap 'shutdown INT ...
976bbd030c51ca5930491a27ca3b63d0ad2922b5
294
#!/bin/bash cd ./datastruct/build/ cmake .. echo $? cd - cd ./memory/build/ cmake .. cd - # pwd cd build ar x ../memory/build/libmemory.a ar x ../datastruct/build/libdatastruct.a ar rc libscl.a *.o cd - #ar rcs libscl.a ./memeory/build/libmemory.a ./datastruct/build/libdatastruct.a
e05db837a1a933e1348160fdd105aae44e920532
138
#!/usr/bin/env bash mogrify -path ./images/resized -resize 1280x800^ -gravity Center -extent 1280x800 -format jpg ./images/screenshot*.png
d2aaa36bfca7225415cbd16c76afde8a11a36eb6
726
#!/bin/bash ARGS="$@" GC="\033[1;32m" YC="\033[1;33m" EC="\033[1;0m" printgreen() { printf "${GC}%s$@${EC}\n"; } printyellow() { printf "${YC}%s$@${EC}\n"; } # get all tls type secrets OUTPUT=$(kubectl ${ARGS} get secret -A | grep "kubernetes.io/tls") # get namespaces NAMESPACES=$(echo "$OUTPUT" | awk '{print...
9789356bdb4fc1b7db7289ac096645290e63b5a5
1,191
#!/bin/bash # Installs Homebrew - will install xcode command line tools if missing /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" # Installs brew casks / apps brew install --cask google-chrome brew install --cask slack brew install --cask 1password brew install --cask ...
83ccebe9bb244e52f80ef1ab22efe06afced2b38
2,302
#!/bin/sh CATTER="" if type bat &> /dev/null; then CATTER="bat -p --paging=never --wrap=never" else CATTER="cat" fi eval $CATTER <<POKE  โ–„โ–„โ–„โ–„โ–„ โ–„โ–„โ–„[38;5...
16de1c8dd332359adb7ee88554d2271ed4a6811f
1,561
#!/bin/bash # LAUNCH EXAMPLES # - launch watcher, log on file and kill old istances # ./cpuwatch 40 >> cpuwatch.log & if [ "$1" == "-h" ] || [ "$1" == "--help" ]; then echo "cpuwatch [THRESHOLD:40] [SLEEP:0] [AVERAGE_FOR_SECONDS:30] >> /path/to/log" echo " the script check if the 'instant' CPU percantage usa...
09daa6a64f0ca28c7e8cf464514e7a8aee83564c
60
cd /app crystal build discordcr.cr -o /discordcr&&/discordcr