blob_id stringlengths 40 40 | length_bytes int64 7 488k | source stringlengths 7 488k |
|---|---|---|
5831981c9cd7822f845d8adf4c88bcae43ca681e | 49 | #!/bin/bash
while :
do
sudo ./$1
sleep 0.1
done
|
6fc45a8793e08ec656fc940e6695cc64a67b042c | 59 | #! /bin/bash
MESSAGE="Hello World from ${1}"
echo $MESSAGE |
f0060e83109320dab6882045b9293af534609d66 | 880 | #!/usr/bin/env bash
cd "$(dirname "${BASH_SOURCE[0]}")"
source optionsh.sh
declare -A MYARGS
if [ -z "$CMD_NAME" ]; then
CMD_NAME=$0
fi
parse_args "$CMD_NAME" MYARGS "$1"
parse_result=$?
if [ $parse_result -ne 0 ]; then
exit $parse_result
fi
set -e
case "${MYARGS[command]}" in
"ls")
CMD_NAME="$CMD_NAME ls"... |
a01b9b4cec36cf3ee5aeee867f2b01c5089e1ba8 | 116 | #!/bin/bash -x
# Use Random Function (( RANDOM )) to get Single Digit
singleNum=$((RANDOM%10));
echo $singleNum;
|
a8176501430184c1ee07f3ee036cf15cd003dee3 | 135 | for i in bootstrap master{0..2} worker{0..2}
do
echo -ne "${i}\t" ; virsh dumpxml ocp4-${i} | grep "mac address" | cut -d\' -f2
done
|
963f60607de2e4c75547e18ab0556123f99a29e7 | 145 | make -s run input=./checker/tests/exception10-pop.gly base= < ./checker/tests/exception10-pop.in > exception10-pop.out 2> exception10-pop.rawerr
|
2d610df2555ebb70e816d8df6a1da6b84cb44a42 | 1,279 | #! /bin/sh
### BEGIN INIT INFO
# Provides: eng10032lab03_3
# Required-Start:
# Should-Start:
# Required-Stop:
# Default-Start: S
# Default-Stop:
# Short-Description: Configures GPIO for Lab 03.
# Description: Configures GPIO for Lab 03.
### END INIT INFO
case "$1" in
start|restart... |
d1dbc6a391c63105b54e975cec7cac17aa754a1f | 90 | #!/bin/bash
python3 /Users/n.permyakov/kassa/ios-ui-tests/utils/rotate_simulator.py right
|
5342bb1db70e516e6fcb22a35caad25d1def9833 | 1,164 | OS_VERSION=16
OS_ARCH=armeabi-v7a
NDK_ARCH_COMPILER=armv7a-linux-androideabi
NDK_ROOT_PATH=$(dirname $(which ndk-build))
NDK_HOST_NAME=$(basename $(dirname $(dirname $(realpath $(ndk-which --abi ${OS_ARCH} ar)))))
NDK_COMPILER_BASE=${NDK_ROOT_PATH}/toolchains/llvm/prebuilt/${NDK_HOST_NAME}/bin/${NDK_ARCH_COMPILER}${OS_... |
c00af1f602fa87365f9b4e1d356e63d26724865d | 355 | #!/bin/sh
BUILD_DIR=`pwd`/../local-builds/$1;
echo "investigating ${BUILD_DIR} directory"
RETVAL=checksucess;
for file in `find ${BUILD_DIR}`; do
if [ `grep -c no.invocation.in.progress.at.the.server $file` -gt 0 ]; then
echo `grep -Hn no.invocation.in.progress.at.the.server $file`;
RETVAL=checkfailed... |
42c744ae43627374f9384557c3aa94fb561ebc34 | 77 | decode_url() {
printf "$(sed 's/+/ /g;s/%\(..\)/\\x\1/g;' <<< "$@")\n";
}
|
ffcf6f5f657340e61b4c7a9bcdf33963d673c338 | 328 | #!/bin/bash
while getopts c:t: option
do
case "${option}"
in
c) CLUSTERNAME=${OPTARG};;
t) NODETYPE=${OPTARG};;
esac
done
INTERNAL_HOSTNAME=$(curl 169.254.169.254/latest/meta-data/local-hostname)
nohup /usr/bin/redhat-access-insights --register --display-name=$CLUSTERNAME-$NODETYPE-$INTERNAL_HOSTNAME --group=$CLUSTE... |
6dfc404ba22974d6f394e9fa7c232524d0e5a9e1 | 1,182 | #!/bin/sh
#SBATCH -e err
#SBATCH -o out
#SBATCH --account=@[ACCNR]
#SBATCH --qos=@[QUEUE]
#SBATCH --partition=@[PARTITION]
### #SBATCH --ntasks=@[TASKS]
#SBATCH --nodes=@[NODES]
#SBATCH --ntasks-per-node=@[TPN]
#SBATCH --time=@[WLCLK]
#SBATCH --job-name="@[JBNME]"
#SBATCH --exclusive
set -eux
set +x
source ./module-s... |
b1037853e3580c11b4a943f012160459b00610a9 | 45 | export CONTAINER=hbirch/coffeecutie:raspberry |
365d144c95b278623430e1fdc5c99cc510b22ff5 | 513 | print("Phuc has read these line")
mkdir data data/raw data/train data/test data/validation
mkdir app app/blueprints app/blueprints/home_page
touch app/blueprints/__init__.py app/blueprints/home_page/__init__.py app/blueprints/home_page/blueprint.py
mkdir app/static
touch app/static/style.css app/static/index.js
mkdir ... |
740ce67b73b7ee1e76e2eb16d986014fe0fed570 | 64 | #!/bin/bash
docker build --no-cache --rm -t beginor/datax:3.0 .
|
0a0af6a1bb1b6e713649ebe1761a159c5de17307 | 237 | #!/usr/bin/env bash
# I'll execute my programs, with the input directory tweet_input and output the files in the directory tweet_output
# The executable is a python3 script, which calls functions implemented in C++
./src/parseTweets.py
|
d7b9786ac7b421ffac6c1c505a945f306827c551 | 102 | #!/bin/bash
qsub dot_2.pbs
qsub dot_3.pbs
qsub dot_4.pbs
qsub dot_5.pbs
qsub dot_6.pbs
qsub dot_8.pbs
|
924f73018fa9cc47c251e2a7b38598c1594dd963 | 222 | #!/bin/sh
find ~/.wallpapers -type f \( -name '*.jpg' -o -name '*.png' \) -print0 |
shuf -n1 -z | xargs -0 feh --bg-scale
notify-send -i 'terminal' \
-a 'Terminal' \
'Wallpaper has been changed'
|
9364f0fb27050a0bee056bf5c7c32b6bffc50665 | 128 | $HOME
who
echo -n "today is : "
date +"%m/%H/%Y"
echo -n "The number of users logged in: "
users | wc -w
echo "Terminal: "
tty
|
1461c04f50bd45a04115eedcc812ec138090f268 | 88 | g++ -std=c++11 svg.cc tinystr.cpp tinyxml.cpp tinyxmlerror.cpp tinyxmlparser.cpp -o svg
|
0457f247272a959cff82e8b666b4cc436e9877a3 | 1,424 | #!/bin/bash
# functions
add_applications_to_favourites(){
gsettings set org.gnome.shell favorite-apps "['firefox.desktop', 'opera_opera.desktop', 'chromium_chromium.desktop', 'org.gnome.Nautilus.desktop', 'snap-store_ubuntu-software.desktop', 'intellij-idea-ultimate_intellij-idea-ultimate.desktop', 'code_code.desktop'... |
8973ea31a5749f421db79f161603aa3bb8c202f4 | 77 | #!/bin/zsh
setxkbmap -option caps:ctrl_modifier
xcape -e "Caps_Lock=Escape"
|
3dd94ea19919eb62b1dc07b48619031612648c14 | 229 | #!/bin/bash
#SBATCH -p 1080GPU
#SBATCH -J test_ppg
#SBATCH -c 7
#SBATCH --output=ppg_test_%j.out
#SBATCH --gres=gpu
srun singularity exec --bind /data_GPU:/data_GPU --nv /data_GPU/hassan/Containers/ecg_ppg.simg sh test_ppg.sh
|
79358b79105386ca0c7cea7ba6030b9c74767776 | 2,198 | #!/bin/bash
export AWS_PROFILE=${AWS_PROFILE:-"aws-pipelines"}
CLUSTER_NAME=$1
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd)"
DOMAIN=$(jq -r '.base_domain' "cluster/$CLUSTER_NAME/terraform.tfvars.json")
NETWORK=$(jq -r '."*installconfig.InstallConfig".config.platform.openstack.externalNetwork' "cluster/$CLUSTE... |
65fdd4e28c0f884891cfc3d13050ead17e64e1ed | 2,131 | #!/bin/bash
set -x -e -o pipefail
auto_setup() {
CONFIGURATION="server=${MYSQL_HOST} rootpass=${MYSQL_ROOT_PASS} loginhost=%"
if [ "$MYSQL_ROOT_USER" != "" ]; then
CONFIGURATION="${CONFIGURATION} root=${MYSQL_ROOT_USER}"
fi
if [ "$MYSQL_USER" != "" ]; then
CONFIGURATION="${CONFIGURATIO... |
65740c7afed7b0bd689d64d788c2efff5d893b84 | 6,970 | #!/bin/sh
#################################################################
# Title: find
# Date: November 18, 2002
# Author: Devin Teske
# version: 1.3
#
# Dependencies:
# find sed grep tr awk
#
# Details:
# This script conforms to BSD standards. Although, if you
# happen to have a GNU compatible fin... |
711f82effae7a1e454087b16e5dfaa7a74991ae6 | 243 | #!/bin/bash
function command_descriptor()
{
for i in `cat README1.md`;
do
help=$(man $i | grep -i -A1 NAME | head -2 | tail -1 | awk '{$1=$2="";print $0}')
printf "%-10s \t \t | %s \n" "$i" "$help" >> new.txt
done
}
command_descriptor
|
3a96009de18f2e35482cf6552aeccebc0c2a5b3f | 58 | #!/bin/bash
pushd $OPENSHIFT_REPO_DIR
npm run deploy
popd
|
0909123866d2072774c82a10dfcf0cb543e1a700 | 78 | echo '[.zshrc was loaded!]'
cd ${HOME}
[ -e .zshrc_mac ] && source .zshrc_mac
|
289a492b4f1858953c7775ffccabb7e948737135 | 181 | #!/usr/bin/env bash
docker run -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=th1sIsStr()ng' -e 'MSSQL_PID=Express' -p 1433:1433 -v sqlvolume:/var/opt/mssql microsoft/mssql-server-linux:latest |
d8ad9cec7daada81e9872edb5a7bd56677c3a485 | 541 | #!/bin/bash -e
mirror="http://snapshot.debian.org/archive/debian/20151101T042306Z"
package_name="libsdl1.2"
debian_pkg_name="${package_name}"
package_version="1.2.15"
package_source="${debian_pkg_name}_${package_version}.orig.tar.gz"
src_dir="SDL-${package_version}"
git_repo=""
git_sha=""
reprepro_dir="libs/${packag... |
3767cbb1048eee27e57abe413c2a7efe6de5433b | 863 | #!/bin/bash -e
__DIR__="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
if [ -z "$ANDROID_NDK_HOME" ]; then
>&2 echo "ANDROID_NDK_HOME not set"
exit 2
fi
if [ -z "$1" ]; then
exit 2
fi
abi=$1
mkdir -p $__DIR__/build/td/$abi
cd $__DIR__/build/td/$abi
OPENSSL_ROOT_DIR="$__DIR__/openssl"
OPENSSL_CRYP... |
5ac6ccf10340bb0f9507152bd5ce3982f6115229 | 1,844 | #!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
# Start a D-Bus session
# source /etc/X11/xinit/xinitrc.d/30-dbus
# Xmonad Related Commands and Variabl... |
9399195dbf887ee663eb2580825d6d8c51d985cd | 735 | {% extends "core" %}
{% block header %}
<br />
<div id="logo"><img src="http://e.quinox.org/include/image/equinox_small.jpg" border="0" /></div>
{% endblock %}
{% block totalcontent %}
<form action="index.php" method="POST">
<table width ="100%">
<tr>
<td width="50%" style="text-align: right;">Username</t... |
f88356f1ec6bd6067a725bb279689d22d5c5fc6a | 874 | #!/bin/bash
kate ./test/test-atnbacktrack.atn ./test/test-np.atn ./test/test-quantities.atn ./test/test-numbers.atn test/freeling* ./atnSaless.atn ./input.txt &
bin/ATN ./test/test-atnbacktrack.atn -parse test/freeling-backtrack.txt
printf "\n\n\n"
read -n1 -r -p "Press a key to continue..." key
printf "\n\n\n"
bin/... |
65dcf586e3ac77424c8bcf17cfc040029c725877 | 607 | #!/bin/bash
###
# author :leekaka
###
echo "拉取源码中..."
git clone https://bitbucket.org/aquariusjay/deeplab-public-ver2.git
echo "源码拉取成功,开始创建文件夹"
mkdir -p ./exper/voc12/config/deeplab_largeFOV
mkdir -p ./exper/voc12/features/labels
mkdir -p ./exper/voc12/features2/labels
mkdir -p ./exper/voc12/list
mkdir -p ./exper/v... |
6ce2007d8ad0d4888345226cda06986efd6a0c63 | 4,279 | #!/bin/bash
# shellcheck disable=SC1090,SC2207
#
# This script is designed to make it easy to capture useful
# information about attached EBS volumes and save that
# information to the volumes' tag-sets
#
#################################################################
PVS=/sbin/pvs
INSTANCEMETADOC="http://169.254.... |
17ceebc8ff24ea3a93c929d5d609847211d1a3e3 | 7,037 | #!/bin/bash
################################################################################
## FILE HELPERS ################################################################
################################################################################
# detailed file list
alias ll='ls -lah'
# show details of a fi... |
740acf0ce48cf316a5b2d8c891a24b3ea20b357b | 567 | #!/bin/bash
printf "\ntok.sh [old_day] [old_night] [new_day] [new_night]\n\n"
day_tarif=0.14184
night_tarif=0.05442
other_plus=0.05398
day_kwh=$(($3-$1))
night_kwh=$(($4-$2))
printf "Day kWh:\t$day_kwh\nNight kWh:\t$night_kwh\n "
day_pr=`echo "$day_kwh * ($day_tarif + $other_plus) * 1.2" | bc -l`
night_pr=`echo... |
2bbbb2e3c979710224d617951de3f8e523c087a7 | 1,536 | #!/bin/zsh
set -e
typeset -A files
THIS_DIR=$HOME/.vim/dotfiles
files=( bashrc $HOME/.bashrc \
clang-format $HOME/.clang-format \
gitconfig $HOME/.gitconfig \
gvimrc $HOME/.gvimrc \
screenrc $HOME/.screenrc \
tmux.conf $HOME/.tmux... |
b47785672a599fed2abbd0eb0bb4c3240d34e044 | 722 | # Maintainer: TDY <tdy@gmx.com>
# Contributor: Christoph Zeiler <rabyte__gmail>
# Contributor: Judd <jvinet@zeroflux.org>
pkgname=bzip2-tools
pkgver=1.0.5
pkgrel=1
pkgdesc="Supplementary wrappers for bzip2 (bzdiff, bzgrep, and bzmore)"
arch=('i686' 'x86_64')
license=('custom')
url="http://sources.redhat.com/bzip2/"
d... |
78bcc6be205015969c12c6bf6679028c76d1a433 | 167 | #!/usr/bin/env bash
username=$USER
cd "$HOME/.wine64/drive_c/Program Files/Naruto To Boruto"
sudo nice -n -15 su -c "WINEPREFIX=~/.wine64 wine LAUNCHER.exe" $username
|
0d2b54ea4b345759b5f99fd3cfb4315d2a3a2d22 | 128 | # NOTE: Copy this file to `.env` and fill in the desired values.
# COMMON
ETHERSCAN_API_KEY=
# MAINNET
ETHEREUM_NODE_MAINNET=
|
9e2165c7e14378a4e2d472faa304e656477574df | 438 | ## WIP: do not use
ARGS=$(getopt -o "p" -l "push:" -n $0 -- "$@")
if [ $? -ne 0 ] ; then
exit 1;
fi
SHOULD_PUSH=false
# TODO: better initial value?
opt=
while [ "$opt" != "-1" ] ; do
opt=$1
case opt in
-h|--help)
# TODO: print usage
echo Help
exit
;;
-p|--push)
SHOULD_PUSH=true
;;
--) br... |
174ee2772149f5aae70e7e36464cadcaa57869bb | 427 |
export EDITOR=vim
# Git Aliases
alias gs="git status"
alias gd="git diff --patience --ignore-space-change"
alias gcb="git checkout -b"
alias gb="git branch"
alias ga="git add"
alias gh="git hist"
alias be="bundle exec"
alias gm="git checkout master"
alias gcm="git commit -m"
# Random Aliases
alias notes="vim ~/Deskt... |
a63ca8988401b35c68ed3bf453e89161d8e1968f | 1,148 | # Contributor: Patrick Hanckmann <hanckmann at gmail.com>
# Maintainer: Patrick Hanckmann <hanckmann at gmail.com>
pkgname=zyre-git
pkgver=1.0.0
pkgrel=2
pkgdesc="Zyre - an open-source framework for proximity-based peer-to-peer applications (ZeroMQ)"
arch=(i686 x86_64)
url="https://github.com/zeromq/zyre"
license=('LGP... |
acbd3c72b336538d1cea37113d83b1b790ee855a | 965 | #!/bin/bash
#ython run.py [options] #options:
#-h, --help : this help message
#-t, --threads= : number of swap threads (1..59)
#-s, --swaps= : total number of swaps (< 1000)
#-r, --runs= : number of repetitions (< 100)
#-i, --isol= : isolation level ('UR', 'CS', 'RS','RR')
#-o, --output= : pat... |
84fc0fd0529d1d7acc4f99352fc458b8b5d59f68 | 933 | #!/bin/bash
#restaurar la bd en una nueva
echo Poblando la base de datos... Si se le solicita la contraseña del usuario postgres, ingresela
su postgres -c "psql -q WPMDB_prod < wpmdb.sql"
#crear directorio para descargar del git
echo Descargando proyecto de github
mkdir source
cd source
git clone https://github.com... |
6f1722f45c0ef9f29b04e2cd4f73a7d2abee13c5 | 13,806 | . ./cmd.sh
. ./path.sh
bnf_dim=1024
affix=
nj=20
train_stage=-10 #originally -10
srand=0
get_egs_stage=-10
decode_stage=-10
num_jobs_initial=2
num_jobs_final=8
proportional_shrink=10
#for egs
left_context=30
right_context=22
modelDirectories=/home/abhinav/kaldi/accents/exp
bnfNnetModelDir=/exp/abhinav/accent_re... |
e625034bd82e13422e3d5fbee8b53faf016f34ce | 24 | #!/bin/bash
history -c
|
49999611b8b29354516b6371da6944c1ca2d24d7 | 698 | #!/bin/bash
#Script para prover Tomcat como servico (SysVinit)
CATALINA_HOME=/opt/apache-tomcat-7.0.39
TOMCAT_DAEMON=bin/startup.sh
TOMCAT_STOP=bin/shutdown.sh
get_pid(){
ps ax | grep tomcat-7.0.39 | grep -v grep | awk '{print $1}'
}
start(){
if [ -z $PID ] ; then
$CATALINA_HOME/$TOMCAT_DAEMON
else
echo "Tom... |
862b543bde03d635c68d1eb0752abd2c203adbb3 | 698 | # Maintainer: Hatem Masmoudi <hatem.masmoudi@gmail.com>
pkgname=notification-daemon
pkgver=3.20.0
pkgrel=6
pkgdesc="The Notification Daemon package contains a daemon that displays passive pop-up notifications."
arch=('x86_64')
url="http://ftp.gnome.org/pub/gnome/sources/notification-daemon/3.20"
license=('GPL')
groups... |
93d017c1ad11f43fc94a163a9036d80d463d09fa | 194 | #!/bin/bash
#https://askubuntu.com/questions/1080077/how-to-install-and-run-cpusim-4-0-11-on-ubuntu-18-04-lts
java -cp .:richtextfx-fat-0.6.10.jar:reactfx-2.0-MR4.jar -jar CPUSim-4.0.11.jar
|
35480d36f7ca729daa6f24438a259553b1f332e4 | 182 | NODE_ENV=development
PORT=5000
DATABASE_URL=postgres://xuanhai:@localhost:5432/hoctienganh0dong_development
DB_LOGGING=false
PROTOCOL=http
FRONTEND_HOST=localhost
API_KEY=1234567890@ |
e73d0459d7271d9175004eed1ebf0df43dda2067 | 450 | FLASK_APP=./web-application/main.py
FLASK_ENV=development
FLASK_DEBUG=1
MAX_CONTENT_LENGTH=1024*1024*1024
SQLALCHEMY_DATABASE_URI=mysql+mysqlconnector://jonny:h3lloW0rld@localhost/app_database
SQLALCHEMY_TRACK_MODIFICATIONS=False
SECRET_KEY=abcsdkfpskjgp24g
SECURITY_PASSWORD_SALT=i2u89u2498u
SECURITY_PASSWORD_HASH=sha5... |
e69bca25ea99e3a8ab2e29815d01a9e720a8653e | 220 | #!/bin/bash -x
read -p "Enter the number :" n
for(( count=2 ; count<=$n ; count++ ))
do
test=$(( $n % $count ))
if [ $test -eq 0 ]
then
echo "$n is not a prime number "
else
echo "$n is a prime number "
fi
break
done
|
94b1c89576d4504af4bddaf801f172e3f582ea58 | 207 | #!/bin/bash
PDIR=../../../out
CUR=`pwd`
DIR=`basename $CUR`
WDIR=$PDIR/$DIR
DDIR=Current_Results
cp $DDIR/Qs*devc.csv $WDIR
cp $DDIR/Qs*line.csv $WDIR
cp $DDIR/Qs*hrr.csv $WDIR
cp $DDIR/*git.txt $WDIR
|
8bed696a75e48b346da03ce041bca4da553f960f | 553 | #!/bin/bash
## PSF
# {{{ Locations
# Backup Cache Location
backupLoc=/run/media/$USER/External\ Backup/Other\ Backups/Pacman\ Cache/
echo $backupLoc
# Cache Folder
cacheLoc=/var/cache/pacman/pkg/
#}}}
# {{{ Startup & Conditions
# Do nothing if no drive is found
if [ ! -d "${backupLoc}" ]; then
echo "Drive no... |
417c3ff08821d8d0d5eefd895dce7f6a8e4bd3df | 2,191 | #!/bin/sh
#This script is created by ssparser automatically. The parser first created by MaoShouyan
printf "Content-type: text/html;charset=gb2312
Cache-Control: no-cache
"
echo -n "";
. ../common/common.sh
myself="/cgi-bin/Route/`basename $0`"
IPE_PPPOEPLAN=${PGBIN}/ipe_pppoeplan
MOD_TAB_LIST="基本配置#${myself} 计划列表#/... |
b083cfa2629a3decba05ead0d0c5bd2149811df9 | 54 | #!/usr/bin/bash
yum install bind
systemctl start bind
|
b1de9a225214313f1d863b7c9880a9e0e0f93abf | 2,951 | #
# Copyright IBM Corp All Rights Reserved
#
# SPDX-License-Identifier: Apache-2.0
#
# This is a collection of bash functions used by different scripts
#NWPATH="$1"
#P_ADD="$1"
export NW_NAME="$3"
export CORE_PEER_TLS_ENABLED=true
export ORDERER_CA=$NW_PATH/ordererOrganizations/${NW_NAME}.com/orderers/orderer.${NW_NA... |
fb6efe6f96eaa353c648f6ea1b1ad0108f2292a1 | 788 | #!/bin/bash
# This script demonstrates testing to see if 2 strings are the same
# TASK 1: Improve it by asking the user for a password guess instead of using inline literal data
# TASK 2: Improve it by rewriting it to use the if command
# TASK 3: Improve it by giving them 3 tries to get it right before failing (test 3... |
f7460b8e00aa614605de513014ff4b87d62fb6e2 | 363 | #!/bin/bash
# Actualiza el README con los archivos que tenga el proyecto, para facilitar su acceso.
REPO_URL="`git remote -v | grep fetch | tr "\t" ' ' | tr -s ' ' | cut -d ' ' -f 2 | sed 's/\.git$//'`/blob/master"
echo -e "# Tesina\n\nArchivos:\n" > README.md
for file in `find * -type f -name '*.md'`; do
echo "* [... |
0f428d3be9bb2328c52f4fbe59fe614241a2e6ef | 236 | #!/bin/bash
export ONE_API_ROOT=/home/zhouhaiy/tool_chain/oneapi/beta01/inteloneapi
export DPC_CPP_ROOT=${ONE_API_ROOT}/compiler/latest/linux
export LD_LIBRARY_PATH=${DPC_CPP_ROOT}/compiler/lib/intel64_lin:${LD_LIBRARY_PATH}
make -j4
|
cfc7786bc05ae6ecb0a263ba000824867a7602b1 | 67 | #!/bin/bash
echo ===== onstart.sh
echo ===== PID: $PERF_TARGET_PID
|
5c48fd450a34b445acc8e08ae94e6c67e864d523 | 498 | #!/bin/sh
# Check that all files have trailing spaces stripped
OutTrailingSpaceListFile='output/knockout-files-to-clean.txt'
cd ..
grep -nrI '[ ]$' `find * | grep -E "\.(js|html|css|bat|ps1)$"` | grep -v "^build/output/" > build/$OutTrailingSpaceListFile
cd build
if [ -s $OutTrailingSpaceListFile ]
then
echo "The fo... |
ae053de12a9319cc4c5a1ed1173c893a45d3c92d | 286 | #!/usr/bin/env bash
cat <<.
setzer 0.1.1
Copyright (C) 2017 Mariano Conti <nanexcool@gmail.com
License: GNU GPL version 3 or later <https://gnu.org/licenses/gpl>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
. |
6f46dbcfb3b7a870bd3f9202198bca8ecbc5747f | 644 | #!/bin/bash
if [ ! -d "$1" ]; then
red "Working dir is missing";
exit -1; fi
workingdir="`cygpath -a $1`";
tmp=`mktemp -d`;
if [ ! -d $tmp ]; then
mkdir $tmp; fi
for alltarfile in `ls $workingdir/*-all.tar.gz`; do
if [ `expr match "\`basename $alltarfile\`" "clean-.*"` -ne 0 ]; then
red "SKI... |
bd50ff68cb9ca87732880a202c202e2827476b72 | 308 | ACCESS_TOKEN_SECRET=7ff494d76103b4a67229c85c066d7644279f4adbc5a8eb508618f28d6f4c593d13b2140c834dcca9cc7f79d790a673c0e889c4d6b9c4ba0c4a0d94427def4e45
REFRESH_TOKEN_SECRET=726655e2efc9cb2feb424d8c03a4b6f88b9e6fb5bdde22387ade511feef186fd82827c35d68f8cf7a88a43666e14ef5ab11da08febc41d1c249cf80050a346a6
PORT=3000 |
c7ae3bfa101cca58315a974de296400a04a7e116 | 328 | #!/bin/sh
# Copyright (c) 2019-2023 CIYAM Developers
#
# Distributed under the MIT/X11 software license, please refer to the file license.txt
# in the root project directory or http://www.opensource.org/licenses/mit-license.php.
git ls-files | xargs -l sha256sum > ~src_hash
cat ~src_hash | sha256sum | tr -d " -"
rm ~s... |
da49bb471a46e4374d68453e84002de678a29cb2 | 554 | NODE_ENV=dev
MAIN_PORT=8080
SQL_HOST=localhost
SQL_USER=root
SQL_PASSWORD=leotaxi
SQL_DATABASE=taxi
REDIS_PORT=6379
REDIS_HOST=localhost
REDIS_PASSWORD=
GOOGLE_MAPS_API_KEY=AIzaSyChpUAP9GZnlZZePGYqnZxNgU3n6TDB9vc
STRIPE_SECRET_KEY=
PAYMENT_CURRENCY=usd
JWT_SECRET=abcde
MAX_DRIVERS_SEND_REQUEST=10
MAX_DISTANCE_TO_SEND_R... |
b7a57cb9d1d7137812d0cc9f773d5a6fcfc7470d | 1,217 | #!/bin/sh
. legit-setup.sh
orig_head=`git symbolic-ref -q --short HEAD`
stashed=0
# Check that the current branch exists - so we can check if it has
# unstashed changed
if git show-ref --quiet refs/heads/$orig_head; then
# Check if we need to stash some changes
if git diff-index --quiet HEAD --; then
... |
cf5855f85a3ae63caad9a085768ec1877de69cf8 | 225 | echo "switching menu to Turkish"
rm /etc/openpanel.xml
cp /etc/LANG/TU/openpanel.xml /etc/
rm /etc/panel/openpanel.xml
cp /etc/LANG/TU/openpanel.xml /etc/panel/
rm /etc/panel/lite.xml
cp /etc/LANG/TU/lite.xml /etc/panel/
exit |
6032b86d6a29492b86c2acbc903f2841368a48b0 | 1,256 | #!/bin/bash
if [[ ! $(dpkg -l irssi 2> /dev/null | grep '^ii') ]]; then
echo "Installing irssi..."
supo apt-get -y update
sudo apt-get -y install irssi &> /dev/null
sudo apt-get -y clean
fi
if [[ $1 == "-n" && $2 ]]; then
nickname=$2
elif [[ $1 == "-n" ]]; then
nickname="0"
elif [[ -f ... |
59d5fb156ea456c67e8be96625d2e9c2cde071ee | 904 | #!/bin/bash
set -e
set -u
blink="blink1-tool --quiet --brightness=128"
${blink} --off
last_color="off"
errors=0
while true; do
# Try to ping, count errors
ping -c 1 www.google.com -D -W 5 > /dev/null 2>&1 \
|| errors=$(( ${errors} + 2 ))
# Decay errors over time if we're good
errors=$(( ${e... |
5deb096df630cea6915babdffb2bed55ff957555 | 165 | #!/bin/bash
if [ ! -f "$XDG_CONFIG_HOME/xfce4/terminal/terminalrc" ]; then
ln -s "$dotfiles_dir/xfce4-terminal/terminalrc" "$XDG_CONFIG_HOME/xfce4/terminal/"
fi
|
e7d9e96f7250a4a12015bbf2ab68a2d69775c30d | 106 | #set_data_root.sh CONFIG_DIR DATA_ROOT_PATH
sed -ri "s|(data_root *= *).*|\1$2|" $(grep -lr data_root $1)
|
37c0d332de8a8f7233684648c2e7c7155fe06ae6 | 159 | for((i=1;i<=5;i++)) ### Outer for loop ###
do
for((j=1;j<=5;j++)) ### Inner for loop ###
do
echo -n "$i"
done
echo "" #### print the new line ####
done
|
1297b7922f7833741900c158b8ff0a3613777f69 | 475 | #!/usr/bin/bash
if ! type "git" > /dev/null; then
pacman -Sy --needed git
fi
if [[ ! -d ~/dotfiles ]]; then
git clone git@github.com:zapling/dotfiles.git ~/dotfiles
fi
echo "You are about to run a bunch of scripts, are you sure?"
read -p "Press any key to continue" -n 1
for setup_step in ~/dotfiles/setup/st... |
c6d0cc2babfdc9fbf928f49cdfef9cdc6c9c821f | 198 | #!/bin/bash
find . -type d -name '__pycache__' | sed 's#^\./##' | while read d; do echo $d; rm -rf $d; done
find . -type f -name '*.pyc' | sed 's#^\./##' | while read f; do echo $f; rm -f $f; done
|
035a9f235414fa80229c606c97a0f33de4fbd84a | 56 | export PATH=$HOME/.nvm/versions/node/v12.18.3/bin:$PATH
|
bbee44d7867f585142e68382ffefc11f871f904a | 331 | #!/usr/bin/env bash
# Install HACS
wget -q -O - https://hacs.xyz/install | bash - && \
# Move the third-party components into place.
mkdir -p /config/custom_components
cp -R /maison/hass/config/custom_components/* /config/custom_components/
# Invoke the Docker image's original command.
python -m homeassistant --conf... |
b4b977b582b360153a56c528bb2480b4c980b7ca | 992 | INCLUDES="-I/home/dalmir/Dropbox/Microcontrollers/picnix/ \
-I/home/dalmir/storage/github/pic/sdcc/driver/graphic/lcd/ \
-I/home/dalmir/storage/github/pic/sdcc/library/graphic/lcd/ \
-I/home/dalmir/storage/github/pic/sdcc/driver/graphic/glcd/ \
-I/home/dalmir/storage/github/pic/s... |
06a3acc4e2964a3ac6890561316fb445c26d8226 | 226 | #!/usr/bin/env bash
case $BLOCK_BUTTON in
4)
~/src/scripts/brightness.sh up
;;
5)
~/src/scripts/brightness.sh down
;;
esac
echo "$(xbacklight -get | awk '{print int(($0/5)+0.5)*5}')%"
|
86e1f0f44b810ab23895379c754e56445396146e | 26 | #!/bin/sh
rm -f _* gmon*
|
a43327ffeb66ddab79e045c5d953d790e34b763a | 82 | #!/bin/bash
# Pacotes utilizados pela o curso de: ${curso}
apt install ${pacotes}
|
fbf78532fa26e1f8c4e918ecd82ada914d252c6c | 1,518 | #!/usr/bin/env bash
# default value stage
folder= #f
noupload= #n
worknode=ibmvm1 #w
user=dachuan #u
# definition, parsing, interrogation stages
while getopts ":f:w:u:n" o; do
case $o in
f)
folder=$OPTARG
;;
w)
worknode=$OPTARG
;;
u)
user=$OPTARG
;;
n)
nou... |
13df5bf289b35b74c485c7803cbd73199973ebd2 | 512 | #!/bin/bash
cp .travis.settings.xml $HOME/.m2/settings.xml
mvn clean test -q
if [[ $TRAVIS_PULL_REQUEST == "false" || $TRAVIS_PULL_REQUEST_SLUG == $TRAVIS_REPO_SLUG ]]; then
echo "start sonarcloud scan"
mvn org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar -Dsonar.projectKey=sunxuia_website-uti... |
0cd4a068db6b6ab86660af05378a3de4cf1588fb | 1,928 | #!/usr/bin/env bash
# Sync the site's local development copy with production one
# Author Name: Andrey Andreev aka andyceo
# Author Email: andyceo@yandex.ru
# Author Homepage: http://andyceo.ruware.com
# ENGLISH NOTE: under development. Note that comments in this file
# and output messages in russian language genera... |
8ab07cbf4c86966407d54aef13f2e36bdbd6c104 | 200 | Rapidly invoke an editor to write a long, complex, or tricky command
Find any Unix / Linux command
Terminal based browser
`else` statements using the `||` operator
The Basics of Environment Variables |
de7311bcc8d6d684806ddf62bc3f0bedce5a0641 | 164 | #!/usr/bin/env bash
VERSION=5.6.2
wget https://artifacts.elastic.co/downloads/logstash/logstash-${VERSION}.tar.gz
tar -xzf logstash*.tar.gz
rm logstash*.tar.gz* |
baef31dff7c9f51510223ef22b72eb6f5c715844 | 259 | # if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
# vim: ft=sh ts=4 sw=4 sts=4 et fdm=marker fdl=0:
source /home/msaud/.config/broot/launcher/bash/br
|
1c504e891752791c73186b90dcb893a5097f1116 | 247 | #!/bin/bash
path=$(dirname $0)
path=${path/\./$(pwd)}
cmake_file_path=${path}/
output_path=${path}/cmake/
mkdir -p ${output_path}
cd ${output_path}
cmake -G Xcode -DCMAKE_TOOLCHAIN_FILE=${cmake_file_path}/iOS.cmake ${cmake_file_path}
cd ${path}
|
cb49894dfea3e4fcc8e57c20362c1791b3cef5bf | 91 | cd /netshare1/home1/people/hansun/Project/snpMSMS/Tandem
tandem.exe inputxml/LM3-2-16.xml
|
c594cd77aca37555b9b73d99927037a675e0d55e | 2,041 | #!/usr/bin/env bash
#
# Ystia Forge
# Copyright (C) 2018 Bull S. A. S. - Bull, Rue Jean Jaures, B.P.68, 78340, Les Clayes-sous-Bois, France.
# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
#
source ${utils_scripts}/utils.sh
log begin
lock "$(basename $0)"
[ -z ${LOGST... |
951bc114f6416b517e4b53d5fe9f6752191e3475 | 158 | #!/bin/bash -xe
source "$(dirname "${BASH_SOURCE[0]}")/common.sh"
CREDO_ARGS="$@"
$DOCKER_COMPOSE run --rm -T $(power_dnsex_env) web mix credo $CREDO_ARGS
|
f5668139b57a735588d9ac18a05b5f2d7716c290 | 2,532 | #!/bin/bash
NYC_RAW_DIR="../data/raw"
NYC_INTREIM_DIR="../data/intreim"
NYC_PROCESSED_DIR="../data/processed"
CONFIG_FILE="../config/data_sources.json"
#CONTEXTUAL_DATA_FNAMES=( "MapPluto" "NYC_tracts" "CENSUS_ACS_2015" "DOB_complaints" "DOB_violations" "DOB_ecb_violations" "NYC_311_complaints" )
CONTEXTUAL_DATA_FNAM... |
8d6da61e9a4598b3693d69b5ddb1b7c2c994b8b7 | 103 | MAPBOX_KEY: Here goes the api key from mapbox
OPENWEATHER_KEY: Here goes the api key from OPENWEATHER |
0cb813f21366f377bbf5aee28baa07d1847849e4 | 313 | #! /bin/bash
DIR="results"
GPUID="0"
TYPE="vanilla"
DATASET="mnist"
SIZE="71"
mkdir -p "${DIR}"
for layers in 2 5 10 20 50 100
do
th main.lua -gpuid "${GPUID}" -cudnn 1 -json "${DIR}/${TYPE}-${DATASET}-${layers}.json" -type "${TYPE}" -set "${DATASET}" -layers "${layers}" -size "${SIZE}" -max_epochs 400
done
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.