blob_id
stringlengths
40
40
length_bytes
int64
7
488k
source
stringlengths
7
488k
3d76fe49370da9a1d7b8a4ae2ea09009d5b07082
201
rm -rf build && mkdir build && cd build && cmake .. make || exit 1 make install cd ../bindings/Python && rm -rf build python setup.py install || exit 1 cd ../../tests/Python_and_core && python test.py
6efb692530061ab508b0247e88009ad849aad0f1
632
second_smallest() { m1=1000 m2=1000 arr=("$@") for x in "${arr[@]}" do if [ $x -le $m1 ] then m1=$x m2=$m1 elif [ $x -lt $m2 ] then m2 = $x fi done echo "Second Smallest number is "$m2 } second_largest() { m1=0 m2=0 arr=("$@") for x in "${arr[@]}" do if [ ...
8191d0309dae9c220af19af1d320f597e98bae46
131
Fetching a remote branch Pulling a remote branch Merging branches Solving basic merge conflicts View your commit history in a graph
7db6dcef969180710680ceaa45d5a0aeff6fd363
215
export EDITOR='vim' export PATH="./bin:/usr/local/bin:/usr/local/sbin:$ZSH/bin:/opt/pact/bin:/opt/bin:~/Library/Python/2.7/bin:$PATH" export MANPATH="/usr/local/man:/usr/local/mysql/man:/usr/local/git/man:$MANPATH"
6872f9c388ef32c9b1e9bc34765d054aa8dbfedd
345
LISTPORTS="ports-mgmt/poudriere-devel" OVERLAYS="omnibus" IMMUTABLE_BASE=nullfs . common.bulk.sh do_bulk -c ${LISTPORTS} assert 0 $? "Bulk should pass" EXPECTED_QUEUED="ports-mgmt/pkg misc/freebsd-release-manifests ports-mgmt/poudriere-devel" EXPECTED_LISTED="ports-mgmt/poudriere-devel" assert_bulk_queue_and_stats a...
9f1e089a42e05efd178b5ca4dc4641c41007f3e3
786
#! /usr/bin/env bash function setup_xampp() { local ERROR=$SETUP_ERROR_CONTINUE local xampp_path="$APPS_ROOT/PortableApps/XAMPP" # Install XAMPP if [[ ! -f "$xampp_path/xampp/setup_xampp.bat" ]]; then mkdir -vp "$xampp_path" local tarball=xampp-portable-windows-x64-7.4.2-0-VC15.zip download_tarbal...
3b7ae96b77d5f6a1a685037a87ca72f3cfef6f27
662
mkdir build cd build cmake .. # TODO: Turn off surplus stuff... below is incomplete. # # cmake -DWEBP_ENABLE_SIMD=ON\ # -DWEBP_BUILD_ANIM_UTILS=OFF\ # -DWEBP_BUILD_CWEBP=OFF\ # -DWEBP_BUILD_DWEBP=OFF\ # -DWEBP_BUILD_GIF2WEBP=OFF\ # -DWEBP_BUILD_IMG2WEBP=OFF\ # -DWEBP_BUILD_VWEBP=O...
ef8fa06300808ab087a80525112f1bbce596468b
595
#!/bin/sh # Share one network's internet connection with another network. # eg: If your Wifi adapter with internet access is called wlan0 # and your local Ethernet adapter is called eth0, # then run: # ./share_my_internet.sh wlan0 eth0 # This will only last until you reboot your computer. sudo iptables --flush sudo ...
eada390abf0e8b09452e680ffee27481a1f61902
1,116
#!/usr/bin/env bash set -e set -x # The cross-compiler will be installed in a separate $LFS/tools directory, since it will not be part of the final system. echo "--- start run-prepare.sh ---" ${LFSRoot}/scripts/prepare/binutils.sh ${LFSRoot}/scripts/prepare/gcc.sh ${LFSRoot}/scripts/prepare/linux-api-header.sh ${LF...
9d020fd1daf4ea3e85fc3ec8750d27cbfbf7a8f1
1,100
#!/bin/bash function delete_instances() { step=50 instances_list=("`gcloud compute instances list --format="value(NAME,ZONE)" 2>/dev/null | grep compute`") zone=`echo "${instances_list[@]}" | awk '{print $2}' | sort -u` echo "${instances_list[@]}" | grep -v -w "compute1" | grep -v -w "compute2" | awk '{print $1}...
41a3636d7902044bead5e82f7652872fdae90b43
158
#!/bin/bash cd "`dirname "$0"`" imp scott/tiger file=../../data/13-network/net_data.dmp tables="(net_nodes,net_links)" read -p "Hit return to continue... "
6aab6596593569cd16f29ebdd0acc021954cd320
234
#!/usr/bin/env bash apt-get -y install python-software-properties add-apt-repository -y ppa:ondrej/mysql apt-get update DEBIAN_FRONTEND=noninteractive apt-get -y install mysql-client-5.6 mysql-server-5.6 sleep 5 service mysql start
ad0ebf76f0129f7c2c581f79b3ee4645296724f5
1,403
#!/usr/bin/env bash if [ ! -e ./.zmq ]; then # Move into temporary directory. mkdir .zmq cd .zmq # Add repository for 0MQ. sudo add-apt-repository ppa:chris-lea/zeromq # Update apt and install packages. sudo apt-get update sudo apt-get install --force-yes --yes libzmq-dev python-dev uuid-dev ...
fe69185c09328bc7d2234aeaff6d8ec20c1ec102
272
#!/bin/sh set -e if [ -f /etc/docker/daemon.json ] ; then cat /etc/docker/daemon.json | jq 'del(."default-runtime")' | jq 'del(.runtimes.nvidia)' > tmp mv tmp /etc/docker/daemon.json pkill -SIGHUP dockerd fi touch /finished while true; do sleep 3600; done
9d46d5543a8859b023fd201909215c0b97915d89
1,028
# Author: SAVITHRU LOKANATH # Contact: SAVITHRU AT ICLOUD DOT COM # Copyright (c) 2018 Juniper Networks, Inc. All rights reserved #!/bin/sh # Set SSH password, keyless SSH, stat hosts & install base packages set -eux sudo -u root bash << EOF sed -i -e 's/PermitRootLogin prohibit-password/PermitRootLogin yes/g' -e '...
e7ea12bf73af5126a7a548b639a9d9452872ccb5
736
#!/bin/sh ### BEGIN INIT INFO # Provides: download # Required-Start: $local_fs $remote_fs $network $syslog $named # Required-Stop: $local_fs $remote_fs $network $syslog $named # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # X-Interactive: true # Short-Description: Start/stop download serve...
6118fc4e15bb900aedbdc730d4ac379b9b8b4985
123
cmake $ALICE_ROOT/../src -DCMAKE_INSTALL_PREFIX=$ALICE_ROOT -DROOTSYS=$ROOTSYS -DALIEN=$ALIEN_DIR -DCMAKE_BUILD_TYPE=Debug
eb84cfa9fe0ca55303b852f5f3639ea1d2283208
1,284
#!/bin/Shell source $(dirname "$0")/test-commons.inc setopt --verbose rm -rf /tmp/shell-test 2> /dev/null mkdir -p /tmp/shell-test pushd /tmp/shell-test touch a b c # Can we do logical stuff with control structures? ls && for $(seq 1) { echo yes > listing } if not test "$(cat listing)" = "yes" { fa...
a0240f175912697fc6325f26ace4413f3cacdfba
59
$ANDROID_HOME/platform-tools/adb shell pm list packages -u
5ef7cd066f507c9c88c54cda5dbc21dbd761bd73
1,091
#!/bin/env sh # File : Media Control # Author : Samyak Puri <samyakpuri@hotmail.com> # Date : 08.10.2018 # Last Modified Date: 02.04.2020 if [ "$(pidof -s i3blocks)" ] then update="pkill -RTMIN+11 i3blocks" elif [ "$(pidof -s dwmblocks)" ] then update="pkill -RTMIN+11 dwmblocks" ...
01e96de51ae0d8f1c8b69396b2a607c9a2100702
252
# Maintainer: Limao Luo <luolimao+AUR@gmail.com> pkgname=chromium-embedded-framework-svn pkgver=1 pkgrel=1 pkgdesc="framework" arch=(any) url="http://code.google.com/p/chromiumembedded/" license=(unknown) build() { true } package() { true }
dd4eb725c2740843611b600e884423bfe33e8fe9
135
#!/bin/sh osascript <<EOD tell application "Finder" try mount volume "afp://MyCloud.local/Arq" end try end tell EOD
515a0e1dbc3e7a9820953e710fc0174bb6944762
549
#! /bin/bash # Copyright (c) 2020, by Daniel C. Nygren. export script_name=$(/usr/bin/basename $0) /bin/bash -c "$(/bin/cat <<"END_OF_FILE" | /usr/bin/openssl enc -aes256 -a -d -k ${0##*/} | /bin/zcat U2FsdGVkX19wnpWR4SezWKl+vCVnHmFBeH3fjnTZfgSKbgEzwBaOq07K62TY/DIX vB89yHvtI293EZPvmh6fFxj34yin9PTdsBdqEp2nMIF9CqNmAx5lCz...
39038881387a163c0d59263f637ff7425432e83b
66
MYSQL=jllgshllWEUJHGHYJkjsfjds90 JWT_KEY=secret JWT_SECRET=secret2
98119bdc68c4e66a98ae26ada9bca05800446bff
379
#!/bin/bash set -x set -e SRCS="start.S main.c intc.c uart.c exceptions.S" CFLAGS="-O2 -ffreestanding -nostdlib -Wall -mcpu=68040" m68k-elf-gcc ${CFLAGS} -Ttext=0 ${SRCS} -o m68k m68k-elf-objdump -D m68k | tee m68k.lst qemu-system-m68k --machine virt -cpu m68040 -kernel m68k -serial mon:stdio -nographic \ -trace...
94b4a4e1a48ba477f2571175281f1a005708e837
134
./minerd -t 2 -s 6 -a sha256d --proxy=socks5://127.0.0.1:9150 -o stratum+tcp://us-east.stratum.bitcoin.cz:3333 -O enlighter.mobile1:9
f0ba39d99822663b1db4d3c3a5e7f8ee27c6d4a7
145
load ../../harness @test "fa736cca5318" { check 'if (false ∧ 0 * -4 <x * B6) then skip else skip ' '⇒ skip, {}' }
10697e441806c024c1202b48cbf26cc85d06169d
592
#!/bin/bash OPT=$1 BASE_DIR=$(cd $(dirname $0);cd ../../;pwd) mkdir -p $BASE_DIR/image-build/auth-proxy/resources/keys cp -p ~/cert/auth-proxy/auth-proxy.chained.cer $BASE_DIR/image-build/auth-proxy/resources/keys/auth-proxy.chained.cer cp -p ~/cert/auth-proxy/auth-proxy.cer $BASE_DIR/image-build/auth-proxy/resource...
078bbd4282a234cfadeabc1cb334bf6856b8dafe
122
hydra -L u_list.txt -P p_list.txt -s 3000 localhost http-post-form "/ portal/xlogin/:user=^USER^&pw=^PASS^:F=Invalid"
2c46e2084d99b265d4d864db5393eff1c0e44bf4
97
HOST=0.0.0.0 PORT=1337 SMTP_HOST=localhost SMTP_PORT=25 SMTP_USERNAME=yoda SMTP_PASSWORD=yoda1234
c9583c3cb9d45d87b5c320fb60a644cff3dde166
305
#!/bin/bash python algo.py prime.txt.bkp cd b5 for entry in "cdb5"/* do python algo.py "$entry" 57 a4 done for entry in "57a4"/* do python algo.py "$entry" 54 16 done for entry in "5416"/* do python algo.py "$entry" 12 f4 done for entry in "12f4"/* do python algo.py "$entry" fb 7f done
d603558d5adcda127993e0c8f6c835c4f974f9c8
1,059
#!/bin/sh # shellcheck disable=SC2116 # shellcheck disable=SC2039 runFormula() { if [ -f /.dockerenv ] ; then cd /rit/tf-files || exit export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin else cd tf-files || exit fi # Export TF VAR to Uppercase for e in $(printenv); do if ...
d5e082e517140ca92b995ccc9200fa24ac79aadd
731
#!/usr/bin/env zsh # Print out every file matching a pattern, turn it into its basename so we can # run `uniq -c` and count it no matter where it is, use rg/sed to remove cruft # from `uniq -c`, then pass the basename back into `mdfind` to print out where # the duplicate files actually are. # The pattern can be like '...
f4ba8165c7379c574f1039786cf6d61ae6aae297
3,346
#!/bin/bash #source Components/common.sh Status_Check() { if [ $1 -eq 0 ]; then echo -e "\e[32mSUCCESS\e[0m" else echo -e "\e[31mFAILURE\e[0m" exit 2 fi } Print() { echo -e "\n\t\t\e[36m...................$1...................\e[0m\n" echo -n -e "$1 \t-" } if [ $UID -ne 0 ]; then echo -e "\n\e[1;33mYo...
57e46354d877baea181292c4a8bb060e1bff9955
798
#!/usr/bin/env bash source ~/dotfiles/setup/header.sh echo "Installing Homebrew Casks..." preload_cask_list # Install essential macOS apps via Cask (in order of essentiality) install_cask google-chrome install_cask brave-browser install_cask sync install_cask alfred install_cask visual-studio-code install_cask 1pass...
f1adeb4b1afb3606cc75ac0641ab1181cf75d5d6
1,271
#!/bin/sh ### This must be run first, before update_wraps.sh ### Your .tim file must have a "PHASEA" and a "PHASEB" in it ### See the README for more info # specify version of TEMPO we're using # path to $TEMPO directory, which contains tempo.cfg, obsys.dat, etc. TEMPO= # path to tempo executable alias tempo= # Defi...
54d1edebd25d89ec6da157acf74b090af22eadfd
652
#!/bin/bash # description: Bamboo Agent # chkconfig: 234 21 81 case "$1" in start) su - bamboo -c "cd /home/bamboo; export JAVA_HOME=<%= @java_home %>; \ <%= @java_home %>/bin/java -Dbamboo.home=<%= @agent_home %> -jar <%= @agent_name %> <%= @bamboo_server %> start" ;; stop) su - bamboo -c "cd /...
cb5963b926079e5a6e18703a81e52ab387cc1eba
109
#!/bin/bash IP=192.168.1.3 ssh board_root "systemd-analyze plot >/bootup.svg && tftp $IP -pl /bootup.svg"
cc680d0b57c8e76fc2073e6ca95c4314f7858389
965
#!/bin/bash # regex: (bü[a-zA-Z]*ük) # grep -oh "\w*th\w*" * # perl -lane 'print m/(\s\w*very\s)/g' himalayas.txt txt_files=`find *.txt` originalWildcard=$1 regex=`echo $1 | sed 's/*/\\\w*/g'` # loop through .txt files in directory while read -r line; do # perl -nle '@a = /\W*(\w*very)\w*/g; $,=","; print @a' t...
926859f737b940832e5df845211cf50cda44cc60
85
REACT_APP_API_URL=https://your-awesome-api/ REACT_APP_API_TOKEN=yoursupersecrettoken
168ad37f349ee5db2d97d28c58540d7c5672d7ab
48
export VIRSH_DEFAULT_CONNECT_URI=qemu:///system
7f472a1b03ea46d61a487f5d0a54494cdea80dd0
47
IMAGE_NAME=news-service:latest EXPOSE_PORT=8080
beed0ab0528a55ee3a572f9fb7ae541479dfaa32
124
pid=`ps -fe | grep jekyll | grep -v grep | awk '{print $2}'` kill -9 $pid bundle install nohup bundle exec jekyll serve &
d82ca9c3929d0c3f849f9878451af0994afe4f2f
39
#!/bin/sh exec tail -F /var/log/syslog
e70b065dc389e6e34652806f67b4d6687fdabd4c
139
#!/bin/bash export PATH=/mnt/d/linux-anaconda3/bin:$PATH cd /mnt/d/stations-analysis jupyter notebook --no-browser > jupyter.log 2>&1 &
20a8b9691445c7068b08b2a91213c5dadda919de
752
#/bin/bash echo "\n[도커에서 사용중인 포트를 확인합니다]\n" PORTS=$(lsof -iTCP -sTCP:LISTEN -n -P | grep -w '5050\|3030') if [ -n "$PORTS" ]; then echo "[실핼중인 포트를 중지해야합니다]\n" lsof -iTCP -sTCP:LISTEN -n -P | grep -w '5050\|3030' else DOCKERS=$(docker ps -a | grep -w 'movie-swagger\|movie-application') if [ -n "$DOCKERS" ]...
e14750945f4d2f37b174d6c2b651e2d4fbc3da6f
564
cat <<EOF | curl --silent "http://cerbos.cerbos-example:3592/api/check/resources?pretty" -d @- { "requestId": "test01", "includeMeta": true, "principal": { "id": "alicia", "policyVersion": "default", "roles": [ "user" ] }, "resources": [ { "actions": [ "view" ], ...
1ad900cf3ebb62b297a8f9c922c40f7f4a3bdbb4
114
#! /bin/bash ls +al 1> stdout.txt 2> stderr.txt ls -al 1> listfiles.txt 2>&1 # direct to the same file
d7345cb97cccbcdc82c48890b2f43b7364fe84ea
890
#test cd /home/ubuntu/roomserver mvn clean package -am -pl kurento-room-sdk -DskipTests mvn install -DskipTests mvn clean package -am -pl kurento-room-client-js -DskipTests mvn install -DskipTests mvn clean package -am -pl kurento-room-server -DskipTests mvn install -DskipTests mvn clean package -am -pl kurento-room-c...
15767e7bd5b5be2b507ba6cd944fadb685b8cb72
140
for i in {0001..1000}; do day=$(($RANDOM%30 + 1)) month=$(($RANDOM%11 + 1)) year=$(($RANDOM%3000 + 1)) echo $month/$day/$year > $i done
7da1f395e86253ed777798360c6e3151ef8fa943
218
#!/bin/bash curl -s http://www.gutenberg.org/cache/epub/35/pg35.txt \ | tr '[:upper:]' '[:lower:]' \ | tr -s '[[:punct:][:space:]]' '\n' \ | sort \ | uniq -c \ | sort -r -t $'\t' \ | head
82da481cb582fa4622047a14f6857cbffeddc39d
203
#!/bin/bash cd ./node_modules/sjcl/ ./configure \ --without-all \ --with-bitArray \ --with-codecString \ --with-codecHex \ --with-sha512 \ --with-hmac \ --compress=none make
044de2fc1c8ea9052af8b09daff0a35dae66f8b6
149
#!/bin/bash set -euo pipefail # list root databricks directory # there does not seem to be a recursive option databricks fs ls --absolute -l dbfs:/
949bf909955c813d2779159b73d3c0e435aa8dba
65
#!/bin/bash ./startWithMaven tu.space.worker.SpaceProducer "$@"
e5a6a6132711659f436dbb099147f0d2ced3579c
2,083
#!/bin/zsh # A speech recognition helper program. # Requires Curl and SoX. Export `STT_SOX_BACKEND=alsa` if you don't have # `libsox-fmt-pulse`. # Language to be passed to Google's speech API. export STT_LANG=${STT_LANG:-${${LANG/.*/}/_/-}} # SoX recording backend. # It may default to pulseaudio, but you can use als...
37b2103ad589ae0d812a0b8a2db67a3353a3b053
94
PORT=3003 URL='mongodb://localhost:27017/webexpensemanager' SECRET='SecretKey' EXPENSESMANAGER
839bc2a45beb3511acbb489e8af0b8295acf965c
185
psf() { if is_osx; then local res=$(ps -fU$USER | fzf | awk '{print $2}') print $res else local res=$(ps aux | fzf | awk '{print $2}') print $res fi } zle -N psf
a333106b7425953b75e403096f36fc9b60cb6e05
702
#!/bin/bash # Requires non-interactive SSH auth between CCIS machines, such as that provided by auto-ssh.sh # Suggested usage: ./uptime.sh | sort -rg | head -n 20 FILT_UPTIME_PRE="sed 's|:\([0-9]\+\) up \([0-9]\+\):|:\1 up 0 days, \2:|'" FILT_UPTIME_1="sed 's|.*[^0-9]\([0-9]\+\) day.*|\1|'" FILT_UPTIME_2="sed 's|.*up ...
864eb0fdce85bfbcb4a0f5bd4c72339eeb097c6d
830
#!/sbin/sh # # Copyright (C) 2016 The CyanogenMod Project # Copyright (C) 2016 Adrian DC # # Properties functions helper tools # # Function prop_default_date_timestamp() prop_default_date_timestamp() { # Variables local build_date; local build_timestamp=0; # Build date to timestamp if [ -e /default.prop ]; ...
375653134454917e1b5584984667cfa78721973d
757
#Database DB_BASE_URL=mongo DB_PORT=27017 MAIN_DB_NAME=database DB_USERNAME=admin DB_PASSWORD=admin #Main Server MAIN_SERVER_PORT=4000 #JWT JWT_SECRET=uashduihas12f3dsa JWT_EXPIRATION=24h #Agora AGORA_APP_ID=7dea5406fe56495c95e5f9fe17c6fbbb AGORA_APP_CERTIFICATE=8dd2fba768a14c24b7480ca376b343c9 #AGORA_TOKEN_EXPIRATI...
cdd45e327dda084c557812ab24535cf2e28262e4
1,156
#!/bin/bash cd `dirname ${BASH_SOURCE-$0}` . env.sh ip_addr=$1 #echo Running: geth --datadir $ETH_DATA --authrpc.addr 0.0.0.0 --authrpc.port 8051 --http.corsdomain "*" --rpc.gascap 0 --networkid 12345 -nodiscover console --exec "admin.nodeInfo.enode" attach 2>/dev/null |grep enode | perl -pe "s/\[\:\:\]/$ip_addr/g" | ...
f38af1ed6a4b93b3f9ba14a02c3fe539d8907d1b
1,002
#!/bin/bash handleErr() { echo "$(basename "$BASH_SOURCE"): Error on line $1" >&2; exit 1 } trap 'handleErr $LINENO' ERR git --version > /dev/null 2>&1 || (echo "git must be installed" >&2 && exit 1) [ "$(git rev-parse --is-inside-work-tree)" = "true" ] || (echo "not in git repo?" >&2 && exit 1) MODCNT=$(git statu...
ef8273bd26ab8e7ebfba5b25cf9dfa9065b6f1e8
1,839
#!/bin/bash # Copyright 2016 Crunchy Data Solutions, Inc. # 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 law ...
f57ecf1f4f535b3a99612e2bc889a0e72a47ace3
332
#!/usr/bin/env bash eval `docker-machine env manager1` cd .. cd users-service SERVICE=$(echo users-service | cut -d'/' -f 2) docker rmi shishir/$SERVICE sh ./create-image.sh IMAGE_ID=$(docker images -q $SERVICE) docker tag $IMAGE_ID shishir/$SERVICE:latest docker push shishir/$SERVICE:latest docker rmi $SERV...
cb2d4ffa60124ae949a8b8a4432eee88c7dd3817
29
./cloudtechapp-service start
3288c087d7d3f6fb558dfcb6dee28b863454ae23
1,525
# export HOSTNAME="$(hostname -f)" # export CTRL_FQDN=$(echo $ENV_CONTROLLER_URL | awk -F'https://' '{print $2}' | awk -F':8443' '{print $1}') sleep $(shuf -i 1-10 -n 1) # Authenticate to controller with credentials in order to get the Session Token curl --connect-timeout 30 --retry 10 --retry-delay 5 -sk -c cookie.tx...
94db0db9c8afc9b3db624fc6f071924d87eb876e
249
#!/bin/bash # Para crear una instancia de MongoDB e instalar mongo-epress para manejarla # docker run -d -p 27017:27017 --name mongo-api mongo # Para usar MongoDB con Mongo Express en: http://localhost:8081/ docker-compose -f mongo-compose.yml up -d
572585e2660a77129ee48fdbd810eb393c675fdb
68
#!/bin/bash cd /usr/local/hadoop/bin ./hadoop fs -copyToLocal $1 $2
7cf8fd195b449eae3ed16bdb6ef7b32b1cab681a
299
#!/bin/bash -ex cd /tmp/everinst cargo deb cd /tmp wget https://raw.githubusercontent.com/AppImage/pkg2appimage/master/pkg2appimage chmod +x pkg2appimage bash -ex ./pkg2appimage /tmp/everinst/appimage.yml mkdir -p /tmp/everinst/target/appimage/ cp -v ./out/*.AppImage /tmp/everinst/target/appimage/
94258e723ef03076ba93be30b881ab86a3848ecc
577
#!/bin/bash cd /usr/bin for i in * do if [[ -f $i ]] then if strings $i | grep -q "unable to fork" then echo $i has \"unable to fork\" in it fi fi done # Output #eject has "unable to fork" in it #git has "unable to fork" in it #git-receive-pack has "unable to fork" in it #git-shell has "un...
c154815ed13e13ae514fe5efe521d8026732aaec
988
#!/usr/bin/env bash echo ">> Start PostgreSQL 9.3" docker run -d --name postgres postgres:9.3 echo ">> Waiting for PostgreSQL to start" docker logs -f postgres 2>&1 | tee /dev/stderr | grep --color --silent 'PostgreSQL init process complete; ready for start up.' echo ">> Creating JIRA database on PostgreSQL" docker ...
cfe5ed60529178ae7944a41dc94d3b08cdf46230
5,159
#b #------------------------------- # ZSH OPTIONS #------------------------------- # Directories setopt chase_links # Treat ../ as Going to the parent directory # Completion setopt auto_list # Automatically List choices on ambiguous completion setopt auto_menu # Automa...
e141f3ba873148a9b8aef3d885e1ed2268eb5a0e
108
#!/bin/bash kubectl create ns istio-system kubectl apply -f rolebinding-priviledged-so-ns_istio-system.yaml
a88ff6f2ecfb39156cf251671495f3f5a70729f4
509
#!/bin/bash make clean >/dev/null make >/dev/null # data=(`ls ./DatosIMIDA|sort -n`) data=($(ls ./DatosIMIDA/2variables.txt | sort -n)) iter=(1000) clusters=(2 3 4 8 16 32 64 128 256) threads=(0 1 32) echo Running the classificaction for $input dataset for i in ${iter[@]}; do for c in ${clusters[@]}; do echo ...
f7960c8a815c15d4abf6c7d1b8d1162a2afa7c7b
579
id=$1 transcriptome=$2 fastqs=$3 sample=$4 expect_cells=$5 localcores=$6 localmem=$7 echo "cellranger count --id=${id} --transcriptome=${transcriptome} --fastqs=${fastqs} --sample=${sample} --expect-cells=${expect_cells} --localcores=${localcores} --localmem=${localmem}" cellranger count --id=${id} \ ...
b940aabeeb467824ff024b2c823cc94dcccbf281
103
#!/usr/bin/env bash # Root directory cd $( dirname "${BASH_SOURCE[0]}" ) cd .. vendor/bin/phpunit $*
72adb1cba7d2b6b2fdd8e8f1ad9a0d33c76ec222
243
#!/bin/bash cd /app aglio -i ${BLUEPRINT_TOOLS_DOC_INDEX} --theme-template ${BLUEPRINT_TOOLS_THEME_TEMPLATE} --theme-variables ${BLUEPRINT_TOOLS_THEME_VARIABLES} -s -h 0.0.0.0 -p 3000 & drakov -f ${BLUEPRINT_TOOLS_DOC_INDEX} -p 3001 --public
4137010ab0ecde5ba4ae661b36ffcc252f3b8662
1,752
#!/bin/bash ######################################################################## # # 2010-10-01 # Christopher Hirschmann # c.hirschmann@jonaspasche.com # ######################################################################## # # This program is free software: you can redistribute it and/or modify # it under the t...
f6ba00b3c654fed9230c7f6827aef4a30f4ab149
472
guile -l src/average.sls tests/average-tests.scm echo guile -l src/average.sls \ -l src/colors/rgb-colors.sls \ tests/colors-tests.scm echo guile -l src/average.sls \ -l src/colors/rgb-colors.sls \ -l src/image-file-types/ppm.sls \ tests/ppm-tests.scm echo guile -l src/ray-traci...
e2716a7ee032ae5e87e73715f92dd2e9cb55d630
1,044
#! /bin/bash usage() { cat <<-HERE This scripts updates the symlinks on /boot (vmlinuz.*) to thhe new kernel. That is: move vmliniz to vmlinuz.old and vmlinuz.new to vmlinuz HERE exit 1 } case "$1" in -?|-h|--help) usage ;; '') ;; *) echo "Unknown paramter: $1" 1>&2 exit 1 esac vm="/boot/vmlinuz" v...
a1969ca8d64945e0dd35b86f59dd0de846260936
326
GOOGLE_CLIENT_ID=1075301925285-0abvksjvgtfnhsgpsigtlkplh685inhf.apps.googleusercontent.com GOOGLE_CLIENT_SECRET=fnGSi858zQXyp4sx9j8hreC- GOOGLE_CALLBACK=auth/google/callback FACEBOOK_CLIENT_ID=386082358839632 FACEBOOK_CLIENT_SECRET=e3016d4f165b4f351e5eeec30c8282d5 FACEBOOK_PROFILE_FIELDS=auth/facebook/callback Collap...
27dd942ac37ab430018657e43b9a6e51f91ff869
260
cd "$(dirname "$0")" ./qb64 & osascript -e 'tell application "Terminal" to close (every window whose name contains "qb64_start_osx.command")' & osascript -e 'if (count the windows of application "Terminal") is 0 then tell application "Terminal" to quit' & exit
0f18ddb8d0c1c0b207eed72dac745c841658b9a9
214
REACT_APP_CHEC_PUBLIC_KEY = pk_22002d140def12a070fe5450a3fcdb9316a95430375e5 REACT_APP_STRIPE_PUBLIC_KEY = pk_test_51IAzrkAdR4WM3xdoMKRL8mwDxEBlfijWzg9OcMgAsfbtkDsjyTtGynURbTdVLI1Z2Ueef1jM1liY1WCa7bs8nT0h00K1UZr0Fu
6b5f7dd4923541a85f45b576e319ebd5745fa146
1,130
#!/bin/bash if [[ "$#" -ne 1 ]]; then echo "Error: Invalid input parameters" echo "Usage: bootstrap-geomesa-hbase.sh <geomesa-version>" exit 1 fi VERSION=$1 GMDIR="/opt/geomesa-hbase_2.11-${VERSION}" if [[ ! -d "${GMDIR}" ]]; then echo "Unable to find geomesa directory at ${GMDIR}" exit 1 fi echo "B...
2e6a87d1fa5707cb6f4103399851957bdaf044db
978
#!/usr/bin/env bash set -e source test/setup use Test::More clone-foo-and-bar # Make various changes to the repos for testing subrepo push: ( # In the main repo: cd "$OWNER/foo" # Clone the subrepo into a subdir git subrepo clone "$UPSTREAM/bar" # Make a series of commits: add-new-files bar/FooBar1 ...
3eaa4718de03f60a50bef95dec0581efc3816901
2,306
#!/bin/sh CATTER="" if type bat &> /dev/null; then CATTER="bat -p --paging=never --wrap=never" else CATTER="cat" fi eval $CATTER <<POKE  ▄▄▄   ▄▀ ▄▄▄   [48;5;...
c9c55a0b413826475de7130b982ba57b4c096fa0
144
sudo add-apt-repository ppa:wireshark-dev/stable sudo apt-get remove --autoremove wireshark sudo apt-get update sudo apt-get install wireshark
f2d66eb19e8375dced47995423a39a3367c8c8c0
255
export SERVICE_TOKEN=Admin export SERVICE_ENDPOINT=http://localhost:35357/v2.0 export OS_TENANT_NAME=service-tenant export OS_USERNAME=glance export OS_PASSWORD=glance-pass export OS_AUTH_URL="http://localhost:5000/v2.0/" export OS_REGION_NAME=RegionOne
2d2161426bc75ec1d83b2bf85d577656cc22b384
124
#!/bin/bash erl -name attach@127.0.0.1 -setcookie tkserver1 -pa ebin deps/ebin config config/app setting -remsh a@127.0.0.1
25077630f4fa2b1cb05d59b41c125721eab9dcf8
45
#!/bin/bash DISPLAY=:0.0 lunch -g -v lunchrc
e902b3bdb0418be725926c71f5df6438506a94ba
596
#!/bin/bash # muscle alignment START=$(date) # muscle alignment mkdir -p ./muscle_fastaout mkdir -p ./muscle_htmlout mkdir -p ./muscle_fastaout_nowrap for FILE in ./fa_ROW.COL.DV/ROW*.fa do muscle -in $FILE -fastaout ./muscle_fastaout/$(basename $FILE .fa).afa -htmlout ./muscle_htmlout/$(basename $FILE .fa).htm...
b2118f715306118b586b90e35a927193a63f4515
945
#!/bin/bash MAKEFILE=rules.mk gcc -fno-rtti -fno-exceptions -o ./jenv utils/jenv.cpp javac -d ./ utils/jenv.java JDK=`./jenv jdk` rm -f jenv.class jenv echo "JDK=$JDK" > $MAKEFILE echo -n 'JDK_FLAGS=' >> $MAKEFILE if test -f "$JDK/include/jni.h"; then echo -n '-I$(JDK)/include ' >> $MAKEFILE fi if test -d "$JDK/...
6ca076b368ad8fe8d80d9a10f37bcb8b7bf49087
267
set -ex MIRI_NIGHTLY=nightly-$(curl -s https://rust-lang.github.io/rustup-components-history/x86_64-unknown-linux-gnu/miri) echo "Installing latest nightly with Miri: $MIRI_NIGHTLY" rustup set profile minimal rustup default "$MIRI_NIGHTLY" rustup component add miri
0daa93b72e07480a7116d9a2573963f79fb59f12
400
#!/bin/bash #SBATCH --account=def-kjerbi #SBATCH --nodes=1 #SBATCH --gres=gpu:k80:0 #SBATCH --cpus-per-task=1 #SBATCH --mem=30G #SBATCH --time=11:59:59 #SBATCH --array=0-4 #SBATCH --output=../outputs/%x-%a.out source ../../env2/bin/activate cd ../src && python -W ignore main.py --dataset $SLURM_ARRAY_TASK_ID --exp_nam...
9001b791ba8b22984de66ec8136381de7a4218a1
64
java -classpath hsqldb.jar org.hsqldb.Server -database worklog
5a6477c0b82b0110e79371bc200fc61437079621
68
#!/bin/bash cd /sys/class/gpio echo 8 > unexport echo 9 > unexport
3fa82762d7e2941bc1d065e7d13c6d3904fcd16c
125
#! /bin/bash set -eu docker pull alpine:latest docker build -t geekdada/squid:latest $PWD docker push geekdada/squid:latest
da8b7bdc7d06d94ed249564fa3bbb1016944f6dd
42
#!/bin/bash docker build -t ttc-fsd-fe .
f9908a45da71818736758123d99fff7521b83fee
2,204
#!/bin/bash DEBUG=0 PING=1 TRACERT=0 FINGERPRINT=0 port="" prefix=129.49.31 start=0 stop=255 function DebugMsg() { [ ${DEBUG} -gt 0 ] && Msg "$(date) : ${*}" } function Msg() { echo -e "${*}" } function Usage() { echo -e "sweep\n\nSweep DNS for a subnet" echo -e "=========================" echo -e "-h\t\tThis ...
89fa51d59799f3e9158728b9830083fff85df291
29
../../../ack2/completion.bash