code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/bash
QT_BIN=/home/raphserver/Qt5.3.1/5.3/gcc_64/bin
export QT_BIN
export PATH
${QT_BIN}/qmake -project
echo UI_DIR = uiTestSrc/ui >> uiTest.pro
echo INCLUDEPATH += . ../tools >> uiTest.pro
echo QT += widgets >> uiTest.pro
echo CONFIG += qt >> uiTest.pro
${QT_BIN}/qmake ./uiTest.pro \
-r \
-spec ... | Shell |
#!/bin/bash
QT_BIN=/home/raphserver/Qt5.3.1/5.3/gcc_64/bin
export QT_BIN
export PATH
${QT_BIN}/qmake -project
echo UI_DIR = uiTestSrc/ui >> uiTest.pro
echo INCLUDEPATH += . ../tools >> uiTest.pro
echo QT += widgets >> uiTest.pro
echo CONFIG += qt >> uiTest.pro
${QT_BIN}/qmake ./uiTest.pro \
-r \
-spec ... | Shell |
#!/bin/bash
QT_BIN=/home/raphserver/Qt5.3.1/5.3/gcc_64/bin
export QT_BIN
export PATH
${QT_BIN}/qmake -project
echo UI_DIR = uiTestSrc/ui >> uiTest.pro
echo INCLUDEPATH += . ../tools >> uiTest.pro
echo QT += widgets >> uiTest.pro
echo CONFIG += qt >> uiTest.pro
${QT_BIN}/qmake ./uiTest.pro \
-r \
-spec ... | Shell |
#!/bin/bash
QT_BIN=/home/raphserver/Qt5.3.1/5.3/gcc_64/bin
export QT_BIN
export PATH
${QT_BIN}/qmake -project
echo UI_DIR = uiTestSrc/ui >> uiTest.pro
echo INCLUDEPATH += . ../tools >> uiTest.pro
echo QT += widgets >> uiTest.pro
echo CONFIG += qt >> uiTest.pro
${QT_BIN}/qmake ./uiTest.pro \
-r \
-spec ... | Shell |
make clean
del /F Makefile
del /F Makefile.Debug
del /F Makefile.Release
rmdir /S /Q debug
rmdir /S /Q release | Shell |
aclocal
libtoolize
autoheader
autoconf
automake --add-missing
| Shell |
#!/usr/bin/env sh
echo "24.S07.E18.720p.BlueRay.x264-SiNNERS.mkv
24.s08.e01.720p.hdtv.x264-immerse.mkv
JAG.S10E01.DVDRip.XviD-P0W4DVD.avi
Lost.S06E05.Lighthouse.DD51.720p.WEB-DL.AVC-FUSiON.mkv
castle.2009.s01e09.720p.hdtv.x264-ctu.mkv
dexter.407.720p.hdtv.x264-sys.mkv
gossip.girl.s03e15.hdtv.xvid-fqm.avi
human.target.2... | Shell |
#!/bin/sh
#Determine if java exists
which java > /dev/null
javaExists=$?
if [ ${javaExists} -eq 1 ]; then
echo 'TVRenamer ERROR Java not found on your system. Please install.'
#Determine if zenity notifier exists
which zenity > /dev/null
zenityExists=$?
if [ ${zenityExists} -eq 0 ]; then
zenity --error \... | Shell |
#!/bin/sh
BASEDIR=`dirname "$0"`
java -XstartOnFirstThread -jar "$BASEDIR/tvrenamer.jar" com.google.code.tvrenamer.view.UIStarter
| Shell |
#!/usr/bin/env bash
MARKET=$1 #"intrsng|BTC/EUR"
LEVEL=$2 #0
echo "Testing MARKET=$MARKET with debug=$LEVEL"
if [[ $LEVEL == 0 ]]
then python w4arbitrage.py --action printmk --markets "$MARKET" --printjson --printmk --nocalculate
elif [[ $LEVEL == 1 ]]
then python w4arbitrage.py --action printmk --markets "$MARK... | Shell |
#!/usr/bin/env bash
python currency_exchange.py --send EUR --req USD --send_amount 100
neato -T png path.dot > path.png # Graphviz
open path.png | Shell |
#!/usr/bin/env bash
if [[ $2 != 1 ]]
then DIR=/home/pi/bitcoin/arbitrage/working4arbitrage/
fi;
function main(){
python ${DIR}w4arbitrage.py --markets "intrsng|BTC/GBP bc|BTC/GBP mtgox|BTC/GBP" --action arbitrage --currency 20 --plot --reldiff 4 --loop 900 --nodownload --sendemail # 2>&1 | tee /tmp/w4arbitrage_BTC... | Shell |
#!/usr/bin/env bash
if [[ $2 != 1 ]]
then DIR=/home/pi/bitcoin/arbitrage/working4arbitrage/
fi;
function main(){
python ${DIR}currency_exchange_via_btc.py --cur1 EUR --cur2 USD --size 10 --loop 900
}
if [[ $1 == 1 ]]
then main
else
while [[ $1 != 1 ]]
do
main
DELAY=120
echo "Restart... after $DELAY s"
... | Shell |
#!/usr/bin/env bash
tail /tmp/w4a_download.log -n 50 | less
| Shell |
#!/usr/bin/env bash
tail /tmp/w4a_download.log -n 50 | less
| Shell |
#!/usr/bin/env bash
if [[ $2 != 1 ]]
then DIR=/home/pi/bitcoin/arbitrage/working4arbitrage/
fi;
function main(){
python ${DIR}w4arbitrage.py --markets "vcx|BTC/USD intrsng|BTC/USD cbx|BTC/USD bc|BTC/USD rock|BTC/USD bitme|BTC/USD btc24|BTC/USD bitfloor|BTC/USD btce|BTC/USD bitstamp|BTC/USD mtgox|BTC/USD" --action ... | Shell |
#!/usr/bin/env bash
if [[ $2 != 1 ]]
then DIR=/home/pi/bitcoin/arbitrage/working4arbitrage/
fi;
function main(){
python ${DIR}w4arbitrage.py --markets "bc|BTC/EUR mtgox|BTC/EUR" --action arbitrage --currency1 10 --plot --reldiff -6 --loop 300 --sendpush --sendemail --nodownload
}
if [[ $1 == 1 ]]
then main
else... | Shell |
#!/usr/bin/env bash
DIR=/home/pi/bitcoin/arbitrage/working4arbitrage/
rm ${DIR}data_in # ToFix ?
#touch ${DIR}lock/downloading.lock
touch /tmp/w4a_downloading.lock
python ${DIR}download_btc_orderbooks.py >> /tmp/w4a_download.log
#rm ${DIR}lock/downloading.lock
rm /tmp/w4a_downloading.lock
| Shell |
#!/usr/bin/env bash
python currency_exchange.py --send EUR --req USD --send_amount 100
neato -T png path.dot > path.png # Graphviz
open path.png | Shell |
#!/usr/bin/env bash
MARKET=$1 #"intrsng|BTC/EUR"
LEVEL=$2 #0
echo "Testing MARKET=$MARKET with debug=$LEVEL"
if [[ $LEVEL == 0 ]]
then python w4arbitrage.py --action printmk --markets "$MARKET" --printjson --printmk --nocalculate
elif [[ $LEVEL == 1 ]]
then python w4arbitrage.py --action printmk --markets "$MARK... | Shell |
#!/usr/bin/env bash
if [[ $2 != 1 ]]
then DIR=/home/pi/bitcoin/arbitrage/working4arbitrage/
fi;
function main(){
python ${DIR}w4arbitrage.py --markets "vcx|BTC/EUR intrsng|BTC/EUR btc24|BTC/EUR rock|BTC/EUR btce|BTC/EUR bc|BTC/EUR bitcurex|BTC/EUR mtgox|BTC/EUR" --action arbitrage --currency1 20 --plot --reldiff 4... | Shell |
#!/usr/bin/env bash
if [[ $2 != 1 ]]
then DIR=/home/pi/bitcoin/arbitrage/working4arbitrage/
fi;
function main(){
python ${DIR}w4arbitrage.py --markets "intrsng|BTC/GBP bc|BTC/GBP mtgox|BTC/GBP" --action arbitrage --currency 20 --plot --reldiff 4 --loop 900 --nodownload --sendemail # 2>&1 | tee /tmp/w4arbitrage_BTC... | Shell |
#!/usr/bin/env bash
if [[ $2 != 1 ]]
then DIR=/home/pi/bitcoin/arbitrage/working4arbitrage/
fi;
function main(){
python ${DIR}currency_exchange_via_btc.py --cur1 EUR --cur2 USD --size 10 --loop 900
}
if [[ $1 == 1 ]]
then main
else
while [[ $1 != 1 ]]
do
main
DELAY=120
echo "Restart... after $DELAY s"
... | Shell |
#!/usr/bin/env bash
if [[ $2 != 1 ]]
then DIR=/home/pi/bitcoin/arbitrage/working4arbitrage/
fi;
function main(){
python ${DIR}w4arbitrage.py --markets "vcx|BTC/USD intrsng|BTC/USD cbx|BTC/USD bc|BTC/USD rock|BTC/USD bitme|BTC/USD btc24|BTC/USD bitfloor|BTC/USD btce|BTC/USD bitstamp|BTC/USD mtgox|BTC/USD" --action ... | Shell |
#!/usr/bin/env bash
if [[ $2 != 1 ]]
then DIR=/home/pi/bitcoin/arbitrage/working4arbitrage/
fi;
function main(){
python ${DIR}w4arbitrage.py --markets "vcx|BTC/EUR intrsng|BTC/EUR btc24|BTC/EUR rock|BTC/EUR btce|BTC/EUR bc|BTC/EUR bitcurex|BTC/EUR mtgox|BTC/EUR" --action arbitrage --currency1 20 --plot --reldiff 4... | Shell |
#!/usr/bin/env bash
if [[ $2 != 1 ]]
then DIR=/home/pi/bitcoin/arbitrage/working4arbitrage/
fi;
function main(){
python ${DIR}w4arbitrage.py --markets "bc|BTC/EUR mtgox|BTC/EUR" --action arbitrage --currency1 10 --plot --reldiff -6 --loop 300 --sendpush --sendemail --nodownload
}
if [[ $1 == 1 ]]
then main
else... | Shell |
#!/usr/bin/env bash
DIR=/home/pi/bitcoin/arbitrage/working4arbitrage/
rm ${DIR}data_in # ToFix ?
#touch ${DIR}lock/downloading.lock
touch /tmp/w4a_downloading.lock
python ${DIR}download_btc_orderbooks.py >> /tmp/w4a_download.log
#rm ${DIR}lock/downloading.lock
rm /tmp/w4a_downloading.lock
| Shell |
proxy_url="http://g-proxy.appspot.com/"
wb_url="http://api.worldbank.org/"
bases=(sources countries incomeLevels indicators lendingTypes topics regions)
parameter="?format=json&page=1&per_page=4000"
for base in ${bases[@]}
do
echo ${proxy_url}${wb_url}${base}${parameter}
curl ${proxy_url}${wb_url}${base}${pa... | Shell |
#!/bin/bash
echo 1 > /proc/sys/net/ipv4/tcp_tw_recycle
echo 1 > /proc/sys/net/ipv4/tcp_tw_reuse
ulimit -c unlimited
mount -t tmpfs tmpfs /etc/mailc -o size=128M
chmod 755 /etc/mailc
cp -a /etc/mailc_bak/* /etc/mailc
cd /etc/mailc
./testd
./testd 110
./server 1234
mount -t tmpfs tmpfs /var/www -o size=1200M
chmod 755 ... | Shell |
#!/bin/bash
echo 1 > /proc/sys/net/ipv4/tcp_tw_recycle
echo 1 > /proc/sys/net/ipv4/tcp_tw_reuse
ulimit -c unlimited
mount -t tmpfs tmpfs /etc/mailc -o size=128M
chmod 755 /etc/mailc
cp -a /etc/mailc_bak/* /etc/mailc
cd /etc/mailc
./testd
./testd 110
./server 1234
mount -t tmpfs tmpfs /var/www -o size=1200M
chmod 755 ... | Shell |
#!/bin/sh
rm -rf *.pyc
rm -rf *.class | 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/sh
#http://developer.apple.com/library/mac/#documentation/Java/Conceptual/Java14Development/03-JavaDeployment/JavaDeployment.html
#http://stackoverflow.com/questions/96882/how-do-i-create-a-nice-looking-dmg-for-mac-os-x-using-command-line-tools
set -o verbose #echo onset +o verbose #echo off
# Note: this must ... | Shell |
#!/bin/sh
# 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
# 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
# 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
############################################################
## Copyright (c) 2007-2009 - OpenSmartHome.com - WOSH
## All rights reserved.
## open source, founded by Alessandro Polo
## http://www.OpenSmartHome.com
## http://www.AlessandroPolo.name
##########################################################... | Shell |
#! /bin/sh
############################################################
## Copyright (c) 2007-2009 - OpenSmartHome.com - WOSH
## All rights reserved.
## open source, founded by Alessandro Polo
## http://www.OpenSmartHome.com
## http://www.AlessandroPolo.name
##########################################################... | Shell |
#! /bin/sh
############################################################
## Copyright (c) 2008 - OpenSmartHome.com - WOSH
## All rights reserved.
## open source, founded by Alessandro Polo 2008
## http://www.OpenSmartHome.com
## http://www.AlessandroPolo.name
##########################################################... | Shell |
#! /bin/sh
############################################################
## Copyright (c) 2008 - OpenSmartHome.com - WOSH
## All rights reserved.
## open source, founded by Alessandro Polo 2008
## http://www.OpenSmartHome.com
## http://www.AlessandroPolo.name
##########################################################... | Shell |
#!/bin/sh
###############################################################################
# Revision: $Id: vgetty-convert.sh 1708 2010-01-26 22:28:01Z alex $
###############################################################################
# Copyright (c) 2007-2009, WOSH - Wide Open Smart Home
# by Alessandro Polo - Ope... | Shell |
#! /usr/bin/vm shell
#################################################################
## Copyright (c) 2008 - OpenSmartHome.com - WOSH
## All rights reserved.
## open source, founded by Alessandro Polo 2008
## http://www.OpenSmartHome.com
## http://www.AlessandroPolo.name
###########################################... | Shell |
#!/bin/sh
###############################################################################
# Revision: $Id: vgetty-ctrl.sh 1708 2010-01-26 22:28:01Z alex $
###############################################################################
# Copyright (c) 2007-2009, WOSH - Wide Open Smart Home
# by Alessandro Polo - OpenSm... | Shell |
#!/bin/sh
###############################################################################
# Revision: $Id: vgetty-convert.sh 1708 2010-01-26 22:28:01Z alex $
###############################################################################
# Copyright (c) 2007-2009, WOSH - Wide Open Smart Home
# by Alessandro Polo - Ope... | Shell |
#!/bin/sh
###############################################################################
# Revision: $Id: vgetty-ctrl.sh 1708 2010-01-26 22:28:01Z alex $
###############################################################################
# Copyright (c) 2007-2009, WOSH - Wide Open Smart Home
# by Alessandro Polo - OpenSm... | Shell |
#! /usr/bin/vm shell
###############################################################################
# Revision: $Id: vgetty-call.sh 1708 2010-01-26 22:28:01Z alex $
###############################################################################
# Copyright (c) 2007-2009, WOSH - Wide Open Smart Home
# by Alessandro Po... | Shell |
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
| Shell |
#!/bin/sh
## A simple unix launcher for the Wosaic project. Simply call
## appropriate java command
## TODO: Perhaps check if we the java command first, and then launch
## TODO: Also, I'm not sure exactly how we put ourselves in the right
## directory, I think there's probably an easy way...
java -jar `dirna... | Shell |
#!/bin/sh
## A simple unix launcher for the Wosaic project. Simply call
## appropriate java command
## TODO: Perhaps check if we the java command first, and then launch
## TODO: Also, I'm not sure exactly how we put ourselves in the right
## directory, I think there's probably an easy way...
java -jar `dirna... | Shell |
#!/bin/sh
## A simple unix launcher for the Wosaic project. Simply call
## appropriate java command
## TODO: Perhaps check if we the java command first, and then launch
## TODO: Also, I'm not sure exactly how we put ourselves in the right
## directory, I think there's probably an easy way...
java -jar `dirna... | Shell |
#!/bin/sh
## A simple unix launcher for the Wosaic project. Simply call
## appropriate java command
## TODO: Perhaps check if we the java command first, and then launch
## TODO: Also, I'm not sure exactly how we put ourselves in the right
## directory, I think there's probably an easy way...
java -jar `dirna... | Shell |
#!/bin/sh
## A simple unix launcher for the Wosaic project. Simply call
## appropriate java command
## TODO: Perhaps check if we the java command first, and then launch
## TODO: Also, I'm not sure exactly how we put ourselves in the right
## directory, I think there's probably an easy way...
java -jar `dirna... | Shell |
#!/bin/sh
## A simple unix launcher for the Wosaic project. Simply call
## appropriate java command
## TODO: Perhaps check if we the java command first, and then launch
## TODO: Also, I'm not sure exactly how we put ourselves in the right
## directory, I think there's probably an easy way...
java -jar `dirna... | Shell |
#!/bin/sh
# TODO: FIXME: Get rid of this and hook it into Dojo's general build script
# You must have mtasc to run this
mtasc -trace DojoExternalInterface.trace -main -cp ../flash -swf Storage.swf -version 8 -header 215:138:10 Storage.as
| Shell |
#!/bin/sh
# TODO: FIXME: Get rid of this and hook it into Dojo's general build script
# You must have mtasc to run this
mtasc -trace DojoExternalInterface.trace -main -cp ../flash -swf Storage.swf -version 8 -header 215:138:10 Storage.as
| Shell |
#!/bin/bash
# Copyright 2011 Google Inc. All Rights Reserved.
#
# Run j2objc translation tool.
#
# Usage:
# j2objc
# [-begin-java-args <java-options> -end-java-args]
# [-classpath <path>]
# [-sourcepath <path>]
# [-d <output-directory>]
# <file.java> ...
#
if [ -L "$0" ]; then
readonly DIR=$(d... | Shell |
#!/bin/bash
# Copyright 2012 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable ... | Shell |
#!/bin/bash
# Copyright 2011 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable... | 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
java -jar worldmeaning.jar $1 | Shell |
#!/bin/sh
java -jar worldmeaning.jar $1 | Shell |
#!/bin/bash
find org/jivesoftware -name '*.java' -exec sed -i 's:import org.xmlpull.mxp1.MXParser:import org.xmlpull.v1.XmlPullParserFactory:' '{}' ';'
find org/jivesoftware -name '*.java' -exec sed -i 's:new MXParser():XmlPullParserFactory.newInstance().newPullParser():g' '{}' ';'
| Shell |
#!/bin/bash
rm org/xbill/DNS/spi/DNSJavaNameServiceDescriptor.java
| Shell |
#!/bin/bash
mkdir -p org/apache/harmony/
mv javax org/apache/harmony/
find org/apache/harmony/ -name '*.java' -exec sed -i 's:package javax:package org.apache.harmony.javax:g' '{}' ';'
find -name '*.java' -exec sed -i 's:import javax.security.sasl:import org.apache.harmony.javax.security.sasl:g' '{}' ';'
find -name '*... | Shell |
#!/bin/bash
find -name '*.java' -exec sed -i 's:import org.apache.harmony.javax.security.sasl.Sasl;:import de.measite.smack.Sasl;:g' '{}' ';'
| Shell |
#!/bin/bash
find org/apache/harmony -name '*.java' -exec sed -i 's:import org.apache.harmony.auth.internal.nls.Messages;::' '{}' ';'
find org/apache/harmony -name '*.java' -exec sed -i 's:Messages.getString(\("[^"]*"\)):\1:g' '{}' ';'
| Shell |
#!/bin/bash
rm -rf org/ietf/
rm -rf org/apache/harmony/auth
rm -rf org/apache/harmony/javax/security/auth/kerberos/
rm -rf org/apache/harmony/javax/security/auth/x500/
rm org/apache/harmony/javax/security/auth/Policy.java
| Shell |
#!/bin/bash
rm org/jivesoftware/smack/debugger/LiteDebugger.java
rm org/jivesoftware/smackx/debugger/EnhancedDebugger.java
rm org/jivesoftware/smackx/debugger/EnhancedDebuggerWindow.java
| Shell |
#!/bin/bash
echo "## Step 00: initialize"
(
if ! [ -d build ]; then
mkdir build
mkdir build/src
mkdir build/src/trunk
fi
)
fetch() {
(
cd src
if ! [ -f "${2}/.svn/entries" ]; then
mkdir "${2}"
cd "${2}"
svn co --non-interactive --trust-server-cert "${1}" "."
else
cd "${2}"
sv... | Shell |
## libtool.m4 - Configure libtool for the target system. -*-Shell-script-*-
## Copyright (C) 1996-1999, 2000 Free Software Foundation, Inc.
## Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU Gene... | Shell |
#! /bin/sh
# From configure.in Id: configure.in,v 1.27 2001/10/19 23:20:56 rob Exp
# serial 40 AC_PROG_LIBTOOL
# AC_LIBTOOL_DLOPEN - enable checks for dlopen support
# AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's
# AC_ENABLE_SHARED - implement the --enable-sh... | Shell |
## libtool.m4 - Configure libtool for the target system. -*-Shell-script-*-
## Copyright (C) 1996-1999, 2000 Free Software Foundation, Inc.
## Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU Gene... | Shell |
#!/bin/bash
echo "## Step 00: initialize"
(
if ! [ -d build ]; then
mkdir build
mkdir build/src
mkdir build/src/trunk
fi
)
fetch() {
(
cd src
if ! [ -f "${2}/.svn/entries" ]; then
mkdir "${2}"
cd "${2}"
svn co --non-interactive --trust-server-cert "${1}" "."
else
cd "${2}"
sv... | Shell |
#!/bin/bash
find org/jivesoftware -name '*.java' -exec sed -i 's:import org.xmlpull.mxp1.MXParser:import org.xmlpull.v1.XmlPullParserFactory:' '{}' ';'
find org/jivesoftware -name '*.java' -exec sed -i 's:new MXParser():XmlPullParserFactory.newInstance().newPullParser():g' '{}' ';'
| Shell |
#!/bin/bash
rm org/xbill/DNS/spi/DNSJavaNameServiceDescriptor.java
| Shell |
#!/bin/bash
rm -rf org/ietf/
rm -rf org/apache/harmony/auth
rm -rf org/apache/harmony/javax/security/auth/kerberos/
rm -rf org/apache/harmony/javax/security/auth/x500/
rm org/apache/harmony/javax/security/auth/Policy.java
| Shell |
#!/bin/bash
find -name '*.java' -exec sed -i 's:import org.apache.harmony.javax.security.sasl.Sasl;:import de.measite.smack.Sasl;:g' '{}' ';'
| Shell |
#!/bin/bash
find org/apache/harmony -name '*.java' -exec sed -i 's:import org.apache.harmony.auth.internal.nls.Messages;::' '{}' ';'
find org/apache/harmony -name '*.java' -exec sed -i 's:Messages.getString(\("[^"]*"\)):\1:g' '{}' ';'
| Shell |
#!/bin/bash
rm org/jivesoftware/smack/debugger/LiteDebugger.java
rm org/jivesoftware/smackx/debugger/EnhancedDebugger.java
rm org/jivesoftware/smackx/debugger/EnhancedDebuggerWindow.java
| Shell |
#!/bin/bash
mkdir -p org/apache/harmony/
mv javax org/apache/harmony/
find org/apache/harmony/ -name '*.java' -exec sed -i 's:package javax:package org.apache.harmony.javax:g' '{}' ';'
find -name '*.java' -exec sed -i 's:import javax.security.sasl:import org.apache.harmony.javax.security.sasl:g' '{}' ';'
find -name '*... | Shell |
#!/bin/sh
sudo rm -r /usr/lib/python2.5/site-packages/dot2snv-*-py2.5.egg
sudo rm /usr/bin/dot2svn
rm -r build
rm -r dist
rm -r dot2snv.egg-info
rm MANIFEST
| Shell |
#!/bin/sh
EMAIL_TO=email@somehost.tst
INCIDENTS_PATH=/root/incidents
cat $INCIDENTS_PATH/$1.incident|mail -s 'Incident Alert Incident ID #:'$1 $EMAIL_TO
| Shell |
#!/bin/sh
EMAIL_TO=email@somehost.tst
INCIDENTS_PATH=/root/incidents
cat $INCIDENTS_PATH/$1.incident|mail -s 'Incident Alert Incident ID #:'$1 $EMAIL_TO
| Shell |
#!/usr/bin/env bash
##############################################################################
##
## Gradle start up script for UN*X
##
##############################################################################
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to ... | Shell |
#!/bin/bash
rm ~/.blender/2.60/config/scripts/blender2ogre.pickle
../Blender2.6/blender --python io_export_ogreDotScene.py --window-geometry 20 20 1390 640
| Shell |
mono ./WoWGasm Launcher.exe | 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/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
/usr/bin/lynx -source http://example.com/cron.php > /dev/null 2>&1
| 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
curl --silent --compressed http://example.com/cron.php
| Shell |
#!/bin/sh
python build.py --common
python build.py --common --debug
python build.py --extras
| 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
#
# 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/bash
cp uni.src uni.dct
cp bi.src bi.dct
#cat c4.dct |./usr.sh
cat c4.dct >> uni.dct
cat usr.dct |./usr.sh
LC_ALL=C sort uni.dct|./setup.py -m > uni_.dct
LC_ALL=C sort bi.dct|./setup.py -m |./bi.py > bi_.dct
LC_ALL=C sort nr.dct|./ne.py -r > nr_.dct
LC_ALL=C sort ns.dct|./ne.py -s > ns_.dct
LC_ALL=C sort tr.dct... | Shell |
#!/bin/bash
UNIDCT='uni.dct'
BIDCT='bi.dct'
uni='uni.src'
bi='bi.src'
if [ ! -f $uni ];then
echo $uni not exit
exit 2
fi
if [ ! -f $bi ];then
echo $bi not exit
exit 3
fi
while read line
do
flag=`echo $line|grep '@'`
if [ -z $flag ];then
echo -e $line"\tus\t"0 >> $UNIDCT
else
echo -e $line"\tus\t"1 >> $BID... | Shell |
#!/bin/bash
while read line
do
src=`echo $line |awk '{print $1}'`
dst=`echo $line |awk '{print $2}'`
echo -e "src: "$src"\t\tdst: "$dst
sed -i "s/$src/$dst/g" core.dct bi.dct
done < mirror.lst
| Shell |
#!/bin/bash
cp uni.src uni.dct
cp bi.src bi.dct
#cat c4.dct |./usr.sh
cat c4.dct >> uni.dct
cat usr.dct |./usr.sh
LC_ALL=C sort uni.dct|./setup.py -m > uni_.dct
LC_ALL=C sort bi.dct|./setup.py -m |./bi.py > bi_.dct
LC_ALL=C sort nr.dct|./ne.py -r > nr_.dct
LC_ALL=C sort ns.dct|./ne.py -s > ns_.dct
LC_ALL=C sort tr.dct... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.