blob_id
stringlengths
40
40
length_bytes
int64
7
488k
source
stringlengths
7
488k
204c0081e7d270425bd459deb37f9026e8070a13
200
#!/bin/sh case $BLOCK_BUTTON in 1) notify-send -u normal "$(/bin/yay -Qu)" ;; 2) "$TERMINAL" -e "$EDITOR" "$0" ;; esac echo " $(/bin/yay -Qu | grep -Fcv "[ignored]")" # vim: set syntax=shell
8c2201fc23cdb0f4a087c479084cc162f0799a98
252
#!/bin/bash while true; do sleep 2 if [ $(shuf -i1-10 -n1) -gt 5 ] then # >&1 permet d'envoyer vers stdout echo "INFO - ca se passe bien" >&1 else # >&1 permet d'envoyer vers stderr echo "ERROR - ca se passe mal" >&2 fi done
23c741d5b30cd9916e7d95a3fb7bb599f265f04f
510
#!/bin/bash -x for ((var=0; var<=10; var++)) do randomNumbers[var]=$(($((RANDOM%900))+100)) done echo ${randomNumbers[@]} max=0 secondmax=0 min=1000 secondmin=1000 for i in ${randomNumbers[@]} do if [ $i -gt $max ] then secondmax=$max max=$i fi if [[ $max -gt $i && $i -gt $secondmax ]] then secondmax=$i fi if [ $i -lt...
4b0726c9a9fac00cf91a07cd6adb9b4e0b4147be
592
pkgname=ruby-ronin-asm _gemname=ronin-asm pkgver=0.2.0 pkgrel=0 pkgdesc="A Ruby DSL for crafting Assembly programs and Shellcode." arch=('any') license=('GPL3') depends=('ruby' 'ruby-data_paths' 'yasm' 'ruby-yasm') url='http://ronin-ruby.github.io/' source=("http://rubygems.org/downloads/ronin-asm-$pkgver.gem") md5sums...
445b2bda41aec7637faa2da7ea714805ea3c36f9
1,632
source ~/.bashrc_liqianma # img_path=/esat/dragon/liqianma/datasets/Pose/KUL/liqian_outdoor_horizontal_01/images/frame_000001.jpg # data_root=/esat/dragon/liqianma/datasets/Pose/KUL/youtube_multi # data_root=/esat/dragon/liqianma/datasets/Pose/KUL/liqian_outdoor_horizontal_01_fps6_mask # data_root=/esat/dragon/liqianm...
af5ac04a7a105f142cd4829e0a25862e9da2c5df
845
sudo apt install htop -y sudo apt install ssh -y sudo apt install gparted -y sudo apt install net-tools -y sudo apt remove sunpinyin-data --purge -y sudo apt remove fcitx-table-wubi --purge -y sudo apt remove sunpinyin-data --purge -y sudo apt remove libsunpinyin3v5:amd64 --purge -y sudo apt remove fcitx-pinyin --pur...
e7b596a54c9111496106c6bfb1890735bf3c54ae
1,732
#!/bin/bash # This script sends an email alert when the load average exceeds 70% of the # number of cores. It also logs the load average to statshub. # # This script is based upon the one here - # https://www.digitalocean.com/community/questions/email-notifications-for-server-resources # # See also http://stackoverfl...
32357d311857fe670b67f5f849de06b07f0f7264
123
#!/bin/sh SAMPLES=/usr/share/sayhours HOURS=$(date +'%H') FILE=$(ls $SAMPLES/$HOURS/* | sort -R | head -1) play -q "$FILE"
85b10782a696a30e43a688f65afee5c78da5b9df
246
#!/bin/bash for webservmethod in GET POST PUT TRACE CONNECT OPTIONS PROPFIND HEAD MOVE COPY PROPPATCH MKCOL LOCK UNLOCK SEARCH; do printf "$webservmethod " ; printf "$webservmethod / HTTP/1.1\nHost: $1\n\n" | nc $1 80 | grep "HTTP/1.1" done
883520cd4fc88427fed71b139de6a6f2aa48c01f
90
<<<<<<< HEAD 11echo "6" ======= echo "1" >>>>>>> bec436267841ce408668803d3bfaf457e71fa56c
95bb69e2c9ee2ec118dbc780c341259372b05fd5
201
#!/bin/bash #Usage ./aes-decrypt.sh filename echo "You are encrypting file: " $1 "." echo "Write file output name: " read name echo "Type strong password!" openssl enc -aes-256-cbc -in $1 -out $name
275edf032d31d15947f717fbbab5b19aedfd8109
3,236
SOURCE_BRANCH="source" REPO="https://github.com/flickr-downloadr/flickr-downloadr.github.io.git" SOURCEREPO="https://github.com/flickr-downloadr/flickr-downloadr-gtk.git" CIENGINE="appveyor" if [[ $GITHUB_WORKFLOW = 'ci cd' ]] then echo "The GITHUB_COMMIT_MESSAGE variable has a value of - ${GITHUB_COMMIT_MESSAGE}" ...
89447705001693953cc5b651cf4d86881ec5666a
2,787
#!/bin/bash # Copyright lowRISC contributors. # Licensed under the Apache License, Version 2.0, see LICENSE for details. # SPDX-License-Identifier: Apache-2.0 ## generate-gcc-meson-cross-file.sh # # This generates a cross file to configure meson for cross-compiling with clang. # # Docs: https://mesonbuild.com/Cross-co...
8d48e2cb2c7e531b8a90a7d1aed87a5e476cd08f
191
#!/bin/bash sleep 1 killall xdg-desktop-portal-hyprland killall xdg-desktop-portal-wlr killall xdg-desktop-portal /usr/lib/xdg-desktop-portal-hyprland & sleep 2 /usr/lib/xdg-desktop-portal &
f13e83cd6e9b26e2ebe68ef79de7a6f13c5584b6
339
clear # add Server-Script echo "*** uninstall Server-Script ***" echo " " sudo update-rc.d -f /etc/init.d/photo_cloud_start remove echo "stop autostart ...." sudo rm /etc/init.d/photo_cloud_start echo "deleate autostart script ...." sudo rm -r /home/pi/photo_cloud/ echo "deleate photo cloud foulder ...." echo "reboo...
e75f04b620d7a113084f0924687c839b70970332
141
#!/bin/sh echo "Building the system「Host」 ..." cd Host/proxy docker-compose build docker-compose up -d cd ../cpu go build ./cpu
6fa795f9b84e400f546f8f4aa99090ec26881f0e
145
#!/usr/bin/env bash docker build -t auth0-react-02-calling-an-api . docker run --init -p 3000:3000 -p 3001:3001 -it auth0-react-02-calling-an-api
ea9906e17b40e3fbfe5cdf169114951d9749f457
853
#!/usr/bin/env bash # -*- mode: shell-script; fill-column: 80; -*- # # Copyright (c) 2013 Joyent Inc., All rights reserved. # source $(dirname $0)/common.sh usage() { echo "Usage: $0 <server-name>" 1>&2; exit 1; } if [ "$#" -ne 1 ]; then usage fi SERVER_NAME=$1 echo "Checking to see if server is still running....
f52eb5f7d4374125104b192ce07f08f3c12de758
364
#!/bin/bash cat << CLOUD <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "https://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title> 教授的信息 <\title> <\head> <body> <table> CLOUD sed -e 's/:/<\/TD><TD>/g' -e 's/^/<tr><td>/g' -e 's/$/<\/td><\/tr>/g' cat << CLOUD </t...
d265059de7ea929d5be6e3c7e609135d08297076
31
pylint . apps scripts settings
cc157baab2d5c40f1262920b4bfc21469ff08450
429
#!/bin/bash #set -x dir=${1:-vid-tag} du -hcs "$dir" IFS=$'\n' for f in $(find "$dir" -type f -name '*.jpg'); do #echo "$f" quality=$(identify -verbose "$f" | grep Quality | cut -c 12-) if [[ $quality -gt 85 ]]; then echo "$f" #echo "$quality -gt 85" tmp="${f/%.jpg/-q85.jpg}" ...
7930ffc23befd65521f242ead0fa63854f83fbde
504
#!/usr/bin/env bash name="PUT YOUR KEY NAME HERE" # Amount to use for validating amount="100001000ualtg " gaiacli tx staking create-validator \ --amount=$amount\ --commission-rate="0.10" \ --commission-max-rate="0.20" \ --commission-max-change-rate="0.01" \ --min-self-delegation="1" \ --pubkey=$(gaiad ten...
ffa9ab7c16e98b1ce8df282a66da5f2eab6e9253
460
#!/bin/sh temperature=0 total=0 # Calculate the average temperature across all thermal zones for temp in /sys/class/thermal/thermal_zone*/temp; do temperature=$((temperature + $(cat "$temp"))) total=$((total + 1)) done temperature=$((temperature / (total * 1000))) echo "$temperature°C" echo "$temperature°C" ...
c35e9a3c623df26361c644d8d280017e88a1dc60
1,288
#!/bin/bash . lib.sh || exit ARGS=$(getopt -o '-P:b:' --long 'prefix:,branch:' -n "${0##*/}" -- "$@") || exit eval set -- "$ARGS" unset ARGS ARG_PREFIX= ARG_BRANCH= ARGS=() while (( $# )); do case "$1" in -P|--prefix) ARG_PREFIX="$2" shift 2 ;; -b|--branch) ARG_BRANCH="$2" shift 2 ;; *) ARGS+=( "$...
24c4a0d8b4eb6583d338d68a3e60b1fc8281cda7
170
#!/bin/bash docker run -v /data/node2:/var/lib/cassandra -d -e CASSANDRA_SEEDS="$(docker inspect --format='{{ .NetworkSettings.IPAddress }}' one_node)" cassandra:latest
d8db9a6a53234d732a09319d567ac7187e6d86d3
152
NODE_ENV=development PORT=3000 APP_URL="http://localhost:3000" BASE_PATH="/api/v1" DB_HOST = 'localhost' DB_NAME = 'test' DB_USER = '' DB_PASSWORD = ''
694c99b03c699fd4083bb02079235093cb4774a5
1,200
#!/bin/sh BITCOIN_ROOT=/mnt/bitd # Pick some path to install BDB to, here we create a directory within the bitcoin directory BDB_PREFIX="${BITCOIN_ROOT}/db4" mkdir -p $BDB_PREFIX # Fetch the source and verify that it is not tampered with wget 'http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz' echo '12edc0df...
f1c6e274d58214d7f0a699fc71906993665df002
3,442
#!/bin/bash # This script generates the figures for lesson 18 make -C ../.. bin/HalideTraceViz rm -rf tmp mkdir -p tmp # Grab a trace HL_JIT_TARGET=host-trace_loads-trace_stores-trace_realizations \ HL_TRACE_FILE=$(pwd)/tmp/trace.bin \ make -C ../.. tutorial_lesson_18_parallel_associative_reductions ls tmp/trace.bin...
c4140117dc04f53ec2569143d99c8c8dbdc04ad2
2,470
mkdir installation mkdir installation/OpenCV-master sudo yum -y install epel-release sudo yum -y install git gcc gcc-c++ cmake3 sudo yum -y install qt5-qtbase-devel sudo yum install -y python34 python34-devel python34-pip sudo yum install -y python python-devel python-pip sudo yum -y install python-devel numpy pytho...
d0430de0f0417cf2c3e855e372f6d385a6a8e3b9
1,334
#!/bin/sh # # you might run this one from cron. it recordes from jackd # from the pors specified for the duration specified. # Then encodes to OGG. # leaving us with a 3 channel vorbis file :) # http://xiph.org/vorbis/doc/Vorbis_I_spec.html#x1-800004.3.9 # # jack ports to record PORTS0="system:capture_1" # mpd di...
f2db9be5c1bb73e3a61b289f27f973cc26e2cd0f
2,366
#!/bin/bash # CS 302, assignment #8 test script. # --------------------------------------------------------- # Initial checks. # Ensure executable file exists. # Verify availability of testing support files. if [ -z $1 ]; then echo "Error, must provide executable file name." exit fi if [ ! -e $1 ] || [ ! -x $1 ]; ...
2fe55401a79d9727cac079b0db05229e8a2a5b26
346
# bashrc loading if [ -f ~/.bashrc ]; then . ~/.bashrc; fi # editor export EDITOR=vim # refresh profile alias refresh='. ~/.bash_profile' # npm install from cache alias npmi='npm install --cache-min Infinity' # cleanup directories alias cleanup='find . -name .DS_Store -type f -delete' # projects alias projects='cd...
0551c776835e4bf93265ed21cb3f85d3ef37a486
162
#!/usr/bin/env bash source ./sh/init.sh for path in $target_path/$dev_path/$branch/$repo_path/* do pathname=$(basename $path) echo $pathname done
a7cefbe5adea7ded85a395f24f00308cd1533190
3,630
#!/bin/bash # 在 master 节点和 worker 节点都要执行 # 安装 docker # 参考文档如下 # https://docs.docker.com/install/linux/docker-ce/centos/ # https://docs.docker.com/install/linux/linux-postinstall/ # 卸载旧版本 apt-get remove -y docker \ docker-client \ docker-client-latest \ docker-ce-cli \ docker-common \ docker-latest \ docker-latest-l...
157c1f2539691d96c080bd837cda6313ac5c34c1
751
#!/bin/bash # Usage: ./add_user.sh <Domain> <User Name> <Default Password> <SSH Key Path or String in quotes> # Example: ./add_user.sh example.com john Password123 "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA879BJGYlPTLIuc9/R5MYiN4yc/YiCLcdBpSdzgK9Dt0Bkfe3rSz5cPm4wmehdE7GkVFXrBJ2YHqPLuM1yx1AUxIebpwlIl9f/aUHOts9eVnVh4NztPy0iSU...
3472e3b116f4cf4231a05e011dd776c557ae40dc
103
#PiGen #Generate all possible combinations (4 digits) - PIN #thank you for using # license @bobdinh139
92198585b522842c311a6b07c4681e3d0431da10
126
docker build -t nodecontroller . docker tag nodecontroller:latest simonh88/nodecontroller docker push simonh88/nodecontroller
708b5fadd45fb9660255a9a4a402c11c35371965
51
REACT_APP_API_URL="https://jdbackend.herokuapp.com"
3f669f3c1e7c15a3d479fdb8ef6195e168f2ce66
421
#!/usr/bin/env bash if [ -z "{{AWS_ACCESS_KEY_ID}}" ]; then echo "AWS_ACCESS_KEY_ID is empty" fi if [ -z "{{AWS_SECRET_ACCESS_KEY}}" ]; then echo "AWS_SECRET_ACCESS_KEY is empty" fi if [ -z "{{&S3_CONFIG_BUCKET}}" ]; then echo "S3_CONFIG_BUCKET is empty" fi echo '{{&S3_CONFIG_BUCKET}}' aws s3 sync {{&S3_C...
ca88f6b7b260f1eed10fe1829f85b951c8cbf911
346
echo echo " ____ _ _ _ _ ____ ____" echo " | \| | | ( \ / ) _ )/ ___)" echo " | | | | |_| |) X ( (/ /| |" echo " |_|_|_|\____(_/ \_)____)_|" echo echo "-------------------------------------------------------------...
a610701eddd122a27aa5743f0bcbbd1ea2059cdf
399
#!/bin/sh APPID=mobi.optware.openvpn # Symlink files into /opt cd $IPKG_OFFLINE_ROOT/usr/palm/applications/$APPID/opt find sbin -type d -exec mkdir -p /opt/{} \; find sbin -type f -exec ln -sf $IPKG_OFFLINE_ROOT/usr/palm/applications/$APPID/opt/{} /opt/{} \; rm -f /etc/event.d/$APPID mkdir -p /etc/event.d/ cp $IPKG_...
db9847ca6be3b80b40527b4f6d662bd142ca8bf3
308
#!/usr/bin/env bash set -e PLUGINS=$(cat plugins/windows_only.txt) for d in $PLUGINS; do if [ -d "$d" ]; then plugin="$(basename "$d").exe" echo " $plugin" CXX=x86_64-w64-mingw32-g++ CC=x86_64-w64-mingw32-gcc CGO_ENABLED=1 \ $GO build -o "${PWD}/bin/$plugin" "$@" "$REPO_PATH"/$d fi done
57b414b773b5707134d1c07740f3fa8c6dbd653e
1,269
#!/bin/sh export USER=${USER:=SYSTEM} export PASSWORD=Toor1234 export HOST=${HOST:=sports-hana.mo.lmy.corp} export PORT=${PORT:=30827} export CHECK="#0" export MAXTIME=${MAXTIME:=3600} export SLEEPTIME=${SLEEPTIME:=10} export IS_CLOUD=$(echo $HOST | grep 'hana.ondemand.com') if [ -z "$IS_CLOUD" ]; then export IS_CLO...
cf08eb5ae82e991bde88ac5aa04b13a7f94118fd
504
#!/bin/bash echo "Bash script to:" echo " - Convert cpn60 database into proper fasta format." echo "Source is http://haruspex.usask.ca/cpnDB/cpn60_a_nut" echo "Damion Dooley, Dec 19, 2014" echo "Running..." file_name=$datadir/$dirversion/future_release/$1 # All entries with >v are preliminary / not valid yet. sed --...
cd38ae49494b5236ef2390522596ea0d799469ec
210
set -ex USERNAME=treeder IMAGE=bump docker run --rm -v "$PWD":/go/src/github.com/treeder/bump -w /go/src/github.com/treeder/bump iron/go:dev sh -c 'go build -o bump' docker build -t $USERNAME/$IMAGE:latest .
1b7b5205e0b25725c4689355262f08b9821c9b1e
59
zip jt-`date +%Y%m%d`_001.zip ants.py MyBot.py logutils.py
17eeaea66f222709f2a3c784add4995401f5bdaf
426
#!/bin/bash source "/vagrant/scripts/common.sh" function installRemoteKAFKA { echo "install KAFKA from remote file" curl ${CURL_OPTS} -o /vagrant/resources/$KAFKA_ARCHIVE -O -L $KAFKA_MIRROR_DOWNLOAD tar -xzf /vagrant/resources/$KAFKA_ARCHIVE -C /usr/local } function installKAFKA { installRemoteKAFKA ln -s /us...
1e8c15aed1896d0f3f45811d781d540845392919
4,257
#!/bin/sh # vim: smartindent tabstop=4 shiftwidth=4 expandtab number colorcolumn=100 # # This file is part of the Assimilation Project. # # Author: Alan Robertson <alanr@unix.sh> # Copyright (C) 2013 - Assimilation Systems Limited # # Free support is available from the Assimilation Project community - http://assimproj....
61b53eb20d72f9b7ea6c3e12a9125fcf42209f5e
98
# Telegraf Environment Variables TG_MOSQUITTO_USERNAME=subclient TG_MOSQUITTO_PASSWORD=questitto
a1fa3c9b0ae047e5ee2c7436d33ee5a1e761e7bc
1,676
#!/bin/bash export HAB_LICENSE="accept-no-persist" if [ ! -e "/bin/hab" ]; then curl https://raw.githubusercontent.com/habitat-sh/habitat/master/components/hab/install.sh | sudo bash fi if grep "^hab:" /etc/passwd > /dev/null; then echo "Hab user exists" else useradd hab && true fi if grep "^hab:" /etc/group >...
136997b343543833ba1e9c1753df3cf59ef03e75
2,238
#!/bin/bash if [ $# != 5 ];then echo "fname,folder,size,repeat,oname" exit fi name=$1 fname=`echo $name|cut -d'.' -f1` folder=$2 size=$3 repeat=$4 oname=$5 echo $repeat,$size step=`echo | awk "{print $size-$size*$repeat}"` step=`echo $step | cut -d. -f1` echo 'step and size:'$step,$size wi=`gdalinfo ${fname}.tif|gr...
57b0b91769902b2c867214278435fd7ddf5cedfd
460
#!/bin/sh RELEASE=3.6.3 sudo apt-get update # install dependencies sudo apt-get install libbz2-dev liblzma-dev libsqlite3-dev libncurses5-dev libgdbm-dev zlib1g-dev libreadline-dev libssl-dev tk-dev # download and build Python mkdir ~/python3 cd ~/python3 wget https://www.python.org/ftp/python/$RELEASE/Python-$RELE...
736b2b71ffd8b41a9adf2f832504b498aa3f2553
4,045
#!/bin/bash #-----------------------------------------------------------------------------# # Variables #-----------------------------------------------------------------------------# CURRENT_DIR=`pwd` WORK_DIR=$1 #KERNEL_URL='https://github.com/altera-opensource/linux-socfpga.git' KERNEL_FILE_URL='ftp://ftp.kernel.o...
65ef700ae2e36281e92732ed9ab61e31d5b62a9f
83
#!/bin/bash # script teste do Hello World # 12/05/2015 clear echo "Hello World"
a03b7dd5a517b227b2c379d9056490f311ffe604
287
ip=$(ifconfig en0 | grep inet | awk '$1=="inet" {print $2}') docker run -it --privileged -v /tmp/.X11-unix:/tmp/.X11-unix --net=host \ -v $(pwd)/../../other:/home/ubuntu/other -v $(pwd)/..:/home/ubuntu/2020RobotCode -e DISPLAY=$ip:0 --user ubuntu frc900/zebros-2019-dev:latest /bin/bash
b6eb6e0f76d03cf858449557b2ac3ebb2c4d2855
5,280
#!/bin/bash # Wrapper script to launch parallel Find, file list aggregation & calculate total size from file list input # Intended to be used with Slurm, leveraging job arrays # This launcher script will submit Slurm job array for the parllel find execution, and dependencies for the aggregation and size calculation ta...
5ff13dc31f876956a6860bda030d3314c6a9bb68
140
#!/bin/bash . ../mirror.sh #inferno.bioinformatics.vt.edu::slackware rsync \ -rvz \ --delete \ $SLACK_MIRROR_URL \ $SLAK_MIRROR_DIR
188bf5361ebd67dd46e50811aca8c6b40304fab1
51
PORT=3001 API_SERVER_URL=https://api.negotium.space
b7ac16b251b5fdf8e7d2df8b5714542b131fa2b9
1,697
python ./src/method1/run_sentenceRoBERTa_filter.py --model_name_or_path=/home/niuyilin/pre-trained-models/sentence-robert-large-nli-mean-tokens/0_RoBERTa --output_dir=/home/niuyilin/pre-trained-models/sentence-robert-large-nli-mean-tokens/0_RoBERTa --num_train_epochs=4 --learning_rate=1e-5 --model_type=roberta --train_...
1b431944d1b54822c6802779effeaa41f5cca08e
18,226
# --------------- DBWEBB-VALIDATE MAIN START HERE --------------- # # External tools # #HTMLHINT="dbwebb-htmlhint" HTMLHINT="htmlhint" HTMLHINT_OPTIONS= HTMLHINT_CONFIG= CSSLINT="csslint" CSSLINT_OPTIONS="--quiet" STYLELINT="stylelint" STYLELINT_OPTIONS="" SCSSLINT="stylelint" SCSSLINT_OPTIONS="" JSHINT="jshint" E...
77f70c6aa435df2f7025e9c5b00ff3a6d29905d4
15,723
#!/bin/bash # OSX-only stuff. Abort if not OSX. [[ "$OSTYPE" == darwin* ]] || return 1 heading 'Configuring  OS X' # Ask for the administrator password upfront sudo -v # Keep-alive: update existing `sudo` time stamp until `.osx` has finished while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/...
1dd9aedb27a858be8888b5ef0f857e79ffdccc8b
989
#!/bin/bash PROJECT_ID=cdn-demo-221916 ZONE=europe-west2-c gcloud beta container --project "$PROJECT_ID" \ clusters create "standard-cluster-1" --zone "$ZONE" --username "admin" --cluster-version "1.9.7-gke.7" \ --machine-type "g1-small" --image-type "COS" --disk-type "pd-standard" \ --disk-size "100" \ --scopes ...
41087758849949b3e618d8b17ef0f90044b0b3fd
10,639
#!/bin/bash # # Begin functions # function begin() { echo echo +++++++++++++++++++++++++++ AWS DEPLOYMENT ++++++++++++++++++++++++++++++ } function end() { echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ echo exit } function create_environment() { readonly ENV_TO_CREATE=$1...
70d0162aa8b8eab9629fd5ee07f4d2760d1f9bf6
2,416
#!/bin/bash if [ ! -f /opt/virtuoso-opensource/database/virtuoso.db ]; then echo "=====================================================================" echo "virtuoso.db doesn't seem to exist. This appears to be the first run." echo "Therefore we are now going to secure the sparql endpoints" cat /secure_sparql.is...
6defbbf38f73e66f0577cd3992be7c7eb7143dde
1,340
#! /usr/bin/env bash # Update system apt-get update -y # Create a swap file fallocate -l 2G /swapfile chmod 600 /swapfile mkswap /swapfile swapon /swapfile echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab # RVM echo "Installing RVM..." gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A...
73ccdd8421a0eee6e258ce21647e595524a9f31c
68
#!/usr/bin/env bash tab --starship | sed -e 's,^tab ,,' -e 's,/,,'
7a90ea3ec149cb2b15d3ed3f17dfac8b481592e5
1,503
# Maintainer: David Runge <dvzrv@archlinux.org> pkgname=mephisto.lv2 pkgver=0.18.2 pkgrel=1 pkgdesc="A Just-in-Time FAUST compiler embedded in an LV2 plugin" arch=(x86_64) url="https://open-music-kontrollers.ch/lv2/mephisto/" license=(Artistic2.0) groups=(lv2-plugins pro-audio) depends=(glibc libglvnd libvterm libx11 ...
8a406324f18446572999ec26b53f1a08142deb20
406
#!/bin/sh HOME=$DEBUG_REAL_HOME steam steam://install/286690 echo $? > ~/install-exit-status echo '#!/bin/sh cd $DEBUG_REAL_HOME/.steam/steam/steamapps/common/Metro\ 2033\ Redux HOME=$DEBUG_REAL_HOME LIBFRAMETIME_FILE=$LOG_FILE LD_PRELOAD=$TEST_EXTENDS/libframetime/libframetime.so ./metro -benchmark benchmarks\\\\b...
e9f0e72343d6a64e172aabd4e9a3cd92548b02a0
135
#!/bin/bash echo Excuting ... scala ~/BigData/008-WordCountInScala/WordCount.scala echo Output written to ~/output/wordcount_scala.csv
2f13c9330638f46988560a67652228ba164f9c79
86
#!/usr/bin/env bash # Use Debian 8 variables. . "$BASE_DIR/tmpl/vardistrib/debian-8"
87865ae19e539f4964e23a82afb917fccc0d37c5
64
#!/bin/bash docker build -t xcncip2toolkit/core "$(dirname $0)"
9826882a5f41937db70cc30c77c7b2f962240423
222
#!/bin/sh if [ "$#" -ne "3" ]; then echo Uso: generar-datos-alumno.sh nombre_apellido legajo email exit 1 fi nombre=$1 legajo=$2 email=$3 (echo nombre:$nombre echo legajo:$legajo echo email:$email) > datos-alumno
54d6cfa326da30b324f838a9d9b08ed0ba6fdcc8
415
#!/bin/bash echo -n "Sciezka: " read path counter(){ for file in "$1"/* do if [ -d "$file" ] then echo "$file" counterhelp "$file" "$2" fi done } counterhelp(){ for file in "$1"/* do if [ -d "$file" ] then echo -n "$2" echo "$f...
95ce506c4e5e3329b6fc0f3de4c552882b204793
772
rm ising mpic++ main.cpp tools.cpp treeofdevil.cpp solver.cpp periodicfunction.cpp -o ising -lgurobi_c++ -lgurobi65 -lpthread -lm -Wall -m64 -fPIE -fexceptions -frounding-math -O2 -I/Library/gurobi605/mac64/include/ -I/usr/local/include/ -I. -L/Library/gurobi605/mac64/lib/ -L/usr/local/lib/ -lboost_regex-mt -lboost...
9a97323de4d7ead34cde22aeab3bf2694204a55c
444
sh 00_script_Mutect2.sh 20Gy_1_S01_S Liver_20Gy_1_G sh 00_script_Mutect2.sh 20Gy_1_S03_S Liver_20Gy_1_G sh 00_script_Mutect2.sh 8Gy_2_S01_S Panc_8Gy_2_G sh 00_script_Mutect2.sh 8Gy_2_S02_S Panc_8Gy_2_G sh 00_script_Mutect2.sh 2Gy_2_S03_S Liver_2Gy_2_G sh 00_script_Mutect2.sh 2Gy_2_S04_S Liver_2Gy_2_G sh 00_script_Mutec...
4e7740fab15dd9654c0da8db9c2d3e7b5bcf2835
745
#!/bin/bash #Script used to change terminator colors. CONFIG=~/.config/terminator/config DARK_FG="\"#ffffff\"" DARK_BG="\"#333333\"" LIGHT_FG="\"#000000\"" LIGHT_BG="\"#ffffff\"" CURRENT=$(grep -e "foreground_color\ =\ " $CONFIG) if [[ $CURRENT == " foreground_color = $LIGHT_FG" ]]; then sed -i.bak "s/foregr...
97a2f0e9ef7312610c37ffce82e14a99402a0806
2,697
#!/bin/bash # Editor export EDITOR="vim" # Upgraded ls alias ls='ls -GFh' alias rm='rm -i' # Setting path homebrew=/usr/local/bin:/usr/local/sbin export PATH=$homebrew:$PATH export ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future export PATH="/Users/ajallooe/settings:$PATH" #export PYTHON...
bcaa4120afa7cb0c3382292ffb7a8829a185efd5
1,005
#!/bin/bash # setup-nethunter, version 1.00 ROOT_UID=0 # $UID = 0 is usually root. E_NOTROOT=87 # Non-root exit error. # Run as root if [ "$UID" -ne "$ROOT_UID" ] then echo "You're not running this script root previliges." echo "Do sudo ./setup-nethunter.sh or su && ./setup-nethunter.sh" exit $E_NOTROOT fi # Upd...
1b486d5f1cd4929f84d5f7be35d2c04131c02c67
227
echo demo10.sh----------------- a=1.5 let "b = $a + 1.3" # 错误 # t2.sh: let: b = 1.5 + 1.3: syntax error in expression (error token is ".5 + 1.3") 意为表达式错误(错误的符号".5 + 1.3") echo "b = $b" # b=1
623c17b11bfefeda1079ba4085cb63574639fd65
258
##################### # Stop mongo deamon # ##################### echo "Stopping the mongo deamon, if running." pid=`ps -u"alex" -opid,comm | grep "mongod" | awk '{print $1}'` if [ "$pid" != "" ] then kill $pid echo "mongod pid $pid, stopped." fi
34d0ca893db75f242999a61687ea6a612acc6e06
220
#!/bin/bash while sleep 30 do if pgrep -f /home/ubuntu/ads_bot/bin/bot >/dev/null then echo 'Yaaya' >/dev/null else ruby /home/ubuntu/ads_bot/bin/bot 2>/home/ubuntu/ads_bot/bot.log &! >/dev/null fi done
d2ad2c1aa59cd19b853e20b9c5adb62cd9ec5e27
73
for file in [a-z]*.JPG do echo $file mv $file ${file%%.JPG}.jpg; done
9d63f8f2a6a2877c194d10cd66b578a02fda59dd
630
#!/bin/bash set -ex generate_docker_files() { mkdir -p $1 cat Dockerfile \ | sed s/__PY_VER__/$1/ \ > $1/Dockerfile cp get-pip.py $1/ } build_docker_images() { docker build --no-cache --force-rm --pull -t mrupgrade/deadsnakes:$1 $1/ } test_image() { docker run -it --rm mrupgrade/...
2aad13ae4d57590bb628db7812bd2a5e1d5b4131
49
curl "https://api.test.com/" -u ":some_password"
e104788b65bde6d87461be1070602711a4dfde42
553
#!/bin/sh date_t=$(date +"%Y-%m-%d-%H-%M-%S") for i in $(seq 0 2) do ipaddr=$(ifconfig usb$i | grep "inet addr" | awk '{print $2}' | awk 'BEGIN {FS=":"} {print$2}') echo $ipaddr if [ "$ipaddr" = "" ]; then continue fi date +"%Y-%m-%d %H:%M:%S" > /root/scanner/i...
adf151bec641ac6b4b2329d23e0c6650909a277b
658
# On se déplace dans annotations # remplacer <project> # cd /shared/projects/<project>/annotations/hg38 cd /shared/projects/form_2022_32/coursLinux/demo/annotations/hg38 mkdir bed; cd bed # On télécharge le fichier wget https://zenodo.org/record/5716151/files/hg38_exons.bed.gz # Le fichier compressé (finit par "...
12372270d9b1e77b45f16e689ffa7899efb6e566
41
#! /bin/sh qlmanage -p "$1" > /dev/null
310b96c9814a091f292e416a1bf24cf0d0f436f3
242
#!/usr/bin/env bash set -e export BUILD_TYPE=${BUILD_TYPE="_minimal"} CUR_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) CMAKE_OS+=" -DENABLE_LIBRARIES=0 " . $CUR_DIR/cmake.sh $* . $CUR_DIR/make.sh clickhouse-bundle . $CUR_DIR/server.sh
f34a2acc26cc5b78ad0b8f20c32ac4b13aea557f
190
#!/bin/bash declare -A fruit # 定义数组 fruit=([apple]='111' [orange]='222') # 获取数组中的值 echo "apple price = ${fruit[apple]}" # 获取数组中的key echo "${!fruit[*]}"
bf48b709220c9b3ade95eb0235a65571aa490b87
149
#!/bin/bash for i in {31..40} do nohup smoldyn-cplx vchnl_5hz.txt.8ch > test.tmp.5hz mv mol_ca_5hz.txt.8ch 5hz_8ch_trials/mol_ca_5hz.8ch.v$i done
0dc64343f89024d9a378ec296a7047607cd75e8a
212
HOST = localhost UDATABASE = root PASSWORD = root DATABASE = mydb PUERTO = 3306 REGION = us-east-2, S3_KEYC = AKIAXUASULOT3NT664EJ S3_SECRETKEY = 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 API_VERSION = 2020-10-03
54367d7ecf91f1c422b5049d6a6336c0db9c4f91
55
DB_URL=mysql://root:root@127.0.01:3306/gsd?charset=UTF8
e7a8cff1aa76a44223060843c355e559fdf13abf
1,549
#!/usr/bin/env sh . /etc/pkgmk.conf . Pkgfile OLD_VERSION='1.5.1' [ -z "$PKGMK_WORK_DIR" ] && PKGMK_WORK_DIR="$PWD/work" [ -z "$PKGMK_SOURCE_DIR" ] && PKGMK_SOURCE_DIR="$PWD" if [ -e "$PKGMK_SOURCE_DIR/wesnoth-$version.tar.bz2" ]; then echo 'You have the lateist source file.' exit 0 fi if [ -n "`pkginfo -i | egre...
d0960456a569d92db4cbeea1da6f1bdb6654f312
342
#!/bin/sh export CGO_ENABLED=${CGO_ENABLED:-1} export GOEXPERIMENT=boringcrypto if [ "${CGO_ENABLED}" != "1" ]; then echo "CGO_ENABLED=${CGO_ENABLED}, should be set to 1 for static goboring compilation" >&2 exit 1 fi set -x exec go build -ldflags "-linkmode=external -extldflags \"-static -Wl,--fatal-warnings\" ...
43afe430b4ccf6deb1c15ffa3ecf9e0b0c6c87f8
156
#!/bin/bash saludos="Bienvenido/a " user=$(whoami) dia=$(date +%A) echo "$saludos nuevamente $user" echo " Hoy es $dia" echo "ESPERO TENGAS UN GRAN DIA"
7f28a53390866cd36f15be771a630581963c6706
64
# HISTORY HISTSIZE=50000 SAVEHIST=49000 HISTFILE=~/.zsh_history
834a691366d24aa29f7e5308ba7c22d0a36703d1
489
#!/usr/bin/env bash mod.install() { ellipsis.link_files "$mod_path/common" case "$(ellipsis.platform)" in cygwin*) ellipsis.link_files "$mod_path/platform/cygwin" ;; darwin) ellipsis.link_files "$mod_path/platform/osx" ;; freebsd) ...
214cd83b255612306f467e7d6320d70b364f7d34
63
/data/data/com.termux/files/home/scripts/randomWallpaper-get.sh
abf485d9536fdff2c086c274e2c4a443c1375218
32
#! /bin/dash fork zathura "$@"
0cf562c738de725b4bb26a3cc7d94826e0b2231f
1,485
#!/bin/sh echo "Begin $0" THIS=`basename $0` THISDIR=`dirname $0`; THISDIR=`cd $THISDIR;pwd` THIS_HOSTNAME=`hostname --long` echo "Current hostname: $THIS_HOSTNAME" echo "Current folder: $THISDIR" ## load utils functions function replace_global { local pattern=$1; local replacement=$2; local file=$3; ...