blob_id stringlengths 40 40 | length_bytes int64 7 488k | source stringlengths 7 488k |
|---|---|---|
b8bc9230c4e2d10ec9478c30c33d3e16b7994d1e | 959 | #! /bin/sh
case "$1" in
start)
echo "Expanding the root partition..."
if [ -x "$(command -v psplash-write)" ]; then
/usr/bin/psplash-write "MSG RESIZING PARTITION - REBOOT"
fi
PART_START=$(parted /dev/mmcblk0 -ms unit chs p | grep ^2: | cut -f 2 -d:)
DISK_SIZE=$(parted /dev/mmcblk0 -ms unit... |
7c5b47abedec667ab1edf75bb19b1720b96bd7fd | 139 | #!/usr/bin/sh
set -e
pacman -Syu --noconfirm
[ ! -e /dev/fd ] && ln -s /proc/self/fd /dev
rm -rf /var/cache/pacman/pkg/*
rm -rf /build
|
363f636bb78e15feac4193b6915b16c4830d7890 | 37,698 | #!/bin/bash
## ?? TODO: properly enable --query file to be used as background automatically without overwriting --background ## and --nonreference
## TODO: ensure that using --background doesn't override -a when --target is used (i.e. allow bg check in both user-provided background file and VdW's renseq if -b and -a ... |
6bdb367d16a779e11780a23f02e7bce1d0c31c1d | 328 | #!/bin/sh
set -eu
sh -c "git config --global user.name 'zrrrzzt' \
&& git config --global user.email 'geir.gasodden@pythonia.no' \
&& git commit -am '$*' --allow-empty \
&& git branch my-temporary-work \
&& git checkout master \
&& git merge my-temporary-work \
&& git push -u origin... |
78ae661ac88a92954b7b9b638cc440b57b3a41fe | 42 | #! /bin/sh
echo "Voici un second script"
|
92855210753ccf6fea8a6b33fe92dec9b9318efe | 1,285 | #!/bin/sh
DEV_primary=$1
DEV_passive=$2
zero_md5=`md5sum 4K_zero|awk '{print $1}'`
first_zero=0
count=0
while true; do
rm -rf read_4K_primary
rm -rf read_4K_passive
dd if=${DEV_primary} of=read_4K_primary bs=4K count=1 skip=$count >/dev/null 2>&1
dd if=${DEV_passive} of=read_4K_passive bs=4K count=1 skip=$count... |
572ef13f192edccb0bd81bdc934044598a8be871 | 200 | DISCORD_TOKEN = ODE2MjA4MzY4MTQxMjA1NTE0.YD3nRw.AoySuFdr71qgyuj0bpV6mKP2Ncs
MONGODB_SRV = mongodb+srv://NoScope-bot:aniketh%40123@discordbot.wpaiu.mongodb.net/DiscordBotdb?retryWrites=true&w=majority |
0072642a5ae991efa126dd99cb71e1a2ea38aff8 | 3,423 | APP_NAME="beer-garden"
GROUP=$APP_NAME
USER=$APP_NAME
APP_HOME="/opt/${APP_NAME}"
PID_HOME="/var/run/${APP_NAME}"
CONFIG_HOME="$APP_HOME/conf"
LOG_HOME="$APP_HOME/log"
BIN_HOME="$APP_HOME/bin"
PLUGIN_LOG_HOME="$LOG_HOME/plugins"
PLUGIN_HOME="$APP_HOME/plugins"
BARTENDER_CONFIG="${CONFIG_HOME}/bartender-config"
BARTEN... |
7779471d54978ee4cc2c76a3a1ea39176a3e36f2 | 5,484 | #!/usr/bin/env bash
pmins=$1
mins=${pmins:=120}
rrdtool graph /var/www/images/cpu-t.png \
-t "CPU Temperatures" \
-s "end-${mins}minutes" \
-a PNG \
DEF:CPU0=/home/nicu/rrd/coreto_tf:CPU0Temp:AVERAGE \
DEF:CPU1=/home/nicu/rrd/coreto_tf:CPU1Temp:AVERAGE \
LINE2:CPU0#CC4411 \
LINE2:CPU1#1144... |
ff2ada9bc269493f568c21111f13f3883733e1d3 | 480 | #
# ~/.bashrc
#
# NOTE: .bash_profile sources this file, so everything up to
# the interactive catch runs in login shells as well.
# If not running interactively, stop here
[[ $- != *i* ]] && return
# Source drop-ins
# See ~/.bashrc.d/*
if [ -d $HOME/.bashrc.d ]; then
for i in $HOME/.bashrc.d/**/*.bash; do
... |
37d0a81e2257fe64b5d0b6c6629eabdd218b1542 | 1,828 | #!/usr/local/bin/bash
#while read lineをする対象のファイルは、最終行に空白行を入れないと、目的の最終行を読み込まない
#TARGET_FILE=`grep "AMAZON" ./tabledef/webshop11DB_create_ora_table.sql`
fileNumber=1
#while read line
#do
# echo V001_000_00${count}__$line.sql
# count=`expr ${count} + 1`
#
#done < ./tabledef/hitoketa
#while read line
#do
# touch V00... |
819eb01665c2fd3f10037b3e05f66088cc6bb85e | 426 | #!/bin/bash
baseimg=registry.cn-beijing.aliyuncs.com/songyw/stzb
image=${baseimg}:${1}
echo "image is ${image}"
if [[ "${1}" == "" || "${1}" == "0" ]]; then
echo "please input tag; ${image} ?"
else
docker build -t ${image} .
docker images | grep ${baseimg}
docker rmi ${baseimg}:latest
docker tag ${image} ${ba... |
f15adbd982f6fbe5aff5dbe3c303cce75dce9d38 | 1,097 | #!/bin/bash -ex
#
# This script updates following programs:
# drcsim
# gazebo
# hrpsys
# hrpsys_ros_bridge
# hrpsys_gazebo_atlas
# - also add sensors to dae file
#
source ~/ros/${ROS_DISTRO}/setup.sh
export ROS_PACKAGE_PATH_ORG=$ROS_PACKAGE_PATH
source /usr/share/drcsim/setup.sh
export ROS_PACKAGE_PATH=$ROS_P... |
864081c115a744007eff904077acacfe476a759c | 840 | JDK_LINUX_X64_URL="https://download.java.net/java/GA/jdk14.0.1/664493ef4a6946b186ff29eb326336a2/7/GPL/openjdk-14.0.1_linux-x64_bin.tar.gz"
JDK_LINUX_X64_SHA256="22ce248e0bd69f23028625bede9d1b3080935b68d011eaaf9e241f84d6b9c4cc"
JDK_MACOS_X64_URL="https://download.java.net/java/GA/jdk14.0.1/664493ef4a6946b186ff29eb32633... |
fc735e700b0c9adbc904393c112980a28d55d6ae | 168 | #!/bin/sh
sh mergeBoot.sh
cd ../../Impact
promgen -w -p bin -c FF -o BPM.bin -s 131072 -u 00000000 ../system_hw_platform/download.bit -bpi_dc parallel -data_width 16
|
08cacd0da6d08d103a81666009985a09e080ef5a | 160 | #!/bin/bash
set -u
# A convenience wrapper around rebase --onto
# git-graft parent child alters the commit graph so that `child` is the child of `parent`.
|
ce97fda8c8d1d263c0ed757418782ceb9ba3397e | 4,382 | #!/bin/bash
#
#BATCH --job-name=haplo_plink
#SBATCH --output=haplo_plink.txt
#
#SBATCH --ntasks=1
#SBATCH --time=60:00:00
#SBATCH --mem-per-cpu=50g
cur_chr=$1
maxmis=$2
bams_list=$3
folder=$4
module load angsd-0.913-22
module load plink-1.9.0
module load R
#Perform haplocall
angsd -b references/${bams_list} -doHapl... |
b8356d95bf8976ad22fcd9177b8c55c8ee22aa32 | 630 | #! /bin/bash
[[ $# -lt 2 ]] && echo "$0 <subdir> <files...>" && exit 1
CMD=""
if [[ ! -z "${OSS_ENDPOINT}" ]] && [[ ! -z "${OSS_ID}" ]] && [[ ! -z "${OSS_SECRET}" ]]; then
CMD="ossutil64 -e ${OSS_ENDPOINT} -i ${OSS_ID} -k ${OSS_SECRET}"
elif [[ -f $HOME/.ossutilconfig ]]; then
CMD="ossutil64"
elif [[ -f /run/... |
92d06a7d0dade5e6b32402cc66603a93f3fe4eb8 | 158 | echo “Enter any value for n:”
read n
a=`expr $n % 2`
if [ $a -eq 0 ]
then
echo Given number $n is even
else
echo Given number $n is odd
fi |
5d97dc062d5856637a17ebf011fa1f3b08566493 | 467 | #!/usr/bin/env bash
# bash create new region defined parameter files (ini)
#authors: Huang Lingcao
#email:huanglingcao@gmail.com
#add time: 20 June, 2021
# Exit immediately if a command exits with a non-zero status. E: error trace
set -eE -o functrace
for dd in $(ls -d *_1); do
echo $dd
out=${dd}.zip
if [ -f... |
0c41e0d31493fb25506bd685d8878bf26f0b4c9c | 295 | #!/bin/bash -ex
source /home/ubuntu/.virtualenvs/mpcs/bin/activate
aws s3 cp s3://mpcs-students/ramonlrodriguez/gas_web_server.zip /home/ubuntu/
unzip /home/ubuntu/gas_web_server.zip -d /home/ubuntu/
chown -R ubuntu:ubuntu /home/ubuntu/gas/*
sudo -u ubuntu /home/ubuntu/gas/run_gas.sh console &
|
3de98ca57fd23da6471df0c2defb45e74a5df349 | 30,203 | #!bin/bash
fun_bar () {
comando="$1"
_=$(
$comando > /dev/null 2>&1
) & > /dev/null
pid=$!
while [[ -d /proc/$pid ]]; do
echo -ne " \033[1;33m["
for((i=0; i<10; i++)); do
echo -ne "\033[1;31m##"
sleep 0.2
done
echo -ne "\033[1;33m]"
sleep 1s
echo
tput cuu1
tput dl1
done
echo -e " \033[1;33m[\033[1;31m#####... |
e31105d6204fede9d9caeae0c6e089974eb90ffc | 249 | #!/usr/bin/env bash
cd /opt/JavaPro/payment
echo "mvn package..."
mvn clean compile package -DskipTests
echo "scp payment.jar..."
scp target/payment.jar root@fuliaoyi.com:/opt
echo "connect fuliaoyi.com..."
./ssh-service.sh
echo "deploy complete..." |
cb0e15700fb805dd2dfe8f1d2d412ac136a088f5 | 710 | #!/bin/bash
mysql -e 'DROP DATABASE IF EXISTS db; CREATE DATABASE db;'
rm -rf var/cache var/log var/lock var/session var/transient config/override.settings.yaml
echo '';
echo 'Fetching vendor code…';
composer install > /dev/null 2>&1
rm private/typo3conf/LocalConfiguration.php
echo 'Setting up TYPO3…';
TYPO3_CONTEXT=P... |
fb7e99e2b7ec50a68338f9f6efbed9824782380c | 999 | # NOTE
#
# This program was last updated on 2014, so it's unlikely to be updated again.
# Hence, I did not include pkgver on the source variable.
#
# This is my first PKGBUILD script ever. So, if there's any crashes, please contact me
# or edit the PKGBUILD manually.
#
# Baarakallahu fiikum
# Maintainer: Mochammad Nau... |
714854f61a8d4d504ebb5ad2bb42440c21a79fcf | 1,189 | #!/usr/bin/env bash
get_miner_uptime(){
local a=0
let a=`date +%s`-`stat --format='%Y' /run/hive/miners/noncerpro-cuda/miner.conf`
echo $a
}
stats_raw=`curl --connect-timeout 2 --max-time $API_TIMEOUT --silent --noproxy '*' http://127.0.0.1:${MINER_API_PORT}/api`
if [[ $? -ne 0 || -z $stats_raw ]]; then
echo ... |
c840780c2c27a64b184ceb80d21a438592a77561 | 299 | #!/bin/bash
#g++ -std=c++11 -I../logging arrays_1.cpp -o arrays_1
#g++ -std=c++11 -DSIZE=5 -I../logging arrays_4_HW.cpp -o arrays_4_HW #-D --- это сделать define на лету.
g++ -std=c++11 -DSIZE=5 -I../logging arrays_5_HW.cpp -o arrays_5_HW
#./arrays_1
#./arrays_4_HW
./arrays_5_HW |
19f59194e0f9a38d8dbce9c4751c080e4795babc | 7,619 | #!/bin/bash
# This script will get the version.txt file from the Nginx server
#
#-----------------------------------------------------------#
# get the loop wait time from the first command line parameter
# this is the polling time in seconds the script will wait
# before try to get the version.txt file again
if [ ... |
71e282253ee514b401538678e89f276c95446c13 | 499 | #!/bin/sh
#*****************************************************************************
#
# This script is used to show xmldb ports
#
# USAGE: showxmldb
#
# By Adi Zohar - June 2007
#*****************************************************************************
sqlplus -s "/ as sysdba" <<EOF
clear buffer
set pages 9... |
7ea247ba668c8f31cb2275614c0db1c7c4263cf3 | 3,639 | # -----------------------------------------------------------------------------
# Project name :
# File name : gnuplot_v8_latency.sh
# Created date : Th11 28 2019
# Author : Van-Nam DINH
# Last modified : Th11 28 2019 18:32
# Guide :
# ---------------------------------------------------------... |
e10ee021b60af8fc636ad000bc66d7ad3c48c8b5 | 183 | #!/bin/bash
echo
echo "2000 - WRAP UP "
echo
act -d beehive -U etl -w etl << EOF
\timing
BEGIN;
TRUNCATE TABLE iis.bn_session_stage_seq;
TRUNCATE TABLE iis.resources_seq;
END;
EOF
|
95399f9f277e19ac8f4f9e1e155475ea6c657b41 | 72 | #!/bin/bash
xrandr --output LVDS1 --off --output HDMI1 --auto
~/.fehbg
|
b66adef37ed9dc401429385dabe8842671ac0efa | 312 | #!/bin/bash
COMPONENT=$1
source components/common.sh
if [ ! -f components/${COMPONENT}.sh ]; then
ERROR "Invalid File"
exit 1
fi
USER_NAME=$(whoami)
if [ "${USER_NAME}" != "root" ]; then
ERROR "You should be a root user to execute these scripts"
exit 1
fi
export COMPONENT
bash components/${COMPONENT}.sh |
9b2ba23d9a5ec6b6780bb4c5772da71d6ae1734f | 164 | #!/bin/sh -e
. /usr/share/debconf/confmodule
if [ "$1" = "configure" ]
then
# reset restart help
db_clear shorewall6/dont_restart || true
db_go
fi
|
184e2e391c8e2685e839e811b60396c26b43e12a | 308 | #!/bin/bash
echo "Installing Python 3 virtual environment in ./venv ..."
python3 -m venv venv
echo "Installing dev dependencies..."
source venv/bin/activate
pip3 install --upgrade pip
pip3 install flask
pip3 install requests
deactivate
echo "Done. Use venv/bin/activate to enter the virtual environment."
|
9e0c519d7c81596dc2840137e3a47bd2d3841b45 | 1,875 | ACTION="$1"
RECORD="$2"
NAME="$3"
VALUE=\\\"$4\\\"
IP=`mysql -u root -proot portal -sN -e "select address from device where id='$RECORD'"`
HOSTNAME=`mysql -u root -proot portal -sN -e "select dns from device where id='$RECORD'"`
DOMAIN=`echo "$HOSTNAME" | cut -c 8-`
DOMAIN_ID=`mysql -u root -proot portal -sN -e "selec... |
3796bcabbf2440a49e86c02443287053d41705d4 | 215 | #!/bin/bash
var="129 148 181"
vars=( $var )
echo "First word of var: '${vars[0]}'"
echo "Second word of var: '${vars[1]}'"
echo "Third word of var: '${vars[2]}'"
echo "Number of words in var: '${#vars[@]}'"
|
ff78cd6cf30e6925b438071f87957596118d6814 | 259 | #!/bin/bash
set -e
CONFIG_PATH=/data/options.json
TARGET=$(jq --raw-output ".target" $CONFIG_PATH)
USERNAME=$(jq --raw-output ".username" $CONFIG_PATH)
PASSWORD=$(jq --raw-output ".password" $CONFIG_PATH)
echo "fake copy from /config to $TARGET@$USERNAME"
|
64d5b30c8c39dc56d2b7124a8784cb9a925787a9 | 386 | #! /bin/bash
set -e
./gradlew bootJar
eval $(minikube docker-env)
docker build -t app . --no-cache
# see popular GitHub issue
minikube ssh sudo ip link set docker0 promisc on
kubectl config use-context minikube
kubectl delete pod -l app=producer --force --grace-period=0
kubectl delete pod -l app=worker --force --gr... |
ea39e812557c1bbe3be643bb8cda64c2795764bd | 150 | #!/bin/bash
set -e
TAG="${1}"
NEW_TAG="${2}"
IMAGE_REPO="${3:-brix4dayz}"
docker tag "${IMAGE_REPO}/rogue:${TAG}" "${IMAGE_REPO}/rogue:${NEW_TAG}"
|
ded6f18df4d382f0dd2d6514e0fc38efab851469 | 858 | #!/bin/bash
apt-get install -y apt-transport-https ca-certificates curl gnupg-agent software-properties-common
curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
apt-key fingerprint 0EBFCD88
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"... |
896d0241b1a44eb47caf7eabc7bfec0055065e72 | 138 | #!/bin/bash
for (( i = 1; i <= 5; i++ )); do
echo $i
done
echo
for (( i = 1, j=10; i <=3 && j<=20; i++, j+=10)); do
echo $i $j
done
|
0e218694e101c68ab4217c98e7baceef798d5af1 | 71 |
python ../PCA.py -nv 3 -o output.dat -i 00000000.dat -s spectrum.dat
|
5f2632ca12d0041ad3681684800a6162fd8940ca | 405 | pkgname=cronutils
pkgver=1.9
pkgrel=1
pkgdesc=""
arch=(i686 x86_64)
license=('Apache')
source=("https://github.com/google/$pkgname/archive/version/$pkgver.tar.gz")
md5sums=('75e0c279a56a811e8302d08827fcd9f3')
build() {
cd "$pkgname-version-$pkgver"
make
}
check() {
cd "$pkgname-version-$pkgver"
make test
}
packa... |
e65c1a092a06018935b3edeb6bae811e512e651e | 266 | #!/usr/bin/zsh
NUMERO=3;
case $NUMERO in
1)
echo "1";
;;
2||3)
echo "2|3";
;;
4|5|6|7|8|9|10)
echo "4|5|6|7|8|9|10";
;;
*)
echo "Não foi possível encontrar o valor presente";
;;
esac |
1760aeb9c88bf37124a20863dd9e5c7c9d5b3874 | 191 | #!/bin/bash
if ! pgrep -f "TemplateParamBot.php autoextract"; then
nohup sh -c "cd /var/www/projects/bambots/Bambots/src/cli ; php TemplateParamBot.php autoextract" > /dev/null 2>&1 &
fi
|
92b389632319d13bd69a7335f9b9fc48a5bf3fa3 | 525 | #!/bin/sh
WALLPAPER_DIR="/home/monk/images"
WALLPAPER_LINK="/home/monk/.wallpaper"
WALLPAPER_FILE=`readlink -f "$WALLPAPER_LINK"`
IMG_COUNT=`ls $WALLPAPER_DIR/*.{jpg,png}|wc -l`
while true; do
RAND=$((RANDOM % IMG_COUNT + 1))
IMG=`ls $WALLPAPER_DIR/*.{jpg,png}|sed -n ${RAND}p`
# echo "$IMG" >> ~/log.txt
... |
7a4b7ecff4387b1eb3cee2e99c5400537cb79bb4 | 258 | #!/bin/sh
# Script used by systemd timer unit to notify low battery charge
acpi --battery \
| awk '/Discharging/ { if (int($4) < 15) print $4 " " $5 " " $6 }' \
| xargs -ri notify-send --urgency=critical "WARNING: Low battery" "Battery is at {}"
|
6bb03470cf917f39c29e0eaa1ef6f8d959b8f623 | 91 | yarn
yarn build
yarn export
rsync -rPv ./out/* ../andrew-oxenburgh.github.io/blog-header
|
3ba7d2b027289fb3403b30c7615f66f150415c0d | 628 | #!/bin/sh
#
# Reconnect Wifi...
#
case "$1" in
start)
echo "Trying to reconnect Wifi"
if [ -e /userdata/cfg/wpa_supplicant.conf ];then
if [ -n `grep "ssid=" /userdata/cfg/wpa_supplicant.conf` ];then
if [ -z `grep "SSID" /userdata/cfg/wpa_supplicant.conf` ];then
if [ -n `grep "psk=" /userdata/cfg/wpa... |
58a5f39d53245c49118ab8bcdcb828656fa306a8 | 1,085 | #!/bin/sh
#
# ******************************************************************************
# Software: CentOSGeoWebEnv
# Author: mapdb
# Website: www.mapdb.cn
# Email: mapdb2014@gmail.com
# ------------------------------------++++
# Thank you for choosing CentOSGeoWebEnv!
# *********************... |
b758a74e5d8a19e1fbb456cf84a303a64d425613 | 66 | alias marked="open -a 'Marked 2'"
alias readme="marked README.md"
|
e67b6a510dfb20c11974f5108c5df371cce0d59c | 50 | #!/bin/bash
mysql -urakugaki -ppassword rakugaki
|
1e73a93bd26b303c8c347ac8a8bf1e9f2aa5005b | 2,513 | #!/bin/bash
#
#
# get vcpu/vm's CPU utilization during one period
#
cpu_use="/sys/fs/cgroup/cpuacct/machine"
kvm1_dir="$cpu_use/kvm1.libvirt-qemu"
kvm8_dir="$cpu_use/kvm8.libvirt-qemu"
vm_num=0
#vm10=0
result1=0
result8=0
#function=1: set kvm_name to first set hardware threads, for this server: 0-23
#function=2: set ... |
f6134168ae0962342d2c67c10337eb4c7ad321a5 | 542 | #!/bin/sh
w3m -dump "http://kr.dictionary.search.yahoo.com/search/dictionaryp?p=$1&subtype=eng"
2> /dev/null
| awk 'BEGIN { flg = 0 } /더 많은 검색결과/ || /영어표현/ { flg = 0 }
{
if (flg) print $0
}/영한$/ { flg = 1 }'
| sed 's/[.*]//g' | sed 's/?//g' | sed 's/단어장에 추가//g' | sed 's/단어장에//g'
| sed -e 's/^추가//g' | se... |
006f64d5f1b74a91c4d2341b3e009182d8f346f7 | 2,102 | #!/bin/sh
######################################################################
#
# @file pcre.sh
#
# @brief Build information for pcre.
#
# @version $Rev$ $Date$
#
# Copyright © 2012-2017, Tech-X Corporation, Boulder, CO.
# See LICENSE file (EclipseLicense.txt) for conditions of use.
#
#####################... |
a7232b70fdf932ac18c5e0f747f8c9e30aac0729 | 44,900 | #!/bin/sh
# Author: r00t-3xp10it
# mosquito framework v:3.10.3 [STABLE]
# Automate remote brute force tasks over WAN/LAN networks
# GitHub: https://github.com/r00t-3xp10it/resource_files
# Suspicious Shell Activity - redteam @2019
##
resize -s 38 120 > /dev/nul
# variable declarations _______________________________... |
1c502b86ddf9f76021b388ba91da07c3240733cc | 123 | node server.js
termux-setup-storage
cd storage/
cd shared
cd Android/
cd data/
cd com.termux/
cd files/
cd agario/
ls
exit
|
5e9c30242bde585ad1dce6982d13e159f4d54783 | 376 |
# https://github.com/prometheus-community/helm-charts/tree/main/charts/prometheus
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo add stable https://charts.helm.sh/stable
helm repo update
kubectl create namespace monitoring
helm install prometheus prometheus-community/... |
5d8595987006054ea249bd892d71dba7bc94bf26 | 1,845 | # Load colors
autoload -U colors && colors
#autoload -U compinstall && compinstall
# Key bindings
# To see the key combo you want to use just do:
# cat > /dev/null
# And press it
bindkey "^U" kill-whole-line # ctrl-k
bindkey "^R" history-incremental-search-backward # ctrl-r
bindkey "^A... |
cf4dcb15606266458482a465b3ecf0701b089f27 | 298 | PORT=4000
DB_CNN=mongodb+srv://10calendar:PuCbgPJL0mPq3oTt@cluster0.xlnjt.mongodb.net/mern_calendar
#En caso de tener sospecha que se haya comprometido la key (Palabra secreta)
#es mejor cambiarla y asi todos los usuarios seran forzados a revaldiar.
SECRET_JWT_SEDD=Est@=3S-Una-p@lAbrA3eC7e7@
|
de98ed8fb32136836e71ea7b3258cafddcf5be22 | 160 | # Setup terminal, and turn on colors
export TERM=xterm-256color
export CLICOLOR=1
# LS Colors should be black and white
export LSCOLORS=hahahahahahahahahahaha
|
badd38d6c5c4621ea9584882fa9e927f86ef20ee | 443 | #!/usr/bin/env bash
# Copyright 2020 Contributors to the Parsec project.
# SPDX-License-Identifier: Apache-2.0
set -e
# Check the git diff between the clang-formatted file and the actual file to
# make sure they match.
OUT_DIR="/tmp/parsec-operations-ci"
mkdir -p $OUT_DIR
# protobuf tests
mkdir -p $OUT_DIR/protobu... |
94effa3d6e77538a6ad9071f28e305d4004b9691 | 263 | #!/bin/bash
#
# Based on the input extracted from operator-sdk running end-to-end tests, parse and print out
# regular log lines.
#
set -e
grep 'msg="Local operator stderr' $1 \
|sed 's/^time.*err: //g;s/\\n\"/\\n/g' \
|eval 'in=$(cat); echo -en "$in"'
|
58f743d5478900a97115c6912811fd7fe085d3a8 | 133 | cd shard1
sh shard1_stop.sh
cd ../shard2
sh shard2_stop.sh
cd ../configsvr
sh configsvr_stop.sh
cd ../routerdb
sh routerdb_stop.sh |
573e631bc76560f11bde5fd83501850b4734c2d5 | 1,819 | #!/bin/sh
#
# Script to summarize ipeerstats, loopstats and clockstats files
#
# This script can be run from a cron job once per day, week or month. It
# runs the file-specific summary script and appends the summary data to
# designated files.
#
DATE=`date +19%y%m%d`
S=/usr/local/bin/S
SIN=S.in
SOUT=S.out
LOOP=loop_su... |
f1b541eeca89bee4d5ab1f18a2cde5ac501c499b | 595 | # Maintainer: Kyle MacLeod <aur.kmac5@recursor.net>
pkgname=sentaku
pkgver=0.5.5
pkgrel=1
pkgdesc="Utilily to make sentaku (selection) window with shell command."
arch=('any')
url="https://github.com/rcmdnk/sentaku"
license=('MIT')
depends=()
source=("https://github.com/rcmdnk/sentaku/archive/v${pkgver}.zip")
md5sums=(... |
4f3a98da6a52d6083624d3902a31f81a44b87d8a | 1,783 | #get work path#
workPath=$(pwd)
#set file.cl dir#
tensorCLPath=${BOLT_ROOT}/tensor_computing/src/gpu/mali/cl
sampleCLPath=${BOLT_ROOT}/gcl/tools/gcl_sample/cl
imageCLPath=${BOLT_ROOT}/image/src/gpu/mali/cl
CLPath=(${tensorCLPath} ${sampleCLPath} ${imageCLPath})
deviceNameFile=deviceNameFile
#get kernel compile option... |
2c204f94764e43fd64757285d774d4f80496799b | 557 | #!/bin/bash
#test menu manually
function diskspace {
clear
df -k
}
function whoseon {
clear
who
}
function memusage {
clear
cat /proc/meminfo
}
function menu {
clear
echo -e "\tSys Admin Menu\n"
echo -e "\t1) Display disk space\n"
echo -e "\t2) Display user info\n"
echo -e "\t3) Display memory usage\n"
... |
a4fbc15caf8f043abecb22223cfbb63c90efab7c | 293 | # zinit
type zip tar curl wget git unzip &> /dev/null || return 127;
[[ -f "$ZDOTDIR/.zinit/bin/zinit.zsh" ]] && source "$ZDOTDIR/.zinit/bin/zinit.zsh"
autoload -Uz _zinit
(( ${+_comps} )) && _comps[zinit]=_zinit
type zinit &> /dev/null && {
mkdir -p $ZPFX/{bin,man/man1,share,script}
}
|
fd730c437911fa2c9ddf693ab98adda3cddb9815 | 56 | BASEDIR=$(dirname "$0")
cd $BASEDIR
./slimerjs index.js
|
438b5f38e8e0b6ded00c16e006e80fec8a7bfddb | 7,030 | #!/bin/sh -v
rm -rf subproject
mkdir subproject
cd subproject
git init
echo v0 > Changelog
echo v0 > README
git add .
git commit -m "v0"
git tag v0
# add v1 files
echo A > Feature-A-v1
echo B > Feature-B-v1v2
echo C > Feature-C-v1v3
echo D > Feature-D-v1v2v3
# tell README what files to expect in v1
echo v1 > README
l... |
f106ad91a9dc7242c3286f9fb83da8ed50c919dc | 300 | #!/usr/bin/env bash
set -e
pwd
ls -ltr
which robot
exit 0
# Run an individual test suite if the TEST_SUITE environmental variable is set.
#if [ -z "$TEST_SUITE" ]; then
# TEST_SUITE=""
#fi
#CMD="robot --console verbose --outputdir -d /reports -s /suites/$TEST_SUITE"
#echo ${CMD}
#``${CMD}``
|
1686fee9b4a847688c8135bae1a25726a66ea7fd | 1,955 | #
# component install script for jdk-1.6.0_37
#
# n.b. This install includes the third-party jtool.jar library,
# which is distributed separately from the main JDK.
#
#
# Globals.
distfile="jdk-6u37-linux-x64.bin"
unpacksto="jdk1.6.0_37"
jtooljar="jtool-0.1-SNAPSHOT.jar"
#
# Make the component build and log director... |
4583156c04cf59e27ffa9c4a70663fcfdb96e1b7 | 967 | #!/bin/bash
[ -e usr/bin/thunderbird -o -h usr/bin/thunderbird ] || exit 0
PFP=$(ls -d1 usr/lib/thunderbird-* 2>/dev/null| tail -1)
[ "$PFP" = "" ] && PFP=$(ls -d1 usr/lib64/thunderbird-* | tail -1)
[ -d "$PFP"/defaults ] || exit 0
mkdir -p "$PFP"/defaults/profile
ln -sf /usr/share/magos/mozilla/thunderbird-prefs.js "$... |
e2811f146090e155878cf5a94c2e594f62f9efe1 | 458 | #!/bin/sh
#LD_LIBRARY_PATH=/mnt/common/cshou/usr/include:/mnt/common/cshou/usr/lib:/mnt/common/cshou/FusionFS/fusionFS/src/ffsnet:/mnt/common/cshou/FusionFS/fusionFS/src/udt/src:/mnt/common/cshou/FusionFS/fusionFS/src/provenance
#export LD_LIBRARY_PATH=$LD_LIBRARY_PATH
mkdir -p /home/dzhao/fusionfs/fusion_root
mkdir -... |
8550b6e8dc775e61909c44f7e3048795a6219905 | 160 | l=2
#loop over number of layers
while [[ $l -le 12 ]];
do
cd ../bumpy/l$i/p1
python generateInputDAT.py > input.dat
cd ../../../scripts/
(( l++ ))
done
|
910c09701672f46f3a24c4bfccc936f506d1d3d4 | 41 | #!/bin/sh
dumpbin -dependents amulet.exe
|
bf83f273b0933e657cb2796b45cdbc2af4b51502 | 1,243 | #!/bin/bash
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that ... |
66be3b91c14b5ac18070a010bf2fb620ada8537f | 338 | # Download the necessary files
# Python-GI bindings, Matplotlib (64-bit, Python 3.4)
wget -O pygi.exe http://downloads.sourceforge.net/project/pygobjectwin32/pygi-aio-3.14.0_rev13-setup.exe
wget -O matplotlib.exe http://downloads.sourceforge.net/project/matplotlib/matplotlib/matplotlib-1.4.3/windows/matplotlib-1.4.3.wi... |
ed030e810cb8121b80652728512a96c0974d365a | 64 | hi today is wednesday
today is bandh
hi
mod
yes
hds
vvr
hi
yes
|
9bb9fdc80d560dec57100f489fcb121ea9711639 | 257 | #! /bin/sh
##########################
# Bradford Smith (bsmith8)
# CS 554 Lab 3 submit.sh
# 09/15/2017
##########################
AUTHOR='bsmith8'
ASSIGNMENT='cs554-lab3'
# shellcheck disable=1001
zip -r $AUTHOR\_$ASSIGNMENT.zip ./* -x './node_modules/*'
|
1c1ee28a8f95302b2ce5d34d3710fcd2fb7df34a | 1,144 | #!/bin/sh
STORAGE=http://storage.kernelci.org/
API=https://api.kernelci.org/
. create.conf
GIT_DESCRIBE=v5.0.9
BRANCH="master"
BRANCH=linux-5.0.y
ARCH=arm64
TREE=mainline
TREE=stable
LAB=lab-baylibre
PABCK=$(pwd)
ARCH=$1
DEVTYPE=$2
wget https://storage.kernelci.org/stable/linux-5.0.y -O laststable || exit $?
GIT_... |
48057d9165c3e52570d73842ae9f330dacb651d7 | 1,497 | export THR=1
export SZ=1g
export MODE=1
LD_PRELOAD=/root/spdk/examples/nvme/fio_plugin/fio_plugin RW=read DEPTH=32 BS=128k MIN=1 fio basic.fio | tee 311.txt
LD_PRELOAD=/root/spdk/examples/nvme/fio_plugin/fio_plugin RW=read DEPTH=32 BS=128k MIN=8 fio basic.fio | tee 312.txt
LD_PRELOAD=/root/spdk/examples/nvme/fio_plugin... |
c4a49f38769f97116b5e33894e51e1ba7ceb99d8 | 32 | #!/bin/sh
pydtnsim -M Log -n $1
|
5636fc9dc3f03ced3ca37cdc66ad7375dde7ec74 | 57 | BASE_URL=https://private-1f498c-cleanarch.apiary-mock.com |
dfaaa09c9b37e0563cdecb2c3e3f66e4ca544da1 | 83 | #!/bin/bash
sudo chown vagrant /dev/ttyUSB0
platformio run -t upload -t monitor
|
38bc445d193b295c8087e59822beb85fe63bbc90 | 684 | #!/bin/bash
python ingest.py http://www.denverpost.com/dont-miss/feed/ --slug dont-miss
python ingest.py http://www.denverpost.com/news/feed/ --slug hard-news
python ingest.py http://www.denverpost.com/sports/feed/ --slug sports
../ftp.bash --dir $REMOTE_DIR --host $REMOTE_HOST
curl -X PURGE http://extras.denverpost.co... |
851ba094a7b8b5d7aa84eee152e9bfc4d3559fa7 | 1,384 | #!/bin/bash
#soundcloud music downloader by http://360percents.com - v3.0 on Nov 1st 2011
#Author: Luka Pusic <pusic93@gmail.com>
echo "[i] soundcloud.com music downloader by http://360percents.com (wget version)";
if [ -z "$1" ]; then
echo "";echo "[i] Usage: `basename $0` http://soundcloud.com/link_with_tracks_on_... |
051d49acfa005a7d01c029745d7217eba4e89a48 | 578 | #!/bin/bash
# chkconfig: 345 99 10
# description: Dictionary node.js app
appName=MCW
PORT=3005
appUser=ec2-user
nodeDir=/home/ec2-user/Node
wordsAppDir=$nodeDir/MCW
logDir=$wordsAppDir/var/log
logFile=$logDir/node_log
prog=MCWapp
start()
{
echo "Starting $prog: "
su - ec2-user -c "cd $wordsAppDir && npm start >>... |
c86dc16e66f445c3e23656cac3fe63553ecd1188 | 553 | #!/bin/bash
<< description
This script is used to customize the working environment.
Date: 2020/06/04
Author: ycliang ycliang@andestech.com
description
dir=`pwd`
dotfiles=".bashrc .vimrc"
install()
{
home=$1
for f in $dotfiles; do
cp $dir/$dotfiles $home/.
done
}
show_help()
{
echo '[usage] ./install.sh <opti... |
81f6d396ce60f4055626177deef06e92fc95864e | 659 | #!/bin/bash
# Create directory
mkdir data
# Declare list of dates to be included
declare -a StringArray=(202004 202005 202006 202007 202008 202009 202010 202011 202012 202101 202102 202103 202104)
base_url="https://divvy-tripdata.s3.amazonaws.com"
for date in ${StringArray[@]}
do
# Create url
tmpurl="${base_u... |
6dbb8b1b1efebc0da6870cdb713fa6664ba9a9ab | 1,264 | #!/bin/bash
exec > >(tee -i generated/log-$(basename $0).txt)
exec 2>&1
set -e
if [[ -z $1 || -z $2 ]]; then
echo Usage: $0 TENANT_ID MLFLOW_KD_CLUSTERNAME
exit 1
fi
set -u
echo "Running script: $0 $@"
./scripts/check_prerequisites.sh
source ./scripts/variables.sh
export TENANT_ID=$1
export MLFLOW_CLUSTER_N... |
2e245ffb0c4f43bb2d4c4070c03092156a275c05 | 150 | Cache your authentication details to save time
Locate a commit by its hash
Check the reflog
Specify a commit by its ancestry
Debug using binary search |
f81844faf191e6873f95a911f86521555c9cded9 | 816 | cd /g/data1/ua8/Download/JRA55/raw/Hist/Daily/anl_surf
wget -O Authentication.log --save-cookies auth.rda_ucar_edu --post-data="email=&action=login" https://rda.ucar.edu/cgi-bin/login
#for yr in `seq 1958 2013`;
#do
#wget -N --load-cookies auth.rda_ucar_edu http://rda.ucar.edu/data/ds628.0/anl_surf/$yr/anl_surf.001_pr... |
ac8b4a4df3a1dbe8ff4defa50f7314a43bcbbfaf | 144 | #! /bin/sh
PID_TFA=`ps -ef | grep tfa.jar | grep java | grep -v grep | awk '{print $2}'`
if [[ ${PID_TFA} ]]; then
kill -9 ${PID_TFA}
fi
|
a934c26931e5a81422220cd5d45086a7fb049ea9 | 600 | #!/usr/bin/env python
import pickle
import lxml.html
import requests
cookie_pkl='cookie.pkl'
with open('account.txt') as f:
username,password=(line[:-1] for line in f)
url='https://beta.atcoder.jp/login'
res=requests.get(url)
dom=lxml.html.fromstring(res.text)
csrf_token=dom.xpath('//form[@action="/login"]/in... |
13f1540516b8f38e7591ebbebe5f6340ee99893e | 1,292 | #!/bin/bash
# author: hite
# 修改 bundleid,urltype 里的 bundleId,scheme。
#workflow
plistBuddy=/usr/libexec/PlistBuddy
projectName=SameSchemeTest
info_plist="./${projectName}/Info.plist"
schemeurl=weixin
dist_dir=`pwd`/build
function changeBundleId
{
# 开始循环
bundleIds=('A' 'f' 'com.xx')
for bundleId in ${... |
6a8937aec6b426ae0f99fecfafe7bac299f2b961 | 177 | DATABASE = nodelogin
DATABASE_HOST = @localhost
DATABASEUSER = root
DATABASEPASSWORD = 123456
JWT_SECRET = superdupersecretpassword
JWT_EXPPIRES_IN = 10d
JWT_COOKIE_EXPIRES = 10 |
8d59e2819c4e5967ce80a0e8728744746fbc200d | 205 | #!/usr/bin/env bash
echo Stop sqlsvrtest running in Docker container
sudo -S <<< "password" docker stop sqlsvrtest
echo Remove sqlsvrtest from Docker container
sudo -S <<< "password" docker rm sqlsvrtest |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.