blob_id stringlengths 40 40 | length_bytes int64 7 488k | source stringlengths 7 488k |
|---|---|---|
e428534ce75b7b602db148f29d1888aa0ac724a4 | 616 | #!/bin/bash
# run script passwordCheck.sh
./passwordCheck.sh
#check exit code of passwordCheck script if access is granted then
if [ $? = 0 ]; then
echo "1) Create a folder"
echo "2) Copy a folder"
echo "3) Set a password"
echo "4) Exit"
read n
case $n in
1)./foldermaker.sh;; #if 1 is selected the... |
6d94bc040d146bed536774736008159cd19d73c3 | 94 |
alias -g lb='`git branch | peco --prompt "GIT BRANCH>" | head -n 1 | sed -e "s/^\*\s*//g"`'
|
6e0e8e71699876de04a30b563e800aef3aeec4a1 | 2,376 | #!/bin/bash
script_dir=$(cd `dirname $0` && pwd)
BOLT_ROOT=${script_dir}/../../..
target=$1
use_openmp=$2
unset OpenCL_ROOT
if [[ ${target} == "" || ! -f ${BOLT_ROOT}/third_party/${target}.sh ]]; then
echo "[ERROR] target parameter(${target}) is invalid. Please use command: ./compile.sh [target]"
exit 1
fi
... |
f17a31859ad861acaec5b37fc96b11d01f58b93e | 125 | load ../../harness
@test "53b0b2463ec6" {
check 'y:=4 * x ;
skip ' '⇒ skip; skip, {y → 0}
⇒ skip, {y → 0}'
}
|
8789cbc3cf1975ade9307c0fbf1fcc4c47ea39ab | 66 | #! /bin/sh
echo "Install Bitwarden"
sudo snap install bitwarden
|
090fab93334287d10fb70f3583fc5b3a66d08fc9 | 54 | #!/bin/bash
ssserver -p 333 -k myss123 -m aes-256-cfb
|
80a3c2155210192fb5bda9de53ed0bf9ae0a3b5a | 1,028 | # Nate Ferrero
# nateferrero.com
# This Document
alias n='cd ~/nate-profile && clear && git status'
alias pr='nano ~/nate-profile/index.sh'
alias ra='source ~/nate-profile/index.sh'
# Nginx
alias nns='sudo /etc/init.d/nginx start'
alias nnp='sudo /etc/init.d/nginx stop'
alias nnr='sudo /etc/init.d/nginx reload'
# Gi... |
d003e58688fb4c64789b50184ed10e7236b3607b | 1,037 | #!/bin/sh
source ./variables.sh
set -ex
cd src/linux-stable
make CROSS_COMPILE=arm-linux-gnueabi- ARCH=arm V=$V sunxi_defconfig
cat >> .config <<__EOF
CONFIG_ARCH_DMA_ADDR_T_64BIT=y
CONFIG_ARCH_PHYS_ADDR_T_64BIT=y
CONFIG_ARCH_VIRT=y
CONFIG_ARM_LPAE=y
CONFIG_BLK_DEV_DM=y
CONFIG_BLK_DEV_LOOP=y
CONFIG_BRIDGE=y
CONFIG_... |
792273b72161a38be52a1a401f0de91f43fc634d | 267 | #!bin/bash
# kubectl proxy -p 8080 &
# kubectl port-forward hello-6b9795899b-dmsv8 8080
curl -L --data '{"Racelab": "Serverless GPU\n"}' \
--header "Content-Type:application/json" \
localhost:8080/api/v1/racelab/default/services/hello:http-function-port/proxy/ |
e01175db5890f29a511baf9cb831f12d88566d33 | 53 | #!/bin/sh
docker build -t random-cat-server:latest .
|
498ca5824854848094ce60d7fb3db558eeae707d | 62 | set -e
./build.sh
docker push fnproject/fn-test-utils:latest
|
5dc083f389b4c12e8d771158dd8ab87a68a5995b | 1,062 | ln -s ../name/From_Stewart/"Broccoli OFoot Generic.crp" 1807.crp
ln -s ../name/From_Stewart/"Cabbage OFoot Generic.crp" 1809.crp
ln -s ../name/From_Stewart/"Carrot OFoot Generic.crp" 1810.crp
ln -s ../name/From_Stewart/"Carrot Seed OFoot Generic.crp" 1507.crp
ln -s ../name/From_Stewart/"Cauliflower OFoot Generic.crp" 1... |
4a52e4bd85accd9198f45ac830cbc44be5cc2b12 | 253 | #!/bin/bash
# Created by Richard Barrett
# Date 01/20/2019
# Version 1.1
# Script restores bash
# ====================
/bin/cp /etc/skel/.bashrc ~/
cd ~
source .bashrc && reboot
# Player should stop playing
# ~/.bashrc is restored to skeleton
# END
|
032c8fb7a1b80e5f2a11576ef6a1e1027de86c45 | 103 | #!/bin/bash
grep static Library/Assets/ZTextAppearance.swift | awk '{ print "\"" $3 "\": ." $3 "," }'
|
b41c84fa57d6d7df0eed6ad793b1feace402cc31 | 196 | MONGO_URI ="mongodb+srv://admin:admin@cluster0.xdyyu.mongodb.net/myFirstDatabase?retryWrites=true&w=majority"
CLIENT_ID = "216261352964-k9redj02olcjfkl0toovmfec26k3sdm0.apps.googleusercontent.com" |
7130f4c0932667500bdb3541003f0afce70e7725 | 128 | #!/bin/bash -x
read -p "Enter a Number to find its Factorial:- " x
y=1
for (( i=1; i<=$x; i++ ))
do
y=$((y*i))
done
echo $y
|
a8d75dab0e93bed18688e8f0da40a18b2119cee3 | 392 | #!/bin/bash
source ~/.bashrc
DATE=$(date)
LogName=$(date +"%Y%m%d")
WORK_DIR=/opt/research/third_party/kafka
cd $WORK_DIR
#redis check
MM=$(ps -C kafka-server-start.sh --no-headers|wc -l)
if [ $MM = "0" ]; then
echo "$DATE kafka is not ok" >> $WORK_DIR/kafka_check.$LogName.logs
./bin/kafka-server-start.sh co... |
a4955c0352ebdfeb255aec79c371c8e5e327c465 | 229 | #!/bin/bash
python smb3.py 0 &
python smb3.py 1000 &
python smb3.py 2000 &
python smb3.py 3000 &
python smb3.py 4000 &
python smb3.py 5000 &
python smb3.py 6000 &
python smb3.py 7000 &
python smb3.py 8000 &
python smb3.py 9000 &
|
697f91626e74e10d5f47f162eb8bdc8cb71f1743 | 37 | gradle wrapper --gradle-version 2.13
|
f6de0f817ee472bdcfdcc3e6225f785759e259e3 | 530 | sudo chmod 777 ~/.ros/log/master_*
echo "Running roscore..."
roscore >/dev/null 2>&1 &
sleep 15
echo "Running discovery..."
rosrun master_discovery_fkie master_discovery >/dev/null 2>&1 &
sleep 15
echo "Running sync..."
rosrun master_sync_fkie master_sync >/dev/null 2>&1 &
sleep 15
echo ""
echo "Available ROS topics:"
... |
315d54e987925efe1344303dc28e181a2db5877f | 487 | #!/bin/bash
# Change these variables to adapt your system
install_path=$HOME/gfinstall
# Install
cd
git clone https://github.com/gflags/gflags.git
cd gflags
vim CMakeLists.txt # change minimum version to 2.8.11
mkdir build
cd build
cmake -D BUILD_SHARED_LIBS=ON -D CMAKE_INSTALL_PREFIX=$install_path ..
make
make inst... |
c6b0f5af303e5d1a85f6c30419c7b01101751acb | 3,664 | #!/bin/bash
set -e
tun_interface="tun0"
tun_ip="10.0.0.1"
tun_forward="10.0.0.2"
network_interface="enp39s0"
check_default=$(awk '$2 == 00000000 { print $1 }' /proc/net/route | head -n1)
if [[ $check_default ]]; then
network_interface="$check_default"
fi
nft_table="rust-simple-tunnel"
route_table_name="rust-simpl... |
1d13c8cb701d52e0bdfa19188e1150734947ca03 | 1,001 | #!/bin/bash
if ! [ -d /share ] || ! [ -f /root/openrc ]
then
echo "doit etre execute sur le cloud controler"
exit 1
fi
if [ "`env|grep PROJECT_PATH`" = "" ]
then
echo "PROJECT_PATH is not defined"
exit 2
fi
cd $PROJECT_PATH
source $PROJECT_PATH/common/util.sh
if [ "$#" -ne 2 ]; then
echo "Usage: $0... |
c6510633ff4d28fa05d93253a5a2607cd7856c9c | 6,661 | #ffmpeg -i $1 -ss 00:00:00 -t 00:00:10 \
ffmpeg -i $1 \
-filter_complex \
curves=master="0.0/0.000000 0.01171875/0.011765 0.0234375/0.023529 0.03515625/0.035294 0.046875/0.047059 0.05859375/0.058824 0.0703125/0.070588 0.08203125/0.082353 0.09375/0.094118 0.10546875/0.105882 0.1171875/0.117647 0.12890625/0.129412 0.1406... |
e48aa300d8da3fa163f16499cc249721204f7f49 | 81 | #
sh /x400ifs-accel/zhoujj/github/jjUtil/homer/build_homer.sh DM.fwd.bam DmFwd
|
cff71571acf2d4e093f99ad82d3fe03ac91fa91d | 1,215 | #!/bin/bash
DATADATE=$1 # Date of NNDSS data file
NSIMS=$2 # Total number of simulations to run
SCENARIO='no_reversion'
SCENARIODATE='2021-07-05' # This doesn't matter for a no-reversion scenario
# Assumes you've already run an EpyReff for the date. If not, uncomment the following line.
# jid_estimator=$(sbatch --par... |
3f39acb32b4a1ae80b6cfd1ac162e08db910f29b | 475 | #!/bin/bash
rm -rf ./iotivity-lite/port/android/device_builder_server_creds/*
rm -rf ./iotivity-lite/port/arduino/device_builder_server_creds/*
rm -rf ./iotivity-lite/port/linux/device_builder_server_creds/*
rm -rf ./iotivity-lite/port/openthread/device_builder_server_creds/*
rm -rf ./iotivity-lite/port/unittest/device... |
ab724d59a5d6b78fdb861885f684f71bc7800030 | 236 | #!/bin/bash
set -ev
export PATH=$PATH:/home/ci/masonry/build-mb-develop-ci-smoke/thirdparty_shared/third_party/cmake/3.9.3/ci/bin/
mkdir ci-build
cd ci-build
cmake -DVISIT_CONFIG_SITE:PATH="/home/ci/visit-ci-cfg.cmake" ../src
make -j 4
|
bc3c378529ada3e3d2cb359c85bee871c2df27fc | 212 | #!/bin/sh
# 整合git的几条提交命令。
comment="without comment"
if [ $# -eq 1 ]
then
comment="$1"
fi
git add -A
git commit -m "$comment"
# 通常不建议这么做
# git push origin master
|
a796ec023b6f24885c477b8ae3f9e30c80b8e576 | 64 | mendeley --account garretaluis@yahoo.com --password chevive2001
|
7efa21f70305081e321d6de07c90831443ec312f | 428 | #!/bin/bash
sudo apt-get install libblas-dev
sudo apt-get install liblapack-dev
sudo apt-get install libgsl0-dev
cabal install hmatrix
ghc-pkg list
mkdir deps
git clone https://github.com/wavewave/devadmin.git deps/devadmin
cd deps/devadmin ; cabal install --force-reinstalls ; cd ../../
$HOME/.cabal/bin/build clon... |
3a6d08f5c96c426a2561a07c40ad7de7ebecca9a | 743 | #!/bin/bash
#takes a list of directories and makes a list of
#rsync commands
LISTFILE="$1"
COMMAND="tar -zcvf"
SRC="/gale/netapp/seq4/illumina_runs/fastqs" #path to parent of source dir
DEST="/gale/raidix/rdx-1/archive" #dir to copy source into
LOG="/gale/netapp/home/seq/logs/rdx-1/tar"
while getopts ":l:s:d:L" opt; ... |
2bd9b4095a115569378c09822197e3bd334e594e | 2,614 | #!/bin/bash
set -e
export HOME=/root
# Hack to make sure we don't start installing packages until the filesystem is available.
echo "waiting 180 seconds for cloud-init to update /etc/apt/sources.list"
timeout 180 /bin/bash -c \
'until stat /var/lib/cloud/instance/boot-finished 2>/dev/null; do echo waiting ...; slee... |
1d92ab04dc976af7b432e24f6278ce6fa2515b5f | 1,919 | #!/bin/bash
#This is a ShellScript For Auto MysqlDB Backup
#By foxliu2012@gmail.com
#2013-12
#Setting
DBNames=
DBUser=
DBHost=
DBPasswd=
BackupPath=
#Setting END
#progress
t=`date +%Y%m.%d`
y=`expr substr $t 1 4`
md=`expr substr $t 5 5`
backupdir=$(echo "$BackupPath" | sed -e 's/\/$//')/$y/$md
#Backup Method in rysn... |
17459560d1745a76afd54e2eb4bf1d12238fb56d | 137 |
protoc -I=. ./src/proto/service.proto \
--js_out=import_style=commonjs:. \
--grpc-web_out=import_style=typescript,mode=grpcwebtext:. |
5bcba6c46380b23a2b7294fba645f94c9d752404 | 1,733 | #!/bin/bash
#DOWNLOAD DATA
sh ./imdb_downloader.sh ./download name.basics.tsv.gz
sh ./imdb_downloader.sh ./download title.akas.tsv.gz
sh ./imdb_downloader.sh ./download title.basics.tsv.gz
sh ./imdb_downloader.sh ./download title.crew.tsv.gz
sh ./imdb_downloader.sh ./download title.ratings.tsv.gz
#CONVERT DATA
sh ./c... |
6417d84985254b01a0acaec9ea28ca016f36773a | 92 | #!/bin/sh
/var/www/mbh/bin/console rabbitmq-supervisor:rebuild
exec /usr/sbin/php-fpm7.1 -F
|
7d516f8159d06fbb97973d2ab3ad126a8ac652b4 | 75 | mvn package && java -jar target/baynet-recsys-0.0.1.jar server config.yml
|
542581bf40629502b946e2fabd128effe6ddadff | 295 | #!/bin/bash
# Use this script to set up your environment for vim if you have never done this before.
set -ue
readonly PROGNAME=$(basename "$0")
readonly PROGDIR=$(readlink -m "$(dirname "$0")")
cd $PROGDIR
mkdir -p tmp/{backup,swap,undo}
rm -f ~/.vimrc # if it exists
ln -rs vimrc ../.vimrc
|
c026eabaa73a6d88e8345a2f47a5d303a3f90678 | 1,545 | #!/bin/bash -ex
gnuplot \
-e "inFile='core.views'" \
-e "dateRangeStart='08092016'" \
-e "dateRangeStop='25092017'" \
-e "dataTitle='views'" \
-e "outName='core.views.png'" \
-e "yAxisLabel='unique views'" \
-e "plotTitle='Unique Views of github.com/SCOREC/core'" \
-e "idx=3" \
-c plot.gplt
gnuplot \... |
22415d2058bf566c873a54293e66ec82cd4079c8 | 1,775 | #! /bin/bash
# Download reference
wget https://storage.googleapis.com/genomics-public-data/resources/broad/hg38/v0/Homo_sapiens_assembly38.fasta
wget https://storage.googleapis.com/genomics-public-data/resources/broad/hg38/v0/Homo_sapiens_assembly38.dict
wget https://storage.googleapis.com/genomics-public-data/resourc... |
b2144378ea2934b2f69198b31d48b7e7b3e622aa | 198 | CLOUDINARY_CLOUD_NAME=diirhxtse
CLOUDINARY_API_KEY=456736267217946
CLOUDINARY_API_SECRET=H7bus9QcFPk8l4JT49MvV4xzER0
CLOUDINARY_URL=cloudinary://456736267217946:H7bus9QcFPk8l4JT49MvV4xzER0@diirhxtse |
c8c7f088bc3245421f2f7b5609e67ae36e21c237 | 950 | PS1="\h:\W$\[ \]"
#-------- cdと同時にlsもしちゃう -----------
function cdls() {
\cd $1;
ls -G;
}
alias cd=cdls
#-------- lsに色を付ける --------
alias ls='ls -G'
export LSCOLORS=gxfxcxdxbxegedabagacad
### Added by the Heroku Toolbelt
export PATH="/usr/local/heroku/bin:$PATH"
#-------- java文字化け --------
alias javac='javac ... |
188ea6d6ca6eadd800935815f18d03f3b77a2c69 | 1,038 | #!/bin/bash
set -e
cd $(dirname $0)/..
# grab-AWS-env
lpass show "Shared-Flintstone"/ci-config --notes > config.yml
export AWS_ACCESS_KEY_ID=$(grep -e '^s3-blobstore-access-key-id' config.yml | sed -e 's/s3-blobstore-access-key-id: //')
export AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID:?AWS_ACCESS_KEY_ID is missing}
exp... |
8e6c73eb3c56be94c6460ff9d49b404798a15801 | 390 | #!/bin/bash
if [ ! -d "backup" ]
then
echo 'Backup directory must exist.'
exit 255
fi
current_time=$(date +%Y%m%d-%H%M%S)
if [ -f $HOME"/.gitconfig" ]
then
echo 'Existing file moved to backup directory.'
mv $HOME"/.gitconfig" backup/gitconfig-$current_time
fi
if [ -f "gitconfig" ]
then
ln -s $PWD/gitconfig... |
84c5396dd9e22a6a3479e58c389d64f558c5cc0f | 33 | #! /bin/bash
echo
echo "hello"
|
75b70a40edeaf5c0e86f20526804c5c3e8fe88ee | 719 | #!/bin/sh
# SPARQL query
QUERY='PREFIX hnt: <http://purl.jp/10/hint/>
PREFIX bp3: <http://www.biopax.org/release/biopax-level3.owl#>
PREFIX uni: <http://identifiers.org/uniprot/>
PREFIX obo: <http://purl.obolibrary.org/obo/>
SELECT (replace(str(?hint), "http://purl.jp/10/hint/", "") as ?hint_id) (replace(str(?unipro... |
f506bae87ce5f87df4fa6f03b7751d87043dc134 | 51 | #!/bin/bash
docker run -p 8888:8888 streamz:0.5.2
|
43e6e51feffd61bc38cff9ef6434eded2b6284a7 | 825 | #!/bin/bash
output() {
printf "\E[0;33;40m"
echo $1
printf "\E[0m"
}
output "";
output "Upgrade OS"
sudo apt-get update
output "Upgrade OS - Done!"
output "Install CPUminer"
sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get install cpulimit -y && sudo apt-get install automake autoco... |
8f8a6d6ed95c3a0d3eb17157cfbe01137477e0f3 | 1,931 | #!/bin/bash
#
# 繁星网站发版工具
#
# Copyright © 2016 kugou.com
#
# Authors:
# mmfei <wenglingfei@kugou.net>
#
# 工作目录
# workDir=$(dirname $0)
# workDir=$(readlink -f $workDir)
workDir=`pwd`;
# ini 文件处理脚本
iniTool="${toolsDir}/ini.sh"
# IP 地址
ip=${SSH_CLIENT%% *}
echo $workDir;
#公共函数
source $workDir/common.sh
# 项目目录
project... |
83b88f2ec49592cc168454e1ed389948fe33dfa8 | 142 | #!/usr/bin/env bash
./manage.py makemigrations --settings=store.settings.development
./manage.py migrate --settings=store.settings.development |
5f0bf7d16d0a85980efb3f270ec1564965c37d7d | 1,941 | #!/bin/sh
#
# Distributed-Backup-Server /etc/init.d initscript para Distributed-Backup-Server
#
### BEGIN INIT INFO
# Provides: Distributed-Backup-Server
# Required-Start: $network $local_fs $remote_fs
# Required-Stop: $network $local_fs $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0... |
2de1d33caf0f442c62d81c60a6ba94a2532e949a | 362 | #!/bin/bash
NAMES="quiver-runtime-i386 quiver-runtime-amd64"
for NAME in $NAMES; do
[ -d $NAME ] || continue;
# Fixup all the symlinks
FILES=$(find ./$NAME -type l)
for file in $FILES; do
# Check if the link is borked
if [ ! -e "$file" ]; then
old=$(readlink $file)
ln -sfn $PWD/$NAME/$old $file
e... |
c9e201cc19c48753876b2c7e6aa0c8b2dd0d3c3d | 160 | #!/usr/bin/env bash
echo '-----> Engaging submodule'
BINDIR=$(readlink -f $(dirname $0))
cd $1
pwd
unset GIT_DIR
${BINDIR}/git-submodule-update.py gitmodules
|
a2e93cfad1135759ce2aff71d12d1d763d779519 | 941 | #!/bin/bash
#csvName='./stab_GPL_Chvatal_algoBased.csv'
modelName='model.xml'
algoName='IncLing'
prevFolder='./Automotive02_V1'
#newFolder='./GPL_01'
prevRun=1
nextRun=1
prevAlgo=$algoName$prevRun
nextAlgo=$algoName$nextRun
while [ $prevRun -le 5 ]
do
prevAlgo=$algoName$prevRun
filePath=$prevFolder'/stab_AlgoBase... |
f8626065b94e0c7d86b8b5bda975d49966aee3f3 | 411 | diff() {
local anchor_version=$1
for file in $(_hidden-files); do
local file_relative_path=$(echo $file | sed -e "s#$project_root/##")
git show $anchor_version:$file_relative_path | \
gpg --decrypt | \
git diff --no-index -- - $(_raw-file-for $file)
done
}
_register-command diff
_diff-signatur... |
ecf78a9026eac680b11e9f4cede44e6f1e65c4f1 | 161 | #!/bin/bash
mkdir build
pushd build
cmake ../
make oauth_sign
#find . -type f -not -path '*/\.*' | grep '.*\.[h|c]' | xargs clang-format -i -style=file
popd
|
c7d8144b46c981d57f5010e4b5376c2e0c0303bb | 112 | python3 ../update-archimate.py doc-test.archimate doc-test.svg doc-test-result.svg
firefox doc-test-result.svg
|
a5bcdad44da17d0a504cd10129d9d59fd7d43b26 | 49 | #!/bin/bash
chromium --app=https://netflix.com
|
03f6c7c42e83904249630d53908d05d589886cbd | 60 | ./bin/cypher-shell -u neo4j -p '!QWErty123' -f enron.cypher
|
95f93b328ca07a2a76df1f6f538ce66ac87d8d87 | 258 | #!/bin/sh
# Remove results from other runs
rm -rf iteration_no*
rm CONSEL_ITERATIONS
# Restore original testdata
rm testdata/blacklist.txt
cp testdata/original/* testdata/
# Start from iteration 1
./treepruner.sh 1 testdata/aln.phy testdata/cons_tree.nw
|
e1c71cefe13a75b472f0e7861db98cb8ad959058 | 4,904 | #!/bin/bash
# =====================================================================================
# Script: deploy-vm.sh - benlorantfy.com/fishbot
# Author: Ben Lorantfy (ben@lorantfy.com)
# Last Updated: July 6th 2017
# =====================================================================================
# This scr... |
3c27e9046a696a6510bdec9c513fd0487c388e51 | 1,205 | #!/bin/sh
CATKIN_DIR=/home/workspace/home_service_robot/catkin_ws
echo "$CATKIN_DIR"
xterm -e " source $CATKIN_DIR/devel/setup.bash; roscore" & # works ok
sleep 5
xterm -e " source $CATKIN_DIR/devel/setup.bash; roslaunch home_service_bot MyWorld.launch " &
sleep 6
#xterm -e " source $CATKIN_DIR/devel/setup.ba... |
f2a069fc36335c9ce653f8a5f7356d91c40a5d91 | 2,065 | #!/bin/sh -e
# Moves or copies scala/java files to package directories.
delim=' '
filter='*.java *.scala'
verbose=
while [ "$1" ]; do
case "$1" in
-d) delim=$2 ; shift ;;
-f) filter=$2 ; shift ;;
-v) verbose="-v" ;;
--) shift ; break ;;
-*) echo "ERROR: Invalid option '$1' f... |
e2ddcb856961b07268893b1d628038b47f11ca55 | 9,727 | #!/bin/sh
set -e
# source debconf library.
. /usr/share/debconf/confmodule
# location of the configfile
configfile="/etc/cvsd/cvsd.conf"
# location of the file that will be edited
# only when editing is complete will $configfile be overwritten
tmpconfigfile=`mktemp`
# location of the file that will be used tempora... |
0599376097ef713c40c8e8fe021d17a76361b0cd | 349 | #!/bin/bash
LD="/usr/bin/ld"
GOLD="/usr/bin/ld.gold"
DEF="/usr/bin/ld.bfd"
if [ -z "$1" ]; then
echo "no linker passed.. exit."
exit 1
fi
if [ -h "$LD" ]; then
sudo rm $LD
else
echo "no symbolic link for ld found.. exit."
exit 2
fi
if [ "$1" == "gold" ]; then
sudo ln -s $GOLD $LD
else
su... |
9cc5d17e775458a66363ea618e9b3c45fece3960 | 59 | #!/bin/bash
python manage.py runserver 192.168.21.128:8000
|
f90b7529bcbf482deb1c6d66a70a6dc13ffa03db | 365 | #!/bin/bash
rm -f success
d="$(pwd)"
function main {
test "$1" == "start" && {
echo $$ > testpid
xterm -l -e "$0" &
sleep 1
tail -f /home/gk/termcontrol_input.log &
tail -f Xterm.log*
exit 0
}
pytest -xs tests/test_cli -k works && touch "$d/success"
... |
8d24e476f11b834a3e275070d4e8dd54e2db6fd1 | 295 | #!/bin/bash
standard_mongo_file="/var/lib/mongodb/mongod.lock"
uol_mongo_file="/home/mongodb/database/mongod.lock"
if [ -f $uol_mongo_file ];
then
#File FILE exists
echo "ON"
else
if [ -f $standard_mongo_file ];
then
#File FILE exists
echo "ON"
else
echo "OFF"
fi
fi
|
144c1ef426ac333eb1a5fd11d650227cabbf6023 | 842 | #!/bin/bash
cd /gpfs/users/mantecap/CMSSW_11_1_0/src/MonoHGenTree/MonoHGenTree2DScans/python
eval `scramv1 runtime -sh`
ls /gpfs/projects/cms/fernanpe/DarkHiggs_MonoHs_HsToWWTo2l2nu_mhs_400_mx_100_mZp_2200_TuneCP5_13TeV/RunIISummer20UL18_wmLHEGEN/*/*/wmLHEGEN_inRAWSIM_*.root|sed 's/^/file:/'>list/list_400_100_2200.txt
... |
3771cc248b7669c7b6a243f8ad19c01d608e77b8 | 1,024 | echo 'selected_scheme scheme-infraonly
TEXDIR /usr/local/texlive
TEXMFCONFIG /opt/texlive/texmf-config
TEXMFHOME /opt/texlive/texmf
TEXMFLOCAL /opt/texlive/texmf-local
TEXMFSYSCONFIG /opt/texlive/texmf-config
TEXMFSYSVAR /opt/texlive/texmf-var
TEXMFVAR /opt/texlive/texmf-var
option_doc 0
option_src 0' > /tmp/texlive-p... |
18096b0e15eeff668a0068d4963798d3a783b491 | 450 | #!/bin/bash
trayer --edge top --align right --SetDockType true --SetPartialStrut false --expand true --height 17 --transparent true --alpha 0 --tint 0x000000 --margin -5 --widthtype request --monitor 1 &
if [ -z $(pgrep nm-applet) ]; then
echo -n "Starting nm-appliet..."
nm-applet &
echo " done"
fi
if [ ! -... |
961b2d1fbe4b09773c2e265895ed4978e12c2fb0 | 283 | apt update
mkdir mongodb
cd mongodb
apt install curl
curl -O https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.4.7.tgz
tar xvf mongodb-linux-x86_64-3.4.7.tgz
mv mongodb-linux-x86_64-3.4.7 mongodb
cd mongodb
export PATH=$PATH:/home/journal/mongodb/mongodb/bin
mkdir data
cd bin
|
897537ab5ab29233dc0eb0945164551875f132c3 | 1,068 | #!/usr/bin/env bash
set -euo pipefail
# fetch and install Volta (better nvm)
if ! command -v volta &>/dev/null; then
# curl https://get.volta.sh | bash -s -- --skip-setup
brew install volta
fi
volta install node@latest # remove when LTS officially supports arm64
volta install npm@8
volta install yarn@1
volta fet... |
d6faec7584a7a6a92a2c314086166980d37f3128 | 539 | # //////////////////////////////////////////////////////////////////////////////////
# //////////////////////////////////////////////////////////////////////////////////
# // PLEASE EDIT PREFERENCES BELOW
# //////////////////////////////////////////////////////////////////////////////////
# ////////////////////... |
27a257aac3595b4ac1f13ed3df492b63c1ce8cc8 | 660 | #!/bin/bash
set -x
set -e
export CUDA_VISIBLE_DEVICES=0
OUTDIR='pretrained_models/car'
python kitti/prepare_data.py --car_only --gen_val_rgb_detection
python train/test_net_det.py --cfg cfgs/det_sample.yaml OUTPUT_DIR $OUTDIR TEST.WEIGHTS $OUTDIR/model_0050.pth
python kitti/prepare_data_refine.py --car_only --gen_f... |
5e94edfa5703dade80e7ab33a0f48ce0a9da1fec | 361 | #!/bin/bash
caddy&
CADDY_PID=$!
echo "caddy is running as $CADDY_PID"
QS=""
if [ x"$1" != x ]; then
QS="?$1"
echo "Using querystring $QS"
fi
echo "Debug at http://localhost:9222"
/opt/google/chrome/chrome --kiosk --disable-session-crashed-bubble --remote-debugging-port=9222 "http://localhost:2020/sign.html$Q... |
fed7e14dbf77756376e8df4cef9783f6b9e93ee6 | 1,554 | #!/bin/sh
# edit by zzh
# ./
APP_BIN=`dirname $0`
APP_HOME=$APP_BIN/..
export APP_HOME
echo $APP_HOME
JARS="${APP_HOME}/conf:${APP_HOME}/devConf:"
LIB=$APP_HOME/libs
if [ -d $LIB ]; then
for i in $LIB/*.jar; do
JARS="$JARS":$i
done
fi
PLUGIN=$APP_HOME/plugins
if [ -d $PLUGIN ]; then
for i in $PLUGIN/*.jar; ... |
28970b309b59dbad2a90c030c0c1b8d552eca192 | 100 | # See pkgs/build-support/setup-hooks/role.bash
getHostRole
export NIX_${role_pre}LDFLAGS+=" -lfts"
|
4084a757f3f04307ff0b120680e78ad4a6a5c8ef | 146 | #!/bin/sh
python ../../tough-convert/main.py MESH --corners CORNERS --vtk foo_mesh.vtk
python ../../tough-convert/main.py MESH --vtk foo_dual.vtk
|
e14fbb0dfe9c10240596ed940f04ca8b3b23355a | 1,108 | gem install travis
travis login
travis encrypt-file myEmailKey
ls
ls
cd home/
ls
ls
cd ..
ls
travis encrypt-file myEmailKey
travis encrypt-file ~/myEmailKey
travis encrypt-file ~/myEmailKey
travis encrypt-file myEmailKey
travis encrypt-file -r
travis encrypt-file --h
travis encrypt-file ~/myEmailKey
travis encrypt-fi... |
54c47b31dfdec9e38f6904019fe1cdff07b6e6b5 | 206 | gpp -U "<#" ">" "\B" "|" ">" "<" ">" "#" "~~" \
chapman_317_s19_syllabus.pandoc.md | \
pandoc -o chapman_317_s19_syllabus.pdf \
-V links-as-notes=true \
-V geometry=margin=1in
|
11e845e7560985ec4a5a0f0a96e4c471211d84fe | 1,014 |
#
# Mac OS X - Pythong
#
PYTHON_ROOT="$HOME/Library/Python/2.7"
if [[ -d $PYTHON_ROOT/bin ]]; then
export PATH="$PYTHON_ROOT/bin:$PATH"
[[ -d $PYTHON_ROOT/man ]] && export MANPATH="$PYTHON_ROOT/man:$MANPATH"
[[ -d $PYTHON_ROOT/lib ]] && export LD_LIBRARY_PATH="$PYTHON_ROOT/lib:$LD_LIBRARY_PATH"
fi
unset P... |
68189d4650784a1a7fa103953e8adb2c6bedfd41 | 3,728 | #!/bin/bash
ErrorS()
{
echo "Error. La sintaxis del script es la siguiente:"
echo "Para saber numeros de lineas del archivo: $0 nombre_archivo L" # COMPLETAR
echo "Para saber el numero de caracteres del archivo: $0 nombre_archivo C" # COMPLETAR
echo "Para saber la longitud de la linea mas larga del archivo: $0 nombre... |
4fe09ff58cfa38ec7846ece8425708b460a7406f | 178 | mkdir -p results
./SeqSIMLA -popfile EUR_chr1.bed.gz -recfile EUR_chr1.rec -famfile simped1000.ped -folder results -header Sim1 -batch 100 -site 80 --mode-prev -prev 0.1 -or 2.0
|
c49a23c048267a94875d8c295561169f9f4c1383 | 106 | #!/bin/bash
set -e
set -o pipefail
ec(){
emacsclient --create-frame --alternate-editor="" $@
}
ec "$@"
|
9432c7d713d8e69e3743a6a1d1ebe2ffb3b7c1a2 | 171 | #!/usr/bin/env bash
# Run as Nginx
pkill apache2
chmod 766 /etc/nginx/nginx.conf
sed -i 's/80/8080/g' /etc/nginx/sites-available/default
sudo -u nginx service nginx start
|
f193f63c29b75397ba19a8dbdbe1a583eed844de | 473 | #!/bin/sh
# the FULL list of POSSIBLE fingerprints is...
ssh-keygen -l -f /etc/ssh/ssh_host_dsa_key.pub
ssh-keygen -l -E md5 -f /etc/ssh/ssh_host_dsa_key.pub
ssh-keygen -l -f /etc/ssh/ssh_host_ecdsa_key.pub
ssh-keygen -l -E md5 -f /etc/ssh/ssh_host_ecdsa_key.pub
ssh-keygen -l -f /etc/ssh/ssh_host_ed25519_key.pub
ssh-ke... |
65096ccd29ab4ebf701cae31895dcd41a4762441 | 56 | export GOOS=linux
export GOARCH=amd64
go build agent.go
|
35b30e9588d128c874329efa3cfcc8ee9036d028 | 49 | mvn clean:clean
mvn deploy -Dmaven.test.skip=true |
f79c9462dc2474710808fe608db04afffa530e0b | 75 | #!/usr/bin/env sh
sketchybar --set $NAME label="$(date '+%h %d - %H:%M')"
|
a85c09cf6a187651ffe60be796cc56e9a02cffc2 | 2,971 | #!/bin/bash
#
# Purpose: A script to create JEOS (Just Enough Operating System) guest
#
# Copyright (C) 2015-2016 Red Hat Inc.
# NOTE: Once the `oz-install` command is finished, define the xml file
# and start the guest
#
# Author - Kashyap Chamarthy <kchamart@redhat.com>
#
# This program is free software; you can red... |
b0726fafce29039fcd610021a0c42be6ddc83dcf | 361 | #!/bin/bash
git config -f $GERRIT_HOME/gerrit/etc/gerrit.config auth.type $AUTH_TYPE
$GERRIT_HOME/gerrit/bin/gerrit.sh start
if [ $? -eq 0 ]
then
echo "gerrit $GERRIT_VERSION is started successfully with auth.type=$AUTH_TYPE, please login to check."
echo ""
tail -f $GERRIT_HOME/gerrit/logs/httpd_log
else
ca... |
95402011c4cf167c939284a3c59c181dfe94d96d | 1,422 | # Maintainer: Clint Valentine <valentine.clint@gmail.com>
_name=shellingham
pkgbase='python-shellingham'
pkgname=('python-shellingham' 'python2-shellingham')
pkgver=1.2.4
pkgrel=1
pkgdesc="Detect what shell the current Python executable is running in."
arch=('any')
url=https://github.com/sarugaku/"${_name}"
license=('... |
b91dc38ebe94e7311b2adcc09b66472bcb32e033 | 61 | #!/bin/bash
cmake -S .. -B ../Intermediates -DPHT_DEBUG=OFF
|
57e6908eb64db9b231a64400701b7d283fd28b40 | 220 | #!/bin/bash
#
# install without user input
DOTFILES_ROOT="`pwd`"
source "${DOTFILES_ROOT}/script/base/common.sh"
source "${DOTFILES_ROOT}/script/base/uninstall.sh"
set -e
echo ''
delete_all
echo ''
echo ' Cleaned!'
|
6fbd750d7913b886aad8ea4902a10103e55e65f5 | 76 | #!/bin/bash -eux
pushd dp-design-system
npm audit --audit-level=high
popd |
f2d537eb3d2296dae11e664a271d0437e99820a5 | 761 | MDFILE=slides.md
pandoc $MDFILE -o slides.html \
--filter pandoc-citeproc -t revealjs --slide-level=2 -s \
--mathjax='node_modules/mathjax/es5/tex-mml-chtml.js' \
-V revealjs-url=node_modules/reveal.js \
-V theme=solarized \
-V viewDistance=15 -V width=1280 -V height=880 -V margin=0.05
# -V rev... |
c84173fdad11d073729011d16ead2950dec8ae2c | 882 | #!/bin/bash
#
#Must be run from an Illumina run directory
#
#$1 argument is for basemask
#basemasks for 10x
# 1) basemask="Y28N*,I8N*,Y98N*" ;;
# 2) basemask="Y26N*,I8N*,N*,Y98N*" ;;
# 3) basemask="Y28N*,I8N*,N*,Y98N*" ;;
# 4) basemask="Y28N*,I10N*,I10N*,Y98N*" ;;
source "/gale/netapp/home/seq/b... |
0cd3c51e3f9549dac0c12b077ee8c39a6546666e | 215 | #!/bin/bash
curl -vvv X POST -d '{"password" : "neo4j", "new_authorization_token" : "6f188d2408a34c0785e3032e69e94a92"}' -H 'Content-Type: application/json' -i http://127.0.0.1:7474/user/neo4j/authorization_token
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.