blob_id stringlengths 40 40 | length_bytes int64 7 488k | source stringlengths 7 488k |
|---|---|---|
35956d7d339e407cd4d5a3e2a2cd99d86a61c733 | 1,090 | #!/usr/bin/env bash
# checks if azure-cli is installed (if not exit)
# if dist folder is present -> deploy
# else build and then deploy
if ! type "az" > /dev/null; then
echo "ERROR: azure-cli is not installed!"
echo "Instruction for mac: https://build5nines.com/install-azure-cli-2-0-on-macos/"
# curl -L https:/... |
ba01ed97201399c81ff315c9210923fba84293af | 849 | #!/bin/bash
# Recommended way of starting an unpacked repo of Edge in production
# Feel free to change this
APP_NAME=Edge
# Comment this to disable the production REPL, otherwise use it to specify the port.
SOCKET_REPL_PORT=50505
# Exported so it can accessed inside the JVM
export NREPL_PORT=5601
# The -Xms JVM ar... |
31d8aa439debbb2b0d77825b99fee5abe3f55569 | 1,239 | #!/bin/bash
#
# DBF to standard SQL converter
#
# Usage:
#
# dbf2sql.sh YOURFILE.DBF > YOURFILE.SQL
#
file=$1
file_name=$( basename $file | sed -ne 's/\(.*\).DBF/\1/p' )
## Generate the CREATE TABLE
dbf_dump --info --SQL $file | \
# Add "" to table name for names that start with numbers.
sed 's/create table \(... |
d170a5ad0c2ce801826b3c1855d4546be4bf122c | 413 | #!/bin/bash
# Modify default IP
sed -i 's/192.168.1.1/192.168.220.1/g' package/base-files/files/bin/config_generate
# Modify SSH Key
sed -i 's/root::0:0/root:$1$fWgySbK2$CG12khZ5cp4fuwrwiC5Tn1:18336:0/g' package/base-files/files/etc/shadow
# Modify host name
sed -i 's/OpenWrt/N1/g' package/base-files/files/bin/config_g... |
8008e1c4db111592ed9154475af4b36824c9fc45 | 415 | #!/bin/bash
DATA_DIR="${XDG_DATA_HOME:-$HOME/.local/share}/frece"
DB_FILE="$DATA_DIR/dir.db"
ENTRIES_FILE="/tmp/frece_dir_entries.txt"
find "$@" -path '*/\.*' -prune -o -not -name '.*' -type d -print | \
sort > "$ENTRIES_FILE"
[ ! -d "$DATA_DIR" ] && mkdir -p "$DATA_DIR"
if [ ! -f "$DB_FILE" ]; then
frece i... |
a41364b1e278beb441c3f62fcd09ba5bf6236857 | 4,317 | #!/bin/bash
echo create resources directory...
basePath=~/.custard
configPath=$basePath/config
resourcePath=$basePath/resource
name=`whoami`
userConifg="var uniqueID=\"rio"$RANDOM"rio\";\nexports.uniqueID=uniqueID;\nvar Account=\""$name"\";\nexports.Account=Account;"
#If directory exists, remove it.
if [ -e $basePath ... |
9ab33c0b6bf4b629b3c8eea857a8fca9e0bcb084 | 148 | apt-get -y update
apt-get install -y nginx
echo "$1" > index.html
cp index.html /var/www/html/index.nginx-debian.html
service nginx start
|
6eb81c97ad56fac7fbf06be1fbb9bbb51d6ac91a | 1,100 | # Maintainer: David Parrish <daveparrish@tutanota.com>
# Maintainer: Trevor Bramble <inbox@trevorbramble.com>
pkgname=habitat-git
pkgver=0.34.1.r11.gfb7fb8c9
pkgrel=1
pkgdesc="Application automation framework that allows you to build applications that have automation built-in"
arch=('x86_64')
url="https://www.habitat.... |
1a5879b02d2cf69c7de0a17113749f3e8593141e | 132 | #!/usr/bin/env bash
# Bash strict mode
set -euo pipefail
IFS=$'\n\t'
# Bash verbose output
set -vx
# Install gems
bundle install
|
91d64c763939837ce51b1f32af6d316931ddd337 | 829 | #!/bin/sh
set -e
cat <<EOF
Program: $0
Args: $*
I am: $(id)
Work dir: $(pwd)
Hostname: $(hostname)
Environment:
EOF
env | sort
date > /opt/data/date.txt
cat <<EOF
Mounts:
EOF
mount
cat <<EOF
Files:
EOF
ls -la
echo
echo -n 'date.txt: '
cat /opt/data/date.txt
echo -n 'pre-start id: '
cat /opt/data/pre-start-id.... |
4b39c4312da34e35b95e4e3132b8229f43a3689c | 3,321 | #!/bin/sh
#SBATCH --export=ALL # export all environment variables to the batch job.
#SBATCH -p mrcq # submit to the serial queue
#SBATCH --time=1:00:00 # Maximum wall time for the job.
#SBATCH -A Research_Project-MRC190311 # research project to submit under.
#SBATCH --nodes=1 # specify number of nodes.
#SBATCH --ntask... |
de1484a2ac1df626b508529e0608bd5a59716d4e | 2,727 | #!/bin/bash
ethernet="eth0"
if [[ $1 && $2 ]]; then
if [ "$1"=="--ethernet" ]; then
ethernet="$2"
fi
fi
./initial-checks.sh --ethernet $ethernet || exit 1
#Ensure data dump file is in our directory
if [ ! -f geonames.tar ]; then
aws s3 cp s3://bsve-integration/geonames.tar ./geonames.tar
fi
#Build and sp... |
0c3d0b99663054ca0bd3c66197e8b5bdbb076525 | 431 | # Install Apache Web Service in the Virtual Machine VM2 (Project Images WebServer)
az vm extension set \
--publisher Microsoft.Azure.Extensions \
--version 2.0 \
--name CustomScript \
--vm-name VM2 \
--resource-group RG-LAB22 \
--settings '{"commandToExecute":"apt-get -y update && apt-get -y install apache2... |
4af104705520e0149f01db4c7cdc4716cf96ba81 | 201 | #!/bin/bash
set -e
cd /vagrant/helpers
make clean
make
make install
install -m 644 tap0.sysconf /etc/sysconfig/tap-mq-pong/tap0
systemctl start tap-mq-pong@tap0
systemctl enable tap-mq-pong@tap0
|
e29c249b6230419e3d9e8d9ba97e3d321da7391f | 1,377 | #! /bin/sh
# *************************************************************
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this f... |
c738c428607a6137dd3a7c8c83864bf5ac0e588a | 727 | #!/usr/bin/env zsh
genome=$1
if [[ -z "$genome" ]]; then
echo ""
echo "Usage:"
echo "./generate_Sequence.Path.sh [genome folder]"
echo ""
echo "Example:"
echo "./generate_Sequence.Path.sh /desktop/h19"
echo ""
exit
fi
BASEDIR=$(readlink -f $genome)
cat <(echo "Chromosome name""\t""path") > p... |
7376455df86fa72890d864dc337bc2bc86734974 | 125 | PORT=3000
NAME=INtents
PASS=password1
JWT_SECRET=secretStuff
DATABASE_URL= postgresql://postgres:Password1@localhost/INtents
|
f13e670799b19a0d3abfc1d796c80ff698832ea3 | 5,752 | melodic -i /corral-repl/utexas/poldracklab/openfmri/analyses/paper_analysis_May2013/data_prep/zstat_run1_add10000_smoothed.nii.gz -o /corral-repl/utexas/poldracklab/openfmri/analyses/paper_analysis_May2013/ICA/ica_run1_2comp -v --report --Oall -d 2 --nobet -m /corral-repl/utexas/poldracklab/software_lonestar/fsl-5.0.1/... |
a10d42f687fd5ec3cb2298df1c3e189d1acb3169 | 47 | ansible -i inventories/local thinkpad -m setup
|
7094cdeb2325f3565416005da1bbfdce83969687 | 483 | export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export PATH=/usr/local/Cellar/mongodb/2.4.9/bin:$PATH
eval "$(hub alias -s)"
# rabbitmq
export RABBITMQ=/usr/local/sbin
# rust
export RUSTPATH=$HOME/.cargo/bin
# golang
export GOPATH=$HOME/go
export GOROOT=/usr/local/go
export GOBIN=$GOROOT/bin
export PATH=$PATH:$... |
71718087c8511ad6bc77703283f4e766df662a19 | 240 | HOST=127.0.0.1
PORT=3000
WHITE_LIST=["http://127.0.0.1:5500","https://xhaches.github.io"]
DB_HOST=127.0.0.1
DB_PORT=1433
BD_USER=sa
DB_PASSWORD=1234
JWT_SEED=
CLOUDINARY_CLOUD_NAME=
CLOUDINARY_API_KEY=
CLOUDINARY_API_SECRET= |
0eea9a1ea21e67a20026eb12bcc40d08577cec35 | 296 | #!/bin/zsh
ORG=$HOME/src/github.com/golang
curl https://storage.googleapis.com/golang/go1.4.3.$(uname -s | tr '[A-Z]' '[a-z]')-amd64.tar.gz > go14.tar.gz
tar xzf go14.tar.gz
mv go ~/.go1.4
rm go14.tar.gz
mkdir -p $ORG
(
cd $ORG
git clone https://github.com/golang/go
cd go/src
./all.bash
)
|
1ab41995cb373d002af5036db7db7b890082edbf | 1,130 | #!/bin/bash
if [ -z ${webroot} ]; then
Echo_Red 'webroot path is empty!'
exit 0
fi
if [ -z ${redisPort} ]; then
Echo_Red 'redis Port path is empty!'
exit 0
fi
if [ -z ${mysqlPassword} ]; then
Echo_Red 'mysql Password path is empty!'
exit 0
fi
if [ -z ${source_dir} ]; then
Echo_Red 'sour... |
02e1318b87a3c9422058a05925c87b88bdce1edf | 222 | export OS_SERVICE_TOKEN=123456
export OS_SERVICE_ENDPOINT=http://<KEYSTONE_VIP>:35357/v2.0
export OS_USERNAME=admin
export OS_PASSWORD=123456
export OS_TENANT_NAME=admin
export OS_AUTH_URL=http://<KEYSTONE_VIP>:35357/v2.0 |
a8b5644f8503c9ac635bfb7a63ceac477ee595e2 | 998 | pkgname=winconn
pkgver=0.2.14
pkgrel=4
pkgdesc="RemoteApp connection manager"
arch=(any)
url="http://stanev.org/winconn/"
license=('GPL3')
depends=('python2' 'gtk3' 'gobject-introspection' 'libappindicator-gtk3'
'yelp' 'freerdp' 'xdg-utils' 'python2-dbus' 'python2-gobject')
makedepends=('python2-distutils-extra')
sourc... |
4039fa2bd5a7fe62d47173dec3f88cdc06b004d3 | 435 | #!/bin/bash
<<<<<<< HEAD
g++ -O3 -g src/main.cpp src/create_sc.cpp src/storage.cpp src/fields.cpp src/test.cpp src/demag.cpp -o Serial
nvcc -g -O3 src/cumain.cu src/cufields.cu src/create_sc.cpp src/storage.cpp src/fields.cpp -o CUDA
=======
nvcc src/main.cu src/fields.cpp src/initilize_gpu.cu src/storage.cpp src/cr... |
d58fddf95b737e1cbdb980ff58c8b1808c2b423f | 349 | alias gr="./gradlew"
alias v='fasd -e nvim' # quick opening files with nvim
alias z='fasd_cd -d'
alias at='fasd -e atom'
alias tmux='tmux -2'
alias dm='docker-machine'
alias vim='nvim'
alias ku='kubectl'
alias ll='ls -la'
alias b='bd'
alias mk='minikube'
alias dn='dotnet'
alias deleteBranches='git branch | grep -v "mas... |
98813190f5491e0fabcfa6558b99135feb5b7659 | 70,769 | #! /bin/bash
#
#
# ------------------------------------------------------------------------------------
#
# MIT License
#
# Copyright (c) 2017 Enterprise Group, Ltd.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"),... |
f5d1fc4ac6d554b378607d79b4521c95fc568d42 | 48 | COMPOSE_PROJECT_NAME=monitoring
ES_VERSION=7.5.1 |
ecfde3e9eb1c0c9a7c8d5bd08d432f9df2e33d4a | 419 | #!/bin/bash
set -ex
wait-for-it db:3306 -t 300 -- echo "database is connected"
if [[ ! -e ".env" ]]; then
echo -e "db\nv2board\nroot\nroot\nadmin@example.com\nexample123" | php artisan v2board:install
sed -i 's/REDIS_HOST=.*/REDIS_HOST=redis/g' .env
fi
chown www-data:www-data -R /var/www/html
# first arg is `... |
6dd68bb1bea238a90ba43dcd8104ee5ff8947386 | 157 | #!/bin/bash
# source it and run in in another script
# . ./functions/func_date.sh
function _date {
TIME=$(date +%d-%m-%Y_%H.%M.%S)
echo $TIME
}
#_date
|
e6f54cfb36165f504a8d17bef4656d69f0966811 | 126 | #!/bin/bash
set -eux
os-svc-daemon ceilometer-agent-central ceilometer ceilometer-agent-central --config-dir /etc/ceilometer
|
d3f95251ad2947be4b8c126f72f8dd79a44b09a0 | 2,149 | #!/bin/bash
set -x
basedir=/tmp
tmpstmp=`date +"%m-%d-%Y-%H-%M"`
file_name=channel.csv
schema_file_name=channel.schema
cd /tmp
hadoop fs -get /lc/apps/file-import-service/scripts/${schema_file_name}
header=`cat /tmp/${schema_file_name}| grep -i header| cut -d"|" -f2`
channel_loaded=`hadoop fs -ls /import/root/val... |
4d1d7bcacf8dedb8418f817f548952f688b1d92f | 1,528 | #!/bin/bash
set -o errexit
test_dir=$(realpath $(dirname $0))
. ${test_dir}/../functions
set_debug
CLUSTER='some-name'
main() {
create_infra $namespace
desc 'create secrets and start client'
kubectl_bin apply -f "${conf_dir}/client.yml" \
-f "${conf_dir}/secrets.yml"
desc "create first PSMDB cluster 1.13.0 ... |
c7c4e3ddb8dfba3960c866cae5004cdf90a29740 | 64 | #!/bin/bash
cd `dirname $0`
./_proxy.sh `basename $0` "$@"
|
270afc86fe18a2c02359839d7672a7716014ec06 | 1,177 | ./wum CompleteSRA log-mobile-training topology-mobile.txt CompleteSRA-Sessions.txt topology private-host.com
./wum Apriori CompleteSRA-Sessions.txt 0.0001 csra-maximal-patterns.txt csra-all-patterns.txt
echo "CompleteSRA was finished!"
./wum IntegerProgramming log-mobile-training topology-mobile.txt IntegerProgramming-... |
7f559cb5157a819e4901956a7c7e2fcdbe095e2f | 77 | make
(cd lib/fpn/nms && bash make.sh)
(cd lib/fpn/roi_align && bash make.sh)
|
4d84ac6a6ad4361507e7745f7ac0c57defd25e0d | 238 | #!/bin/bash
if [ "$#" -ne 1 ]; then
echo "Wrong number of arguments"
exit 1
fi
if [ ! -d ${1} ]; then
echo "Argument 1 must be a directory"
exit 2
fi
DIR=${1}
find ${DIR} -type l -printf "%Y %f\n" | grep '^[NL]' | awk '{print $2}'
|
147e9b497c2c79f346494ac08a9fcb2c69ed11cc | 181 | #!/bin/sh
ifconfig | grep "inet " | awk 'NR == 1 {print $2}' > node2_ip
sudo scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null node2_ip node1:/local/repository/
|
7f40a729680dd593226ae77b7d15a8a678fc7f4c | 386 | #!/bin/bash
#SBATCH --job-name=behavior_cloning
#SBATCH --partition=gpu
#SBATCH --gres=gpu:4
#SBATCH --mem=16g
#SBATCH -N 1
#SBATCH --mail-user=karangc2@illinois.edu
module load OpenCV/3.3.0-IGB-gcc-4.9.4-Python-3.6.1
module load Keras/2.0.8-IGB-gcc-4.9.4-Python-3.6.1
module load CUDA/8.0.61-IGB-gcc-4.9.4
module load... |
e2a875398ab83bfe5e100eddb06846a34c67196b | 4,113 | #!/bin/bash
# ==========================================================================
#
# Copyright 2015 Mario Juric <mjuric@astro.washington.edu> and others.
#
# See the COPYRIGHT file at the top-level directory of this distribution and
# at http://github.com/mjuric/ipython_eups/COPYRIGHT
#
# This file is part of i... |
3f8556382c2c38ad8ec2e43a76950ab6e3b418ac | 165 | #!/usr/bin/env bash
echo "Starting up RMS"
echo "Starting up Customers"
ssh -tt eschaa1@cs-11.cs.mcgill.ca <<-'ENDSSH'
cd comp512
./startCustomer.sh
ENDSSH |
11e5a5c631cd33bfb1a4f758bae27de3d7f2df46 | 1,372 | #!/bin/bash
#Loading necessary modules for installation
module load jags/4.3.0
module load R/4.1.0-intel
#Loading jags automatically load gcc/4.7.4 replace it with a later version
module unload gcc/4.7.4
#Get current path
start_path=$(pwd)
cd ..
home_path=$(pwd)
a="/lf_adap.c"
#To calculate adap file path
adap_pa... |
537b32fd3c47f32a9f15679a6970af3e21adbe4b | 115 | gcc -static -nostdlib -Wl,-N code_data_example.s -o new-elf
objcopy --dump-section .text=new.raw new-elf
./new-elf
|
027e72e129137631acc2ae4c0d07270c9b822613 | 1,029 | #!/bin/bash
#/* *-* mode: sh-mode *-* */ #bash syntax highlighting in emacs
EXCLUDE=('Porte-Agel_2000') #cases to exclude (array of strings
#get all samples
echo -n "getting list of samples..."
SAMPLES=`find . ! -name \*runSamples\* ! -name .\* -maxdepth 1 2>/dev/null | cut -f2 -d'/'`
SAMPLES=($SAMPLES)
echo "done."
... |
1582e87b4bb7242fa3b2fe4a57af5927e007a370 | 1,024 | # COLOUR (base16)
# default statusbar colors
set-option -g status-style "fg=#bdae93,bg=#3c3836"
# default window title colors
set-window-option -g window-status-style "fg=#bdae93,bg=default"
# active window title colors
set-window-option -g window-status-current-style "fg=#fabd2f,bg=default"
# pane border
set-optio... |
6e1285d64d2f595a1fc93408d4c26560ef3def1d | 325 | #!/bin/bash
set -x # Show the output of the following commands (useful for debugging)
# Import the SSH deployment key
openssl aes-256-cbc -K $encrypted_7fecd50c2af5_key -iv $encrypted_7fecd50c2af5_iv -in troubadour_key.enc -out troubadour_key -drm troubadour_key.enc
chmod 600 troubadour_key
mv troubadour_key ~/.ssh/id... |
5cd3cb83a85a372de05d4db27be4d72c09cd5d82 | 2,536 | make O
likwid-perfctr -C 0 -g FLOPS_DP -m ./pdeSolver -nx 256 -ny 256 -i 10 -m gs -o _512.dat > _256_flops_dp.dat
likwid-perfctr -C 0 -g MEM -m ./pdeSolver -nx 256 -ny 256 -i 10 -m gs -o _512.dat > _256_mem.dat
likwid-perfctr -C 0 -g CACHE -m ./pdeSolver -nx 256 -ny 256 -i 10 -m gs -o _512.dat > _256_cache.dat
likwid-... |
dc9ef89cd4f43cfd793f1363f02e960df12fd5a3 | 2,891 | #!/bin/env bash
##########################################################################################################################################################################################
function gen_map {
if [[ -f ./keymap ]];then rm ./keymap;fi
for ((i=0;i<=255;i++));do map_+=(${i});done
map=( $... |
458d69240dbcdc9bd1cfca6369155d6e753b20b9 | 1,029 | #!/usr/bin/env bash
set -e
docker rmi -f $DOCKER_IMAGE_REPO
docker build --build-arg PROJECT_NAME=$PROJECT_NAME -t $DOCKER_IMAGE_REPO .
echo http://localhost:8080$BASE_PATH
docker run --rm -it \
--env APP_CONFIG_AUTH_TYPE=$APP_CONFIG_AUTH_TYPE \
--env APP_CONFIG_IDENTITY_HOST=$APP_CONFIG_IDENTITY_HOST \
--env A... |
385459b417022c25c0ac0307e78abefba9978955 | 96 | #!/usr/bin/env bash
set -o errexit
set -o pipefail
/usr/sbin/rsyslogd && /usr/sbin/pdns_server |
e88db2795b67e65ee9c7df2c35322e20bffd51df | 132 | #!/bin/bash
kernel=$(uname -a | grep Linux | awk {'print $3'} | awk 'BEGIN { FS = "-" } ; { print $1 }')
echo " Arch-${kernel}"
|
01d3b1c209b81628b4518f593fc377b4baf98bc2 | 154 | APP_ID=OA9I/hgmPHFp9RYKJqCKfwnhh28uqLJzZ9KOJf1DXoo8N2XAaVX6A1wcLYyWsnnv
USERNAME=catmulltrim@gmail.com
PASSWORD=Im2L84Dinner@jacks
MYDEVICEID=1702462521 |
ded54e32511ae115e61922fb958b156269c18ff8 | 5,463 | #!/bin/ksh
function help
{
print " Usage: switchto <DB name> [n-k]/[n]/[<Node name>...] [-f conf file] \n Example: \n\
1. All nodes switch to cassandra \n\
switchto cassandra\n\
2. Node01 switchs to Cassandra \n\
switchto cassandra node01\n\
3. Node03 and Node05 switch to Cassandra \n\
switchto cass... |
66d77e34a41f609851a9e7d9016fb75860508abd | 53 | #!/bin/bash
sudo apt install mono-complete git nuget
|
594f901d01a58e90353918b1c0f9cb0bbd73fda2 | 140 | #!/bin/bash
for run in {1..5}
do
g++ -O3 -o func_inlining func_inlining.cpp
./func_inlining 100000000
echo "" >> num.txt
done
|
ed2466ea355e248ad3930c1bfbd15001e4e2ff73 | 73 | #!/usr/bin/env bash
sudo pkill TouchBarServer
sudo killall "ControlStrip" |
cd44cd5c9de173d8a22db03da540446ee0684a5c | 157 | NODE_ENV=development
PORT=3000
#NODE_ENV=production
MONGO_URI=mongodb+srv://user:9948@cluster0.3y6xe.mongodb.net/myFirstDatabase?retryWrites=true&w=majority
|
02700cabf24baa6de7a7f63a1928f9aa43c57d0b | 207 | #!/bin/sh
su - ubuntu -c "/home/ubuntu/bin/start_server.sh rtbroker"
#su - ubuntu -c "/home/ubuntu/bin/update-public-dns.sh rtbroker"
su - ubuntu -c "/home/ubuntu/bin/update-local-dns.sh rtbroker"
exit 0
|
5f9829e6cc427c95fb66817378fda1906775bd9c | 474 | #!/usr/bin/env bash
#
# = Compute The Average
# =====================
#
# https://www.hackerrank.com/challenges/bash-tutorials---compute-the-average
#
read -r n
sum=0
echo $sum
if [[ "$n" == 0 ]]
then
printf '%.3f\n' "$(echo 'scale=4; 0' | bc -l)"
exit 0
fi
for ((i = 0; i < n; ++i))
do
read -r x
sum=$((sum... |
4938f09349662b778fd5e6e42cb17a398aa6735e | 424 | GROUP_ID=$(aws ec2 describe-security-groups --filters Name=group-name,Values=frontend-load-balancer-security-group | jq -r '.SecurityGroups[0].GroupId')
IP=$(curl https://ipinfo.io/ip)
if [ $1 = "INSERT" ]
then
aws ec2 authorize-security-group-ingress --group-id $GROUP_ID --protocol tcp --port 443 --cidr $IP/32
else
... |
0b4f9d4f35e143521b2debd5f8c56af1244c9214 | 739 | #!/bin/bash
rm asm_our/*.cor asm_zaz/*.cor diff/*.txt
for champion in `ls *.s`
do
echo _____________________________________________
echo Champion : $champion
echo "____ O U R A S M ____"
./$1 $champion
mv *.cor asm_our
echo "____ Z A Z A S M ____"
./$2 $champion
mv *.cor asm_zaz
done
for champion ... |
908bfcb5c378d86b199387aaab664ed50894f074 | 2,716 | #!/usr/bin/env bash
set -e
source ${LOG_LIB}
function generateMysqlTestData() {
logi "---------------------"
logi "generateMysqlTestData"
logi "---------------------"
cd generator
docker build . -f DataGenerator.Dockerfile -t generator:test
cd ..
start=0
for (( i = 0; i < ${MYSQL_INS... |
85938e942b4664e4dbc6e09842f705e764b6e003 | 438 | #!/bin/bash
set -e
# Reconfigure php.ini
# set PHP.ini settings for SPIP
( \
echo "display_errors=Off"; \
echo "error_log=/var/log/apache2/php.log"; \
echo "max_execution_time=${PHP_MAX_EXECUTION_TIME}"; \
echo "memory_limit=${PHP_MEMORY_LIMIT}"; \
echo "post_max_size=${PHP_POST_MAX_SIZE}"; \
echo "upload_max_filesize... |
27c54ecad041311673d36f6df84c3f8d8b261e54 | 447 | #!/bin/bash
export CHANGE_MINIKUBE_NONE_USER=true
#export no_proxy=localhost,127.0.0.1,10.96.0.0/12,192.168.0.0/16
printf -v proxy "%q" $HTTP_PROXY
echo "proxy evalueted to $proxy"
minikube config set cpus 4
minikube config set memory 8192
minikube config set disk-size 50g
minikube addons enable ingress
miniku... |
a940db1272c237679e800ac81d50ef4e6ec89035 | 336 | #!/bin/bash
KEYWORDS_MEXICO="'Mexic(o|an)|Tijuana"
KEYWORDS_MEXICO_EXCLUDE="New(| )Mexic(o|an)"
KEYWORDS_MEXICO_ALL="$KEYWORDS_MEXICO"
if [ "$1" == "" ];
then
debug_start "Mexico"
MEXICO=$(egrep -i "$KEYWORDS_MEXICO" "$NEWPAGES" | egrep -iv "$KEYWORDS_MEXICO_EXCLUDE")
categorize "MEXICO" "Mexico"
debug_... |
4a3482362d5e2388380c992cc55b2ed40c95a622 | 62 | REACT_APP_BASEURL="https://blog-website-reactjs.herokuapp.com" |
153d8d5a1db2736c3f2ccdf4cddf461be8c7b894 | 79 | #!/bin/bash
set -xeu
rm data/*/*.{jf,timming} || true
rm -rf out || true
|
6e8366851b78df84f229080b8a1cc75338228fcb | 3,878 | #! /bin/bash
export HISTIGNORE="&:ls:la:clear:exit:c:[*"
######## COLORS ########
export LSCOLORS="DxGxBxDxCxEgEdxbxgxcxd"
export LS_COLORS="di=1;33"
cyan='\033[0;36m\'
cyan='\033[0;36m'
purp='\033[0;35m'
WHITE='\033[1;37m'
YELLOW='\033[1;33m'
NC='\033[0m'
######## PROMPT ########
function parse_git_dirty() {
if... |
45d07d4a0ab01de094797b43df312c70e99a5acc | 107 | curl -X POST -H "Content-Type: application/json" 'localhost:9999/posts' -d '{ "content": "My first post"}'
|
75d1f9747dd9947c5dc821a6c5049832846e7e70 | 76 | JUPITER_TOKEN = ODM0ODQzNjQ4OTAxNzc1Mzkw.YIGyvA.B-yDH32kQfA-cbKDF08a6OzDc5I
|
949aaa320ed73034e7eea96fc4735eb6b2f6f9ec | 598 | #!/bin/sh
# Attenzione: Eseguire questo script come amministratore!
########################################
### Impostazioni iniziali
########################################
# Troviamo la posizione dello script
scriptDir=$( cd "$( dirname "$0" )" && pwd )
# Troviamo la posizione dell'utente che invoca
# homeDir=$(... |
bea14fc3067c2c7ad6037da319932505b8f55261 | 18 | echo "I am v3330"
|
3d59d911eacfaff15e206da8eb0903ee10b3174f | 41 | # Install git
sudo apt-get install -y git |
de5e58ecde8e633e8ad7e926ac29b7351524049c | 650 | #!/bin/bash
#
# git-blob-trotter
#
# Displays the N largest blobs in the current repository tree
#
# See:
# - https://stackoverflow.com/questions/10622179/how-to-find-identify-large-commits-in-git-history
# - https://stackoverflow.com/questions/223678/which-commit-has-this-blob
#
# Find which commits add a given blob w... |
a236bd675419f1082663e68186c0e0a0e89d1146 | 612 | #!/bin/sh
# script/bootstrap: Resolve all dependencies that the application requires to
# run.
set -e
cd "$(dirname "$0")/.."
if [ -z "$CI" ]; then
if [ -f Brewfile ] && [ "$(uname -s)" = "Darwin" ]; then
if ! brew bundle check >/dev/null 2>&1; then
echo "==> Installing Homebrew depend... |
fc0bd32307541df6580fda8e6412bf3c7ac0eae3 | 1,056 | #!/bin/bash
# should be sourced from snapcraft.yaml while building Docker
# current working directory should be the Docker source directory
# SNAPDIR should be set to the root of this Git repo
# (the directory of snapcraft.yml)
for patch in "$SNAPDIR"/patches/*.patch; do
echo "Applying $(basename "$patch") ..."
p... |
f75e3d0f3bc95177f5d6ef5d1b99416249d10666 | 297 | #*****************************************************************
# terraform-provider-vcloud-director
# Copyright (c) 2017 VMware, Inc. All Rights Reserved.
# SPDX-License-Identifier: BSD-2-Clause
#*****************************************************************
pgrep python | xargs kill -9
|
2844f06d7d5c5e697bceebe47d532fb4edbcdba7 | 855 | set -x
set -e
PACKER_LOG=1
#PACKER_LOG_PATH=/tmp/packer-box
PATH=/var/lib/jenkins/.rbenv/shims:/var/lib/jenkins/.rbenv/bin:$PATH
bundle
bundle exec librarian-chef install
killall vmware-vmx || true
if [ -f '/var/lib/jenkins/VirtualBox VMs/boshlite-virtualbox-ubuntu1204/boshlite-virtualbox-ubuntu1204.vbox' ] ; then
... |
b796480db04a2408e82b0613ccef467a31472b50 | 183 | #!/bin/bash
file /usr/bin* | grep "shell script" | cut -d: -f1 | xargs wc -l | sort -n | head -15
file /bin/* | grep "shell script" | cut -d: -f1 | xargs wc -l | sort -n | head -15
|
67592b6f3e09e12a44d1b06a3b4050eede4fe126 | 140 | #!/bin/bash
for i in $(find -name "*.po")
do
cd $(dirname $i)
msgfmt $(basename $i) -o $(basename $i|sed s/"\.po"/"\.mo"/)
cd -
done
|
bb764d0f59cde665cf91dd823f9b1edce9ce93c7 | 64 | # VAR ENV
# Komponent show Styleguide
FS_MOUNT_STYLEGUIDE=true
|
84eb89d9efc81cb247b54d00398f7bff97beb8c3 | 3,807 | #!/bin/bash
cat <<-EOF > /root/jaeger-all-in-one-template.yml
apiVersion: v1
kind: List
items:
- apiVersion: apps/v1
kind: Deployment
metadata:
name: jaeger
labels:
app: jaeger
app.kubernetes.io/name: jaeger
app.kubernetes.io/component: all-in-one
spec:
replicas: 1
selector:
... |
da97fc7da2bf07c72f91c831acfbcff5ab853a9f | 190 | #!/bin/bash
ret=`which nvim`
[[ $ret=="0" ]] && echo "Neovim already installed"; exit 0
sudo add-apt-repository ppa:neovim-ppa/unstable
sudo apt-get update
sudo apt-get install neovim -y
|
fc43fcd0a02152a9b3c228c5af9a898d02f30d3d | 105 | #!/bin/sh
exec /sabayon/scripts/mkloopcard.sh /sabayon/scripts/mkloopcard_beaglebone_chroot_hook.sh "$@"
|
37473735e66fa8655e50c393aee276bf0764fd40 | 8,494 | #!/usr/bin/env sh
#das_client --query="dataset=/MuOnia*/*2016*PromptReco*/*"
#das_client --query="file dataset=/MuOnia/*2016C*BPH*/* " --idx=0 --limit=20
#das_client --query="dataset dataset=/Charmonium/*2016C*BPH*/* " --idx=0 --limit=20
#das_client --query="file dataset=/Charmonium/*2016C*BPH*/* " --idx=0 --limit=300... |
e94306c52d0c775e542ae6f93f98eec76edab9fc | 1,388 | #!/bin/bash
res="scaffolds"
echo ""
echo "$res"
./generateGraphFile.sh "$1" "$2" "$3" 0 10000 0 1 "$4" > log
wc -l "graph_file_$1"
rm mmaps
./getMultimaps "filtered_alignments_$1" mmaps
cut -f 2 mmaps | sort -u > pairable
wc -l pairable
./getLinkedContigs.sh ../../sequences/reads/Ecoli/abyss.fa pairable > log 2> log
... |
b052f58470420a4f0aa0ab3910d1b0fdd29ab781 | 7,997 | #!/bin/bash
samtools merge -f /mnt/beegfs/gt156213e/murinae-seq/01-Assembly-data/09-Remap/Sommeromys-macrorhinos/nextseq-single-1.merge.bam /mnt/beegfs/gt156213e/murinae-seq/01-Assembly-data/09-Remap/Sommeromys-macrorhinos/nextseq-single-1/Z21740_S50_L002_R1_001.fastp.decon.bam /mnt/beegfs/gt156213e/murinae-seq/01-Asse... |
60076eab050a76c607d0ab779994d58ac19abc23 | 380 | #!/bin/sh
file_bootlog="/home/pi/boot_time.txt"
file_first="/tmp/alexscript_started"
date >> "$file_bootlog"
if [ -f "$file_first" ]
then
exit 0
else
echo start > "$file_first"
echo "first time" >> "$file_bootlog"
fi
#bash -c "/usr/bin/python2.7 /home/pi/dev/git/electronoos/quick_scripts/stat_connected.py" &
/h... |
79e473255b83b2aaf2c4d21205ba2c7a149e1bc7 | 453 | # Build and push images
docker build -t xingyuusa/mlops-test:amaro-preprocess ./data-preprocess
docker build -t xingyuusa/mlops-test:amaro-xgb ./train-xgb
docker build -t xingyuusa/mlops-test:amaro-rf ./train-rf
docker build -t xingyuusa/mlops-test:amaro-deploy ./deploy
docker push xingyuusa/mlops-test:amaro-preproces... |
f40158fa9817d7503efeacfa1d62a8def1de18c9 | 1,201 | #!/bin/bash
# The instructions in this file are extracted from
# 'Beyond Linux From Scratch' (2017-04-29 / r18652) but are modified for use
# with LFScript 4 which installs the software to a fake root directory.
#
# Beyond Linux From Scratch is released under the MIT license.
# Copyright (C) 2001-2017, The BLFS Develo... |
4234cb8a3ae9a2514c8a84602115e82b378a217b | 116 | #!/bin/bash
echo "Compiling..."
c++ openmp/hea.cpp -o bin/HEA_openmp.o -fopenmp -std=c++11 -O3
echo "done"
echo ""
|
16bf965ad894178447dd14b05c571e5662213346 | 4,242 | cd Ventana
cd St_Reducido
cd Aleatorio
pwd
date "+%H:%M:%S %d/%m/%y"
#_python ../../top_n.py supertag_reducido a > salida_top_n.txt
cd ..
cd Precalculado
pwd
date "+%H:%M:%S %d/%m/%y"
#_python ../../top_n.py supertag_reducido p > salida_top_n.txt
cd ..
cd ..
cd St_Reducido_Compactado
cd Aleatorio
pwd
date "+%H:%M:... |
1afe78ba9816ca4c890c2d9567788dff8b13a94d | 41 | tar zcvf pyPomodoro.tgz --exclude=.svn ** |
7dfe01078c708a7e903e1380cc9af39dcd7cc60f | 91 | pdfunite front.pdf prologue.pdf $(ls Problems/*.pdf | sort -V) bibliography.pdf output.pdf
|
05a823548aa201e6a12b4d49055bba590d25c0c1 | 1,161 | #!/bin/bash
declare -a strings=("Sendrecv no delay" "Sendrecv wt delay" "Isend-recv no delay" "Isend-recv wt delay" "Isend-Irecv no delay" "Isend-Irecv wt delay" "12 at a time no delay" "12 at a time wt delay")
DATA=(368005.error 368007.error 368006.error 368008.error 368009.error 368010.error 368011.error 368... |
a5ade7f1797ceac420242cb88400680476b0e02f | 4,218 | #
# zplug
#
source ~/.zplug/init.zsh
zplug 'zsh-users/zsh-autosuggestions'
zplug 'zsh-users/zsh-completions'
zplug 'zsh-users/zsh-syntax-highlighting', defer:3
zplug 'mollifier/anyframe'
if ! zplug check --verbose; then
printf 'Install? [y/N]'
if read -q; then
echo; zplug install
fi
fi
zplug load --verbos... |
ca2e27fce82c26b272b88fc2c9f04eba7dd8f0af | 324 | #!/bin/bash
export SKEP_APP_URL=http://localhost:60420/
export SKEP_CHARTS_URL=http://localhost:5040/
export HOSTFS_PATH=linux_metrics/test_filesystem/
export LOG_LEVEL=debug
export SKEP_HOST="$(hostname)" # Use 'docker-desktop' for OS X
if [ -z "${FILE_SYSTEMS}" ]
then
export FILE_SYSTEMS=/
fi
pipenv run python app... |
9193df24cd3b6d87f597f970e19f831660da27a8 | 332 | #!/usr/bin/env bash
source "$DOROTHY/sources/strict.bash"
source "$DOROTHY/sources/paths.sh"
if get-app "Gitfox.app"; then
open-app "Gitfox.app" "$@"
elif get-app "Tower.app"; then
open-app "Tower.app" "$@"
elif command-exists gf; then
gf "$@"
elif command-exists tower; then
tower "$@"
else
fail "gf and tower are... |
c95e3105e150d97c2b3fcd69fc1bae38b9851c75 | 201 | #!/usr/bin/env bash
# This script catches SIGTERM signal and echoes, "I am invicible"
sig()
{
echo "I am invincible!!!"
}
while :
do
echo "To infinity and beyond"
sleep 2
trap "sig" SIGTERM
done
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.