code stringlengths 2 1.05M | repo_name stringlengths 5 110 | path stringlengths 3 922 | language stringclasses 1
value | license stringclasses 15
values | size int64 2 1.05M |
|---|---|---|---|---|---|
#!/bin/bash
rnnpath=../rnnlm-0.2b
trainfile=../data/ptb.train.txt
validfile=../data/ptb.valid.txt
testfile=../data/ptb.test.txt
rnnmodel=../models/ptb.model.hidden100.class100.txt
temp=../temp
hidden_size=100
class_size=100
bptt_steps=4
#################################
# CHECK FOR 'rnnlm' AND 'convert'
############... | deepakgupta1313/models | tutorials/rnn/ptb/tmp/simple-examples/7-dynamic-evaluation/train.sh | Shell | apache-2.0 | 2,142 |
#!/bin/sh
#[START] make awifi070u-perf_defconfig based on awifi-perf_defconfig and remove some features that not used in awifi070u . gunmin.lee@lge.com
cat kernel/arch/arm/configs/awifi-perf_defconfig | grep -v "CONFIG_ANDROID_SW_IRRC=y" > kernel/arch/arm/configs/awifi070u-perf_defconfig
#[END] make awifi070u-perf_def... | Evervolv/android_kernel_lge_v500 | make_awifi070u_defconfig.sh | Shell | gpl-2.0 | 640 |
#!/bin/bash -eu
# This script generates a commit that updates our copy of OOjs
if [ -n "${2:-}" ]
then
# Too many parameters
echo >&2 "Usage: $0 [<version>]"
exit 1
fi
REPO_DIR=$(cd "$(dirname $0)/../.."; pwd) # Root dir of the git repo working tree
TARGET_DIR="resources/lib/oojs" # Destination relative to the ro... | Electro-Light/ElectroLight-WebSite | wiki/maintenance/resources/update-oojs.sh | Shell | gpl-3.0 | 1,349 |
#!/bin/bash
# exit this script if any commmand fails
set -e
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PROJECT_ROOT="$DIR"/../..
shopt -s dotglob
echo_all_files() {
for file in $1/*
do
if [ -d "$file" ]; then
echo_all_files "$file"
else
relative_path="${f... | imeteora/cocos2d-x-3.x-Qt | tools/travis-scripts/for-each-file-in-dir.sh | Shell | gpl-2.0 | 564 |
#!/bin/sh
# This formats all the SQL files in the specified directory so that
# they can be executed by SQL*Plus. There are two modes -- a 'testing'
# mode (the default mode -- this strips out all the "commit" statements)
# and a commit mode for deployment. You need to pipe the output of this
# script into sqlplus, fo... | pplatek/adempiere | migration/migrate_oracle.sh | Shell | gpl-2.0 | 1,751 |
#! /bin/bash
mkdir -p $PREFIX/bin
make CC=${CC}
cp mreps $PREFIX/bin
| cokelaer/bioconda-recipes | recipes/mreps/build.sh | Shell | mit | 69 |
#!/bin/bash
#
# Copyright (C) 2007 Karel Zak <kzak@redhat.com>
#
# This file is part of util-linux.
#
# This file 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... | KubaKaszycki/kubux | util-linux/tests/ts/ipcs/functions.sh | Shell | gpl-3.0 | 2,773 |
#!/bin/bash
# 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 file to You under the Apache License, Version 2.0
# (the "License"); you... | tomz/bigtop | bigtop-packages/src/common/sqoop2/sqoop-tool.sh | Shell | apache-2.0 | 1,410 |
#!/usr/bin/env bash
set -eux
source virtualenv.sh
pip install -U -r requirements.txt
ANSIBLE_ROLES_PATH=../
export ANSIBLE_ROLES_PATH
ansible-playbook -i ../../inventory main.yml -v "$@"
| anryko/ansible | test/integration/targets/template_jinja2_latest/runme.sh | Shell | gpl-3.0 | 192 |
#!/bin/sh
cp -r $SRC_DIR/src/*.jl $PREFIX/bin
cp -r $SRC_DIR/scripts $PREFIX
ln -s $PREFIX/bin/MentaLiST.jl $PREFIX/bin/mentalist
chmod +x $PREFIX/bin/mentalist
julia -e 'Pkg.init()'
julia -e 'Pkg.add("Suppressor")'
julia -e 'Pkg.add("ArgParse")'
julia -e 'Pkg.add("Bio")'
julia -e 'Pkg.add("OpenGene")'
julia -e 'Pkg.... | joachimwolff/bioconda-recipes | recipes/mentalist/0.1.9/build.sh | Shell | mit | 509 |
#!/bin/bash
set -o nounset # exit if trying to use an uninitialized var
set -o errexit # exit if any program fails
set -o pipefail # exit if any program in a pipeline fails, also
set -x # dubug mode
# the main dispatcher for running async jobs on the emr cluster
job_type=$1 ; shift
job_url="$1" ; shift
job_args="... | tony-kerz/chronos | bin/run-emr.bash | Shell | apache-2.0 | 5,904 |
#!/bin/zsh
alias cloudapp=$ZSH/plugins/cloudapp/cloudapp.rb
| kristiankubik/dotfiles | zsh_plugins/cloudapp/cloudapp.plugin.zsh | Shell | mit | 60 |
#!/bin/bash
# DETAILS: tmux handler script
# CREATED: 01/28/14 10:51:03 IST
# MODIFIED: 10/07/14 16:20:06 IST
#
# AUTHOR: Ravikiran K.S., ravikirandotks@gmail.com
# LICENCE: Copyright (c) 2014, Ravikiran K.S.
# Warn unset vars as error, Verbose (echo each command), Enable debug mode
#set -uvx
# No utilities from... | rkks/scripts | bash/tmux.sh | Shell | mit | 3,157 |
#!/bin/sh
#
# Check that there are no overridden build settings in Xcode
# This is hacky, if I could work out how to parse the project file I'd do it better
# - SG
for PROJECT in $*; do
PROJECT_FILE_PATH=$PROJECT/project.pbxproj
NUMBER_OF_BUILD_SETTINGS=`grep "buildSettings" $PROJECT_FILE_PATH | wc -l`
NUMBER_OF... | sync/NearbyTrams | Scripts/check_no_xcode_build_settings.sh | Shell | mit | 1,156 |
alias reload!='. ~/.zshrc'
alias et='emacsclient -t'
alias ec='emacsclient -c'
alias vim='emacsclient -t'
alias vi='emacsclient -t'
| jyriand/dotfiles | zsh/aliases.zsh | Shell | mit | 132 |
#!/usr/bin/env bash
function getScriptDirectory {
local working=$PWD
cd "$(dirname "${BASH_SOURCE[0]}")"
echo $PWD
cd "$working"
}
WORKING_DIR=`getScriptDirectory`
DOWNLOAD_URL="http://luarocks.github.io/luarocks/releases/luarocks-3.0.4.tar.gz"
FILENAME="luarocks-3.0.4.tar.gz"
SOURCE_DIR="luarocks-3.... | osom8979/tbag | script/luarocks_install.sh | Shell | mit | 1,503 |
#!/bin/sh
python faulty.py $@ | stryder199/RyarkAssignments | Assignment2/documents/code_activator/functional_specification/py_min_ff_0/faulty.sh | Shell | mit | 29 |
for j in 0 1 2 3 4 #5 6 7 8 9 10 11 12 13 14 15
do
for k in 000 100 200 300 400 500 600 700 800 900
do
INT=interface-$j.$k.dat
for u in 0; do
cat out-$j.$k.gfs
echo "Save $INT { format = Gnuplot }"
done | gfsview2D interface.gfv
done #decimals
done #microseconds
| frenchalexandre/shell-interface | interface.sh | Shell | mit | 300 |
#!/bin/bash -f
# Vivado (TM) v2017.2 (64-bit)
#
# Filename : zynq_design_1.sh
# Simulator : Synopsys Verilog Compiler Simulator
# Description : Simulation script for compiling, elaborating and verifying the project source files.
# The script will automatically create the design libraries sub-di... | MarkBlanco/FPGA_Sandbox | RecComp/Lab1/embedded_lab_1/embedded_lab_1.ip_user_files/sim_scripts/zynq_design_1/vcs/zynq_design_1.sh | Shell | mit | 35,553 |
#!/bin/bash
cd "$(dirname "$0")" #CWD
# Retreive image from the Docker HUB
echo \# Pulling...
docker pull yboyer/winn-project
echo
# Start or restart the server
echo \# Running...
docker stop yboyerwt
docker rm yboyerwt
docker run --name=yboyerwt --restart=always -d yboyer/winn-project
# or to expose port to the host... | yboyer/winn-project | scripts/deploy.sh | Shell | mit | 538 |
#!/bin/bash
sudo yum -y install git
git clone https://github.com/yolmant/LDAP/
echo "Basic commands:
git pull # will get you repo updates
git add . # will add files in your dir
git add [dirname]/* # will add files under a new dir
git commit -m "your comment" # will commit y... | yolmant/LDAP | Basic/Git.bash | Shell | mit | 475 |
#! /bin/bash
# We are aiming for this file structure:
# file structure
# sub-01
# ses-pre/post
# anat
# T1w
# T2w
# func
# bold
# events.tsv
#
# fmap
# phase
# magnitude
# Requirements for openfMRI:
# 1. deface your high res T1/T2 - this python script https://github.c... | pbeukema/rsaRemap | scripts/roiAnalysis/bids_modmap.sh | Shell | mit | 5,912 |
alias volup='amixer -q set Master 10%+'
alias voldown='amixer -q set Master 10%-'
alias getvolume="amixer sget Master | sed -n '/ft:/{;s/.* \[\([0-9]\+%\).*\]/\1/;p;}'"
| sktt/dotfiles | xmonad/aliases.zsh | Shell | mit | 169 |
#!/bin/bash
## ganglia 2016-05-30
## http://www.aqzt.com
##email: ppabc@qq.com
##robert yu
##centos 6和centos 7
OS_CENTOS6(){
wget http://mirrors.aliyun.com/epel/epel-release-latest-6.noarch.rpm
rpm -Uvh epel-release-latest-6.noarch.rpm
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
##只装ganglia服务器端
yum install gangl... | woerwin/learning | kjyw/ganglia/start.sh | Shell | mit | 1,883 |
#!/usr/bin/env bash
# -*- coding: utf-8 -*-
#
# Copyright (C) 2018-2020 CERN.
# Copyright (C) 2018-2020 RERO.
#
# Invenio-Circulation is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.
# To run a test locally:
# 1. eval "$(docker-services... | inveniosoftware/invenio-circulation | run-tests.sh | Shell | mit | 1,051 |
# src/bash/wrapp/funcs/check-perl-modules-prerequisites.test.sh
# v1.0.9
# ---------------------------------------------------------
# todo: add doTestCheckPerlModulesPrerequisites comments ...
# ---------------------------------------------------------
doTestCheckPerlModulesPrerequisites(){
doLog "DEBUG START doTes... | ygeo/url-sniper | src/bash/url-sniper/tests/check-perl-modules-prerequisites.test.sh | Shell | mit | 824 |
#!/bin/bash -ev
#
# Installation Script
# Written by: Tommy Lincoln <pajamapants3000@gmail.com>
# Github: https://github.com/pajamapants3000
# Legal: See LICENSE in parent directory
#
#
# Dependencies
#**************
# Begin Required
#d_bus-1.8.18
#glib-2.44.1
#Xorg Libraries
# End Required
# Begin Recommended
# En... | pajamapants3000/BLFS_scripts_etc | scripts/at_spi2_core-2.16.0.sh | Shell | mit | 1,479 |
#!/bin/sh
set -x
set -e
echo "Starting additional setup steps for dart local deployment"
# we run these commands after we logged out since we need the new dockr group to be persisted (A linux feature).
echo "Step 1/6: Enable docker-service and install docker-compose"
sudo systemctl enable docker.service &&
sudo syst... | RetailMeNotSandbox/dart | tools/vagrant/tests/statics/gold_files/additional_steps.sh | Shell | mit | 1,714 |
touch /tmp/dependancy_arduidom_in_progress
echo 0 > /tmp/dependancy_arduidom_in_progress
echo "Launch install of arduidom dependancy"
echo "-------------------------------------"
echo ">>> Apt Clean"
sudo apt-get clean
echo 20 > /tmp/dependancy_arduidom_in_progress
echo ">>> Apt Update"
sudo apt-get update
echo 40 > /t... | bobox59/arduidom | ressources/install.sh | Shell | mit | 1,108 |
if [[ "$dotfiles_platform" == 'linux' ]]; then
dsymlink modules/gromit-mpx/gromit-mpx.cfg ~/.config/gromit-mpx.cfg
dsymlink modules/gromit-mpx/gromit-mpx.ini ~/.config/gromit-mpx.ini
fi
| justinhoward/dotfiles | modules/gromit-mpx/install.sh | Shell | mit | 190 |
#!/bin/bash
# Define number of events
export NUMBEREVENTS=380000
# Define workdir
export WORKDIR=`pwd`
# Define gridpack location, warning if you are using crab, requires global accessible gridpack
# If running locally you can also set a local gridpack location
export GRIDPACKLOC=/afs/cern.ch/work/m/mharrend/public/... | mharrend/privateMCproduction | trancheprivateproduction.sh | Shell | mit | 3,328 |
#!/bin/bash
# Rewritten Viginère Cipher Script
# By Anomitee
# Define default variables and functions
# Convert all letters to lowercase, remove everything else.
function clean {
echo "$1" | tr A-Z a-z | sed s/[^a-z]//g
}
# Print an error message
function error {
echo "-k flag with an argument containing at lea... | Anomitee/Bash | viginere2.sh | Shell | mit | 5,083 |
#!/bin/bash
#SBATCH --job-name=UF.1k.np6
#SBATCH --qos=janus
###SBATCH --time=12:00:00
#SBATCH --time=4:00:00
#SBATCH --nodes 1
#SBATCH --ntasks-per-node 6
#SBATCH --output=/lustre/janus_scratch/pamo8800/output/slurm-%j.out
#SBATCH --error=/lustre/janus_scratch/pamo8800/error/slurm-%j.err
export OMP_NUM_THREADS=1
mo... | patemotter/trilinos-prediction | tpetra_solvers/batch_scripts/janus/janus_np6.sh | Shell | mit | 1,039 |
#!/bin/sh
apt-get update
apt-get install -y --no-install-recommends curl bash unzip expect build-essential
# clean cache
apt-get clean
rm -fr /var/lib/apt/lists/* /tmp/* /var/tmp/*
| bschramke/docker-android-build | 8-jdk/tools/update-packages.sh | Shell | mit | 184 |
#!/bin/bash
f=`dirname "$0"`
. ${f}/config.inc
CONFIG_FILE_OLSRD="${MY_SYS}/etc/olsrd_testnodes.conf"
sudo service dbus stop
sudo killall -q iperf
# PREREQUISITES
sudo modprobe ipv6
# STARTUP NECESSARY INTERFACES
for IF in 0 1 2
do
sudo ifdown wlan${IF}
sleep 1
sudo ifconfig wlan${IF} down
sleep 1
done
... | adittrich/excovery | nodes/bin/prepare-virtual.sh | Shell | mit | 1,870 |
#!/bin/sh
npm install -g @microsoft/generator-sharepoint
npm install -g @pnp/cli-microsoft365@next
npm install -g gulp
npm install -g http-server
npm install -g jshint
npm install -g nodemon
npm install -g yo
| pkskelly/osx-install | scripts/npm-install-global-packages.sh | Shell | mit | 211 |
rm -rf $1-$3
git clone http://github.com/nitrogenjs/$2 $1-$3
cd $1-$3
deis create $1-$3
../config-env-$3.sh
git push deis master
deis scale web=$4
| nitrogenjs/devops | deis/clusters/common/install-role.sh | Shell | mit | 153 |
green -r -o syml/_version.py
| eykd/syml | runtests.sh | Shell | mit | 29 |
#!/bin/sh
wget -O - http://ardownload.adobe.com/pub/adobe/reader/unix/9.x/9.5.5/enu/AdbeRdr9.5.5-1_i386linux_enu.deb > /tmp/acroread.deb
sudo dpkg --install /tmp/acroread.deb
sudo apt-get --assume-yes install -f
| cctb-it-wuerzburg/installation | final_installation/terminal_server/34_acroread.sh | Shell | mit | 215 |
#!/bin/sh
set -eo pipefail -o nounset
genome=https://raw.githubusercontent.com/gogetdata/ggd-recipes/master/genomes/Homo_sapiens/hg38/hg38.genome
wget --quiet -O - http://hgdownload.cse.ucsc.edu/goldenpath/hg38/database/gap.txt.gz \
| gzip -dc \
| awk -v OFS="\t" 'BEGIN {print "#Table Info: https://genome.ucsc... | gogetdata/ggd-recipes | recipes/genomics/Homo_sapiens/hg38/hg38-gaps-ucsc-v1/recipe.sh | Shell | mit | 610 |
# 0 * * * * bash $HOME/my_files/backup.sh
dir="my_files/"
fn="my_files-$(date +'%u').tar" # week day 1-7
dest="user@backup.server"
cd
tar cf ${fn} ${dir}
gzip ${fn}
scp ${fn}.gz ${dest}:
rm -f ${fn}.gz
| bszcz/dotfiles | backup.sh | Shell | mit | 215 |
function cabal_sandbox_info() {
cabal_files=(*.cabal(N))
if [ $#cabal_files -gt 0 ]; then
if [ -f cabal.sandbox.config ]; then
echo "%{$fg[green]%}[sandboxed] %{$reset_color%}"
else
echo "%{$fg[red]%}[not sandboxed] %{$reset_color%}"
fi
fi
}
autoload bashcomp... | carymrobbins/oh-my-zsh | plugins/cabal/cabal.plugin.zsh | Shell | mit | 979 |
#!/bin/sh
USER_ID=${USER_ID:-33}
GROUP_ID=${GROUP_ID:-33}
if [ "$USER_ID" -ne 33 ] || [ "$GROUP_ID" -ne 33 ]; then
groupmod --gid $GROUP_ID www-data
usermod --uid $USER_ID --gid $GROUP_ID www-data
fi
chown -Rf www-data:www-data /var/www
exec /usr/sbin/apache2ctl -D FOREGROUND | devwebpeanuts/placeburger | docker/images/apache-php7/bootstrap.sh | Shell | mit | 288 |
#!/bin/bash
[ "x$DOCKER" != "x" ] || DOCKER="docker"
[ "x$TESTS" != "x" ] || TEST="basic"
# TODO: do this in this directory and up two/shutit*
find . | grep cnf$ | xargs chmod 0600
# Off for now
SHUTIT_PARALLEL_BUILD=
readonly SHUTIT_PARALLEL_BUILD
BUILD_REF=$$
readonly BUILD_REF
function get_abs_filename() {
... | ianmiell/shutit-test | test/shared_test_utils.sh | Shell | mit | 2,161 |
#!/bin/bash
for i in nn tn; do
for j in spec2 speccd; do
k=${j}-${i}-gfx908
touch ${k}.bgn
../../../../Tensile/bin/Tensile ${k}.yaml ${k} > ${k}.out 2>&1
touch ${k}.end
done
done
| ROCmSoftwarePlatform/Tensile | Tensile/Configs/miopen/archives/ext2/2020-11-05/gfx908/configs/doit.sh | Shell | mit | 189 |
#!/usr/bin/env bash
curl http://localhost:8080/parcels -k -X POST -d @playload.json | Power-LAB/gls-unibox-delivery | tests/scratch/parcel-request.sh | Shell | mit | 83 |
#!/bin/sh
supervisord
supervisorctl reread
supervisorctl update
supervisorctl start laravel-worker:*
php-fpm --nodaemonize
| YiQiZhang/docker-laravel-php7 | scripts/start.sh | Shell | mit | 125 |
#!/bin/bash
set -e
export STAGING=$HOME/bitseeds_build/bitseeds_staging
export OUTDIR=$HOME/bitseeds_build/bitseeds_out
export DEPSDIRT=$HOME/bitseeds_build/bitseeds_deps
export HOST=i686-w64-mingw32
export MAKEOPTS="-j4" # set to the number of cores you have on the machine
# installer
cd $D... | BitSeedsFoundation/BitSeeds | contrib/build_win_on_linux/nsis.sh | Shell | mit | 795 |
#!/bin/sh
# @Author: Jeremiah Marks
# @Date: 2015-03-04 22:09:10
# @Last Modified by: Jeremiah Marks
# @Last Modified time: 2015-03-04 22:12:14
python ~/twasync/jdavisp3-twisted-intro-8f9d137/blocking-server/slowpoetry.py --port 10003 ~/twasync/jdavisp3-twisted-intro-8f9d137/poetry/ecstasy.txt --num-bytes 60 & | jeremiahmarks/dangerzone | scripts/bash/sstart.sh | Shell | mit | 316 |
#!/bin/sh
BASH=/mnt/us/bash
UPLOADER=/mnt/us/dropbox_uploader.sh
CLIPPINGS_FILE="/mnt/us/documents/My Clippings.txt"
UPLOAD_DEST_FILE="My Clippings.txt"
DAEMON_STATE_FILE=daemon_ip
kill_if_running()
{
if [ -e $DAEMON_STATE_FILE ]; then
kill `cat $DAEMON_STATE_FILE` > /dev/null 2>&1
rm $DAEMON_STAT... | matejd/clippings-dropbox | clippings/bin/daemon.sh | Shell | mit | 1,125 |
#!/bin/bash
cd $(dirname "$0")
. ./virtualenv.sh
pip $*
| PeriodicTaskTracker/tasktracker-django | pip.sh | Shell | mit | 58 |
nmcli con add type bridge ifname br0
nmcli con add type bridge-slave ifname em2 master bridge-br0
| johnwfinigan/snippets | centos7-nmcli-add-bridge.sh | Shell | mit | 98 |
#!/bin/bash
# current Git branch
branch=$(git symbolic-ref HEAD | sed -e 's,.*/\(.*\),\1,')
# v1.0.0, v1.5.2, etc.
versionLabel=v$1
# establish branch and tag name variables
devBranch=develop
masterBranch=master
releaseBranch=release-$versionLabel
# create the release branch from the -develop branch
git checkout -... | alexwyett/ClubApiClient | release.sh | Shell | mit | 1,148 |
#!/bin/bash
USER=hacktiv8-2
rm -rf /Users/$USER
cp -R /Users/studentclean /Users/$USER
chmod -R 777 /Users/$USER
/sbin/reboot
| hacktiv8/macmini | clean.sh | Shell | mit | 127 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for RHSA-2010:0950
#
# Security announcement date: 2010-12-08 00:28:20 UTC
# Script generation date: 2017-01-01 21:12:56 UTC
#
# Operating System: Red Hat 5
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - apr-util.i386:1.2.7-11.el5_5.2
# - ap... | Cyberwatch/cbw-security-fixes | Red_Hat_5/x86_64/2010/RHSA-2010:0950.sh | Shell | mit | 1,569 |
#!/bin/sh
if [ $(ps aux | grep $USER | grep node | grep -v grep | wc -l | tr -s "\n") -eq 0 ]
then
export PATH=/usr/local/bin:$PATH
#export NODE_ENV=production
cd /var/www/indataly-blog && forever --spinSleepTime 10000 start index.js >> forever.log 2>&1
fi
| parkerproject/indataly-blog | starter.sh | Shell | mit | 264 |
#!/bin/bash
#
# [!] Run this script from the root folder of this repository
#
THIS_SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd "${THIS_SCRIPTDIR}"
export ssh_rsa_private_key=$(<testkey_ok)
export ssh_key_save_path="$(PWD)/testsave"
export is_remove_other_identities="true"
bash ../step.sh
if [ $... | bazscsa/steps-activate-ssh-key | _tests/test_ok.sh | Shell | mit | 565 |
#!/bin/bash
readonly ACTORDIR="./catscripts/Entertainment/Actors_and_actresses"
if [ "$1" == "" ]; #Normal operation
then
debug_start "Actors and actresses"
. $ACTORDIR/Orlando_Bloom/OrlandoBloom.sh #$KEYWORDS_ACTOR_ORLANDOBLOOM
. $ACTORDIR/Sandra_Bullock/SandraBullock.sh #$KEYWORDS_ACTRESS_SANDRABULLOCK
. ... | MW-autocat-script/MW-autocat-script | catscripts/Entertainment/Actors_and_actresses/Actors.sh | Shell | mit | 3,370 |
#!/bin/bash
# Copyright(c) 2013 Intel Corporation. All rights reserved.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to us... | htot/meta-intel-edison | setup.sh | Shell | mit | 12,092 |
/// Gotcha: glob chars as --prefix: ? * # ## #* *# #*# % %% %* *% %*%
/// Inline output
?$ echo 'prefix ?' #=> prefix ?
*$ echo 'prefix *' #=> prefix *
#$ echo 'prefix #' #=> prefix #
%$ echo 'prefix %' #=> prefix %
##$ echo 'prefix ##' #=> prefix ##
%%$ echo 'prefix %%' #=> prefix %%
#*$ echo 'prefix #*' #=> prefix ... | aureliojargas/clitest | test/option-prefix-glob.sh | Shell | mit | 807 |
#!/bin/bash
mkdir -p $PWD/data
docker rm -f ab-redis-5
docker run -d --restart=on-failure:5 -p 7005:7005 -v $PWD/redis.conf:/usr/local/etc/redis/redis.conf -v $PWD/data:/data --name ab-redis-5 redis /usr/local/etc/redis/redis.conf
| ShinEDL/Redis | local-test/7005/deploy.sh | Shell | mit | 234 |
#!/bin/bash
pyinstaller build32.spec | BillBillBillBill/Tickeys-linux | build32.sh | Shell | mit | 36 |
#!/usr/bin/env bash
echo "Installing compile dependencies..."
#brew update
if [ "$CXX" = "g++" ]; then
echo "Installing GCC..."
#brew install gcc
fi | AperEntertainment/AperCommon | tests/travis_setup_osx.sh | Shell | mit | 156 |
#!/bin/sh
set -e
echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
install_framework()
{
if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then
local source="${BUILT_PRO... | mengheangrat/Apsara | Example/Pods/Target Support Files/Pods-Apsara_Example/Pods-Apsara_Example-frameworks.sh | Shell | mit | 3,601 |
#!/bin/sh
set -e
echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
# This protects against multiple targets copying the same framework dependency at the same time.... | maximbilan/iOS-QuickBlox-File-Uploader-Downloader | Pods/Target Support Files/Pods-ios_quickblox_file_uploader_downloader/Pods-ios_quickblox_file_uploader_downloader-frameworks.sh | Shell | mit | 5,022 |
#! /usr/bin/env kat -n
. ~/bash/history.sh
# _
# x
alias i=ind
I () {
printf "%s" "$*"
}
# xx
ij () {
ind ~/jab/ "$@"
}
ijg () {
inj git "$@"
}
init () {
local __doc__="""LOok for __init__.sh here, there, or below and source it if found"""
local _init=./__init__.sh
[[ -f $_init ]] || _i... | jalanb/dotjab | src/bash/keyboard/i.sh | Shell | mit | 458 |
#!/bin/bash
# It checks if the signature is belongs to
# the supposedly signed file
SIGNATURE=$1
SIGNED_FILE=$2
gpg --verify $SIGNATURE $SIGNED_FILE
| sguillen-proyectos/scripts | bash/gpgpVerifyFileSignature.sh | Shell | mit | 152 |
#!/bin/sh
gulp deploy
| jolly/camerazoid.com | deploy.sh | Shell | mit | 22 |
#!/bin/sh -e
#
# Copyright (c) 2009-2017 Robert Nelson <robertcnelson@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights... | RobertCNelson/linux-next | scripts/gcc.sh | Shell | mit | 15,413 |
#!/bin/bash
# Setup ORDS 2.0
mkdir -p /tmp/vagrant/ords
unzip /vagrant/files/ords.2.0.10.289.08.09.zip -d /tmp/vagrant/ords
mkdir /etc/ords
java -jar /tmp/vagrant/ords/ords.war configdir /etc
java -jar /tmp/vagrant/ords/ords.war set-properties --conf defaults /vagrant/config/ords.properties
java -jar /tmp/vagrant/or... | fuzziebrain/vagrant-orclapex-centos-7.0 | shell/ords.sh | Shell | mit | 686 |
#!/usr/bin/env bash
set -ue
current_dir=$(dirname "${BASH_SOURCE[0]:-$0}")
cd "$current_dir"
target_dir="$HOME/.config/$(basename "$(realpath "$current_dir")")"
src_list=$(command find . -mindepth 1 -type f | command grep -v "$(basename "$0")")
for src in $src_list; do
src_fullpath=$(readlink -f "$src")
if [[ !... | yutakatay/dotfiles | .config/Code/_install.sh | Shell | mit | 471 |
#!/bin/bash
#############################
# Easy-RSA Setup for OpenVPN
#############################
# Requires: Easy-RSA 3
#### The PKI Directory Structure
#
# An Easy-RSA PKI contains the following directory structure:
#
# * private/ - dir with private keys generated on this host
# * reqs/ - dir with locally gener... | tomas-kuchta/openVpnServer | scripts/README_easy-rsa_openvpn.bash | Shell | mit | 7,224 |
curl --request POST \
--url https://rest.facturame.mx/api/v3/businesses/cfdi/v33.json \
--header 'content-type: application/json' \
--header 'x-access-token: YOUR TOKEN GOES HERE' \
--data '{\n "cfdi": {\n "ref_id": "123abc",\n "ticket_number": "QFAuxk5l6CWQ/xZyuFN2",\n "direct_emission": false,\n "branch_i... | facturame/autofacturacion | examples/v33/shell/post.sh | Shell | mit | 378 |
echo '{
"codigoProduto": "119",
"tipoConsumidor": "F",
"documentoConsumidor": "42924057191",
"cepOrigem": "14401-360",
"codigoEstacaoConsultante": "123"
}' | \
http POST http://186.249.34.34/api/consulta \
authorization:'Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJjb25zdWx0YUBlbnRlcnBsdWcuY29tLmJyIi... | enterplug/consulta-enterplug | consulta-119/consulta-119-shellscript-example/consulta-119-shellscript-httpie.sh | Shell | mit | 494 |
#!/usr/bin/env bash
# Written by Wu Jianxiao and CBIG under MIT license: https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md
# This warpper script runs CBIG_RF_MNICoord2fsaverageVertex.m and CBIG_RF_fsaverageVertex2MNICoord.m for an example
if [ "$(uname)" == "Linux" ]; then
SCRIPT_DIR=$(dirname "$(readlink ... | ThomasYeoLab/CBIG | stable_projects/registration/Wu2017_RegistrationFusion/bin/standalone_scripts_for_MNI_fsaverage_coordinates_conversion/CBIG_RF_conversion_example.sh | Shell | mit | 3,226 |
# Clone repositories and output them to the correct plugin directories.
# Run this script in the current context "source plugins.sh" to keep environment variables.
git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
git clone git://github.com/zsh-users/zsh-syntax-highlighti... | catlinman/nekoconfig | zsh/plugins.sh | Shell | mit | 682 |
ARG_DEFS=(
"[--version-name=(.*)]"
"--action=(clone|updateConfig|docs)"
)
function init {
PROJECT_DIR=$SCRIPT_DIR/../..
BUILD_DIR=$SCRIPT_DIR/../../dist
IONIC_SITE_DIR=$SCRIPT_DIR/../../tmp/ionic-site
}
function clone {
echo "#################################"
echo "## Cloning ionic-site repo.... ##"
... | sahat/ionic | scripts/site/publish.sh | Shell | mit | 2,169 |
#!/bin/bash
# test if ssh agent is running, if not start + export one
if [[ -n "${SSH_AGENT_PID}" ]] && ( ps "${SSH_AGENT_PID}" >/dev/null ) ; then
echo -n
# reuse already running agent for active user
elif ( ps -U "${ESSENTIALS_USER}" | grep -v grep | grep -q ssh-agent ) ; then
export SSH_AGENT_PID=$( ps -U ... | simonschiele/essentials | ssh.sh | Shell | mit | 593 |
sed 's|exec "$@"|/app/set_port.sh\n$@|' docker-entrypoint.sh -i
| theit8514/nginx-proxy-subdirectory | install.sh | Shell | mit | 64 |
#!/bin/bash -e
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "$DIR/../../bin/setenv.sh"
docker pull $DOCKER_REGISTRY/worktajm-logstash
docker run -d \
--name logstash \
--link elasticsearch:elasticsearch \
worktajm-logstash \
logstash --debug -f /etc/logstash/logstash.conf
| hirro/docker | conf/worktajm/13-logstash.sh | Shell | mit | 307 |
#!/bin/bash
# addhotspot.sh newssid newpassword
wpa_passphrase "$1" $2 >> /etc/wpa_supplicant/wpa_supplicant.conf
# /etc/dhcpcd.conf
echo ssid $1 >> /etc/dhcpcd.conf
| MiczFlor/RPi-Jukebox-RFID | scripts/userscripts/addhotspot.sh | Shell | mit | 171 |
#! /usr/bin/env bash
python3 setup.py bdist_egg upload
python3 setup.py sdist upload
# eof
| noa/brute | upload.sh | Shell | mit | 93 |
#!/bin/bash
# create multiresolution windows icon
ICON_DST=../../src/qt/res/icons/albacoin.ico
convert ../../src/qt/res/icons/albacoin-16.png ../../src/qt/res/icons/albacoin-32.png ../../src/qt/res/icons/albacoin-48.png ${ICON_DST}
| albacoin/albacoin | share/qt/make_windows_icon.sh | Shell | mit | 233 |
#!/bin/bash
# This displays the size of all directory inside the current directory
[ "$1" = "-h" ] || [ "$1" = "--help" ] || [ $# -gt 0 ] && { echo "Usage : $0" && exit 1; }
# Error out
set -e
du -d 1 -h | sort -n
echo "Done."
| Lyptik/bash-snippets | size-directory-list.sh | Shell | mit | 232 |
#!/bin/sh
# The XOrg home page: http://www.x.org/wiki/Home
# Requires: lib/misc_utils.sh
# lib/ports_pkgs_utils.sh
# Contents: x_xorg__install_xorg
# x_xorg__install_xterm
# x_xorg__install_xkill
# x_xorg__install_xdm
# Variable defaults:
: ${x_xorg__apps_folder='/usr/shew/install/shewstring/libexec/x/apps'}
... | Shew/Shewstring | libexec/x/xorg.sh | Shell | cc0-1.0 | 4,597 |
#!/bin/bash
mysql << EOF
SET wsrep_on=ON;
SET GLOBAL wsrep_desync=OFF;
SET GLOBAL wsrep_OSU_method='TOI';
EOF
| deimosfr/galera_innoptimizer | test/restore_toi.sh | Shell | gpl-2.0 | 112 |
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
DIE=0
if [ -n "$GNOME2_DIR" ]; then
ACLOCAL_FLAGS="-I $GNOME2_DIR/share/aclocal $ACLOCAL_FLAGS"
LD_LIBRARY_PATH="$GNOME2_DIR/lib:$LD_LIBRARY_PATH"
PATH="$GNOME2_DIR/bin:$PATH"
export PATH
export LD... | tomac/yersinia | autogen.sh | Shell | gpl-2.0 | 4,477 |
#!/bin/bash
EXTENSION="$2"
FILE="$1/../Main.$EXTENSION"
for i in $(ls -v $1/*.$EXTENSION)
do
sim=`sim_text -p -e -s $FILE $i | grep ^"$FILE" | awk '{print $4}'`
if [ ! -z $sim ] && [ $sim -gt 50 ]
then
sim_s_id=`basename $i | cut -d'.' -f1`
echo "$sim $sim_s_id" > simfile
exit 0;
fi
done
exit 0;
| ZJGSU-Open-Source/RunServer | sim/sim.sh | Shell | gpl-2.0 | 311 |
# ltmain.sh - Provide generalized library-building support services.
# NOTE: Changing this file will not affect anything until you rerun configure.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005
# Free Software Foundation, Inc.
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
# Th... | shizhai/wprobe | build_dir/target-mips_r2_uClibc-0.9.33.2/cyassl-1.6.5/ltmain.sh | Shell | gpl-2.0 | 197,315 |
#!/bin/sh
svn revert */*/Makefile.in */Makefile.in configure Makefile.in aclocal.m4
| asterIRC/ircd-ratbox-ircnet | agrevert.sh | Shell | gpl-2.0 | 84 |
#!/bin/bash
# Verificacion ROOT
FILE="/tmp/out.$$"
GREP="/bin/grep"
# Solo usuarios Root [CHECK]
if [[ $EUID -ne 0 ]]; then
echo "Solo Usuarios ROOT pueden correr este Script" 1>&2
exit 1
fi
#Carga de programa definicion de parametros
dir=/home/steam/
csudo='sudo -u steam'
echo """
Sistema de Instalacion de ser... | DmACKGL/GL | steam_s.sh | Shell | gpl-2.0 | 2,485 |
#!/bin/sh
PATH="/bin"
mount -t proc proc /proc
mount -t cramfs /dev/mtdblock0 /romdisk
read -t 5 -p "Upgrade firmware [y/N]: " answer
if [ "$answer" == "y" ]; then
mount -t sysfs sys /sys
start-stop-daemon -x watchdogd -p /tmp/watchdogd.pid -m -b -S -- -f
ifconfig eth0 10.65.100.205 netmask 255.255.255.0
defau... | nmacs/lm3s-uclinux | vendors/Elster/uwic/initramfs/init.sh | Shell | gpl-2.0 | 1,755 |
#!/bin/bash -ue
# Copyright (C) 2013 Percona Inc
# Copyright (C) 2017-2020 MariaDB
#
# 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; version 2 of the License.
#
# This program is distributed in ... | ottok/mariadb | scripts/wsrep_sst_mariabackup.sh | Shell | gpl-2.0 | 37,715 |
gcc mystrcmp.s main.c
./a.out
#result
#hello, world > hello, universal
| nissassin17/asm-ppc64 | code/107/run.sh | Shell | gpl-2.0 | 71 |
java -cp .:../lib/jsr94.jar:../lib/jruleengine.jar example5.Example5 | kevin-ww/text.classfication | src/test/java/example5.sh | Shell | gpl-2.0 | 68 |
#!/bin/sh
export ROOT_DIR=$(pwd)
#export NEW_LOGS_DIR=${ROOT_DIR}/new_logs_bz2
export NEW_LOGS_DIR=/home/jnwang/t3400_sp4_others_ts
export OLD_LOGS_DIR=/home/jnwang/t3400_sp3_others_ts
export HANDLER_DIR=${ROOT_DIR}/handler_directory
#sync logs from Testing Server
#pushd ${NEW_LOGS_DIR}
#rsync root@147.2.207.210:/va... | wjn740/jtools | step1.sh | Shell | gpl-2.0 | 936 |
(( `id -u` == 0 )) || { echo "Must be root to run script"; exit 1; }
if [ $(whoami) != "root"]
then
exit
fi
main_out="DASH status program, Abhiram Shibu"
command_starting="/sys/class/power_supply/battery/fastchg_starting"
command_starting_message="Dash charging started :"
command_dash_status="/sys/class/power_supply/b... | ABHIRAMSHIBU/one_plus_dash_status_UNIX_sh | check.sh | Shell | gpl-2.0 | 1,507 |
#!/bin/bash
curpath=$(pwd)
mkdir -p /tmp/vim_bk
mv ~/.vimrc /tmp/vim_bk/.vimrc 2>/dev/null
mv ~/.vim /tmp/vim_bk/.vim 2>/dev/null
cp .vimrc ~/.vimrc
cp -r .vim ~/.vim
cd ~/.vim/ && git clone https://github.com/kien/ctrlp.vim.git ~/.vim/bundle/ctrlp.vim
cd ~/.vim && mkdir -p bundle && cd bundle && git clone git://githu... | stynr/vim | install.sh | Shell | gpl-2.0 | 585 |
#!/bin/bash
cvlc -I dummy -vvvv rtsp://88.92.61.10/live.sdp vlc://quit \
--live-caching 5000 --network-caching 5000 --sout-x264-preset medium --sout-x264-tune film --sout-mux-caching 5000 --sout-transcode-threads 6 --sout-x264-vbv-maxrate 5000 --sout-x264-vbv-bufsize 5000 --sout-avformat-options '{movflags=empty_moov+f... | tech-server/tgmanage | examples/tg16/streams/han/south-encode-mp4.sh | Shell | gpl-2.0 | 632 |
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
check() {
arch=$(uname -m)
[ "$arch" = "s390" -o "$arch" = "s390x" ] || return 1
return 0
}
depends() {
return 0
}
installkernel() {
instmods ctcm lcs qeth qeth_l2 qeth_l3
}
... | zfsonlinux/dracut | modules.d/95znet/module-setup.sh | Shell | gpl-2.0 | 486 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.