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
. /opt/servioticy_scripts/env.sh
START_FOLDER=$PWD
echo
echo "*******************************"
echo Starting servIoTicy services...
echo "*******************************"
echo
sudo rm -f $ELASTICSEARCH_LOG_FILE
sudo rm -rf $API_LOG_FOLDER/*
sudo rm -f $BROKER_LOG_FILE
rm -f $STORM_LOG_FILE
rm -f $KESTRE... | muka/servioticy-vagrant | puppet/scripts/startAll.sh | Shell | apache-2.0 | 3,019 |
#!/bin/sh
if [ $# -lt 2 ]; then
echo ""
echo "release.sh <label> <command> <optional_tag_label>"
echo "where command is maketag, makebranch, rmtag, rmbranch, gettag, or getbranch"
echo ""
echo "Remember, the release process is:"
echo "1. Make a branch, check it out, test it, commit fixes. (mkbranch, getbranch)"
... | SciGaP/DEPRECATED-Cipres-Airavata-POC | saminda/cipres-airavata/cipres-portal/portal2/scripts/release.sh | Shell | apache-2.0 | 2,989 |
#!/bin/sh
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you ... | bkuebler/openshift-apache-http-cartridge | src/httpd-2.4.6/test/make_sni.sh | Shell | apache-2.0 | 12,520 |
#
# Copyright (C) 2013 The Unofficial CyanogenMod Project For Sony Xperia P [Percy Gahlot]
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
... | DroidModderXtreme/android_device_sony_nypon-2 | vendorsetup.sh | Shell | apache-2.0 | 705 |
#!/bin/bash
########################################################################
#
# Linux on Hyper-V and Azure Test Code, ver. 1.0.0
# Copyright (c) Microsoft Corporation
#
# All rights reserved.
# Licensed under the Apache License, Version 2.0 (the ""License"");
# you may not use this file except in compliance w... | bogdancarpusor/lis-test | WS2012R2/lisa/remote-scripts/ica/SR-IOV_Utils.sh | Shell | apache-2.0 | 13,853 |
#!/usr/bin/env bash
source ./bin/utils.sh
TMPDIR=${TMPDIR:-/tmp}
let installed=0
function detectVSCode() {
if [ -d "/Applications/Visual Studio Code.app" ]; then
code="/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code"
elif [ -x "$(command -v codium)" ]; then
code="$(comma... | houseofadams/dotfiles | install_vscode_extensions.sh | Shell | apache-2.0 | 5,743 |
#! /bin/bash
filelist=(`ls $1|grep -v diff|tail -2`)
echo ${#filelist[@]}
if [[ ${#filelist[@]} -ge 2 ]]
then
sdiff -l $1/${filelist[1]} $1/${filelist[0]} > $1/${filelist[1]}\_${filelist[0]}.diff.txt
else
exit
fi
| lichengshuang/createvhost | python/switch/switchConfigBacup/switch/bin/diff.sh | Shell | apache-2.0 | 215 |
#!/bin/bash -e
#
# Copyright (c) 2014, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree. An additional grant
# of patent rights can be found in the PATENTS file in the same directory.
#
#
set -o ... | apaszke/thpp | thpp/build_fbthrift_folly.sh | Shell | bsd-3-clause | 1,484 |
#!/bin/sh
#$Id: makeEvb13192.sh,v 1.4 2005/09/23 13:32:01 janflora Exp $
# The purpose of this script is to create an app.c file from the
# TinyOS sources and application program, that is suited as input for
# the MetroWerks CW compiler. It uses NesC to do this.
# INTERFACE/EXTERNAL ENVIRONMENT VARIABLES USED:
# PLA... | ekiwi/tinyos-1.x | contrib/diku/evb13192/tools/make/CodeWarrior/makeEvb13192.sh | Shell | bsd-3-clause | 5,289 |
#!/bin/bash -p
# Copyright (c) 2011 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Called as root after Keystone ticket promotion to change the owner, group,
# and permissions on the application. The application bundl... | aYukiSekiguchi/ACCESS-Chromium | chrome/browser/mac/keystone_promote_postflight.sh | Shell | bsd-3-clause | 1,964 |
#! /bin/bash
cd ~/Library/Developer/Xcode/DerivedData
rm -rf *
echo "done"
| phlls/phlls | clear_derived_data.sh | Shell | mit | 77 |
#!/bin/sh
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug ..
make
| Velro/renderdoc | scripts/travis/osx_compile.sh | Shell | mit | 71 |
#!/bin/bash
clear
echo "cat words.txt Just print the whole file"
read
cat words.txt
read
clear
echo ""
echo "---- Simple Use & Flags ----"
echo ""
read
clear
echo ""
echo "grep -E 'Sue' words.txt all lines where 'Sue' occurs"
echo ""
read
grep -E 'Sue' words.txt
read
clear
ech... | UWashington-Astro300/Astro300-A16 | Words/RegEx.bash | Shell | mit | 7,345 |
#! /bin/sh
# Run this to generate all the auto-generated files needed by the GNU
# configure program
libtoolize --automake
aclocal
automake --add-missing
autoconf
| SESA/EbbRT-libgsl | gsl-1.0/autogen.sh | Shell | gpl-2.0 | 165 |
#!/bin/sh
# Copyright (C) 2002-2014 Free Software Foundation, Inc.
#
# 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, or (at your option)
# any later version.
#
# This program i... | kuym/openocd | tools/automake-1.15/t/cond45.sh | Shell | gpl-2.0 | 1,099 |
# only useful for UEFI systems in combination with grub[2]-efi
(( USING_UEFI_BOOTLOADER )) || return # empty or 0 means using BIOS
# check if /mnt/local/boot/efi is mounted
[[ -d "/mnt/local/boot/efi" ]]
StopIfError "Could not find directory /mnt/local/boot/efi"
BootEfiDev="$( mount | grep "boot/efi" | awk '{print $... | krissi/rear | usr/share/rear/finalize/Linux-i386/23_run_efibootmgr.sh | Shell | gpl-2.0 | 1,064 |
find . -not -name "*.blank" -and -not -name "*.template" -and -not -name "*~" -and -not -name "*.*" -and -not -name "*CVS*" -and -not -name "Root" -and -not -name "Repos*" -and -not -name "*Entr*" -and -not -type d
| vegastrike/Assets-Production | units/findunits.sh | Shell | gpl-2.0 | 215 |
#!/bin/bash
# Tests that the symbols in our static libraries do not occur twice in the
# output binaries. Most platforms don't warn about this, but it has potential
# ill effects.
#
# How it can happen: It can happen if we list a static library as a dependency
# for libpromises, and then we list the same static librar... | Webhuis/Cfengine-debian | tests/unit/dynamic_dependency_test.sh | Shell | gpl-3.0 | 2,440 |
#!/bin/bash
pwd
ruby tools/asinfo/asinfo.rb -p 3000 | grep -q ";proxy_action=0;"
if [ $? -ne 0 ]
then
exit 1
fi
ruby tools/asinfo/asinfo.rb -p 3010 | grep -q ";proxy_action=0;"
if [ $? -ne 0 ]
then
exit 1
fi
exit 0 | redBorder/aerospike-client-ruby | .travis/proxy_check.sh | Shell | apache-2.0 | 219 |
#!/bin/bash -eu
# Copyright 2020 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agree... | skia-dev/oss-fuzz | projects/flatbuffers/build.sh | Shell | apache-2.0 | 852 |
#!/bin/bash
#
# Copyright 2014 Nickolay V. Shmyrev
# 2014 Brno University of Technology (Author: Karel Vesely)
# Apache 2.0
# To be run from one directory above this script.
data_dir=db/TEDLIUM_release1
. path.sh
. parse_options.sh || exit 1;
export LC_ALL=C
sph2pipe=$EESEN_ROOT/tools/sph2pipe_v2.5/sp... | eesentk/eesen | asr_egs/tedlium/v1/local/tedlium_prepare_data.sh | Shell | apache-2.0 | 2,898 |
#
# build config
#
PACKAGES="net-misc/curl dev-db/mysql"
#
# this method runs in the bb builder container just before building the rootfs
#
configure_rootfs_build()
{
# sadly perl is required for db init scripts
#update_use 'dev-db/mysql' '-perl'
# reinstall curl, need at build time
unprovide_package n... | guruvan/gentoo-bb | dock/guruvan/images/mysql/Buildconfig.sh | Shell | bsd-2-clause | 667 |
#!/bin/bash
##############################################################
# Author: Helen Pang. hpang@us.ibm.com #
# attach_mutt.sh: Attach a file to the mail sent #
##############################################################
echo "This will run mutt using mutt's attach mode."
echo "It will attach m... | PoornimaNayak/autotest-client-tests | linux-tools/mutt/attach_mutt.sh | Shell | gpl-2.0 | 809 |
#!/bin/bash
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
TITLE="Legacy script with a POL Call"
echo "Legacy script"
POL_SetupWindow_Init
export WINEPREFIX="/tmp/prefixTmp"
POL_Call POL_Install_winhttp
POL_SetupWindow_Close
exit | seijikun/POL-POM-5 | samples/polCall.sh | Shell | gpl-3.0 | 254 |
(service pagekite status >/dev/null \
&& service pagekite stop \
|| true)
(chkconfig --del pagekite || true)
# HACK: uninstall config files that have not changed.
cd /etc/pagekite.d/default
for conffile in *; do
if [ -f "../$conffile" ]; then
md5org=$(md5sum "$conffile" |awk '{print $1}')
md5act=$(md5s... | output/PyPagekite | rpm/rpm-preun.sh | Shell | agpl-3.0 | 421 |
pip freeze
nosetests --with-cov --cover-package pyexcel_text --cover-package tests --with-doctest --doctest-extension=.rst README.rst tests pyexcel_text && flake8 . --exclude=.moban.d --builtins=unicode,xrange,long
| pyexcel/pyexcel-text | test.sh | Shell | bsd-3-clause | 216 |
#!/usr/bin/env bash
#
# +------------------------------------------------------------------------+
# | Phalcon Developer Tools |
# +------------------------------------------------------------------------+
# | Copyright (c) 2011-2016 Phalcon Team (https://www.phalconp... | Vaulverin/xsollatest | workspace/phalcon-devtools/phalcon-completion.bash | Shell | bsd-3-clause | 1,852 |
#!/bin/sh
#
# Copyright (c) 2016 Wi-Fi Alliance
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTH... | WFA-AlanTsai/Wi-FiTestSuite-Linux-DUT | scripts/wfa_test_cli.sh | Shell | isc | 1,122 |
#!/bin/bash
FN="FDb.FANTOM4.promoters.hg19_1.0.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.13/data/annotation/src/contrib/FDb.FANTOM4.promoters.hg19_1.0.0.tar.gz"
"https://bioarchive.galaxyproject.org/FDb.FANTOM4.promoters.hg19_1.0.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-fdb.fan... | phac-nml/bioconda-recipes | recipes/bioconductor-fdb.fantom4.promoters.hg19/post-link.sh | Shell | mit | 1,524 |
# Update package files in LAMMPS
# cp package file to src if doesn't exist or is different
# do not copy eam and charmm files if non-OPT versions do not exist
for file in *.cpp *.h; do
if (test $file = pair_eam_opt.cpp -a ! -e ../pair_eam.cpp) then
continue
fi
if (test $file = pair_eam_opt.h -a ! -e ../pair_... | tm1249wk/WASHLIGGGHTS-2.3.7 | src/OPT/Package.sh | Shell | gpl-2.0 | 1,587 |
#! /bin/sh
################################################################################
## ##
## Copyright (c) International Business Machines Corp., 2001 ##
## ... | rogerq/ltp-ddt | testcases/network/iproute/ip_tests.sh | Shell | gpl-2.0 | 16,770 |
#!/bin/bash
TARGET=cubox
rsync -zv alpha_blend cube_companion cubemap_sphere displacement etna_gears mip_cube particle_system rotate_cube stencil_test \
ps_sandbox downsample_test $TARGET:
cd ../../../
rsync -zar --include \*/ \
--include \*.c \
--include \*.h \
--include \*.py \
--include \*.xml \... | jmontleon/libetnaviv | src/fb/sync_cubox.sh | Shell | gpl-3.0 | 355 |
#!/bin/bash
set -e
./gendocs.sh --email admin@f-droid.org fdroid "F-Droid Server Manual"
scp -r manual/* fdroid@f-droid.org:public_html/manual/
rm fdroid.cps fdroid.ky fdroid.vr fdroid.aux fdroid.fn fdroid.log fdroid.toc
rm fdroid.cp fdroid.info fdroid.pg fdroid.tp
| fantastico/fdroidserver | docs/update.sh | Shell | agpl-3.0 | 268 |
#!/bin/bash
# Meant to be run inside the hypervisor
log_pretty() {
sed 's/^/ /'
}
set -e
printf "###> Archiving bins\n"
tarball_name=${1-release_master_bins.tar.gz}
set -x
vagrant ssh -c "tar cvpzf ~/${tarball_name} -C ~/chef-bcpc \
--exclude=bins/apt_key.* --exclude=bins/Release.gpg \
bins vendor/... | http-418/chef-bach | archive_bins.sh | Shell | apache-2.0 | 581 |
#!/usr/bin/env bash
#
# The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
# (the "License"). You may not use this work except in compliance with the License, which is
# available at www.apache.org/licenses/LICENSE-2.0
#
# This software is distributed on an "AS IS" basis, WITHOUT WARRA... | EvilMcJerkface/alluxio | integration/vagrant/ansible/roles/ufs_glusterfs/files/compile_alluxio.sh | Shell | apache-2.0 | 730 |
#!/bin/bash
#
# Copyright 2015 The Bazel Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by... | spxtr/bazel | src/test/shell/bazel/empty_package.sh | Shell | apache-2.0 | 1,622 |
#!/bin/bash
FN="clariomshumanhttranscriptcluster.db_8.8.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.14/data/annotation/src/contrib/clariomshumanhttranscriptcluster.db_8.8.0.tar.gz"
"https://bioarchive.galaxyproject.org/clariomshumanhttranscriptcluster.db_8.8.0.tar.gz"
"https://depot.galaxyproject.org/so... | cokelaer/bioconda-recipes | recipes/bioconductor-clariomshumanhttranscriptcluster.db/post-link.sh | Shell | mit | 1,423 |
SCRIPT_NAME=elf
ELFSIZE=64
OUTPUT_FORMAT="elf64-x86-64"
TEXT_START_ADDR=0x400000
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
NONPAGED_TEXT_START_ADDR=0x400000
ARCH="i386:x86-64"
MACHINE=
NOP=0x90909090
TEMPLATE_NAME=elf32
GENERATE_SHLIB_SCRIPT=yes
GENERATE_PIE_SCRIPT=yes
NO_SMALL_DAT... | dplbsd/zcaplib | head/contrib/binutils/ld/emulparams/elf_x86_64.sh | Shell | bsd-2-clause | 833 |
#!/bin/sh -e
#
# Copyright (c) 2009-2015 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 | tools/local_install.sh | Shell | mit | 4,994 |
#!/bin/bash
#
# This file is part of moses. Its use is licensed under the GNU Lesser General
# Public License version 2.1 or, at your option, any later version.
# execute: ~/workspace/bin/moses-smt/scripts/training/wrappers/suffix-array-create.sh $SA_EXEC_DIR $SOURCE_CORPUS $TARGET_CORPUS $ALIGNMENT $SA_OUTPUT
# eg.... | KonceptGeek/mosesdecoder | scripts/training/wrappers/adam-suffix-array/suffix-array-create.sh | Shell | lgpl-2.1 | 1,269 |
#!/bin/bash
# Copyright 2014 Google Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applic... | jimmidyson/kubernetes | cluster/vsphere/templates/create-dynamic-salt-files.sh | Shell | apache-2.0 | 1,181 |
# set the CONNECT and WAS env variables
. /nhin/CI/setVariables.sh
# deploy the application. The following parameters are passed:
# param 1 --> WLS userName
# param 2 --> WLS password
# param 3 --> WLS Admin Server URL
# param 4 --> Application Name
# param 5 --> Server Name
# param 6 --> ear File Name
echo $ADMIN... | sailajaa/CONNECT | Product/Install/Weblogic/deployApp.sh | Shell | bsd-3-clause | 528 |
ARCH=avr:1
MACHINE=
SCRIPT_NAME=avr
OUTPUT_FORMAT="elf32-avr"
MAXPAGESIZE=1
EMBEDDED=yes
TEMPLATE_NAME=generic
TEXT_LENGTH=8K
DATA_LENGTH=0
| shaotuanchen/sunflower_exp | tools/source/binutils-2.16.1/ld/emulparams/avr1.sh | Shell | bsd-3-clause | 141 |
#!/bin/sh
. ../../dttools/test/test_runner_common.sh
out_dir="linker_simp_out"
prepare() {
cd linker
if [ -d "$out_dir" ]; then
exit 1
fi
mkdir "$out_dir"
exit 0
}
run() {
cd linker
../../src/makeflow_analyze -b "$out_dir" simple.mf
if [ ! -f "$out_dir"/simple.mf ]; then
exit 1
fi
exit 0
}
clean() ... | nhazekam/cctools | makeflow/test/TR_makeflow_linker_simp.sh | Shell | gpl-2.0 | 412 |
# Disable compression (as tape drive does compression already)
Log "Disable compression for backup (BACKUP_PROG_COMPRESS_*)"
BACKUP_PROG_COMPRESS_OPTIONS=
BACKUP_PROG_COMPRESS_SUFFIX=
| thumm/rear_deb | usr/share/rear/verify/OBDR/NETFS/default/54_set_backup_compression.sh | Shell | gpl-2.0 | 184 |
make clean html
open _build/html/index.html -a Chrome
| jkimlab/mySyntenyPortal | src/third_party/bedtools/docs/build.sh | Shell | gpl-3.0 | 54 |
# Requires colors autoload.
# See termcap(5).
# Set up once, and then reuse. This way it supports user overrides after the
# plugin is loaded.
typeset -AHg less_termcap
# bold & blinking mode
less_termcap[mb]="${fg_bold[red]}"
less_termcap[md]="${fg_bold[red]}"
less_termcap[me]="${reset_color}"
# standout mode
less_t... | Fisiu/oh-my-zsh | plugins/colored-man-pages/colored-man-pages.plugin.zsh | Shell | mit | 1,409 |
#!/usr/bin/env bash
# Copyright 2016 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | wongma7/kubernetes | hack/update-generated-runtime-dockerized.sh | Shell | apache-2.0 | 2,582 |
#!/usr/bin/env bash
${IDRIS:-idris} $@ --check proofsearch001.idr
rm -f *.ibc
| kojiromike/Idris-dev | test/proofsearch001/run.sh | Shell | bsd-3-clause | 78 |
pg_dump --host localhost --port 5432 --username "postgres" --no-password --format plain --column-inserts --verbose --file "./test/fixtures/schema.sql" "postgrest_test"
| NotBrianZach/postgrest | test/fixtures/dumpfixture.sh | Shell | mit | 169 |
jps | awk '{if ($2 == "NCDriver" || $2 == "CCDriver") print $1;}' | xargs -n 1 kill -9
| parshimers/incubator-asterixdb | asterix-installer/src/test/resources/transactionts/scripts/setup_teardown/kill_cc_and_nc.sh | Shell | apache-2.0 | 87 |
#! /bin/sh
# set -x
#
# %CopyrightBegin%
#
# Copyright Ericsson AB 2006-2016. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LI... | emacsmirror/erlang | erts/etc/win32/cygwin_tools/mingw/rc.sh | Shell | apache-2.0 | 2,319 |
# coprocess.bash
#
# vi:set sts=2 sw=2 ai:
#
coprocess_pid=
#
# coprocess - Start, control, and end coprocesses.
#
function coprocess ()
{
while (( $# > 0 )) ; do
case "$1" in
#
# coprocess close
#
c|cl|clo|clos|close)
shift
exec 61>&- 62<&-
coprocess_pid=
if [ "$1" = "-SIGPIPE" ] ; ... | tavaresdong/courses | uw_cse333/hw/projdocs/test_tree/bash-4.2/examples/functions/coproc.bash | Shell | mit | 1,731 |
# Use colors, but only if connected to a terminal, and that terminal
# supports them.
if which tput >/dev/null 2>&1; then
ncolors=$(tput colors)
fi
if [ -t 1 ] && [ -n "$ncolors" ] && [ "$ncolors" -ge 8 ]; then
RED="$(tput setaf 1)"
GREEN="$(tput setaf 2)"
YELLOW="$(tput setaf 3)"
BLUE="$(tput setaf 4)"
... | ccollins/dotfiles | zsh/oh-my-zsh.symlink/tools/upgrade.sh | Shell | mit | 1,415 |
#!/usr/bin/env bash
# Original by Adam Eivy
## Forked by Matsor Browncoat
DEFAULT_EMAIL="browncoat@nerdship.net"
DEFAULT_GITHUBUSER="rubybrowncoat"
# include my library helpers for colorized echo and require_brew, etc
source ./lib.sh
# make a backup directory for overwritten dotfiles
if [[ ! -e ~/.dotfiles_backup ... | rubybrowncoat/dotfiles | install.sh | Shell | isc | 4,015 |
# rand -- Generates a random integer.
#
# rand generates a random integer.
#
# Usage:
# // 1. Function form.
# void func::rand(int* variable, int minimum, int maximum)
# void func::rand(int* variable, int maximum)
# void func::rand(int* variable)
# // 2. Command form.
# void sub::rand(int minimu... | imos/imosh | library/10-func/math/rand.sh | Shell | mit | 1,410 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for CESA-2013:0742
#
# Security announcement date: 2013-04-16 11:10:18 UTC
# Script generation date: 2017-01-01 21:10:44 UTC
#
# Operating System: CentOS 6
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - 389-ds-base-devel.i686:1.2.11.15-14.el6_... | Cyberwatch/cbw-security-fixes | CentOS_6/x86_64/2013/CESA-2013:0742.sh | Shell | mit | 1,233 |
###########################
# Part of Functional Normalization package
#
# This file is part of the Functional Normalization Toolbox, (c) 2008 by the authors.
# Please see AUTHORS and LICENSE file in the project root directory
###########################
# uncomment to debug
#set -x
##################################... | yarikoptic/funcnorm | matlab/funcnorm_prepare.sh | Shell | mit | 25,887 |
#!/usr/bin/env bash
################################################################################
# Some useful functions I took from https://github.com/Bash-it/bash-it/ #
# I like to have them even tho I don't activate the plugins or when I'm in #
# zsh ... | Mike325/dotfiles | bin/usage.sh | Shell | mit | 2,508 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DLA-503-1
#
# Security announcement date: 2016-06-03 00:00:00 UTC
# Script generation date: 2017-01-01 21:09:11 UTC
#
# Operating System: Debian 7 (Wheezy)
# Architecture: armv7l
#
# Vulnerable packages fix on version:
# - libxml2:2.8.0+dfsg1-7+wheezy6
#
# La... | Cyberwatch/cbw-security-fixes | Debian_7_(Wheezy)/armv7l/2016/DLA-503-1.sh | Shell | mit | 914 |
#!/bin/bash
launch.py -c /c/public/medley code
#not used:
#launch.py -c /c/medley todo
echo "
cd /c/public/medley/medley/less
lessc style.less > ../css/style.css
to launch a server:
cd /c/public/medley/server
python application.py /c/podcasts
http://localhost:8080/
if added to an init script, could use:
sudo /et... | charlesbrandt/medley | launch.sh | Shell | mit | 1,025 |
#!/usr/bin/env bash
# +----------------------------------------------------------+
# | BASH : Modifying Shell Behaviour
# | (https://www.gnu.org/software/bash/manual)
# +----------------------------------------------------------+
# Treat unset variables and parameters other than the special
# parameters ‘@’ or ‘*’ ... | UAVCAN/libuavcan | test/ci/native-gcc-build-and-test.sh | Shell | mit | 2,541 |
#!/bin/bash
export ENV=`hostname | sed 's/\([a-z]*\)-\([0-9.]*\)-\(.*\)/\1-\2/'`
export MMHA1IP=`getent hosts $ENV-mm-ha-1 | awk '{ print $1 }'`
export MMHA2IP=`getent hosts $ENV-mm-ha-2 | awk '{ print $1 }'`
#prereq
sudo apt-get update -y
sudo apt-get upgrade -y
#Install haproxy
sudo apt-get install haproxy -y
#Con... | chrismatteson/mattermost-ha-vagrant | scripts/ubuntu1404-haproxy.sh | Shell | mit | 4,303 |
#!/bin/sh
set -e
if [ "$1" = "setup" ]
then
set -x
docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
else
set -x
# Build the docker image
docker build -t $CI_REGISTRY_IMAGE:latest .
# Push only for tags or master
if [ "$CI_COMMIT_REF_SLUG" = "master" -o -n "$CI_COMMIT_TAG" ]
then
doc... | ivoire/Artifactorial | .gitlab-ci/build/docker.sh | Shell | mit | 363 |
# Colors
# ------
# Color Escapes
# ~~~~~~~~~~~~~
# Easy access to all of the common escape codes for manipulating console text
# display, including 256-color settings.
#
# SOURCE: https://bitbucket.org/pfrischmuth/zshrc-darwin/raw/c10b4f065214/colors.zsh
#
typeset -Ag FG BG FX
FX=(
reset "%{[00m%}"
... | bsandrow/dotfiles | zsh/colors.zsh | Shell | mit | 988 |
sh pos1.sh ds5.txt none enable
sh grams.sh ds5.txt 3 pos_filter.txt none
sh tfidf.sh none 3 ds5.txt
sh localspan.sh ds5.txt none 3
sh cue.sh ds5.txt none 3
sh cscore.sh ds5.txt none
sh dispersion.sh ds5.txt
python ml_audio/testData/write.py ds5.txt 'cscore,localspan,cuewords,dispersion,tfidf' '_cscore.txt,_localspan.tx... | amudalab/concept-graphs | keyphrase/ss1c.sh | Shell | mit | 1,438 |
#! /bin/bash
# Install applications and files to Raspberry Pi that are needed for PHPBridge
packages=(
aptitude
tightvncserver
gedit
gedit-source-code-browser-plugin
git
php5
php5-cli
php5-mysql
php5-sqlite
php5-xdebug
mysql-client
mysql-server
vim-gnome
)
for packa... | ericpoe/phpbridgepi | phpbridge.sh | Shell | mit | 651 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-2856-1
#
# Security announcement date: 2016-01-05 00:00:00 UTC
# Script generation date: 2017-01-01 21:05:05 UTC
#
# Operating System: Ubuntu 12.04 LTS
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - libldb1:1:1.1.4-1ubuntu0.1
#
# Last ... | Cyberwatch/cbw-security-fixes | Ubuntu_12.04_LTS/x86_64/2016/USN-2856-1.sh | Shell | mit | 645 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DSA-3520-1
#
# Security announcement date: 2016-03-18 00:00:00 UTC
# Script generation date: 2017-01-01 21:07:54 UTC
#
# Operating System: Debian 8 (Jessie)
# Architecture: i386
#
# Vulnerable packages fix on version:
# - icedove:38.7.0-1~deb8u1
#
# Last vers... | Cyberwatch/cbw-security-fixes | Debian_8_(Jessie)/i386/2016/DSA-3520-1.sh | Shell | mit | 1,059 |
#!/bin/sh
# change this:
gameName='goose'
subFiles="src/main/jnlp/jnlp.xml assembleJNLP.sh manifest.txt pom.xml uploadGame.sh src/main/java/org/owenbutler/gamename/initialiser/Initialiser.java src/main/java/org/owenbutler/gamename/initialiser/GameLauncher.java src/main/java/org/owenbutler/gamename/logic/HudManager.ja... | owenbutler/gamedev | goose/prepareProject.sh | Shell | mit | 1,298 |
#!/bin/sh
TEST_BASE=tests.
python manage.py test --settings=tests.test_dynamic_auth.settings ${TEST_BASE}test_dynamic_auth
| chromakey/django-salesforce | tests/test_dynamic_auth/test.sh | Shell | mit | 123 |
#!/bin/bash
#
# Launch instances to create new coreos cluster
# Version 0.0.1
#
# Run ./launchInstances.sh -h for usage information
#
#include helpers
source "./_common.sh"
### Script logic
#####################################################################
version="v0.0.1"
# Print usage
usage() {
echo -n "$(bas... | bigblue/coreos_on_ec2 | launchInstances.sh | Shell | mit | 6,672 |
#!/bin/bash
#Test cases, no need to retrain the network
#start=501;
#end=700;
start=701;
end=1140;
for version in 3 5 6 7 10 11 12 13
do
#set the parameters
cp config_v"$version".py config.py
#forecast the contours for all the cases
./predict_net.py $start $end
done
./get_sex_age.py $start $end
| woshialex/diagnose-heart | CNN_A/run_test.sh | Shell | mit | 301 |
#!/usr/bin/env bash
set -e
zip -r website.zip _site
curl \
-H "Content-Type: application/zip" \
-H "Authorization: Bearer $NETLIFY_KEY" \
--data-binary "@website.zip" \
https://api.netlify.com/api/v1/sites/www.kotlinresources.com/deploys
rm website.zip
| kotlinresources/kotlin-resources | scripts/deploy.sh | Shell | mit | 265 |
#!/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.... | VonZen/VZKit | Example/Pods/Target Support Files/Pods-VZKit_Tests/Pods-VZKit_Tests-frameworks.sh | Shell | mit | 5,714 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for CESA-2013:0219
#
# Security announcement date: 2013-02-01 00:54:03 UTC
# Script generation date: 2017-01-27 21:18:40 UTC
#
# Operating System: CentOS 6
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - mysql-devel.i686:5.1.67-1.el6_3
# - my... | Cyberwatch/cbw-security-fixes | CentOS_6/x86_64/2013/CESA-2013:0219.sh | Shell | mit | 2,197 |
# Copyright 2013, Joyent. Inc. All rights reserved.
# Old style SSH host keys were stored under /etc/ssh and needed to be
# recreated using /lib/svc/method/sshd -c.
#
# New (SmartOS) style SSH host keys are stored under /var/ssh and are
# automatically recreated by the SMF method if missing.
#
# We assume here that th... | joyent/zoneinit | includes/92-sshd.sh | Shell | mit | 838 |
#!/usr/bin/env bash
#generate sshkey
ssh-keygen -t rsa -C '0000@whu.edu.cn' -f ~/.github/.sshkey -N 'github'
#start the ssh-agent in the background
eval "$(ssh-agent -s)"
#add sshkey
ssh-add ~/.github/.sshkey
#config
git config --global user.name 'Cheng Rui'
git config --global user.email 0000@whu.edu.cn
| GreatChenR/longmian | git_init.sh | Shell | mit | 307 |
#!/bin/sh
dir=`dirname "$0"`
if [ "$dir" = "." ]; then
dir=$PWD
fi
for i in `cat $dir/Stocks.dat`
do
for j in `cat $dir/data/$i`
do
s=`echo $j|cut -f1 -d"_"`
d=`date --date\="@$s" "+%d/%m/%Y,%H:%M:%S"`
v=`echo $j|cut -f2 -d"_"`
echo "$d $v" >> data.dat
done
gnuplot $dir/script.plt
d=`date "+%s"`
if [ ! ... | JUX84/stock_watcher | getChart.sh | Shell | mit | 535 |
#!/bin/bash
set -e
source /build/buildconfig
set -x
$minimal_apt_get_install ruby1.9.1 ruby1.9.1-dev
gem1.9.1 install rake bundler --no-rdoc --no-ri
/build/ruby-finalize.sh | bearded-web/images | images/base/ruby1.9.sh | Shell | mit | 173 |
#!/bin/sh
commitDesc="Added via script."
if [ $# -ne 0 ]
then
echo $1
commitDesc=$1
fi
git config --global credential.helper wincred
git add .
git status
git commit -m "$commitDesc"
git push
| syednasar/datascience | commitai.sh | Shell | mit | 208 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DLA-762-1
#
# Security announcement date: 2016-12-25 00:00:00 UTC
# Script generation date: 2017-01-01 21:09:28 UTC
#
# Operating System: Debian 7 (Wheezy)
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - exim4:4.80-7+deb7u4
#
# Last version... | Cyberwatch/cbw-security-fixes | Debian_7_(Wheezy)/x86_64/2016/DLA-762-1.sh | Shell | mit | 604 |
wget -nc https://dist.nuget.org/win-x86-commandline/latest/nuget.exe;
mozroots --import --sync
mono nuget.exe install vendor/packages.config -o vendor;
mkdir -p bin;
mcs -sdk:2 -r:vendor/Newtonsoft.Json.7.0.1/lib/net20/Newtonsoft.Json.dll,\
vendor/RestSharp.Net2.1.1.11/lib/net20/RestSharp.Net2.dll,\
System.Runtime.Seri... | cliffano/swaggy-jenkins | clients/csharp-dotnet2/generated/compile-mono.sh | Shell | mit | 457 |
#!/bin/bash
REGISTRTY=''
| FireCARES/firecares | build_images.sh | Shell | mit | 26 |
#!/bin/sh
cat <<-EOF
parameters: {}
EOF
| github/octocatalog-diff | spec/octocatalog-diff/fixtures/repos/enc-diff/config/enc-1.sh | Shell | mit | 41 |
#!/bin/sh
tree sportsball/components/app_component/vendor > vendor.tree
| shageman/cbra_book_code | c2s06/00_analysis.sh | Shell | mit | 72 |
#!/bin/bash
#
# Run project tests
#
# NOTE: This script expects to be run from the project root with
# ./scripts/run_tests.sh
# Use default environment vars for localhost if not already set
export DM_DATA_API_URL=${DM_DATA_API_URL:=http://localhost:5000}
export DM_DATA_API_AUTH_TOKEN=${DM_DATA_API_AUTH_TOKEN:=myToken}... | mtekel/digitalmarketplace-admin-frontend | scripts/run_tests.sh | Shell | mit | 847 |
#!/usr/bin/env bash
cd "$( dirname "${BASH_SOURCE[0]}" )"
cp slua.c lua-5.1.5/src/
cd lua-5.1.5
make clean
make CC="gcc -m32" BUILDMODE=static PLAT=macosx
cp src/liblua.a ../lua-5.1.5/liblua_x86.a
make clean
make CC="gcc" BUILDMODE=static PLAT=macosx
cp src/liblua.a ../lua-5.1.5/liblua_x86_64.a
lipo -create ../lua-... | Roland0511/slua | build/make_osx_static.sh | Shell | mit | 397 |
#!/bin/bash
# Generate a changelog based on git history.
##--------------------------------------------------
## parse and validate args.
##--------------------------------------------------
function _main () {
if [ -z "$TMPDIR" ]; then
TMPDIR=/tmp
fi
FROM=$(git tag --sort=refname | tail -n 1) #... | viniciusban/clog | clog.sh | Shell | mit | 3,506 |
#!/usr/bin/env bash
#
# -`
# ... .o+`
# .+++s+ .h`. `ooo/
# `+++%++ .h+++ `+oooo:
# +++o+++ .hhs++. `+oooooo:
# +s%%so%.hohhoo' 'oooooo+:
# `+ooohs+h+sh++`/: ++oooo+:
# hh+o+hoso+h+`/++++.+++++++:
# ... | Mike325/dotfiles | test/lint.sh | Shell | mit | 7,745 |
#!/bin/bash
source mathlib.sh
function usehelp {
echo "usage: math.sh [fib|factoial|prime] [number]"
}
case $1 in
fib) fib $2;;
factorial) factorial $2;;
prime) prime $2;;
*) usehelp;;
esac
exit 0
| dimir2/hse12pi2-scripts | GalochkinA/hw02/math.sh | Shell | mit | 206 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for RHSA-2014:0136
#
# Security announcement date: 2014-02-04 20:34:35 UTC
# Script generation date: 2017-01-01 21:15:10 UTC
#
# Operating System: Red Hat 6
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - java-1.5.0-ibm-devel.i686:1.5.0.16.5-1j... | Cyberwatch/cbw-security-fixes | Red_Hat_6/x86_64/2014/RHSA-2014:0136.sh | Shell | mit | 1,714 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-2424-1
#
# Security announcement date: 2014-12-02 00:00:00 UTC
# Script generation date: 2017-01-01 21:04:07 UTC
#
# Operating System: Ubuntu 14.04 LTS
# Architecture: i686
#
# Vulnerable packages fix on version:
# - firefox:34.0+build2-0ubuntu0.14.04.1
#... | Cyberwatch/cbw-security-fixes | Ubuntu_14.04_LTS/i686/2014/USN-2424-1.sh | Shell | mit | 793 |
#!/bin/bash
# limit = 200
cp memusageclean.sh memusage.sh
cp speedcompclean.js speedcomp.js
sed -i 's/commandsplease/createlist, graypj/g' speedcomp.js
sed -i 's/commandplease/pure_javascript.js/g' memusage.sh
./memusage.sh >> results/graypj200.txt
cp memusageclean.sh memusage.sh
cp speedcompclean.js speedcomp.js
... | pdpotter/covis-nodejs-comparison | membash.sh | Shell | mit | 3,881 |
# npm_setup.sh
# dotted, by Brett Levenson
# Last Modified: 4/9/15
# This file handles set up of NPM and any global packages that we need.
# Reset the owner of ~/.npm and all subdirs
echo 'Setting ownership of ~/.npm to the current user to avoid installation errors'
chown -R "$USER" "$HOME/.npm" # May need to run as ... | boichee/dotted | scripts/npm_setup.bash | Shell | mit | 1,087 |
# !/bin/bash
DOTFILESHOME=~/.dotfiles
source $DOTFILESHOME/scripts/handy_functions.sh
# References:
# https://github.com/bearlin/git_recipes
usage() {
echo "Usage: " && \
echo "This script will change all old.user.email to new.user.email for ALL commits in this branch " && \
echo "$0 [old.user.email] [new.user... | bearlin/dotfiles | scripts/git/modify_commit_author_email.sh | Shell | mit | 1,351 |
# Sets reasonable macOS defaults.
#
# Or, in other words, set shit how I like in macOS.
#
# The original idea (and a couple settings) were grabbed from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.macos
#
# Run ./set-defaults.sh and you'll be good to go.
# Disable press-and-hold for keys in favor of key... | pattonjp/dotfiles | macos/set-defaults.sh | Shell | mit | 2,051 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for RHSA-2015:2551
#
# Security announcement date: 2015-12-08 15:52:31 UTC
# Script generation date: 2017-01-01 21:16:49 UTC
#
# Operating System: Red Hat 7
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - rh-ruby22-rubygem-redhat_access_cfme.no... | Cyberwatch/cbw-security-fixes | Red_Hat_7/x86_64/2015/RHSA-2015:2551.sh | Shell | mit | 7,341 |
#!/bin/bash
#
# NAME
#
# unmake.sh
#
# SYNPOSIS
#
# unmake.sh [-h]
# [-O <swarm|kubernetes>]
# [-S <storeBase>]
#
#
# DESC
#
# 'unmake.sh' destroys a chris development instance with remote ancillary services
# pfcon/pman running... | FNNDSC/ChRIS_ultron_backEnd | unmake.sh | Shell | mit | 4,558 |
#!/bin/bash
#判断shell环境
if [ "$SHELL" == "/bin/zsh" ]; then
#添加命令补全
COMP_FILE="$HOME/ztool/$1/$2"
ZSH_VERSION=$(zsh --version | cut -d " " -f2)
TARGET_FILE="/usr/local/share/zsh/site-functions/$2"
if [ "$(md5 $COMP_FILE | cut -d "=" -f2)" != "$(md5 $TARGET_FILE | cut -d "=" -f2)" ]; then
sudo cp "$COMP_FILE" "$... | peter-m-shi/ztool | completion/comp.sh | Shell | mit | 464 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.