code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/bash -e
source $PATH_SCRIPTS/get-package.sh
source $PATH_SCRIPTS/tool-util.sh
# present the header
echo "
=====================================================================
Utility to generate level 2 tools
=====================================================================
"
set +h
um... | Shell |
#!/bin/bash -e
# include required packages
source ./paths.sh
# present the header
echo "
=====================================================================
Utility to download all source packages
=====================================================================
"
echo "Retrieving source pa... | Shell |
#!/bin/bash -e
# include required packages
source ./paths.sh
source ./get-package.sh
function basicJail {
# first argument needs to be the name of the jail
# second argument needs to be the name of the user
export JAIL_NAME=$1
export JAIL_USER=$2
export JAIL_GRP=tnick
export JAIL_PATH="$PATH_OUT/$JAIL_NAME"
J_L1_SC... | Shell |
#!/bin/bash -e
source $PATH_SCRIPTS/get-package.sh
source $PATH_SCRIPTS/tool-util.sh
# present the header
echo "
=====================================================================
Utility to generate level 3 tools
=====================================================================
"
set +h
um... | Shell |
#!/bin/bash -e
# Downloads a package
# Looks into the cache if the package $1 is there
# Otherwise will download using provided link $2.
# The package is then saved to the cache and
# extracted in provided location $3.
function getPackage {
if [ -f "$PATH_PKGCACHE/$1" ]; then
# we already have this file
echo "s... | Shell |
#!/bin/bash -e
source $PATH_SCRIPTS/get-package.sh
source $PATH_SCRIPTS/tool-util.sh
# present the header
echo "
=====================================================================
Utility to generate level 1 tools
=====================================================================
"
echo "
S... | Shell |
#!/bin/bash -e
export PATH_BASE="/media/data/jails"
export PATH_SCRIPTS="$PATH_BASE/scripts"
export PATH_OUT="$PATH_BASE/out"
export PATH_PKGCACHE="$PATH_BASE/source-cache"
export PATH_TCACHE="$PATH_BASE/tools-cache"
export PATH_L1_TCACHE="$PATH_TCACHE/level-1-tools.tar.gz"
export PATH_L2_TCACHE="$PATH_TCACHE/level-... | Shell |
#!/bin/bash -e
source $PATH_SCRIPTS/get-package.sh
source $PATH_SCRIPTS/tool-util.sh
# present the header
echo "
=====================================================================
Utility to generate level 1 tools
=====================================================================
"
echo "
S... | Shell |
#!/bin/bash
# it is assumed that current_changes.txt is a file in current (trunk) folder
# and that it is ignored by svn like so:
# svn propset svn:ignore ./current_changes.txt .
svn ci --file "./trunk/current_changes.txt" .
| Shell |
#!/bin/bash
svn update
| Shell |
#!/bin/bash
# the build folder
echo Cleaning ./build
cd ./build
for f in *
do
if [ "$f" != ".svn" ]; then
rm -rf "$f"
fi
done
cd ..
# Qt projects
function clean_qt_folder {
echo Cleaning $1
rm -rf $1/debug
rm -rf $1/release
rm -rf $1/tmp
rm $1/Makefile*
}
# delete all files except Qt projects
cd ./tools/Qt... | Shell |
#!/bin/bash
# it is assumed that current_changes.txt is a file in current (trunk) folder
# and that it is ignored by svn like so:
# svn propset svn:ignore ./current_changes.txt .
svn ci --file "./current_changes.txt" .
| Shell |
#!/bin/bash
svn update
| Shell |
#!/bin/bash
# the build folder
echo Cleaning ./build
cd ./build
for f in *
do
if [ "$f" != ".svn" ]; then
rm -rf "$f"
fi
done
cd ..
# Qt projects
function clean_qt_folder {
echo Cleaning $1
rm -rf $1/debug
rm -rf $1/release
rm -rf $1/tmp
rm $1/Makefile*
}
# delete all files except Qt projects
cd ./tools/Qt... | Shell |
#!/bin/bash
# it is assumed that current_changes.txt is a file in current (trunk) folder
# and that it is ignored by svn like so:
# svn propset svn:ignore ./current_changes.txt .
svn ci --file "./current_changes.txt" .
| Shell |
#!/bin/bash
# enter trunk
if [ "$1" != "" ] #if parameter exists, use as base folder
then cd "$1"
else
cd "../.."
fi
echo Ignoring files in `pwd`
echo *.o > ../ignorelst.tmp
echo *.lo >> ../ignorelst.tmp
echo *.la >> ../ignorelst.tmp
echo *.rej >> ../ignorelst.tmp
echo *.pyc >> ../ignorelst.tmp
echo *... | Shell |
#!/bin/bash
# retrieved from http://www.centerkey.com/tree/tree.sh
#######################################################
# UNIX TREE #
# Version: 2.3 #
# File: ~/apps/tree/tree.sh #
# ... | Shell |
#!/bin/bash
# enter trunk
if [ "$1" != "" ] #if parameter exists, use as base folder
then cd "$1"
else
cd "../.."
fi
echo Ignoring files in `pwd`
echo *.o > ../ignorelst.tmp
echo *.lo >> ../ignorelst.tmp
echo *.la >> ../ignorelst.tmp
echo *.rej >> ../ignorelst.tmp
echo *.pyc >> ../ignorelst.tmp
echo *... | Shell |
#!/bin/bash
# retrieved from http://www.centerkey.com/tree/tree.sh
#######################################################
# UNIX TREE #
# Version: 2.3 #
# File: ~/apps/tree/tree.sh #
# ... | Shell |
#!/bin/bash
svn update
| Shell |
#!/bin/bash
# it is assumed that current_changes.txt is a file in current (trunk) folder
# and that it is ignored by svn like so:
# svn propset svn:ignore ./current_changes.txt .
svn ci --file "./trunk/current_changes.txt" .
| Shell |
#!/bin/bash
svn update
| Shell |
#!/bin/bash
svn update
| Shell |
#!/bin/bash
# it is assumed that current_changes.txt is a file in current (trunk) folder
# and that it is ignored by svn like so:
# svn propset svn:ignore ./current_changes.txt .
svn ci --file "./trunk/current_changes.txt" .
| Shell |
#!/bin/bash
svn update
| Shell |
#!/bin/bash -e
echo "
=====================================================================
Utility to create Linux From Scratch
http://www.linuxfromscratch.org
Based on Version SVN-20121015
==================================================================... | Shell |
#!/bin/bash -e
echo "
=====================================================================
Utility to create Linux From Scratch
http://www.linuxfromscratch.org
Based on Version SVN-20121015
==================================================================... | Shell |
#!/bin/bash -e
/tools/bin/env -i \
HOME=$1 \
TERM=$2 \
PS1=$3 \
PATH=$4
# should the documentation be builded and installed?
MAKE_DOC=false
echo $Home
echo $TERM
echo $PS1
echo $PATH
#ln --version
#logout
#exit 0
echo ""
echo "---------------------------------------------"
echo " 6.5. Creating... | Shell |
#!/bin/bash -e
# STEP 1
PERFORM_STEP_1=false
# Binutils-2.22 - Pass 1
# GCC-4.7.2 - Pass 1
# Linux-3.6.2 API Headers
# Glibc-2.16.0
# CHECK
# STEP 2
PERFORM_STEP_2=false
# Binutils-2.22 - Pass 2
# GCC-4.7.2 - Pass 2
# CHECK
# STEP 3
PERFORM_STEP_3=true
# Tcl-8.5.12
# Expect-5.45
# DejaGNU... | Shell |
#!/bin/bash
# Simple script to list version numbers of critical development tools
export LC_ALL=C
echo "--------------------------------"
echo ""
echo " Host System Requirements "
echo " (press RETURN to scroll down) "
echo ""
echo "--------------------------------"
echo ""
echo "................................. | Shell |
#!/bin/bash -e
/tools/bin/env -i \
HOME=$1 \
TERM=$2 \
PS1=$3 \
PATH=$4
# should the documentation be builded and installed?
MAKE_DOC=false
echo $Home
echo $TERM
echo $PS1
echo $PATH
#ln --version
#logout
#exit 0
echo ""
echo "---------------------------------------------"
echo " 6.5. Creating... | Shell |
#!/bin/bash
# Simple script to list version numbers of critical development tools
export LC_ALL=C
echo "--------------------------------"
echo ""
echo " Host System Requirements "
echo " (press RETURN to scroll down) "
echo ""
echo "--------------------------------"
echo ""
echo "................................. | Shell |
#!/bin/bash -e
# STEP 1
PERFORM_STEP_1=false
# Binutils-2.22 - Pass 1
# GCC-4.7.2 - Pass 1
# Linux-3.6.2 API Headers
# Glibc-2.16.0
# CHECK
# STEP 2
PERFORM_STEP_2=false
# Binutils-2.22 - Pass 2
# GCC-4.7.2 - Pass 2
# CHECK
# STEP 3
PERFORM_STEP_3=true
# Tcl-8.5.12
# Expect-5.45
# DejaGNU... | Shell |
mkdir -p build
ajardsp-asm -o=build/boot boot.asm
ajardsp-asm -o=build/vgapattern vgapattern.asm
wb_debug --load-imem:build/boot.imem:0xd0000000:0x100 --load-imem:build/vgapattern.imem:0xd0000100:0x400 --load-dmem:build/vgapattern.dmem:0xd0000500:0x100 --w32:0xc0000004:0x1
| Shell |
mkdir -p build
ajardsp-asm -o=build/boot boot.asm
ajardsp-asm -o=build/dotprod dotprod.asm
wb_debug --load-imem:build/boot.imem:0xd0000000:0x100 --load-imem:build/dotprod.imem:0xd0000100:0x400 --load-dmem:build/dotprod.dmem:0xd0000500:0x100 --w32:0xc0000004:0x1
sleep 1
wb_debug --dump:0xd0000000:0x50
| Shell |
mkdir -p build
ajardsp-asm -o=build/boot boot.asm
ajardsp-asm -o=build/adc2graph adc2graph.asm
wb_debug --load-imem:build/boot.imem:0xd0000000:0x100 --load-imem:build/adc2graph.imem:0xd0000100:0x400 --load-dmem:build/adc2graph.dmem:0xd0000500:0x100 --w32:0xc0000004:0x1
| Shell |
#!/bin/bash
# Build config for build.sh
APP_NAME=ajaxcache
CHROME_PROVIDERS="content locale skin"
CLEAN_UP=1
ROOT_FILES=
ROOT_DIRS=
BEFORE_BUILD=
AFTER_BUILD=
| Shell |
#!/bin/bash
# build.sh -- builds JAR and XPI files for mozilla extensions
# by Nickolay Ponomarev <asqueella@gmail.com>
# (original version based on Nathan Yergler's build script)
# Most recent version is at <http://kb.mozillazine.org/Bash_build_script>
# This script assumes the following directory structure:
# ./... | Shell |
#!/bin/bash
# Build config for build.sh
APP_NAME=ajaxcache
CHROME_PROVIDERS="content locale skin"
CLEAN_UP=1
ROOT_FILES=
ROOT_DIRS=
BEFORE_BUILD=
AFTER_BUILD=
| Shell |
#!/bin/bash
# build.sh -- builds JAR and XPI files for mozilla extensions
# by Nickolay Ponomarev <asqueella@gmail.com>
# (original version based on Nathan Yergler's build script)
# Most recent version is at <http://kb.mozillazine.org/Bash_build_script>
# This script assumes the following directory structure:
# ./... | Shell |
#!/bin/bash
# Copyright 2012 Roman Nurik
#
# 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 agreed t... | Shell |
#!/bin/sh
# Copyright 2012 Roman Nurik
#
# 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 agreed to ... | Shell |
#!/bin/sh
# Copyright 2012 Roman Nurik
#
# 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 agreed to ... | Shell |
#!/bin/sh
find . -iname \.DS_Store -exec rm {} \;
rm -rf extension.zip
cd extension/
zip -qr ../extension.zip .
cd ..
zipinfo -l extension.zip
| Shell |
rm -rf sql
| Shell |
#!/bin/sh
## repo default configuration
##
REPO_URL='https://android.googlesource.com/tools/repo'
REPO_REV='stable'
# Copyright (C) 2008 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 Lic... | Shell |
#!/bin/sh
## repo default configuration
##
REPO_URL='https://android.googlesource.com/tools/repo'
REPO_REV='stable'
# Copyright (C) 2008 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 Lic... | Shell |
./kitchen.bat /file "DRACS Job.kjb" /norep /logfile logging | Shell |
# Generated from ltmain.m4sh.
# ltmain.sh (GNU libtool) 2.2.6b
# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# ... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2009-04-28.21; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free
# Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Ge... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2009-04-28.21; # UTC
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
# 2008, 2009 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free softw... | Shell |
#! /bin/sh
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
# Free Software Foundation, Inc.
timestamp='2009-06-11'
# This file is (in principle) common to ALL GNU software.
# The presence o... | Shell |
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
# Free Software Foundation, Inc.
timestamp='2009-06-10'
# This file is free software; you can redistribute it and/or modify it
# und... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2009-04-28.21; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free
# Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Ge... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2009-04-28.21; # UTC
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
# following copyright and license.
#
# Copyright (C) 1994 X Consortium
#
# Permission is ... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2009-04-28.21; # UTC
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
# 2008, 2009 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free softw... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2009-04-28.21; # UTC
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
# following copyright and license.
#
# Copyright (C) 1994 X Consortium
#
# Permission is ... | Shell |
#!/bin/sh
# These variables are automatically filled in by the configure script.
name="@PACKAGE_TARNAME@"
version="@PACKAGE_VERSION@"
show_usage()
{
echo "Usage: gmock-config [OPTIONS...]"
}
show_help()
{
show_usage
cat <<\EOF
The `gmock-config' script provides access to the necessary compile and linking
flag... | Shell |
#!/bin/sh
# These variables are automatically filled in by the configure script.
name="@PACKAGE_TARNAME@"
version="@PACKAGE_VERSION@"
show_usage()
{
echo "Usage: gmock-config [OPTIONS...]"
}
show_help()
{
show_usage
cat <<\EOF
The `gmock-config' script provides access to the necessary compile and linking
flag... | Shell |
# Generated from ltmain.m4sh.
# ltmain.sh (GNU libtool) 2.2.6b
# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# ... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2009-04-28.21; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free
# Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Ge... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2009-04-28.21; # UTC
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
# 2008, 2009 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free softw... | Shell |
#! /bin/sh
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
# Free Software Foundation, Inc.
timestamp='2009-06-11'
# This file is (in principle) common to ALL GNU software.
# The presence o... | Shell |
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
# Free Software Foundation, Inc.
timestamp='2009-06-10'
# This file is free software; you can redistribute it and/or modify it
# und... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2009-04-28.21; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free
# Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Ge... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2009-04-28.21; # UTC
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
# following copyright and license.
#
# Copyright (C) 1994 X Consortium
#
# Permission is ... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2009-04-28.21; # UTC
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
# 2008, 2009 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free softw... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2009-04-28.21; # UTC
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
# following copyright and license.
#
# Copyright (C) 1994 X Consortium
#
# Permission is ... | Shell |
#!/bin/sh
# These variables are automatically filled in by the configure script.
name="@PACKAGE_TARNAME@"
version="@PACKAGE_VERSION@"
show_usage()
{
echo "Usage: gtest-config [OPTIONS...]"
}
show_help()
{
show_usage
cat <<\EOF
The `gtest-config' script provides access to the necessary compile and linking
flag... | Shell |
#!/bin/sh
# These variables are automatically filled in by the configure script.
name="@PACKAGE_TARNAME@"
version="@PACKAGE_VERSION@"
show_usage()
{
echo "Usage: gtest-config [OPTIONS...]"
}
show_help()
{
show_usage
cat <<\EOF
The `gtest-config' script provides access to the necessary compile and linking
flag... | Shell |
#!/bin/bash
#
# Copyright 2008, Google Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of condit... | Shell |
#!/bin/bash
#
# Copyright 2008, Google Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of condit... | Shell |
#!/bin/bash
#
# Copyright 2008, Google Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of condit... | Shell |
#!/bin/bash
#
# Copyright 2008, Google Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of condit... | Shell |
#! /bin/bash
python hm.py "$@"
| Shell |
#! /bin/bash
python hm.py "$@"
| Shell |
#!/bin/sh
#
### $Id: run.sh abhayani@redhat.com $ ###
#
# Mobicents Media Server Control Script
#
# To use this script run it as root - it will switch to the specified user
#
# Here is a little (and extremely primitive) startup/shutdown script
# for RedHat systems. It assumes that Mobicents Media Server lives in /usr/l... | Shell |
#!/bin/sh
### ====================================================================== ###
## ##
## Mobicents SMSC Test Server Bootstrap Script ##
## ... | Shell |
#!/bin/sh
### ====================================================================== ###
## ##
## Mobicents SS7 CLI Bootstrap Script ##
## ##... | Shell |
#!/bin/sh
# MegaMek -
# Copyright (C) 2005 Ben Mazur (bmazur@sev.org)
#
# 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 l... | Shell |
# Copyright 2013 Google Inc. All Rights Reserved.
#
#
# This script sets up all build/test dependencies including Google App Engine,
# WebTest, Selenium, Chromedriver, etc. All other scripts will include this
# script to setup these dependencies.
#
# Force shell to fail on any errors.
set -e
shopt -s nullglob
# Se... | Shell |
#!/bin/bash
# Copyright 2012 Google Inc. All Rights Reserved.
#
# author: sll@google.com (Sean Lip)
# Run this script from the Course Builder folder as follows:
# sh ./scripts/test.sh --test_class <dotted test name>
# E.g.,
# Run all tests in a module:
# sh ./scripts/test.sh tests.unit.common_safe_dom
#
# ... | Shell |
#! /bin/sh
# Copyright 2012 Google Inc. All Rights Reserved.
#
# author: psimakov@google.com (Pavel Simakov)
#
# This script starts local developer Google AppEngine server for integration
# tests and initializes it with a default data set.
#
# Run this script from the coursebuilder/ folder:
# sh ./scripts/start_i... | Shell |
#!/bin/bash
# Copyright 2014 Google Inc. All Rights Reserved.
#
# Usage:
#
# Run this script from the Course Builder folder. It can be run with the
# following arguments:
#
# Deploy Course Builder to the App Engine app named in app.yaml:
# sh ./scripts/deploy.sh
#
# Deploy Course Builder to the given App Engine ap... | Shell |
# Copyright 2012 Google Inc. All Rights Reserved.
#
# author: psimakov@google.com (Pavel Simakov)
#
# This script starts local developer Google AppEngine server and initializes it
# with the default data set.
#
# Run this script from the coursebuilder/ folder:
# sh ./scripts/start.sh
#
usage () { echo "Options: -... | Shell |
# Copyright 2014 Google Inc. All Rights Reserved.
#
# Set common config variables for developer runtime environment scripts.
# NOTE: This file is also evaluated by Python scripts to get configurations
# from environment variables. Do not add any non-idempotent side-effects
# to this script.
export SOURCE_DIR="$( cd "... | Shell |
#!/bin/bash
# Copyright 2014 Google Inc. All Rights Reserved.
#
# Wrapper script for tools/etl/etl.py that sets up the environment correctly.
#
# Run this script as follows:
# sh ./scripts/etl.sh <arguments>
#
# ETL's arguments are involved; pass --help for details. You will need to
# provide credentials when usin... | Shell |
#!/bin/bash
#convert ./upload.png -matte -virtual-pixel transparent +distort Perspective \
#'0.5,0 0.5,0 \
# 0.5,200 0.5,200 \
# 150,200 100,156 \
# 150,0 100,30' \
#./uploadp.png
find . -maxdepth 1 -iname '*png' -exec convert \{} -matte -virtual-pixel transparent +distort Perspective \
'0.5,0 0.5,0 \
0.5,627 0... | Shell |
#!/bin/bash
#convert ./upload.png -matte -virtual-pixel transparent +distort Perspective \
#'0.5,0 0.5,0 \
# 0.5,200 0.5,200 \
# 150,200 100,156 \
# 150,0 100,30' \
#./uploadp.png
find . -maxdepth 1 -iname '*png' -exec convert \{} -matte -virtual-pixel transparent +distort Perspective \
'0.5,0 0.5,0 \
0.5,627 0... | Shell |
#!/bin/bash
# Copyright 2010 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 agreed t... | Shell |
#! /bin/sh
#
# The idea to this kind of setup info script was stolen from numerous
# other packages, such as neon, libxml and gnome.
#
# $Id: curl-config.in,v 1.18 2003/12/08 10:00:21 bagder Exp $
#
prefix=@prefix@
exec_prefix=@exec_prefix@
includedir=@includedir@
usage()
{
cat <<EOF
Usage: curl-config [OPTION]
A... | Shell |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
# $Id: mkinstalldirs,v 1.2 2000/01/10 23:36:14 bagder Exp $
errstatus=0
for file
do
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
shift
... | Shell |
# 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
# Free Software Foundation, Inc.
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
# This program i... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
# Copyright 1999, 2000, 2003 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; eit... | Shell |
#! /bin/sh
# Script to build release-archives with
#
version=$1
if [ -z "$version" ]; then
echo "Specify a version number!"
exit
fi
libversion="$version"
# we make curl the same version as libcurl
curlversion=$libversion
major=`echo $libversion |cut -d. -f1 | sed -e "s/[^0-9]//g"`
minor=`echo $libversion |cut ... | Shell |
#!/bin/sh
#
# $Id: reconf,v 1.4 2001/05/30 07:59:47 bagder Exp $
#
# re autoconf/automake shell script
#
die(){
echo "$@" ; exit
}
aclocal -I . || die "The command 'aclocal -I .' failed"
autoheader || die "The command 'autoheader' failed"
automake || die "The command 'automake' failed"
autoconf || die "The... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
# Copyright 1996, 1997, 1999, 2000 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Pu... | Shell |
#!/bin/sh
#***************************************************************************
# _ _ ____ _
# Project ___| | | | _ \| |
# / __| | | | |_) | |
# | (__| |_| | _ <| |___
# \... | Shell |
#!/bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5 (mit/util/scripts/install.sh).
#
# Copyright 1991 by the Massachusetts Institute of Technology
#
# Permission to use, copy, modify, distribute, and sell this software and its
# documentation for any purpose is hereby granted without ... | Shell |
#!/bin/sh
# create the wrapper
create_link()
{
echo "#!/bin/sh
# Needed to make symlinks/shortcuts work.
# the binaries must run with correct working directory
cd \"$1\"
export LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:.
exec ./$BINARY \"\$@\"
" > "$1/$TARGET"
chmod a+x "$1/$TARGET"
# and then we must symlink to th... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.