code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/usr/bin/env bash
# Author: Zhang Huangbin (zhb(at)iredmail.org)
#---------------------------------------------------------------------
# This file is part of iRedMail, which is an open source mail server
# solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu.
#
# iRedMail is free software: you can... | Shell |
#!/usr/bin/env bash
# Author: Zhang Huangbin <zhb(at)iredmail.org>
# -------------------------------------------------
# phpMyAdmin.
# -------------------------------------------------
phpmyadmin_install()
{
ECHO_INFO "Configure phpMyAdmin (web-based MySQL management tool)."
if [ X"${PHPMYADMIN_USE_SOURCE}"... | Shell |
#!/usr/bin/env bash
# Author: Zhang Huangbin (zhb(at)iredmail.org)
#---------------------------------------------------------------------
# This file is part of iRedMail, which is an open source mail server
# solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu.
#
# iRedMail is free software: you can... | Shell |
#!/usr/bin/env bash
# Author: Zhang Huangbin <zhb(at)iredmail.org>
#---------------------------------------------------------------------
# This file is part of iRedMail, which is an open source mail server
# solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu.
#
# iRedMail is free software: you can r... | Shell |
#!/usr/bin/env bash
# Author: Zhang Huangbin <zhb(at)iredmail.org>
# -------------------------------------------------------
# ---------------- User/Group: vmail --------------------
# -------------------------------------------------------
adduser_vmail()
{
ECHO_INFO "Configure User/Group: vmail."
homedir="... | Shell |
#!/usr/bin/env bash
# Author: Zhang Huangbin <zhb(at)iredmail.org>
# -----------------------
# Roundcube.
# -----------------------
rcm_install()
{
ECHO_INFO "Configure Roundcube webmail."
# FreeBSD: install via ports tree.
if [ X"${DISTRO}" != X"FREEBSD" ]; then
cd ${MISC_DIR}
# Extract... | Shell |
#!/usr/bin/env bash
# Author: Zhang Huangbin <zhb(at)iredmail.org>
#---------------------------------------------------------------------
# This file is part of iRedMail, which is an open source mail server
# solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu.
#
# iRedMail is free software: you can r... | Shell |
#!/usr/bin/env bash
# Author: Zhang Huangbin (zhb(at)iredmail.org)
#---------------------------------------------------------------------
# This file is part of iRedMail, which is an open source mail server
# solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu.
#
# iRedMail is free software: you can... | Shell |
#!/usr/bin/env bash
# Author: Zhang Huangbin (zhb(at)iredmail.org)
#---------------------------------------------------------------------
# This file is part of iRedMail, which is an open source mail server
# solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu.
#
# iRedMail is free software: you can... | Shell |
#!/usr/bin/env bash
# Author: Zhang Huangbin (zhb(at)iredmail.org)
# Purpose: Install & config necessary packages for iRedAdmin.
#---------------------------------------------------------------------
# This file is part of iRedMail, which is an open source mail server
# solution for Red Hat(R) Enterprise Linux, Ce... | Shell |
#!/usr/bin/env bash
# Author: Zhang Huangbin (zhb(at)iredmail.org)
#---------------------------------------------------------------------
# This file is part of iRedMail, which is an open source mail server
# solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu.
#
# iRedMail is free software: you can... | Shell |
#!/usr/bin/env bash
# Author: Zhang Huangbin (zhb(at)iredmail.org)
#---------------------------------------------------------------------
# This file is part of iRedMail, which is an open source mail server
# solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu.
#
# iRedMail is free software: you can... | Shell |
#!/usr/bin/env bash
# Author: Zhang Huangbin (zhb(at)iredmail.org).
# Date: 2008.04.07
# ---------------------------------------------
# Policyd.
# ---------------------------------------------
policyd_user()
{
ECHO_INFO "Configure Policyd (postfix policy daemon)."
ECHO_DEBUG "Add user and group for pol... | Shell |
#!/usr/bin/env bash
# Author: Zhang Huangbin (zhb(at)iredmail.org)
#---------------------------------------------------------------------
# This file is part of iRedMail, which is an open source mail server
# solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu.
#
# iRedMail is free software: you can... | Shell |
#!/usr/bin/env bash
# Author: Zhang Huangbin (zhb(at)iredmail.org)
# Purpose: Install & config necessary packages for iRedAPD.
#---------------------------------------------------------------------
# This file is part of iRedMail, which is an open source mail server
# solution for Red Hat(R) Enterprise Linux, Cent... | Shell |
#!/usr/bin/env bash
# Author: Zhang Huangbin <zhb(at)iredmail.org>
#---------------------------------------------------------------------
# This file is part of iRedMail, which is an open source mail server
# solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu.
#
# iRedMail is free software: you can r... | Shell |
#!/usr/bin/env bash
# Author: Zhang Huangbin <zhb(at)iredmail.org>
# -------------------------------------------------------
# ------------------- phpLDAPadmin ----------------------
# -------------------------------------------------------
pla_install()
{
ECHO_INFO "Configure phpLDAPadmin (web-based LDAP managem... | Shell |
#!/usr/bin/env bash
#---------------------------------------------------------------------
# This file is part of iRedMail, which is an open source mail server
# solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu.
#
# iRedMail is free software: you can redistribute it and/or modify
# it under the term... | Shell |
#!/bin/sh
# Author: Zhang Huangbin (zhb(at)iredmail.org)
#---------------------------------------------------------------------
# This file is part of iRedMail, which is an open source mail server
# solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu.
#
# iRedMail is free software: you can redistribut... | Shell |
#!/usr/bin/env bash
# Purpose: Mail to user when his/her quota exceeds specified percentage.
# Reference: http://wiki2.dovecot.org/Quota/Configuration#Quota_warnings
PERCENT=${1}
USER=${2}
# Use "plugin/quota=maildir:User quota:noenforcing" for maildir quota.
cat << EOF | PH_DOVECOT_DELIVER -d ${USER} -o "plugin/quot... | Shell |
#!/bin/sh
# Author: Zhang Huangbin (zhb(at)iredmail.org)
# Date: 2008.09.05
#---------------------------------------------------------------------
# This file is part of iRedMail, which is an open source mail server
# solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu.
#
# iRedMail is free software: ... | Shell |
#! /bin/sh
#
# uses 'start-stop-daemon' , which is used in debian/ubuntu
#
#~ PATH=/sbin:/usr/sbin:/bin:/usr/bin
DEVDIR="/home/hje/Bots/botsdev/"
NAME=bots-jobqueueserver
PIDFILE=$DEVDIR$NAME"_dev.pid"
DAEMON="/usr/bin/python2.7"
DAEMON_ARGS=$DEVDIR"bots-jobqueueserver.py"
case "$1" in
start)
echo "Startin... | Shell |
#!/bin/sh
cp setup_rpm.py setup.py
python2.7 setup.py bdist_rpm --quit --source-only --requires="python>=2.5, django>1.2.0, cherrypy>3.1.0"
rm setup.py
| Shell |
#! /bin/sh
#
# uses 'start-stop-daemon' , which is used in debian/ubuntu
#
#~ PATH=/sbin:/usr/sbin:/bin:/usr/bin
DEVDIR="/home/hje/Bots/botsdev/"
NAME=bots-webserver
PIDFILE=$DEVDIR$NAME"_dev.pid"
DAEMON="/usr/bin/python2.7"
DAEMON_ARGS=$DEVDIR"bots-webserver.py"
case "$1" in
start)
echo "Starting "$NAME" ... | Shell |
#!/bin/sh
cp setup_tar.py setup.py
python2.7 setup.py --quiet sdist
rm setup.py
| 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/bash
echo "Generating ORMlite resources"
java -classpath lib/ormlite-core-4.31.jar:lib/ormlite-android-4.31.jar:bin/res:bin/classes com.j256.ormlite.android.apptools.OrmLiteConfigUtil ormlite_config.txt
echo "done."
| Shell |
#!/bin/sh
scp -q res/values/strings.xml linode:ath/incoming/en.xml
wget --quiet -O /dev/null --ignore-length --post-data="" http://ath.darshancomputing.com/bi/load_new_en
if [ "$?" -ne "0" ]; then
echo "Sorry, something didn't work!"
exit 1
fi
| Shell |
#!/bin/bash
#ruby generate_images.rb
#for i in res/drawable/b[0-9]*.png; do mogrify -resize 25x25 $i; done
#gimp res/drawable/b100.png
#for i in res/drawable/*.png; do mogrify -sharpen 25x25 $i; done
# shift ("roll") images 1px to the right
# for i in numbers/*.png; do convert $i -roll +1+0 $i; done
d=`dirname $(rea... | Shell |
#!/bin/sh
# After initial checkout from svn, you'll want to run this as your first step.
android update project --path . --target "android-14"
| Shell |
#!/bin/bash
#
# Usage
# sh ./runServer.sh
#
TACAA_HOME=`pwd`
echo $TACAA_HOME
echo $CLASSPATH
java -cp "lib/*" se.sics.tasim.sim.Main
| Shell |
#!/bin/bash
#
# Usage
# sh ./runServer.sh
#
TACAA_HOME=`pwd`
echo $TACAA_HOME
echo $CLASSPATH
java -cp "lib/*" se.sics.tasim.sim.Main
| Shell |
#!/bin/bash
#
# Usage
# sh ./runServer.sh
#
TACAA_HOME=`pwd`
echo $TACAA_HOME
echo $CLASSPATH
java -cp "lib/*" tau.tac.adx.agentware.Main -config config/aw-1.conf
| Shell |
#!/bin/bash
#
# Usage
# sh ./runServer.sh
#
TACAA_HOME=`pwd`
echo $TACAA_HOME
echo $CLASSPATH
java -cp "lib/*" tau.tac.adx.agentware.Main -config config/aw-1.conf
| Shell |
#!/bin/bash
#
# Usage
# sh ./runServer.sh
#
TACAA_HOME=`pwd`
echo $TACAA_HOME
echo $CLASSPATH
java -cp "lib/*" se.sics.tasim.logtool.Main -handler tau.tac.adx.parser.GeneralHandler -file LOG_FILE_PATH/game.slg.gz -ucs -rating -bank -campaign -adnet
| Shell |
#!/bin/bash
#
# Usage
# sh ./runServer.sh
#
javac -cp lib/adx-1.1.1.jar *.java
jar cf lib/agent.jar *.class
TACAA_HOME=`pwd`
echo $TACAA_HOME
echo $CLASSPATH
java -cp "lib/*" tau.tac.adx.agentware.Main -config config/aw-1.conf
| Shell |
#!/bin/bash
#
# Usage
# sh ./runServer.sh
#
javac -cp lib/adx-1.1.1.jar *.java
jar cf lib/agent.jar *.class
| Shell |
#!/bin/bash
#
# Usage
# sh ./runServer.sh
#
javac -cp lib/adx-1.1.1.jar *.java
jar cf lib/agent.jar *.class
TACAA_HOME=`pwd`
echo $TACAA_HOME
echo $CLASSPATH
java -cp "lib/*" tau.tac.adx.agentware.Main -config config/aw-1.conf
| Shell |
#!/bin/bash
#
# Usage
# sh ./runServer.sh
#
javac -cp lib/adx-1.1.1.jar *.java
jar cf lib/agent.jar *.class
| Shell |
#!/bin/bash
#
# Usage
# sh ./runServer.sh
#
TACAA_HOME=`pwd`
echo $TACAA_HOME
echo $CLASSPATH
java -cp "lib/*" se.sics.tasim.logtool.Main -handler tau.tac.adx.parser.GeneralHandler -file LOG_FILE_PATH/game.slg.gz -ucs -rating -bank -campaign -adnet
| Shell |
javac SQLDatabase.java -sourcepath .
javac Server.java -sourcepath .
javac viewListener.java -sourcepath .
javac viewUser.java -sourcepath .
javac RtspResponse.java -sourcepath .
javac PhoneListener.java -sourcepath .
javac PhoneUserS.java -sourcepath .
javac PhoneForward.java -sourcepath .
| Shell |
#!/bin/bash
#
# Usage
# sh ./runServer.sh
#
TACAA_HOME=`pwd`
LIB=${TACAA_HOME}/lib
CLASSPATH=.
for i in $( ls ${LIB}/*.jar ); do
CLASSPATH=${CLASSPATH}:$i
done
java -cp $CLASSPATH se.sics.tasim.sim.Main | Shell |
#!/bin/bash
# cd to this directory since we expec this job to be called from cron and don't know what the present working directory is
cd /home/dyoon/TACAA2011/aa-server-10.1.0.1/score_merge/finals/
#replace with your path to the tasim jar
java -classpath ../tasim-10.1.0.1.jar se.sics.tasim.is.score.MinAvgZeroScoreMer... | Shell |
#!/bin/bash
# cd to this directory since we expec this job to be called from cron and don't know what the present working directory is
cd /home/dyoon/TACAA2011/aa-server-10.1.0.1/score_merge/finals/
#replace with your path to the tasim jar
java -classpath ../tasim-10.1.0.1.jar se.sics.tasim.is.score.MinAvgZeroScoreMer... | Shell |
#!/bin/bash
# cd to this directory since we expec this job to be called from cron and don't know what the present working directory is
cd /home/dyoon/TACAA2011/aa-server-10.1.0.1/score_merge/semifinals/
#replace with your path to the tasim jar
java -classpath ../tasim-10.1.0.1.jar se.sics.tasim.is.score.MinAvgZeroScor... | Shell |
#!/bin/bash
# cd to this directory since we expec this job to be called from cron and don't know what the present working directory is
cd /home/dyoon/TACAA2011/aa-server-10.1.0.1/score_merge/semifinals/
#replace with your path to the tasim jar
java -classpath ../tasim-10.1.0.1.jar se.sics.tasim.is.score.MinAvgZeroScor... | Shell |
#!/bin/bash
# cd to this directory since we expec this job to be called from cron and don't know what the present working directory is
cd /home/dyoon/TACAA2011/aa-server-10.1.0.1/score_merge/qualifying/
#replace with your path to the tasim jar
java -classpath ../tasim-10.1.0.1.jar se.sics.tasim.is.score.MinAvgZeroScor... | Shell |
#!/bin/bash
# cd to this directory since we expec this job to be called from cron and don't know what the present working directory is
cd /home/dyoon/TACAA2011/aa-server-10.1.0.1/score_merge/qualifying/
#replace with your path to the tasim jar
java -classpath ../tasim-10.1.0.1.jar se.sics.tasim.is.score.MinAvgZeroScor... | Shell |
#!/bin/bash
#
# Usage
# sh ./runServer.sh
#
TACAA_HOME=`pwd`
LIB=${TACAA_HOME}/lib
CLASSPATH=.
for i in $( ls ${LIB}/*.jar ); do
CLASSPATH=${CLASSPATH}:$i
done
java -cp $CLASSPATH se.sics.tasim.sim.Main | Shell |
#!/bin/bash
#
# Usage
# sh ./runMe.sh -file [filename]
#
TACAA_HOME=`dirname $0`
LIB=${TACAA_HOME}/lib
CLASSPATH=.
for i in $( ls ${LIB}/*.jar ); do
CLASSPATH=${CLASSPATH}:$i
done
java -cp $CLASSPATH se.sics.tasim.logtool.Main $* | Shell |
#!/bin/bash
#
# Usage
# sh ./runMe.sh -file [filename]
#
TACAA_HOME=`dirname $0`
LIB=${TACAA_HOME}/lib
CLASSPATH=.
for i in $( ls ${LIB}/*.jar ); do
CLASSPATH=${CLASSPATH}:$i
done
java -cp $CLASSPATH se.sics.tasim.logtool.Main $* | Shell |
#!/bin/bash
#
# Usage
# sh ./runServer.sh
#
TACAA_HOME=`pwd`
LIB=${TACAA_HOME}/lib
CLASSPATH=.
for i in $( ls ${LIB}/*.jar ); do
CLASSPATH=${CLASSPATH}:$i
done
java -cp $CLASSPATH se.sics.tasim.sim.Main | Shell |
#!/bin/bash
# cd to this directory since we expec this job to be called from cron and don't know what the present working directory is
cd /home/dyoon/TACAA2011/aa-server-10.1.0.1/score_merge/finals/
#replace with your path to the tasim jar
java -classpath ../tasim-10.1.0.1.jar se.sics.tasim.is.score.MinAvgZeroScoreMer... | Shell |
#!/bin/bash
# cd to this directory since we expec this job to be called from cron and don't know what the present working directory is
cd /home/dyoon/TACAA2011/aa-server-10.1.0.1/score_merge/finals/
#replace with your path to the tasim jar
java -classpath ../tasim-10.1.0.1.jar se.sics.tasim.is.score.MinAvgZeroScoreMer... | Shell |
#!/bin/bash
# cd to this directory since we expec this job to be called from cron and don't know what the present working directory is
cd /home/dyoon/TACAA2011/aa-server-10.1.0.1/score_merge/semifinals/
#replace with your path to the tasim jar
java -classpath ../tasim-10.1.0.1.jar se.sics.tasim.is.score.MinAvgZeroScor... | Shell |
#!/bin/bash
# cd to this directory since we expec this job to be called from cron and don't know what the present working directory is
cd /home/dyoon/TACAA2011/aa-server-10.1.0.1/score_merge/semifinals/
#replace with your path to the tasim jar
java -classpath ../tasim-10.1.0.1.jar se.sics.tasim.is.score.MinAvgZeroScor... | Shell |
#!/bin/bash
# cd to this directory since we expec this job to be called from cron and don't know what the present working directory is
cd /home/dyoon/TACAA2011/aa-server-10.1.0.1/score_merge/qualifying/
#replace with your path to the tasim jar
java -classpath ../tasim-10.1.0.1.jar se.sics.tasim.is.score.MinAvgZeroScor... | Shell |
#!/bin/bash
# cd to this directory since we expec this job to be called from cron and don't know what the present working directory is
cd /home/dyoon/TACAA2011/aa-server-10.1.0.1/score_merge/qualifying/
#replace with your path to the tasim jar
java -classpath ../tasim-10.1.0.1.jar se.sics.tasim.is.score.MinAvgZeroScor... | Shell |
#!/bin/bash
#
# Usage
# sh ./runServer.sh
#
TACAA_HOME=`pwd`
LIB=${TACAA_HOME}/lib
CLASSPATH=.
for i in $( ls ${LIB}/*.jar ); do
CLASSPATH=${CLASSPATH}:$i
done
java -cp $CLASSPATH se.sics.tasim.sim.Main | Shell |
#!/bin/bash
#
# Usage
# sh ./runMe.sh -file [filename]
#
TACAA_HOME=`dirname $0`
LIB=${TACAA_HOME}/lib
CLASSPATH=.
for i in $( ls ${LIB}/*.jar ); do
CLASSPATH=${CLASSPATH}:$i
done
java -cp $CLASSPATH se.sics.tasim.logtool.Main $* | Shell |
#!/bin/bash
#
# Usage
# sh ./runMe.sh -file [filename]
#
TACAA_HOME=`dirname $0`
LIB=${TACAA_HOME}/lib
CLASSPATH=.
for i in $( ls ${LIB}/*.jar ); do
CLASSPATH=${CLASSPATH}:$i
done
java -cp $CLASSPATH se.sics.tasim.logtool.Main $* | Shell |
#! /bin/bash
# Binary of the Texturepacker:
TEXTUREPACKER_BINARY=/usr/local/bin/TexturePacker
# Shared Spritesheet-Output-Definitions:
SPRITESHEET_OUTPUT_DIRECTORY="../assets/gfx/spritesheets/"
SPRITESHEET_OUTPUT_JAVAIDS_PACKAGE="org.anddev.andengine.examples.spritesheets"
SPRITESHEET_OUTPUT_JAVAIDS_DIRECTORY="../src... | Shell |
#!/bin/sh
brctl addbr br-left
brctl addbr br-right
tunctl -t tap-left
tunctl -t tap-right
ifconfig tap-left 0.0.0.0 promisc up
ifconfig tap-right 0.0.0.0 promisc up
brctl addif br-left tap-left
ifconfig br-left up
brctl addif br-right tap-right
ifconfig br-right up
pushd /proc/sys/net/bridge
for f in bridge-nf-*; do ec... | Shell |
#!/bin/sh
lxc-destroy -n left
lxc-destroy -n right
ifconfig br-left down
ifconfig br-right down
brctl delif br-left tap-left
brctl delif br-right tap-right
brctl delbr br-left
brctl delbr br-right
ifconfig tap-left down
ifconfig tap-right down
tunctl -d tap-left
tunctl -d tap-right
| Shell |
#!/usr/bin/env bash
TMPFILE=`mktemp`
echo "\documentclass{book}
\usepackage{pdfpages}
\begin{document}
\includepdf[width=${1},fitpaper]{${2}}
\end{document}" >${TMPFILE}.tex
pdflatex -output-directory /tmp ${TMPFILE}.tex >/dev/null 2>/dev/null
cp ${TMPFILE}.pdf ${3}
| Shell |
#!/usr/bin/env bash
TMPFILE=`mktemp`
echo "\documentclass{book}
\usepackage{pdfpages}
\begin{document}
\includepdf[width=${1},fitpaper]{${2}}
\end{document}" >${TMPFILE}.tex
pdflatex -output-directory /tmp ${TMPFILE}.tex >/dev/null 2>/dev/null
cp ${TMPFILE}.pdf ${3}
| Shell |
#!/bin/sh
DISTANCES="25 50 75 100 125 145 147 150 152 155 157 160 162 165 167 170 172 175 177 180"
TRIALS="1 2 3 4 5"
echo WiFi Experiment Example
pCheck=`which sqlite3`
if [ -z "$pCheck" ]
then
echo "ERROR: This script requires sqlite3 (wifi-example-sim does not)."
exit 255
fi
pCheck=`which gnuplot`
if [ -z "$... | Shell |
#!/bin/bash
jar cf clearnlp-$1.jar com
rsync -avc clearnlp-$1.jar jdchoi@blake.cs.umass.edu:/iesl/canvas/jdchoi/clearnlp/lib
| Shell |
export RUBYLIB=../ext/metasm:../src/metasm/
export LD_LIBRARY_PATH=/usr/local/lib
| Shell |
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
| Shell |
#!/bin/sh
if [[ -z $ADB ]]; then ADB=adb; fi
./kill_process.sh
$ADB shell rm -r /data/data/com.google.android.apps.iosched/* | Shell |
#!/bin/sh
if [[ -z $ADB ]]; then ADB=adb; fi
$ADB shell am force-stop com.google.android.apps.iosched
| Shell |
#!/bin/sh
if [[ -z $ADB ]]; then ADB=adb; fi
$ADB shell "echo '$*' | sqlite3 -header -column /data/data/com.google.android.apps.iosched/databases/schedule.db" | Shell |
#!/bin/sh
# Sessions list
#adb shell am start -a android.intent.action.VIEW -d content://com.google.android.apps.iosched/tracks/android/sessions
# Vendors list
#adb shell am start -a android.intent.action.VIEW -d content://com.google.android.apps.iosched/tracks/android/vendors
# Session detail
#adb shell am start -a... | Shell |
#!/bin/sh
if [[ -z $ADB ]]; then ADB=adb; fi
MAC_UNAME="Darwin"
if [[ "`uname`" == ${MAC_UNAME} ]]; then
DATE_FORMAT="%Y-%m-%dT%H:%M:%S"
else
DATE_FORMAT="%Y-%m-%d %H:%M:%S"
fi
if [ -z "$1" ]; then
NOW_DATE=$(date "+${DATE_FORMAT}")
echo Please provide a mock time in the format \"${NOW_DATE}\" or \"d\" to del... | Shell |
#!/bin/sh
adb shell cat /data/data/com.google.android.apps.iosched/shared_prefs/com.google.android.apps.iosched_preferences.xml | xmllint --format - | Shell |
#!/bin/sh
# Remember VERBOSE only works on debug builds of the app
adb shell setprop log.tag.iosched_SyncHelper VERBOSE
adb shell setprop log.tag.iosched_SessionsHandler VERBOSE
adb shell setprop log.tag.iosched_ImageCache VERBOSE
adb shell setprop log.tag.iosched_ImageWorker VERBOSE
adb shell setprop log.tag.iosched_I... | Shell |
#!/bin/sh
adb shell pm clear com.google.android.apps.iosched | Shell |
#!/bin/sh
if [[ -z $ADB ]]; then ADB=adb; fi
$ADB shell am start \
-a android.intent.action.MAIN \
-c android.intent.category.LAUNCHER \
-n com.google.android.apps.iosched/.ui.HomeActivity
| Shell |
#/bin/sh
#Hi my naem is Kirt and I liek anime
ulimit -Sc unlimited
while [ 1 ] ; do
if [ -f .stopserver ] ; then
echo server marked down >> servlog.txt
else
echo restarting server at time at `date +"%m-%d-%H:%M-%S"`>> startlog.txt
./map-server
fi
sleep 5
done
| Shell |
#!/bin/bash
# modified by shazeya@syafi.com (NL130240)
./athena-start start
sleep 30
while [ true ]; do
if [ " 0" = "$(ps | grep -e log | wc -l)" ] ||
# if [ " 0" = "$(ps | grep -e login | wc -l)" ] ||
[ " 0" = "$(ps | grep -e char | wc -l)" ] ||
[ " 0" = "$(ps | gr... | Shell |
#!/bin/bash
case "$1" in
map|char|login)
# Check for SQL postfix
if [ "$2" = "sql" ]; then
SERVER="$1-server_sql"
else
SERVER="$1-server"
fi
;;
*|""|help)
echo "Usage 1: ${0##*/} [server-type] [txt/sql]"
echo Server type can be map, login, or char. Examples:
echo "$ ./${0##*/} m... | Shell |
#!/bin/bash
case "$1" in
map|char|login)
# Check for SQL postfix
if [ "$2" = "sql" ]; then
SERVER="$1-server_sql"
else
SERVER="$1-server"
fi
;;
*|""|help)
echo "Usage 1: ${0##*/} [server-type] [txt/sql]"
echo Server type can be map, login, or char. Examples:
echo "$ ./${0##*/} m... | Shell |
#!/bin/bash
# modified by shazeya@syafi.com (NL130240)
./athena-start start
sleep 30
while [ true ]; do
if [ " 0" = "$(ps | grep -e log | wc -l)" ] ||
# if [ " 0" = "$(ps | grep -e login | wc -l)" ] ||
[ " 0" = "$(ps | grep -e char | wc -l)" ] ||
[ " 0" = "$(ps | gr... | Shell |
#/bin/sh
#Hi my naem is Kirt and I liek anime
ulimit -Sc unlimited
while [ 3 ] ; do
if [ -f .stopserver3 ] ; then
echo server marked down >> servlog.txt
else
echo restarting server at time at `date +"%m-%d-%H:%M-%S"`>> startlog.txt
./char-server
fi
sleep 5
done
| Shell |
#/bin/sh
#Hi my naem is Kirt and I liek anime
ulimit -Sc unlimited
while [ 2 ] ; do
if [ -f .stopserver2 ] ; then
echo server marked down >> servlog.txt
else
echo restarting server at time at `date +"%m-%d-%H:%M-%S"`>> startlog.txt
./login-server
fi
sleep 5
done
| Shell |
pdflatex analisiDeiRequisiti-0.9.tex
pdflatex analisiDeiRequisiti-0.9.tex
pdflatex analisiDeiRequisiti-0.9.tex
pdflatex normeDiProgetto-0.6.tex
pdflatex normeDiProgetto-0.6.tex
pdflatex normeDiProgetto-0.6.tex
pdflatex studioDiFattibilita-0.3.tex
pdflatex studioDiFattibilita-0.3.tex
pdflatex studioDiFattibilita-0.3.tex... | Shell |
pdflatex -output-directory=./ ./documentiInterni/pianoDiQualifica-2.0.tex
pdflatex -output-directory=./ ./documentiInterni/pianoDiQualifica-2.0.tex
pdflatex -output-directory=./ ./documentiInterni/pianoDiQualifica-2.0.tex
pdflatex -output-directory=./ ./documentiInterni/verbaleRiunione15gen-0.1.tex
pdflatex -output-dir... | 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
if [ $(uname -s) == "Darwin" ]
then
open=open
else
open=xdg-open
fi
$open http://localhost:$port/templat... | Shell |
python makeNodesEdges.py Alaninen /Users/jake/local/lux/adipoflux/Alaninen/Alaninen.sif
python makeNodesEdges.py Alkaloidb /Users/jake/local/lux/adipoflux/Alkaloidb/Alkaloidb.sif
python makeNodesEdges.py Argininea /Users/jake/local/lux/adipoflux/Argininea/Argininea.sif
python makeNodesEdges.py Ascorbate /Users/jake/loc... | Shell |
#!/bin/bash
#=============================================
#
# Copyright 2012 David Racca and Matias Molina.
#
# This file is part of ADIUC Salary Calculator.
#
# ADIUC Salary Calculator is free software: you can redistribute it and/or
# modify it under the terms of the GNU General Public License as published
# by t... | Shell |
#!/bin/bash
#=============================================
#
# Copyright 2012 David Racca and Matias Molina.
#
# This file is part of ADIUC Salary Calculator.
#
# ADIUC Salary Calculator is free software: you can redistribute it and/or
# modify it under the terms of the GNU General Public License as published
# by t... | Shell |
#!/bin/sh
# Runs pylint on all python files in codereview/
#
# Skips over 'cpplint' which is a third part in the chromium branch.
#
ROOT=$(dirname $(readlink -f $0))/..
GAE=$ROOT/../google_appengine
FILES=$(find codereview -iname "*.py" | grep -v "cpplint")
IMPORTS=$GAE:$GAE/lib/django_1_2
PYTHONPATH=$IMPORTS:$PYTHONPA... | Shell |
#!/bin/sh
pushd /home/mateescu/Installs/ADIOS/adios-1.2.1/tests/C
mpcc -DHAVE_CONFIG_H \
-I. -I../.. -I../../src \
-I/home/mateescu/opt/mxml-gxlc-2.6/include \
-g -c \
-o adios_test_c-adios_test_c.o adios_test_c.c
/bin/sh ../../libtool \
--tag=CC ... | Shell |
#!/bin/sh
poe ./adios_test_c -rmpool 2 -nodes 1 -procs 2
| Shell |
#!/bin/sh
pushd /home/mateescu/Installs/ADIOS/adios-1.2.1/tests/C
mpcc -DHAVE_CONFIG_H \
-I. -I../.. -I../../src \
-I/home/mateescu/opt/mxml-gxlc-2.6/include \
-g -c \
-o adios_test_c-adios_test_c.o adios_test_c.c
/bin/sh ../../libtool \
--tag=CC ... | Shell |
#!/bin/sh
poe ./adios_test_c -rmpool 2 -nodes 1 -procs 2
| Shell |
#!/bin/bash
#
# This script checks the java version and bails if it's less
# than Java6 (because we use @Override annotations on interface
# overriding methods. It then proceeds to do a maven build that
# first cleans, then builds the normal lifecycle through compilation
# unit testing (if available) up to packaging. ... | Shell |
#!/bin/bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP versions 4 and 5
#
# CakePHP(tm) : Rapid Development Framework (http://www.cakephp.org)
# Copyright 2005-2007, Cake Software Foundation, Inc.
#
# Licensed under ... | Shell |
#!/bin/bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP versions 4 and 5
#
# CakePHP(tm) : Rapid Development Framework (http://www.cakephp.org)
# Copyright 2005-2007, Cake Software Foundation, Inc.
#
# Licensed under ... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.