code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/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-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/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-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-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
# 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
# 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-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
# 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
# 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-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
# 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
#===============================================================================
# FILE: wrapper.sh
# USAGE: ./wrapper.sh executable [cmd-line-args]
# DESCRIPTION: Wraps the execution of a programm or script.
# Use with xterm: xterm -e wrapper.sh executable cmd-line-ar... | Shell |
#!/bin/bash
#===============================================================================
# FILE: wrapper.sh
# USAGE: ./wrapper.sh executable [cmd-line-args]
# DESCRIPTION: Wraps the execution of a programm or script.
# Use with xterm: xterm -e wrapper.sh executable cmd-line-ar... | Shell |
#!/bin/bash
#===============================================================================
# FILE: wrapper.sh
# USAGE: ./wrapper.sh scriptname [cmd-line-args]
# DESCRIPTION: Wraps the execution of a programm or script.
# Use with xterm: xterm -e wrapper.sh scriptname cmd-line-ar... | Shell |
#!/bin/bash
#===============================================================================
# FILE: wrapper.sh
# USAGE: ./wrapper.sh scriptname [cmd-line-args]
# DESCRIPTION: Wraps the execution of a programm or script.
# Use with xterm: xterm -e wrapper.sh scriptname cmd-line-ar... | 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
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
# $Id$
errstatus=0
for file
do
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
shift
pathcomp=
for d
do
pathcomp="$pathcomp$... | Shell |
#!/bin/bash
#
# softflowd Starts softflowd NetFlow probe
# $Id$
#
# chkconfig: 2345 95 02
# description: Starts and stops the softflowd Netflow probe
# Source function library.
. /etc/init.d/functions
SOFTFLOW_CONF=/etc/sysconfig/softflowd
SOFTFLOW_LOCK=/var/lock/subsys/softflowd
SOFTFLOW_PROG=/usr/sbin/softflowd
SOF... | Shell |
#!/bin/sh
WITH_USB=1
LIBUSB_WIN32_BIN_VERSION="1.2.6.0"
LIBUSB_WIN32_BIN_ARCHIVE="libusb-win32-bin-$LIBUSB_WIN32_BIN_VERSION.zip"
LIBUSB_WIN32_BIN_URL="http://freefr.dl.sourceforge.net/project/libusb-win32/libusb-win32-releases/$LIBUSB_WIN32_BIN_VERSION/$LIBUSB_WIN32_BIN_ARCHIVE"
LIBUSB_WIN32_BIN_DIR="libusb-win32-bi... | Shell |
#!/bin/sh
cat << EOF | \
pn53x-tamashell |\
awk '\
/^> #.*:/{
sub(/^> #/,"")
n=$0
for (i=0;i<8-length();i++) {
n= n " "
}
getline
getline
getline
sub(/Rx: 00/,"")
gsub(/ +/," ")
... | Shell |
#!/bin/sh
ID=$(cat << EOF | \
pn53x-tamashell |\
grep -A1 "^Tx: 42 01 0b 3f 80" |\
sed -e '1d' -e "s/^Rx: 00 .. .. \(.. .. .. ..\).*/\1/" -e 's/ //g'
# Timeouts
3205000002
# ListTarget ModeB
4a010300
# TypeB' APGEN
42010b3f80
EOF
)
if [ -z "$ID" ]; then
echo "Error: I was not abble to read Nav... | Shell |
#! /bin/sh
# Stop script on first error.
set -e
# Retrieve libnfc version from configure.ac
LIBNFC_VERSION=$(grep AC_INIT configure.ac | sed 's/^.*\[libnfc\],\[\(.*\)\],\[.*/\1/g')
echo "=== Building release archive for libnfc $LIBNFC_VERSION ==="
# Easiest part: GNU/linux, BSD and other POSIX systems.
LIBNFC_AUTOTO... | Shell |
#!/bin/sh
export BASE_DIR="`dirname $0`"
if test -z "$NO_MAKE"; then
make -C "$BASE_DIR/../" > /dev/null || exit 1
fi
if test -z "$CUTTER"; then
CUTTER="`make -s -C "$BASE_DIR" echo-cutter`"
fi
"$CUTTER" --keep-opening-modules -s "$BASE_DIR" "$@" "$BASE_DIR"
# ^^^^^^^^^^^^^^^^^^^^^^
# FIXME: Remove ... | Shell |
#!/bin/bash
COMPILER="/Applications/Developer Tools/compiler.jar"
SOURCE=./src/jquery.autocomplete.js
TARGET=./src/jquery.autocomplete.min.js
echo "Minifying ${SOURCE} to ${TARGET} ... "
if `java -jar "${COMPILER}" "${SOURCE}" > "${TARGET}"`
then
echo "Minify succeeded."
else
echo "Minify failed."
rm "${... | Shell |
#!/bin/bash
getLangsForFiles () {
echo "en" # default language
for F in "$@"
do
find res/ -name "$F"
done \
| sed -n '
s/.*res.[a-z]*-\(..\)-r\(..\).*/\1_\2/p; # yy-rXX => yy_XX
s/.*res.[a-z]*-\(..\)\/.*/\1/p; # yy => yy
'
}
getLangsForDicts () {
ls ../Dicts \
| sed 's/.*-//;... | Shell |
#!/bin/bash
Res=res/
Alt=donottranslate-altchars.xml
Map=donottranslate-keymap.xml
Out=assets/kbd/
mkdir -p "$Out"
for Dir in res/values res/values-*
do
[ -f $Dir/$Map ] || continue # -o -f $Dir/$Alt ] || continue
Args="$Res/values/$Alt"
[ -f $Dir/$Alt ] && Args="$Args $Dir/$Alt"
Args="$Args $Res/values/$Map... | Shell |
#!/bin/bash
# 打开apache.http调试信息
adb shell setprop log.tag.org.apache.http VERBOSE
adb shell setprop log.tag.org.apache.http.wire VERBOSE
adb shell setprop log.tag.org.apache.http.headers VERBOSE
echo "Enable Debug"
| 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
adb shell cat /data/data/com.google.android.apps.iosched/shared_prefs/com.google.android.apps.iosched_preferences.xml | xmllint --format - | 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
adb shell pm clear 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
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
# 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
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 |
zipBasePath="{TARGET_BUILD_DIR}/${ZipName}"
echo "Removing zip file ${zipBasePath}.zip"
rm -f "${zipBasePath}.zip"
if [ x${ACTION} = xclean ]; then
exit 0
fi
echo "Removing .svn directories..."
find "${BUILT_PRODUCTS_DIR}/${ZipProduct}" -name ".svn" -exec rm -rvf "{}" \;
echo "...done"
echo "Setting ownership..."
c... | Shell |
#! /bin/sh
# $Id: updateminiupnpcstrings.sh,v 1.2 2009/06/04 09:13:53 nanard Exp $
FILE=miniupnpcstrings.h
# detecting the OS name and version
OS_NAME=`uname -s`
OS_VERSION=`uname -r`
if [ -f /etc/debian_version ]; then
OS_NAME=Debian
OS_VERSION=`cat /etc/debian_version`
fi
# use lsb_release (Linux Standard Base) w... | Shell |
# adjust paths below and then run
# . ./android-gcc-setup.sh
# to setup build environment
export NDK=/cygdrive/d/Code/android/android-ndk-r3
HOST_TYPE=windows
ANDROID_VERSION=3
LIBDIR=$NDK/build/platforms/android-$ANDROID_VERSION/arch-arm/usr/lib
export CFLAGS="-march=armv5te -mtune=xscale"
export CC=$NDK/build/preb... | Shell |
#!/bin/sh
SCRIPTDIR=`dirname $0`
. $SCRIPTDIR/android-gcc-setup.sh
cd $SCRIPTDIR/..
if [ ! -d "deps" ]
then
mkdir -p deps
fi
cd deps
DEPSDIR=$PWD
JNIDIR=$DEPSDIR/../jni
if [ ! -d "$JNIDIR/pdfview2/lib" ]
then
mkdir -p $JNIDIR/pdfview2/lib
fi
if [ ! -d "$JNIDIR/pdfview2/include" ]
then
mkdir -p $JNIDIR/pd... | Shell |
#!/bin/bash
# Tool mainly for U-Boot Quality Assurance: build one or more board
# configurations with minimal verbosity, showing only warnings and
# errors.
usage()
{
# if exiting with 0, write to stdout, else write to stderr
local ret=${1:-0}
[ "${ret}" -eq 1 ] && exec 1>&2
cat <<-EOF
Usage: MAKEALL [options] [-... | Shell |
#!/bin/sh
usage() {
(
echo "Usage: $0 [board IP] [board port]"
echo ""
echo "If IP is not specified, 'localhost' will be used"
echo "If port is not specified, '2001' will be used"
[ -z "$*" ] && exit 0
echo ""
echo "ERROR: $*"
exit 1
) 1>&2
exit $?
}
while [ -n "$1" ] ; do
case $1 in
-h|--help) usage;;
... | Shell |
#!/bin/sh
# This script converts binary files (u-boot.bin) into so called
# bootstrap records that are accepted by Motorola's MC9328MX1/L
# (a.k.a. DragaonBall i.MX) in "Bootstrap Mode"
#
# The code for the SynchFlash programming routines is taken from
# Bootloader\Bin\SyncFlash\programBoot_b.txt contained in
# Motor... | Shell |
#!/bin/sh
make
./easylogo linux_logo.tga u_boot_logo video_logo.h
mv video_logo.h ../../include
| Shell |
#!/bin/sh
usage() {
(
echo "Usage: $0 <board IP> [board port]"
echo ""
echo "If port is not specified, '6666' will be used"
[ -z "$*" ] && exit 0
echo ""
echo "ERROR: $*"
exit 1
) 1>&2
exit $?
}
while [ -n "$1" ] ; do
case $1 in
-h|--help) usage;;
--) break;;
-*) usage "Invalid option $... | Shell |
#!/bin/sh
# Adapted from Linux kernel's "Kbuild":
# commit 1cdf25d704f7951d02a04064c97db547d6021872
# Author: Christoph Lameter <clameter@sgi.com>
mkdir -p $(dirname $2)
# Default sed regexp - multiline due to syntax constraints
SED_CMD="/^->/{s:->#\(.*\):/* \1 */:; \
s:^->\([^ ]*\) [\$#]*\([-0-9]*\) \(.*\):#define... | Shell |
#!/bin/sh
#
# This scripts adds local version information from the version
# control systems git, mercurial (hg) and subversion (svn).
#
# It was originally copied from the Linux kernel v3.2.0-rc4 and modified
# to support the U-Boot build-system.
#
usage() {
echo "Usage: $0 [--save-scmversion] [srctree]" >&2
exit 1... | Shell |
#!/bin/sh
echo "------server pull--------"
cd /home/wang/MyGitServer/uboot_src/
git pull /home/wang/port_uboot
echo "-----pull done---------"
| Shell |
#!/bin/sh -e
# Script to create header files and links to configure
# U-Boot for a specific board.
#
# Parameters: Target Architecture CPU Board [VENDOR] [SOC]
#
# (C) 2002-2010 DENX Software Engineering, Wolfgang Denk <wd@denx.de>
#
APPEND=no # Default: Create new config file
BOARD_NAME="" # Name to print in mak... | Shell |
#!/bin/sh
usage() {
echo "Usage: $0 lzmaVERSION.tar.bz2" >&2
echo >&2
exit 1
}
if [ "$1" = "" ] ; then
usage
fi
if [ ! -f $1 ] ; then
echo "$1 doesn't exist!" >&2
exit 1
fi
BASENAME=`basename $1 .tar.bz2`
TMPDIR=/tmp/tmp_lib_$BASENAME
FILES="C/LzmaDec.h
C/Types.h
C/LzmaDec.c
history.txt
... | 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
# libtool - Provide generalized library-building support services.
# Generated automatically by config.status (libjpeg) 7.0
# Libtool was configured on host MacBook-Pro.local:
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 200... | Shell |
# Generated from ltmain.m4sh.
# ltmain.sh (GNU libtool) 2.2.6
# 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
# w... | 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 |
#!/usr/bin/env bash
# Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
# For licensing, see LICENSE.html or http://ckeditor.com/license
# Use this file to quickly run the sample under Linux.
adl application.xml ../../
| Shell |
#!/usr/bin/env bash
# Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
# For licensing, see LICENSE.html or http://ckeditor.com/license
# Use this file to quickly run the sample under Linux.
adl application.xml ../../
| 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 ... | Shell |
#!/bin/sh
# Create a backup tar gzip file of the cwd with the date appended
# located in the parent directory.
FILENAME=../`pwd|xargs basename`-`date -j "+%Y-%m-%d"`.tgz
echo Will create $FILENAME
tar cfz $FILENAME .
echo Done.
| Shell |
#!/bin/bash
# 打开apache.http调试信息
adb shell setprop log.tag.org.apache.http VERBOSE
adb shell setprop log.tag.org.apache.http.wire VERBOSE
adb shell setprop log.tag.org.apache.http.headers VERBOSE
echo "Enable Debug"
| Shell |
#!/bin/bash
# 打开apache.http调试信息
adb shell setprop log.tag.org.apache.http VERBOSE
adb shell setprop log.tag.org.apache.http.wire VERBOSE
adb shell setprop log.tag.org.apache.http.headers VERBOSE
echo "Enable Debug"
| Shell |
#!/bin/sh
cat <<EOF
Content-type: video/flv
EOF
exec /sbin/wget -O - --post-data `echo $QUERY_STRING|sed "s_\&_\&_g"` "http://213.152.174.187/mvmu.php"
| Shell |
#!/bin/sh
cat <<EOF
Content-type: video/flv
EOF
exec /sbin/wget -O - --post-data `echo $QUERY_STRING|sed "s_\&_\&_g"` "http://213.152.174.187/mvmu.php"
| Shell |
#!/bin/sh
cat <<EOF
Content-type: video/mp4
EOF
exec /usr/local/etc/www/cgi-bin/scripts/rtmpdump -b 60000 -q -v -p http://justin.tv -r "rtmp://199.9.255.240/app/jtv_U70tPN3XhXTjS7Ei" --jtv "54facb7577e89ac698e4b9d37c1bc22641b0a6c1:{\"swfDomains\": [\"justin.tv\", \"jtvx.com\", \"xarth.com\", \"twitchtv.com\", \"twitch... | Shell |
#!/bin/sh
cat <<EOF
Content-type: video/mp4
EOF
exec /usr/local/etc/www/cgi-bin/scripts/rtmpdump -b 60000 -q -v -p http://justin.tv -r "rtmp://199.9.255.240/app/jtv_U70tPN3XhXTjS7Ei" --jtv "54facb7577e89ac698e4b9d37c1bc22641b0a6c1:{\"swfDomains\": [\"justin.tv\", \"jtvx.com\", \"xarth.com\", \"twitchtv.com\", \"twitch... | Shell |
#!/bin/sh
link=`echo "$QUERY_STRING" | sed -n 's/^.*link=\([^;]*\).*$/\1/p' | sed "s/%20/ /g"`
PID=`echo "$QUERY_STRING" | sed -n 's/^.*pid=\([^;]*\).*$/\1/p' | sed "s/%20/ /g"`
NAME=`echo "$QUERY_STRING" | sed -n 's/^.*name=\([^;]*\).*$/\1/p' | sed "s/%20/ /g"`
GO=`echo "$QUERY_STRING" | sed -n 's/^.*go=\([^;]*\).*$/\... | Shell |
#!/bin/sh
#
# http://code.google.com/media-translate/
# Copyright (C) 2010 Serge A. Timchenko
#
# 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 3 of the License, or
# ... | Shell |
#!/bin/sh
cat <<EOF
Content-type: video/flv
EOF
exec /usr/local/etc/translate/bin/rtmpdump -q -v -b 60000 -W http://static.seeon.tv/jwplayer/seeon-plugin.swf -p http://www.seeon.tv -r `echo $QUERY_STRING|sed "s_\&_\&_g"`
| Shell |
#!/bin/sh
# Dreambox Live
c_param1=`echo $QUERY_STRING | cut -d'&' -f1 | cut -d= -f1`
c_value1=`echo $QUERY_STRING | cut -d'&' -f1 | cut -d= -f2`
echo "Content-type: text/html"
echo
echo "<html><head>"
echo "<title>repoman xLive</title>"
echo "<link type='text/css' rel='stylesheet' href='/cube_web_management.css' />"... | Shell |
#!/bin/sh
cat <<EOF
Content-type: video/mp4
EOF
exec /sbin/wget --limit-rate=500k -O - `echo $QUERY_STRING|sed "s_\&_\&_g"`
| Shell |
#!/bin/sh
cat <<EOF
Content-type: video/flv
EOF
exec /usr/local/etc/www/cgi-bin/scripts/rtmpdump -q -b 60000 -v -W http://static1.mediadirect.ro/player-preload/swf/preloader/preloader.swf -r `echo $QUERY_STRING|sed "s_\&_\&_g"`
| Shell |
#!/bin/sh
DISK=`echo "$QUERY_STRING" | sed -n 's/^.*sda=\([^;]*\).*$/\1/p' | sed "s/%20/ /g"`
LINK=`echo "$QUERY_STRING" | sed -n 's/^.*link=\([^;]*\).*$/\1/p' | sed "s/%20/ /g"`
NAME=`echo "$QUERY_STRING" | sed -n 's/^.*name=\([^;]*\).*$/\1/p' | sed "s/%20/ /g"`
if [ -n "$DISK"]
then
if [ -d /tmp/usbmounts/sda1/downlo... | Shell |
#!/bin/sh
echo "<?xml version='1.0' encoding='UTF-8'?>"
echo "<info>"
echo "<status>"
msdlPID=$(pidof "msdl")
if test $? -eq 0
then
killall -9 pidof "msdl" >/dev/null 2>&1
echo "<movie>Movie is Stopped.</movie>"
else
echo "<movie>Movie is Stopped.</movie>"
fi
echo "</status>"
echo "</info>"
| Shell |
#!/bin/sh
killall wget
rm /tmp/*.pid
if [ -d /tmp/usbmounts/sda1/download ]
then
loc=/tmp/usbmounts/sda1/download
loclog=/tmp/usbmounts/sda1/download
elif [ -d /tmp/usbmounts/sdb1/download ]
then
loc=/tmp/usbmounts/sdb1/download
loclog=/tmp/usbmounts/sdb1/download
elif [ -d /tmp/usbmounts/sdc1/download ]
then
loc=... | Shell |
#!/bin/sh
# Dreambox Live
c_param1=`echo $QUERY_STRING | cut -d'&' -f1 | cut -d= -f1`
c_value1=`echo $QUERY_STRING | cut -d'&' -f1 | cut -d= -f2`
echo "Content-type: text/html"
echo
echo "<html><head>"
echo "<title>repoman xLive</title>"
echo "<link type='text/css' rel='stylesheet' href='/cube_web_management.css' />"... | Shell |
#!/bin/sh
cat <<EOF
Content-type: video/flv
EOF
exec /usr/local/etc/translate/bin/rtmpdump -q -v -b 60000 -W http://static.seeon.tv/jwplayer/seeon-plugin.swf -p http://www.seeon.tv -r `echo $QUERY_STRING|sed "s_\&_\&_g"`
| Shell |
#!/bin/sh
cat <<EOF
Content-type: video/flv
EOF
exec /usr/local/etc/www/cgi-bin/scripts/rtmpdump -q -b 60000 -v -W http://static1.mediadirect.ro/player-preload/swf/preloader/preloader.swf -r `echo $QUERY_STRING|sed "s_\&_\&_g"`
| Shell |
#!/bin/sh
link=`echo "$QUERY_STRING" | sed -n 's/^.*link=\([^;]*\).*$/\1/p' | sed "s/%20/ /g"`
PID=`echo "$QUERY_STRING" | sed -n 's/^.*pid=\([^;]*\).*$/\1/p' | sed "s/%20/ /g"`
NAME=`echo "$QUERY_STRING" | sed -n 's/^.*name=\([^;]*\).*$/\1/p' | sed "s/%20/ /g"`
GO=`echo "$QUERY_STRING" | sed -n 's/^.*go=\([^;]*\).*$/\... | Shell |
#!/bin/sh
#
# http://code.google.com/media-translate/
# Copyright (C) 2010 Serge A. Timchenko
#
# 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 3 of the License, or
# ... | Shell |
#!/bin/sh
cat <<EOF
Content-type: video/mp4
EOF
exec /sbin/wget --limit-rate=500k -O - `echo $QUERY_STRING|sed "s_\&_\&_g"`
| Shell |
#!/bin/sh
# Dreambox Live
c_param1=`echo $QUERY_STRING | cut -d'&' -f1 | cut -d= -f1`
c_value1=`echo $QUERY_STRING | cut -d'&' -f1 | cut -d= -f2`
echo "Content-type: text/html"
echo
echo "<html><head>"
echo "<title>xVoD</title>"
echo "<link type='text/css' rel='stylesheet' href='/cube_web_management.css' />"
echo "</... | Shell |
#!/bin/sh
#
# http://code.google.com/media-translate/
# Copyright (C) 2010 Serge A. Timchenko
#
# 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 3 of the License, or
# ... | Shell |
#!/bin/sh
cat <<EOF
Content-type: video/mp4
EOF
exec /usr/local/etc/www/cgi-bin/scripts/rtmpdump -q -v -b 60000 -W http://static.mediadirect.ro/streamrecord/new3/player.swf -r `echo $QUERY_STRING|sed "s_\&_\&_g"`
| Shell |
#!/bin/sh
cat <<EOF
Content-type: video/flv
EOF
exec /usr/local/etc/translate/bin/rtmpdump -q -v -b 60000 -W http://live.1hd.ro/jwplayer/player.swf -r `echo $QUERY_STRING|sed "s_\&_\&_g"`
| Shell |
#!/bin/sh
killall wget
rm /tmp/*.pid
if [ -d /tmp/usbmounts/sda1/download ]
then
loc=/tmp/usbmounts/sda1/download
loclog=/tmp/usbmounts/sda1/download
elif [ -d /tmp/usbmounts/sdb1/download ]
then
loc=/tmp/usbmounts/sdb1/download
loclog=/tmp/usbmounts/sdb1/download
elif [ -d /tmp/usbmounts/sdc1/download ]
then
loc=... | Shell |
#!/bin/sh
#
# http://code.google.com/media-translate/
# Copyright (C) 2010 Serge A. Timchenko
#
# 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 3 of the License, or
# ... | Shell |
#!/bin/sh
# Dreambox Live
c_param1=`echo $QUERY_STRING | cut -d'&' -f1 | cut -d= -f1`
c_value1=`echo $QUERY_STRING | cut -d'&' -f1 | cut -d= -f2`
echo "Content-type: text/html"
echo
echo "<html><head>"
echo "<title>xVoD</title>"
echo "<link type='text/css' rel='stylesheet' href='/cube_web_management.css' />"
echo "</... | Shell |
#!/bin/sh
DISK=`echo "$QUERY_STRING" | sed -n 's/^.*sda=\([^;]*\).*$/\1/p' | sed "s/%20/ /g"`
LINK=`echo "$QUERY_STRING" | sed -n 's/^.*link=\([^;]*\).*$/\1/p' | sed "s/%20/ /g"`
NAME=`echo "$QUERY_STRING" | sed -n 's/^.*name=\([^;]*\).*$/\1/p' | sed "s/%20/ /g"`
if [ -n "$DISK"]
then
if [ -d /tmp/usbmounts/sda1/downlo... | Shell |
#!/bin/sh
cat <<EOF
Content-type: video/mp4
EOF
exec /usr/local/etc/www/cgi-bin/scripts/rtmpdump -q -v -b 60000 -W http://static.mediadirect.ro/streamrecord/new3/player.swf -r `echo $QUERY_STRING|sed "s_\&_\&_g"`
| Shell |
#!/bin/sh
cat <<EOF
Content-type: video/flv
EOF
exec /usr/local/etc/translate/bin/rtmpdump -q -v -b 60000 -W http://live.1hd.ro/jwplayer/player.swf -r `echo $QUERY_STRING|sed "s_\&_\&_g"`
| Shell |
#!/bin/sh
echo "<?xml version='1.0' encoding='UTF-8'?>"
echo "<info>"
echo "<status>"
msdlPID=$(pidof "msdl")
if test $? -eq 0
then
killall -9 pidof "msdl" >/dev/null 2>&1
echo "<movie>Movie is Stopped.</movie>"
else
echo "<movie>Movie is Stopped.</movie>"
fi
echo "</status>"
echo "</info>"
| Shell |
#!/bin/sh
rtc-template -bpython \
--module-name=Proxy \
--module-desc='RTC-Lite for Arduino' \
--module-version=1.0.0 \
--module-vendor=AIST \
--module-category=Proxy \
--module-comp-type=STATIC \
--module-act-type=PERIODIC \
--module-max-inst=1 \
--outport=Watt:TimedShort \
--o... | Shell |
#!/bin/sh
rtc-template -bpython \
--module-name=Proxy \
--module-desc='RTC-Lite for Arduino' \
--module-version=1.0.0 \
--module-vendor=AIST \
--module-category=Proxy \
--module-comp-type=STATIC \
--module-act-type=PERIODIC \
--module-max-inst=1 \
--outport=Watt:TimedShort \
--o... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.