code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/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 |
#!/bin/sh
path=`dirname $0`
cp $path/url_list $path/url_temp
PYTHONPATH=`pwd` $path/SaveHandler.py -t 3 -s $path/url_temp
if [ $? -eq 0 ]
then
rm $path/url_temp
fi
| Shell |
#!/bin/bash
make -f Makefile.square clean
make -f Makefile.triangle clean
make -f Makefile.noise clean
make -f Makefile.square hex
make -f Makefile.triangle hex
make -f Makefile.noise hex
| Shell |
#!/bin/bash
make -f Makefile.square clean
make -f Makefile.triangle clean
make -f Makefile.noise clean
make -f Makefile.square hex
make -f Makefile.triangle hex
make -f Makefile.noise hex
| Shell |
#!/bin/bash
if [ $# != 1 ]
then
echo "Usage: $0 emailAddress"
exit 1
fi
read -s -p "Password: " mypassword
echo ""
curl https://www.google.com/accounts/ClientLogin -d Email=$1 -d "Passwd=$mypassword" -d accountType=GOOGLE -d source=Google-cURL-Example -d service=ac2dm
| 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 |
<?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... | 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... | 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... | Shell |
#!/bin/sh
curl --silent --compressed http://example.com/cron.php
| Shell |
#!/bin/bash
x="puzzles/p"
y="0"
z=".pz"
datDir="runStats/"
datExt=".dat"
LIMIT=81
POP=50
PMUT=0.05
PCO=0.8
for((i=0; i <= LIMIT; i++))
do
if [ $i -lt 10 ]
then
./a.out $x$y$i$z 9 9 3 3 243 $POP $PMUT $PCO
else
./a.out $x$i$z 9 9 3 3 243 $POP $PMUT $PCO
fi
done
| Shell |
#!/bin/bash
x="../puzzles/p"
y="0"
z=".pz"
datDir="runStats/"
datExt=".dat"
LIMIT=81
POP=200
PMUT=0.02
PCO=0.8
for((i=0; i <= LIMIT; i++))
do
if [ $i -lt 10 ]
then
# j=`expr "$LIMIT" "-" "$i"`
./a.out $x$y$i$z 9 9 3 3 243 $POP $PMUT $PCO $datDir$y$i$datExt
else
# j=`expr "$LIMIT" "-" "$i"`
./a.out $x$i$z 9... | Shell |
#!/bin/bash
x="../puzzles/25x25/p"
y="0"
z=".pz"
datDir="runStats/"
datExt=".dat"
LIMIT=625
POP=400
PMUT=0.04
PCO=0.8
for((i=0; i <= LIMIT; i++))
do
if [ $i -lt 10 ]
then
./a.out $x$y$i$z 16 16 4 4 768 $POP $PMUT $PCO $datDir$y$i$datExt
else
./a.out $x$i$z 16 16 4 4 768 $POP $PMUT $PCO $datDir$i$datExt
f... | Shell |
#!/bin/bash
x="../puzzles/16x16/p"
y="0"
z=".pz"
datDir="runStats/"
datExt=".dat"
LIMIT=256
POP=100
PMUT=0.01
PCO=0.8
for((i=0; i <= LIMIT; i++))
do
if [ $i -lt 10 ]
then
./a.out $x$y$i$z 16 16 4 4 768 $POP $PMUT $PCO $datDir$y$i$datExt
else
./a.out $x$i$z 16 16 4 4 768 $POP $PMUT $PCO $datDir$i$datExt
f... | Shell |
#!/bin/bash
x="../puzzles/p"
y="0"
z=".pz"
datDir="runStats/"
datExt=".dat"
LIMIT=81
for((i=0; i <= LIMIT; i++))
do
if [ $i -lt 10 ]
then
# j=`expr "$LIMIT" "-" "$i"`
./a.out $x$y$i$z 9 9 3 3 243
else
# j=`expr "$LIMIT" "-" "$i"`
./a.out $x$i$z 9 9 3 3 243
fi
done
| Shell |
#!/bin/bash
x="../puzzles/25x25/p"
y="0"
z=".pz"
datDir="runStats/25x25/"
datExt=".dat"
LIMIT=625
for((i=0; i <= LIMIT; i++))
do
if [ $i -lt 10 ]
then
# j=`expr "$LIMIT" "-" "$i"`
./a.out $x$y$i$z 25 25 5 5 1875
else
# j=`expr "$LIMIT" "-" "$i"`
./a.out $x$i$z 25 25 5 5 1875
fi
done
| Shell |
#!/bin/bash
x="../puzzles/16x16/p"
y="0"
z=".pz"
datDir="runStats/16x16/"
datExt=".dat"
LIMIT=256
for((i=0; i <= LIMIT; i++))
do
if [ $i -lt 10 ]
then
./a.out $x$y$i$z 16 16 4 4 768
else
./a.out $x$i$z 16 16 4 4 768
fi
done
| Shell |
#!/bin/bash
x="p"
y="0"
z=".pz"
datDir="runStats/"
datExt=".pz"
LIMIT=256
for((i=0; i <= LIMIT; i++))
do
if [ $i -lt 10 ]
then
./a.out $1 $2 $3 $4 $5 $6 $i > $7/$x$y$i$datExt
else
./a.out $1 $2 $3 $4 $5 $6 $i > $7/$x$i$datExt
fi
done
| Shell |
#!/bin/bash
x="p"
y="0"
z=".pz"
datDir="runStats/"
datExt=".pz"
LIMIT=625
for((i=0; i <= LIMIT; i++))
do
if [ $i -lt 10 ]
then
./a.out $1 25 25 5 5 1875 $i > $2/$x$y$i$datExt
else
./a.out $1 25 25 5 5 1875 $i > $2/$x$i$datExt
fi
done
| Shell |
#!/bin/bash
x="../puzzles/p"
y="0"
z=".pz"
datDir="runStats/"
datExt=".dat"
LIMIT=81
POP=50
PMUT=0.05
PCO=0.8
for((i=0; i <= LIMIT; i++))
do
if [ $i -lt 10 ]
then
./a.out $x$y$i$z 9 9 3 3 243 $POP $PMUT $PCO
else
./a.out $x$i$z 9 9 3 3 243 $POP $PMUT $PCO
fi
done
| Shell |
#!/bin/bash
x="../puzzles/25x25/p"
y="0"
z=".pz"
datDir="runStats/"
datExt=".dat"
LIMIT=625
POP=100
PMUT=0.01
PCO=0.8
for((i=0; i <= LIMIT; i++))
do
if [ $i -lt 10 ]
then
./a.out $x$y$i$z 25 25 5 5 1875 $POP $PMUT $PCO
else
./a.out $x$i$z 25 25 5 5 1875 $POP $PMUT $PCO
fi
done
| Shell |
#!/bin/bash
x="../puzzles/16x16/p"
y="0"
z=".pz"
datDir="runStats/"
datExt=".dat"
LIMIT=256
POP=100
PMUT=0.01
PCO=0.8
for((i=0; i <= LIMIT; i++))
do
if [ $i -lt 10 ]
then
./a.out $x$y$i$z 16 16 4 4 768 $POP $PMUT $PCO
else
./a.out $x$i$z 16 16 4 4 768 $POP $PMUT $PCO
fi
done
| Shell |
#!/bin/bash
x="puzzles/25x25/p"
y="0"
z=".pz"
datDir="runStats/"
datExt=".dat"
LIMIT=625
POP=100
PMUT=0.01
PCO=0.8
for((i=0; i <= LIMIT; i++))
do
if [ $i -lt 10 ]
then
./a.out $x$y$i$z 25 25 5 5 1875 $POP $PMUT $PCO
else
./a.out $x$i$z 25 25 5 5 1875 $POP $PMUT $PCO
fi
done
| Shell |
#!/bin/bash
x="../puzzles/p"
y="0"
z=".pz"
datDir="runStats/"
datExt=".dat"
LIMIT=81
for((i=0; i <= LIMIT; i++))
do
if [ $i -lt 10 ]
then
# j=`expr "$LIMIT" "-" "$i"`
./a.out $x$y$i$z 9 9 3 3 243
else
# j=`expr "$LIMIT" "-" "$i"`
./a.out $x$i$z 9 9 3 3 243
fi
done
| Shell |
#!/bin/bash
x="../puzzles/25x25/p"
y="0"
z=".pz"
datDir="runStats/25x25/"
datExt=".dat"
LIMIT=625
for((i=0; i <= LIMIT; i++))
do
if [ $i -lt 10 ]
then
# j=`expr "$LIMIT" "-" "$i"`
./a.out $x$y$i$z 25 25 5 5 1875
else
# j=`expr "$LIMIT" "-" "$i"`
./a.out $x$i$z 25 25 5 5 1875
fi
done
| Shell |
#!/bin/bash
x="../puzzles/16x16/p"
y="0"
z=".pz"
datDir="runStats/16x16/"
datExt=".dat"
LIMIT=256
for((i=0; i <= LIMIT; i++))
do
if [ $i -lt 10 ]
then
# j=`expr "$LIMIT" "-" "$i"`
./a.out $x$y$i$z 16 16 4 4 768 $datDir$y$i$datExt
else
# j=`expr "$LIMIT" "-" "$i"`
./a.out $x$i$z 16 16 4 4 768 $datDir$i$datE... | Shell |
#!/bin/bash
x="puzzles/16x16/p"
y="0"
z=".pz"
datDir="runStats/"
datExt=".dat"
LIMIT=256
POP=100
PMUT=0.01
PCO=0.8
for((i=0; i <= LIMIT; i++))
do
if [ $i -lt 10 ]
then
./a.out $x$y$i$z 16 16 4 4 768 $POP $PMUT $PCO
else
./a.out $x$i$z 16 16 4 4 768 $POP $PMUT $PCO
fi
done
| 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/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
#
# Copyright 2013 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
# 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_BitmapCache VERBOSE
| Shell |
#!/bin/sh
adb shell pm clear com.google.android.apps.iosched | 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/sh
## compile.sh for in /home/gueux_g/projet/code_source
##
## Made by gueux-g
## Login <gueux_g@epitech.net>
##
## Started on Tue Oct 30 16:27:29 2012 gueux-g
## Last update Mon Nov 12 15:30:50 2012 gueux-g
##
cc -c src/*.c
mv *.o src/
ar rc libmy.a src/*.o
mv libmy.a src/
ranlib src/libmy.a
rm src/*.o
... | Shell |
#!/bin/sh
## compile.sh for in /home/gueux_g/projet/code_source
##
## Made by gueux-g
## Login <gueux_g@epitech.net>
##
## Started on Tue Oct 30 16:27:29 2012 gueux-g
## Last update Mon Nov 12 15:30:50 2012 gueux-g
##
cc -c src/*.c
mv *.o src/
ar rc libmy.a src/*.o
mv libmy.a src/
ranlib src/libmy.a
rm src/*.o
... | 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 |
#!/bin/bash
##
## List the release each author first contributed to.
##
## Usage: author_first_release.sh [TAGS]
##
## If the TAGS arguments are unspecified, all tags reported by `git tag`
## will be considered.
##
tags=${@:-$(git tag)}
for tag in $tags; do
git shortlog -n -e -s $tag |
cut -f2- |
awk "{pr... | Shell |
#!/bin/sh
set -e
astyle --style=java --indent=spaces=2 --indent-switches\
--min-conditional-indent=0 \
--pad-oper --pad-header --unpad-paren \
--align-pointer=name \
--indent-preprocessor --convert-tabs --indent-labels \
--suffix=none --quiet --max-instatement-indent=80 "$@"
# Disable... | Shell |
#!/bin/bash
# Add organization names manually.
cat <<EOF
# This file is automatically generated from the git commit history
# by tools/gen_authors.sh.
$(git log --pretty=format:"%aN <%aE>" | sort | uniq)
Google Inc.
The Mozilla Foundation
The Xiph.Org Foundation
EOF
| Shell |
#!/bin/sh
self="$0"
dirname_self=$(dirname "$self")
usage() {
cat <<EOF >&2
Usage: $self [option]
This script applies a whitespace transformation to the commit at HEAD. If no
options are given, then the modified files are left in the working tree.
Options:
-h, --help Shows this message
-n, --dry-run Shows... | Shell |
vp9_common_forward_decls() {
cat <<EOF
/*
* VP9
*/
#include "vpx/vpx_integer.h"
#include "vp9/common/vp9_enums.h"
struct loop_filter_info;
struct macroblockd;
struct loop_filter_info;
/* Encoder forward decls */
struct macroblock;
struct vp9_variance_vtable;
#define DEC_MVCOSTS int *mvjcost, int *mvcost[2]
union ... | Shell |
vp8_common_forward_decls() {
cat <<EOF
/*
* VP8
*/
struct blockd;
struct macroblockd;
struct loop_filter_info;
/* Encoder forward decls */
struct block;
struct macroblock;
struct variance_vtable;
union int_mv;
struct yv12_buffer_config;
EOF
}
forward_decls vp8_common_forward_decls
#
# system state
#
prototype void... | Shell |
#!/bin/bash
##
## Copyright (c) 2010 The WebM 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 in the root of the source
## tree. An additional intellectual property rights grant can be found
## in the file PATENTS. All... | Shell |
#!/bin/bash
##
## Copyright (c) 2010 The WebM 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 in the root of the source
## tree. An additional intellectual property rights grant can be found
## in the file PATENTS. All... | Shell |
vpx_scale_forward_decls() {
cat <<EOF
struct yv12_buffer_config;
EOF
}
forward_decls vpx_scale_forward_decls
# Scaler functions
if [ "CONFIG_SPATIAL_RESAMPLING" != "yes" ]; then
prototype void vp8_horizontal_line_5_4_scale "const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int d... | 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
#
# 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
#
# 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
for i in *.php
do
echo -e "\n\t\$lang['list_view'] = 'View';" >> $i
done
| Shell |
#!/bin/sh
for i in *.php
do
echo -e "\n\t\$lang['list_view'] = 'View';" >> $i
done
| Shell |
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
| Shell |
#!/bin/sh
java -jar 490db.jar
| Shell |
#!/bin/sh
java -jar 490db.jar
| Shell |
#!/bin/sh
for i in *.php
do
echo -e "\n\t\$lang['list_view'] = 'View';" >> $i
done
| Shell |
#!/bin/sh
for i in *.php
do
echo -e "\n\t\$lang['list_view'] = 'View';" >> $i
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 |
#!/usr/bin/zsh -fe
# 47loader (c) Stephen Williams 2013
# See LICENSE for distribution terms
prefix="reverse-demo"
pasmo $prefix.asm $prefix.bin
# embed the loader in a REM statement, formatted so that bas2tap
# can deal with it, then append the rest of the BASIC loader.
# Embedding at line 6147 because assembles t... | Shell |
#!/usr/bin/zsh -fe
# 47loader (c) Stephen Williams 2013
# See LICENSE for distribution terms
prefix="reverse-demo"
pasmo $prefix.asm $prefix.bin
# embed the loader in a REM statement, formatted so that bas2tap
# can deal with it, then append the rest of the BASIC loader.
# Embedding at line 6147 because assembles t... | Shell |
#!/usr/bin/zsh -fe
# 47loader (c) Stephen Williams 2013
# See LICENSE for distribution terms
prefix="rle-demo"
pasmo $prefix.asm $prefix.bin
pasmo -E RLE_SENTINEL=147 rldecode.asm rldecode.bin
# embed the loader in a REM statement, formatted so that bas2tap
# can deal with it, then append the rest of the BASIC load... | Shell |
#!/usr/bin/zsh -fe
# 47loader (c) Stephen Williams 2013
# See LICENSE for distribution terms
prefix="rle-demo"
pasmo $prefix.asm $prefix.bin
pasmo -E RLE_SENTINEL=147 rldecode.asm rldecode.bin
# embed the loader in a REM statement, formatted so that bas2tap
# can deal with it, then append the rest of the BASIC load... | Shell |
#!/usr/bin/zsh -fe
# 47loader (c) Stephen Williams 2013
# See LICENSE for distribution terms
prefix="simple-demo"
pasmo $prefix.asm $prefix.bin
# embed the loader in a REM statement, formatted so that bas2tap
# can deal with it, then append the rest of the BASIC loader.
# Embedding at line 6147 because assembles to... | Shell |
#!/usr/bin/zsh -fe
# 47loader (c) Stephen Williams 2013
# See LICENSE for distribution terms
prefix="simple-demo"
pasmo $prefix.asm $prefix.bin
# embed the loader in a REM statement, formatted so that bas2tap
# can deal with it, then append the rest of the BASIC loader.
# Embedding at line 6147 because assembles to... | Shell |
#!/usr/bin/zsh -fe
# 47loader (c) Stephen Williams 2013
# See LICENSE for distribution terms
prefix="rle-demo"
pasmo $prefix.asm $prefix.bin
pasmo -E RLE_SENTINEL=147 rldecode.asm rldecode.bin
# embed the loader in a REM statement, formatted so that bas2tap
# can deal with it, then append the rest of the BASIC load... | Shell |
#!/usr/bin/zsh -fe
# 47loader (c) Stephen Williams 2013
# See LICENSE for distribution terms
prefix="rle-demo"
pasmo $prefix.asm $prefix.bin
pasmo -E RLE_SENTINEL=147 rldecode.asm rldecode.bin
# embed the loader in a REM statement, formatted so that bas2tap
# can deal with it, then append the rest of the BASIC load... | Shell |
#!/usr/bin/zsh -fe
# 47loader (c) Stephen Williams 2013
# See LICENSE for distribution terms
prefix="simple-demo"
pasmo $prefix.asm $prefix.bin
# embed the loader in a REM statement, formatted so that bas2tap
# can deal with it, then append the rest of the BASIC loader
embedded=$prefix.tmp
/usr/bin/hexdump -ve '/1 ... | Shell |
#!/usr/bin/zsh -fe
# 47loader (c) Stephen Williams 2013
# See LICENSE for distribution terms
prefix="simple-demo"
pasmo $prefix.asm $prefix.bin
# embed the loader in a REM statement, formatted so that bas2tap
# can deal with it, then append the rest of the BASIC loader
embedded=$prefix.tmp
/usr/bin/hexdump -ve '/1 ... | Shell |
#!/usr/bin/zsh -fe
# 47loader (c) Stephen Williams 2013
# See LICENSE for distribution terms
prefix="reverse-demo"
pasmo $prefix.asm $prefix.bin
# embed the loader in a REM statement, formatted so that bas2tap
# can deal with it, then append the rest of the BASIC loader.
# Embedding at line 6147 because assembles t... | Shell |
#!/usr/bin/zsh -fe
# 47loader (c) Stephen Williams 2013
# See LICENSE for distribution terms
prefix="reverse-demo"
pasmo $prefix.asm $prefix.bin
# embed the loader in a REM statement, formatted so that bas2tap
# can deal with it, then append the rest of the BASIC loader.
# Embedding at line 6147 because assembles t... | Shell |
#!/usr/bin/zsh -fe
# 47loader (c) Stephen Williams 2013
# See LICENSE for distribution terms
prefix="linear-demo"
speed="FAST"
pasmo -E LOADER_SPEED_${speed}=1 $prefix.asm $prefix.bin
# construct the BASIC loader with assembled binary embedded
mono >$prefix.tzx ../../tools/47loader-bootstrap.exe \
-border 0 -pape... | Shell |
#!/usr/bin/zsh -fe
# 47loader (c) Stephen Williams 2013
# See LICENSE for distribution terms
prefix="linear-demo"
speed="FAST"
pasmo -E LOADER_SPEED_${speed}=1 $prefix.asm $prefix.bin
# construct the BASIC loader with assembled binary embedded
mono >$prefix.tzx ../../tools/47loader-bootstrap.exe \
-border 0 -pape... | Shell |
#!/usr/bin/zsh -fe
# 47loader (c) Stephen Williams 2013-2015
# See LICENSE for distribution terms
prefix="squares-demo"
speed="STANDARD"
pasmo -E LOADER_SPEED_${speed}=1 $prefix.asm $prefix.bin
# construct the BASIC loader with assembled binary embedded
mono >$prefix.tzx ../../tools/47loader-bootstrap.exe \
<$pre... | Shell |
#!/usr/bin/zsh -fe
# 47loader (c) Stephen Williams 2013-2015
# See LICENSE for distribution terms
prefix="squares-demo"
speed="STANDARD"
pasmo -E LOADER_SPEED_${speed}=1 $prefix.asm $prefix.bin
# construct the BASIC loader with assembled binary embedded
mono >$prefix.tzx ../../tools/47loader-bootstrap.exe \
<$pre... | Shell |
#!/usr/bin/zsh -fe
# 47loader (c) Stephen Williams 2013
# See LICENSE for distribution terms
prefix="rle-demo"
pasmo $prefix.asm $prefix.bin
pasmo -E RLE_SENTINEL=147 rldecode.asm rldecode.bin
# embed the loader in a REM statement, formatted so that bas2tap
# can deal with it, then append the rest of the BASIC load... | Shell |
#!/usr/bin/zsh -fe
# 47loader (c) Stephen Williams 2013
# See LICENSE for distribution terms
prefix="rle-demo"
pasmo $prefix.asm $prefix.bin
pasmo -E RLE_SENTINEL=147 rldecode.asm rldecode.bin
# embed the loader in a REM statement, formatted so that bas2tap
# can deal with it, then append the rest of the BASIC load... | Shell |
#!/usr/bin/zsh -fe
# 47loader (c) Stephen Williams 2013
# See LICENSE for distribution terms
prefix="simple-demo"
speed="CAUTIOUS"
pasmo -E LOADER_SPEED_${speed}=1 $prefix.asm $prefix.bin
# construct the BASIC loader with assembled binary embedded
mono >$prefix.tzx ../../tools/47loader-bootstrap.exe \
<$prefix.bi... | Shell |
#!/usr/bin/zsh -fe
# 47loader (c) Stephen Williams 2013
# See LICENSE for distribution terms
prefix="simple-demo"
speed="CAUTIOUS"
pasmo -E LOADER_SPEED_${speed}=1 $prefix.asm $prefix.bin
# construct the BASIC loader with assembled binary embedded
mono >$prefix.tzx ../../tools/47loader-bootstrap.exe \
<$prefix.bi... | Shell |
#!/usr/bin/zsh -fe
# 47loader (c) Stephen Williams 2015
# See LICENSE for distribution terms
prefix="countdown-demo"
speed="STANDARD"
pasmo -E LOADER_SPEED_${speed}=1 $prefix.asm $prefix.bin
# construct the BASIC loader with assembled binary embedded
mono >$prefix.tzx ../../tools/47loader-bootstrap.exe \
-border ... | Shell |
#!/usr/bin/zsh -fe
# 47loader (c) Stephen Williams 2015
# See LICENSE for distribution terms
prefix="countdown-demo"
speed="STANDARD"
pasmo -E LOADER_SPEED_${speed}=1 $prefix.asm $prefix.bin
# construct the BASIC loader with assembled binary embedded
mono >$prefix.tzx ../../tools/47loader-bootstrap.exe \
-border ... | Shell |
#!/usr/bin/zsh -fe
# 47loader (c) Stephen Williams 2013-2015
# See LICENSE for distribution terms
prefix="bidi-demo"
speed="STANDARD"
pasmo -E LOADER_SPEED_${speed}=1 $prefix.asm $prefix.bin
# construct the BASIC loader with assembled binary embedded
mono >$prefix.tzx ../../tools/47loader-bootstrap.exe \
<$prefix... | Shell |
#!/usr/bin/zsh -fe
# 47loader (c) Stephen Williams 2013-2015
# See LICENSE for distribution terms
prefix="bidi-demo"
speed="STANDARD"
pasmo -E LOADER_SPEED_${speed}=1 $prefix.asm $prefix.bin
# construct the BASIC loader with assembled binary embedded
mono >$prefix.tzx ../../tools/47loader-bootstrap.exe \
<$prefix... | Shell |
#!/bin/bash
cd /data/local/tmp
./hciconfig hci0 down
./bdaddr -i hci0 -r -t 00:06:66:12:34:56
./hciconfig hci0 up
./hciconfig hci0 piscan
./hciconfig hci0 sspmode 0
./hciconfig hci0 lm MASTER,ACCEPT
./hciconfig hci0 class 0x10000 | Shell |
#!/bin/bash
/data/local/tmp/hcidump -i hci0 -V |
while read line;
do
case "$line" in
*"Accept Connection Request"*)
echo $line
read line
echo $line
break
;;
esac
done
exit
| Shell |
#! /bin/sh
/Applications/Adobe\ Flash\ Builder\ 4\ Plug-in/sdks/4.0.0/bin/asdoc -source-path . -doc-sources . -output docs | Shell |
#! /bin/sh
/Applications/Adobe\ Flash\ Builder\ 4\ Plug-in/sdks/4.0.0/bin/asdoc -source-path . -doc-sources . -output docs | Shell |
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
| Shell |
#! /bin/sh
# Output a system dependent set of variables, describing how to set the
# run time search path of shared libraries in an executable.
#
# Copyright 1996-2003 Free Software Foundation, Inc.
# Taken from GNU libtool, 2001
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
# This program is ... | Shell |
#!/bin/bash
# dictd2dic conversion script
#
# Usage: dictd2dic.sh mueller7
#
cd /usr/share/dictd
if test -e $1.dict.dz; then dictunzip $1.dict.dz; fi
if test -e $1.dict; then
echo "Please wait..."
touch $1.idxhead
echo "StarDict's dict ifo file" >dictd_www.mova.org_$1.ifo
echo version=2.4.2 >>dictd_www.mova.org_$1.ifo... | Shell |
#!/bin/bash
gcc `pkg-config --cflags --libs glib-2.0` myspell2dic.c -o myspell2dic
echo "Please wait..."
recode latin1..utf-8 </usr/share/myspell/dicts/es_ES.dic >es_ES.dic.utf
recode latin1..utf-8 </usr/share/myspell/dicts/es_ES.aff >es_ES.aff.utf
echo |./myspell2dic es_ES.dic.utf es_ES.aff.utf 2>/dev/null
recode ko... | Shell |
#!/bin/bash
gcc exc2i2e.c -o exc2i2e
rename /usr/share/stardict/dic/i2e /usr/share/stardict/dic/temp /usr/share/stardict/dic/i2e.* 2>/dev/null
rename /usr/share/stardict/dic/e2i /usr/share/stardict/dic/temp2 /usr/share/stardict/dic/e2i.* 2>/dev/null
./exc2i2e >t
/usr/lib/stardict/i2e2dict t
rm t
rename /usr/share/sta... | Shell |
#!/bin/sh
# Create images for StarDict, like application icon, tray icons, Acrobat plugin icons
# StarDict icons may be created from a single multilayer image.
# Most layers are used only for specific icon types, but images of two books are present
# on all icons. This script deletes layers, resize image and change co... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.