code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/sh
# POST-UNLOCK HOOK
#
# The post-unlock hook runs after a path is unlocked. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-unlock' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this... | Shell |
#!/bin/sh
# PRE-REVPROP-CHANGE HOOK
#
# The pre-revprop-change hook is invoked before a revision property
# is added, modified or deleted. Subversion runs this hook by invoking
# a program (script, executable, binary, etc.) named 'pre-revprop-change'
# (for which this file is a template), with the following or... | Shell |
#!/bin/sh
# POST-LOCK HOOK
#
# The post-lock hook is run after a path is locked. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-lock' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this repos... | Shell |
#!/bin/sh
# POST-REVPROP-CHANGE HOOK
#
# The post-revprop-change hook is invoked after a revision property
# has been added, modified or deleted. Subversion runs this hook by
# invoking a program (script, executable, binary, etc.) named
# 'post-revprop-change' (for which this file is a template), with the
# f... | Shell |
#!/bin/sh
# PRE-UNLOCK HOOK
#
# The pre-unlock hook is invoked before an exclusive lock is
# destroyed. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-unlock' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH ... | Shell |
#!/bin/bash
if [ $# -lt 1 ]
then
echo "Usage: sh $0 <gene.snp.2>";
exit;
fi
snp=$1;
wc -l $snp | awk '{print "Snps on genes: "$1}'
awk '{if($NF == "Intron")sum++}END{print "Snps on intron: "sum}' $snp
awk '{print $NF}' $snp | awk -F '->' '{if($1 == $2)sum++}END{print "Nonsense snps on exon: "sum}'
awk '{prin... | Shell |
#!/bin/bash
if [ $# -lt 1 ]
then
echo "Usage: sh $0 <gene.snp.2>";
exit;
fi
snp=$1;
wc -l $snp | awk '{print "Snps on genes: "$1}'
awk '{if($NF == "Intron")sum++}END{print "Snps on intron: "sum}' $snp
awk '{print $NF}' $snp | awk -F '->' '{if($1 == $2)sum++}END{print "Nonsense snps on exon: "sum}'
awk '{prin... | Shell |
bwa aln -f D12.1.sai -t4 ../genome/IA_genome.contig ../data/RHIwpwR_D12/rawdata/RHIwpwR.1.fq &
bwa aln -f D12.2.sai -t4 ../genome/IA_genome.contig ../data/RHIwpwR_D12/rawdata/RHIwpwR.2.fq &
bwa sampe -a 600 -f D12.pe.bam ../../genome/IA_genome.contig D12.1.sai D12.2.sai ../../data/RHIwpwR_D12/rawdata/RHIwpwR.1.fq ../..... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP 5
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright 2005-2012, Cake Software Foundation, Inc.
#
# Licensed under The MIT Lic... | Shell |
#!/usr/bin/env bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP 5
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright 2005-2012, Cake Software Foundation, Inc.
#
# Licensed under The MIT Lic... | Shell |
#!/bin/sh
java -Xmx512m -Djava.library.path=lib/linux-amd64 -jar build/dist/gpa-@version.jar -3D "$@"
| Shell |
#!/bin/sh
java -Xmx512m -Djava.library.path=lib/macosx -jar build/dist/gpa-@version.jar -3D "$@"
| Shell |
#!/bin/sh
java -Xmx512m -Djava.library.path=lib/linux-i586 -jar build/dist/gpa-@version.jar -3D "$@"
| Shell |
#!/bin/bash
# Adjust these to reflect the location of NUnit in your system,
# and how you want NUnit to run
NUNIT=~/protobuf/NUnit-2.5.0.9122/bin/net-2.0/nunit-console.exe
NUNIT_OPTIONS=-noshadow
# The rest should be okay.
SRC=../src
LIB=../lib
rm -rf bin
mkdir bin
# Running the unit tests requires the dependencie... | Shell |
#!/bin/bash
echo Compiling protobufs
rm -rf tmp
mkdir tmp
PROTOS_DIR=../protos
./protoc --proto_path=$PROTOS_DIR --descriptor_set_out=tmp/compiled.pb \
$PROTOS_DIR/google/protobuf/descriptor.proto \
$PROTOS_DIR/google/protobuf/csharp_options.proto \
$PROTOS_DIR/google/protobuf/unittest.proto \
$PROTOS_DIR/goo... | Shell |
#!/bin/bash
# Copyright (c) 2013, Regents of the University of California
# 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, ... | Shell |
#!/bin/bash
# Copyright (c) 2013, Regents of the University of California
# 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, ... | Shell |
#!/bin/bash
# Copyright (c) 2013, Regents of the University of California
# 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, ... | Shell |
#!/bin/bash
# Copyright (c) 2013, Regents of the University of California
# 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, ... | Shell |
#!/usr/bin/env bash
# Copyright (c) 2013, Regents of the University of California
# 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 ... | Shell |
#!/bin/sh
# POST-REVPROP-CHANGE HOOK
#
# The post-revprop-change hook is invoked after a revision property
# has been added, modified or deleted. Subversion runs this hook by
# invoking a program (script, executable, binary, etc.) named
# 'post-revprop-change' (for which this file is a template), with the
# f... | Shell |
#!/bin/sh
# POST-COMMIT HOOK
#
# The post-commit hook is invoked after a commit. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-commit' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this rep... | Shell |
#!/bin/sh
# POST-UNLOCK HOOK
#
# The post-unlock hook runs after a path is unlocked. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-unlock' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this... | Shell |
#!/bin/sh
# PRE-UNLOCK HOOK
#
# The pre-unlock hook is invoked before an exclusive lock is
# destroyed. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-unlock' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH ... | Shell |
#!/bin/sh
# PRE-REVPROP-CHANGE HOOK
#
# The pre-revprop-change hook is invoked before a revision property
# is added, modified or deleted. Subversion runs this hook by invoking
# a program (script, executable, binary, etc.) named 'pre-revprop-change'
# (for which this file is a template), with the following or... | Shell |
#!/bin/sh
# START-COMMIT HOOK
#
# The start-commit hook is invoked before a Subversion txn is created
# in the process of doing a commit. Subversion runs this hook
# by invoking a program (script, executable, binary, etc.) named
# 'start-commit' (for which this file is a template)
# with the following ordered... | Shell |
#!/bin/sh
# PRE-LOCK HOOK
#
# The pre-lock hook is invoked before an exclusive lock is
# created. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-lock' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH (the pat... | Shell |
#!/bin/sh
# PRE-COMMIT HOOK
#
# The pre-commit hook is invoked before a Subversion txn is
# committed. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-commit' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH (t... | Shell |
#!/bin/sh
# POST-LOCK HOOK
#
# The post-lock hook is run after a path is locked. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-lock' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this repos... | Shell |
#!/bin/sh
# POST-COMMIT HOOK
#
# The post-commit hook is invoked after a commit. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-commit' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this rep... | Shell |
#!/bin/sh
# PRE-REVPROP-CHANGE HOOK
#
# The pre-revprop-change hook is invoked before a revision property
# is added, modified or deleted. Subversion runs this hook by invoking
# a program (script, executable, binary, etc.) named 'pre-revprop-change'
# (for which this file is a template), with the following or... | Shell |
#!/bin/sh
# POST-LOCK HOOK
#
# The post-lock hook is run after a path is locked. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-lock' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this repos... | Shell |
#!/bin/sh
# START-COMMIT HOOK
#
# The start-commit hook is invoked before a Subversion txn is created
# in the process of doing a commit. Subversion runs this hook
# by invoking a program (script, executable, binary, etc.) named
# 'start-commit' (for which this file is a template)
# with the following ordered... | Shell |
#!/bin/sh
# POST-UNLOCK HOOK
#
# The post-unlock hook runs after a path is unlocked. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-unlock' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this... | Shell |
#!/bin/sh
# POST-REVPROP-CHANGE HOOK
#
# The post-revprop-change hook is invoked after a revision property
# has been added, modified or deleted. Subversion runs this hook by
# invoking a program (script, executable, binary, etc.) named
# 'post-revprop-change' (for which this file is a template), with the
# f... | Shell |
#!/bin/sh
# PRE-UNLOCK HOOK
#
# The pre-unlock hook is invoked before an exclusive lock is
# destroyed. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-unlock' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH ... | Shell |
#!/bin/sh
# PRE-COMMIT HOOK
#
# The pre-commit hook is invoked before a Subversion txn is
# committed. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-commit' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH (t... | Shell |
#!/bin/sh
# PRE-LOCK HOOK
#
# The pre-lock hook is invoked before an exclusive lock is
# created. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-lock' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH (the pat... | Shell |
#!/bin/bash
#
# Starts a basic web server on the port specified.
#
# ./serve.sh 3000 -> http://localhost:3000
#
# Copyright 2012 Eric Bidelman <ebidel@gmail.com>
port=$1
if [ $# -ne 1 ]
then
port=8000
fi
open http://localhost:$port/template.html && python -m SimpleHTTPServer $port;
| Shell |
#!/bin/sh
#
# An example hook script to blocks unannotated tags from entering.
# Called by "git receive-pack" with arguments: refname sha1-old sha1-new
#
# To enable this hook, rename this file to "update".
#
# Config
# ------
# hooks.allowunannotated
# This boolean sets whether unannotated tags will be allowed into ... | Shell |
#!/bin/sh
#
# An example hook script to check the commit log message.
# Called by "git commit" with one argument, the name of the file
# that has the commit message. The hook should exit with non-zero
# status after issuing an appropriate message if it wants to stop the
# commit. The hook is allowed to edit the commi... | Shell |
#!/bin/sh
#
# An example hook script to check the commit log message taken by
# applypatch from an e-mail message.
#
# The hook should exit with non-zero status after issuing an
# appropriate message if it wants to stop the commit. The hook is
# allowed to edit the commit message file.
#
# To enable this hook, rename ... | Shell |
#!/bin/sh
#
# An example hook script to prepare the commit log message.
# Called by "git commit" with the name of the file that has the
# commit message, followed by the description of the commit
# message's source. The hook's purpose is to edit the commit
# message file. If the hook fails with a non-zero status,
# t... | Shell |
#!/bin/sh
#
# An example hook script to prepare a packed repository for use over
# dumb transports.
#
# To enable this hook, rename this file to "post-update".
exec git update-server-info
| Shell |
#!/bin/sh
#
# Copyright (c) 2006, 2008 Junio C Hamano
#
# The "pre-rebase" hook is run just before "git rebase" starts doing
# its job, and can prevent the command from running by exiting with
# non-zero status.
#
# The hook is called with the following parameters:
#
# $1 -- the upstream the series was forked from.
# $... | Shell |
#!/bin/sh
#
# An example hook script to verify what is about to be committed
# by applypatch from an e-mail message.
#
# The hook should exit with non-zero status after issuing an
# appropriate message if it wants to stop the commit.
#
# To enable this hook, rename this file to "pre-applypatch".
. git-sh-setup
test -x... | Shell |
#!/bin/sh
#
# An example hook script to verify what is about to be committed.
# Called by "git commit" with no arguments. The hook should
# exit with non-zero status after issuing an appropriate message if
# it wants to stop the commit.
#
# To enable this hook, rename this file to "pre-commit".
if git rev-parse --ver... | Shell |
#!/bin/sh
t=0
s=0
for i in `seq 136`
do
echo Attempting to solve board $i
./sokoban 130.237.218.85 7781 $i &
t=0
for t in `seq 60`
do
if [ ! `pidof -s sokoban` ] # sokoban doesnt exist anymore
then
echo Board SOLVED in $t seconds
s=$((s+1))
break
fi
sleep 1
done
i... | Shell |
#!/bin/sh
# color definitions
GREEN="\033[1;92m"
RED="\033[1;91m"
RESET="\033[0m"
# test script for Sokoban project
echo Testing Sokoban solver.
echo Cleaning from previous builds
#make clean
echo Building sokoban
make
echo Running all 5 trivial boards
for i in `seq 5`;
do
./sokoban 130.237.218.85 7778 $i
if... | Shell |
#!/bin/sh
t=0
s=0
for i in `seq 11`
do
echo Attempting to solve board $i
./sokoban 130.237.218.85 7777 $i &
t=0
for t in `seq 60`
do
if [ ! `pidof -s sokoban` ] # sokoban doesnt exist anymore
then
echo Board SOLVED in $t seconds
s=$((s+1))
break
fi
sleep 1
done
if... | Shell |
#! /bin/sh
### BEGIN INIT INFO
# Provides: couchdb-lucene
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Initscript for CouchDB-Lucene
# Description: Initscript for CouchDB-Lucene
### END INIT IN... | Shell |
#! /bin/sh
### BEGIN INIT INFO
# Provides: couchdb-lucene
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Initscript for CouchDB-Lucene
# Description: Initscript for CouchDB-Lucene
### END INIT IN... | Shell |
#!/bin/bash
# Run this from the terminal inside a drupal root folder
# i.e. DRUPAL_ROOT_DIR/sites/all/modules/contrib/ctools/tests/ctools.drush.sh
function stamp {
echo ==============
echo timestamp : `date`
echo ==============
}
DRUPAL_ROOT=`drush dd`
MODULE_DIR="$DRUPAL_ROOT/sites/all/modules"
MODULE_NAME="c... | Shell |
#!/bin/bash
# Run this from the terminal inside a drupal root folder
# i.e. DRUPAL_ROOT_DIR/sites/all/modules/contrib/ctools/tests/ctools.drush.sh
function stamp {
echo ==============
echo timestamp : `date`
echo ==============
}
DRUPAL_ROOT=`drush dd`
MODULE_DIR="$DRUPAL_ROOT/sites/all/modules"
MODULE_NAME="c... | Shell |
#!/bin/sh
curl --silent --compressed http://example.com/cron.php
| Shell |
#!/bin/sh
/usr/bin/lynx -source http://example.com/cron.php > /dev/null 2>&1
| Shell |
#!/bin/sh
/usr/bin/lynx -source http://example.com/cron.php > /dev/null 2>&1
| Shell |
#!/bin/sh
curl --silent --compressed http://example.com/cron.php
| Shell |
#!/bin/sh
find . -name "*~" -type f | xargs rm -f
find . -name ".#*" -type f | xargs rm -f
find . -name "*.rej" -type f | xargs rm -f
find . -name "*.orig" -type f | xargs rm -f
find . -name "DEADJOE" -type f | xargs rm -f
find . -type f | grep -v ".psp" | grep -v ".gif" | grep -v ".jpg" | grep -v ".png" | grep -v ".t... | Shell |
#!/bin/sh
find . -name "*~" -type f | xargs rm -f
find . -name ".#*" -type f | xargs rm -f
find . -name "*.rej" -type f | xargs rm -f
find . -name "*.orig" -type f | xargs rm -f
find . -name "DEADJOE" -type f | xargs rm -f
find . -type f | grep -v ".psp" | grep -v ".gif" | grep -v ".jpg" | grep -v ".png" | grep -v ".t... | Shell |
<?php
/**
* @file
* This script runs Drupal tests from command line.
*/
define('SIMPLETEST_SCRIPT_COLOR_PASS', 32); // Green.
define('SIMPLETEST_SCRIPT_COLOR_FAIL', 31); // Red.
define('SIMPLETEST_SCRIPT_COLOR_EXCEPTION', 33); // Brown.
// Set defaults and get overrides.
list($args, $count) = simpletest_script_par... | Shell |
#!/bin/bash
# Copyright (c) 2010 The ANGLE Project Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Generates GLSL ES parser - glslang_lex.cpp, glslang_tab.h, and glslang_tab.cpp
run_flex()
{
input_file=$script_dir/$1.l
output_source... | Shell |
#!/bin/bash
# Copyright (c) 2012 The ANGLE Project Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Generates various components of GLSL ES preprocessor.
run_flex()
{
input_file=$script_dir/$1
output_source=$script_dir/$2
flex --noli... | 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
# 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
# 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 -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
# 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
# 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
# include required packages
source ./paths.sh
# present the header
echo "
=====================================================================
Utility to download all source packages
=====================================================================
"
echo "Retrieving source pa... | Shell |
#!/bin/bash -e
CRTPKG=
TAR_OPTS=
TAR_OUT=
TMP_DIR=
SRC_DIR=
CRTLOG=
function initDir {
# $1 is the index to be printed
# $2 is the file name
cd $JAIL_PATH
CRTPKG=$2
TAR_OPTS=
TAR_OUT=$JAIL_PATH/build-dir/$2
SRC_DIR=$TAR_OUT
TAR_IN=
TMP_DIR=$JAIL_PATH/build-dir/$2-build
CRTLOG=$JAIL_PATH/build-dir/$CRTP... | Shell |
#!/bin/bash -e
CRTPKG=
TAR_OPTS=
TAR_OUT=
TMP_DIR=
SRC_DIR=
CRTLOG=
function initDir {
# $1 is the index to be printed
# $2 is the file name
cd $JAIL_PATH
CRTPKG=$2
TAR_OPTS=
TAR_OUT=$JAIL_PATH/build-dir/$2
SRC_DIR=$TAR_OUT
TAR_IN=
TMP_DIR=$JAIL_PATH/build-dir/$2-build
CRTLOG=$JAIL_PATH/build-dir/$CRTP... | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.