code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/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 |
#!/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
EXTERNAL="external"
if [ "$1" == "-up" ]; then
echo "* APKtool"
echo "Check in url:"
echo " https://code.google.com/p/android-apktool/downloads/list"
java -jar external/apktool.jar | head -n 1
echo "* AntiLVL"
echo "Check in url"
echo " https://sites.google.com/site/lohanplus/files/"
java -jar ... | Shell |
#!/bin/bash
EXTERNAL="external"
if [ "$1" == "-up" ]; then
echo "* APKtool"
echo "Check in url:"
echo " https://code.google.com/p/android-apktool/downloads/list"
java -jar external/apktool.jar | head -n 1
echo "* AntiLVL"
echo "Check in url"
echo " https://sites.google.com/site/lohanplus/files/"
java -jar ... | Shell |
#!/bin/bash
#
# Shell script that adds a new function file using a template. Should not be called directly
# but instead by template_Generator.sh and template_generator_mimetype.sh
#
#
# $1: Template
# $2: Filename
# $3: (optional) Description
if [ $# == 0 ]
then
echo "Please call template_generator.sh o... | Shell |
#!/bin/bash
#
# Shell script that adds a new mimetype without transform function.
#
# The filename should contain either 'mimetype_subtype' or 'mimetype'.
# The suffix '.inc.php' is appended automatically!
#
# Example: template_generator_mimetype.sh 'filename'
#
if [ $# == 0 ]
then
echo "Usage: template_... | Shell |
#!/bin/bash
#
# Shell script that adds a new mimetype with transform function.
#
# The filename should contain either 'mimetype_subtype' or 'mimetype'.
# The suffix '.inc.php' is appended automatically!
#
# The 'description' parameter will add a new entry in the language file. Watch out for
# special escaping.
... | Shell |
#!/bin/bash
#
# Shell script that adds a new function file using a template. Should not be called directly
# but instead by template_Generator.sh and template_generator_mimetype.sh
#
#
# $1: Template
# $2: Filename
# $3: (optional) Description
if [ $# == 0 ]
then
echo "Please call template_generator.sh o... | Shell |
#!/bin/bash
#
# Shell script that adds a new mimetype without transform function.
#
# The filename should contain either 'mimetype_subtype' or 'mimetype'.
# The suffix '.inc.php' is appended automatically!
#
# Example: template_generator_mimetype.sh 'filename'
#
if [ $# == 0 ]
then
echo "Usage: template_... | Shell |
#!/bin/bash
#
# Shell script that adds a new mimetype with transform function.
#
# The filename should contain either 'mimetype_subtype' or 'mimetype'.
# The suffix '.inc.php' is appended automatically!
#
# The 'description' parameter will add a new entry in the language file. Watch out for
# special escaping.
... | 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 |
#!/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
autoreconf -i -s && \
./configure --host=arm-none-linux-gnueabi --with-libvncserver=/opt/android
| Shell |
#!/bin/sh
autoreconf -i -s && \
./configure --host=arm-none-linux-gnueabi --with-libvncserver=/opt/android
| 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 |
#!/bin/sh
# START-COMMIT HOOK
#
# The start-commit hook is invoked immediately after a Subversion txn is
# created and populated with initial revprops 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 fi... | 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 immediately after a Subversion txn is
# created and populated with initial revprops 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 fi... | 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
#DIR="Tests/"
DIR=""
if [ $# -eq 0 ]
then
FILES="${DIR}rdf-test-*.n3"
else
FILES="$@"
fi
for x in $FILES
do
#echo $x
B="$(basename $x .n3)"
# Test 08 is the literals test - it is more liberal than cwm
# Test 19/20 are the named lists test - it is more liberal th... | Shell |
#!/bin/bash
#DIR="Tests/"
DIR=""
if [ $# -eq 0 ]
then
FILES="${DIR}rdf-test-*.n3"
else
FILES="$@"
fi
for x in $FILES
do
#echo $x
B="$(basename $x .n3)"
# Test 08 is the literals test - it is more liberal than cwm
# Test 19/20 are the named lists test - it is more liberal th... | Shell |
#!/bin/bash
#DIR="Tests/"
DIR=""
for x in ${DIR/}rdf-test-*.n3
do
B="$(basename $x .n3)"
N="${B#rdf-test-}"
R="${DIR}rdf-result-$N.nt"
echo "<$x> <$R> ."
done
| Shell |
#!/bin/bash
#DIR="Tests/"
DIR=""
for x in ${DIR/}rdf-test-*.n3
do
B="$(basename $x .n3)"
N="${B#rdf-test-}"
R="${DIR}rdf-result-$N.nt"
echo "<$x> <$R> ."
done
| Shell |
#!/bin/bash
#DIR="Tests/"
DIR=""
if [ $# -eq 0 ]
then
FILES="${DIR}rdf-test-*.n3"
else
FILES="$@"
fi
for x in $FILES
do
#echo $x
B="$(basename $x .n3)"
# Test 08 is the literals test - it is more liberal than cwm
# Test 19/20 are the named lists test - it is more liberal th... | Shell |
#!/bin/bash
#DIR="Tests/"
DIR=""
if [ $# -eq 0 ]
then
FILES="${DIR}rdf-test-*.n3"
else
FILES="$@"
fi
for x in $FILES
do
#echo $x
B="$(basename $x .n3)"
# Test 08 is the literals test - it is more liberal than cwm
# Test 19/20 are the named lists test - it is more liberal th... | Shell |
#!/bin/bash
#DIR="Tests/"
DIR=""
for x in ${DIR/}rdf-test-*.n3
do
B="$(basename $x .n3)"
N="${B#rdf-test-}"
R="${DIR}rdf-result-$N.nt"
echo "<$x> <$R> ."
done
| Shell |
#!/bin/bash
#DIR="Tests/"
DIR=""
for x in ${DIR/}rdf-test-*.n3
do
B="$(basename $x .n3)"
N="${B#rdf-test-}"
R="${DIR}rdf-result-$N.nt"
echo "<$x> <$R> ."
done
| Shell |
#!/bin/bash
# Build vocabulary
function syntaxCheck
{
FILE="$1"
echo "Syntax check: $FILE"
n3 -n -rdf "$FILE"
}
function proc
{
TMP=TT
FILE="$1"
CLASS="$2"
NS="$3"
echo "Schemagen: $FILE"
schemagen --rdfs -i "$FILE" -n "$CLASS" -a "$NS" -o "$CLASS".java -e N3
... | Shell |
#!/bin/bash
# Build vocabulary
function syntaxCheck
{
FILE="$1"
echo "Syntax check: $FILE"
n3 -n -rdf "$FILE"
}
function proc
{
TMP=TT
FILE="$1"
CLASS="$2"
NS="$3"
echo "Schemagen: $FILE"
schemagen --rdfs -i "$FILE" -n "$CLASS" -a "$NS" -o "$CLASS".java -e N3
... | Shell |
#!/bin/bash
mkicon () {
BASEICON="$1"
ICON="$2"
PNG=`basename "$2" .svg`.png
TEMPFILE0="$ICON".tmp0.svg
TEMPFILE1="$ICON".tmp1.svg
cat "$BASEICON" | tr "\n" " " > "$TEMPFILE0"
shift
shift
while (( "$#" )); do
LABEL=$1
FROM=$2
TO=$3
cat "$TEMPFILE0" | sed "s/\(style=[^<>]*\)$FROM\([^<>]*label=\\\"\... | Shell |
#!/bin/bash
mkicon () {
BASEICON="$1"
ICON="$2"
PNG=`basename "$2" .svg`.png
TEMPFILE0="$ICON".tmp0.svg
TEMPFILE1="$ICON".tmp1.svg
cat "$BASEICON" | tr "\n" " " > "$TEMPFILE0"
shift
shift
while (( "$#" )); do
LABEL=$1
FROM=$2
TO=$3
cat "$TEMPFILE0" | sed "s/\(style=[^<>]*\)$FROM\([^<>]*label=\\\"\... | Shell |
#!/bin/bash
find . -type f | grep -v template | grep -E '\.png' | xargs rm -f
find . -type f | grep -v template | grep -E '\.svg' | xargs rm -f
| Shell |
#!/bin/bash
find . -type f | grep -v template | grep -E '\.png' | xargs rm -f
find . -type f | grep -v template | grep -E '\.svg' | xargs rm -f
| Shell |
#!/bin/bash
. ../library/library.sh
TEMPLATE=stat_sys_wifi_signal_0_template.svg
mkicon $TEMPLATE stat_sys_wifi_signal_0.svg
TEMPLATE=stat_notify_wifi_in_range_template.svg
mkicon $TEMPLATE stat_notify_wifi_in_range0.svg 'CENTER' 'fill:\#7b7b7b' 'fill:\#00aaff' 'CENTER' 'stroke:\#7b7b7b' 'stroke:\#00aaff'
mkicon $TE... | Shell |
#!/bin/bash
. ../library/library.sh
TEMPLATE=stat_sys_wifi_signal_0_template.svg
mkicon $TEMPLATE stat_sys_wifi_signal_0.svg
TEMPLATE=stat_notify_wifi_in_range_template.svg
mkicon $TEMPLATE stat_notify_wifi_in_range0.svg 'CENTER' 'fill:\#7b7b7b' 'fill:\#00aaff' 'CENTER' 'stroke:\#7b7b7b' 'stroke:\#00aaff'
mkicon $TE... | Shell |
#!/bin/bash
. ../library/library.sh
TEMPLATE=btn_check_template.svg
mkicon $TEMPLATE btn_check_on.svg 'CHECKMARK' 'fill:\#bababa' 'fill:\#00ff00'
mkicon $TEMPLATE btn_check_on_pressed.svg 'BACKGROUND' 'fill:\#a4a4a4' 'fill:\#e89a00' 'CHECKMARK' 'fill:\#bababa' 'fill:\#00ff00'
mkicon $TEMPLATE btn_check_... | Shell |
#!/bin/bash
. ../library/library.sh
TEMPLATE=btn_check_template.svg
mkicon $TEMPLATE btn_check_on.svg 'CHECKMARK' 'fill:\#bababa' 'fill:\#00ff00'
mkicon $TEMPLATE btn_check_on_pressed.svg 'BACKGROUND' 'fill:\#a4a4a4' 'fill:\#e89a00' 'CHECKMARK' 'fill:\#bababa' 'fill:\#00ff00'
mkicon $TEMPLATE btn_check_... | Shell |
#!/bin/bash
# ------------------------------------------
# Created by wdl1908 on 10/03/2011
#
# 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
# (a... | Shell |
#!/bin/bash
# ------------------------------------------
# Created by wdl1908 on 10/03/2011
#
# 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
# (a... | Shell |
#!/bin/bash
# ------------------------------------------
# Created by wdl1908 on 12/03/2011
#
# 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
# (a... | Shell |
#!/bin/bash
# ------------------------------------------
# Created by wdl1908 on 12/03/2011
#
# 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
# (a... | Shell |
stop
cp /sdcard/framework-res.apk /system/framework/framework-res.apk
chmod 644 /system/framework/framework-res.apk
sync
start
| Shell |
#!/bin/bash
# ------------------------------------------
# Created by wdl1908 on 10/03/2011
#
# 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
# (a... | Shell |
#!/bin/bash
# ------------------------------------------
# Created by wdl1908 on 10/03/2011
#
# 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
# (a... | Shell |
#!/bin/bash
# ------------------------------------------
# Created by wdl1908 on 10/03/2011
#
# 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
# (a... | Shell |
#!/bin/bash
# ------------------------------------------
# Created by wdl1908 on 10/03/2011
#
# 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
# (a... | Shell |
#!/bin/bash
# ------------------------------------------
# Created by wdl1908 on 12/03/2011
#
# 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
# (a... | Shell |
#!/bin/bash
# ------------------------------------------
# Created by wdl1908 on 12/03/2011
#
# 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
# (a... | Shell |
stop
cp /sdcard/framework-res.apk /system/framework/framework-res.apk
chmod 644 /system/framework/framework-res.apk
sync
start
| Shell |
#!/bin/bash
# ------------------------------------------
# Created by wdl1908 on 10/03/2011
#
# 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
# (a... | Shell |
#!/bin/bash
# ------------------------------------------
# Created by wdl1908 on 10/03/2011
#
# 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
# (a... | Shell |
#!/bin/bash
# ------------------------------------------
# Created by wdl1908 on 10/03/2011
#
# 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
# (a... | Shell |
#!/bin/bash
# ------------------------------------------
# Created by wdl1908 on 10/03/2011
#
# 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
# (a... | Shell |
#!/bin/bash
n=""
s=""
function options {
case "$1" in
h|-help)
echo "Usage:";
echo " debug.sh <options> [make and c header defines...]";
echo "Options:";
echo " -h --help Print this help message";
echo " -s --silent Silent mode (script wont print anything)";
echo " -n ... | Shell |
#!/bin/bash
n=0
function options {
case "$1" in
h|-help)
echo "Usage:";
echo " debug.sh <options> [make and c header defines...]";
echo "Options:";
echo " -h --help Print this help message";
echo " -n --nosudo script will not use sudo for mound/unmounting. Requires ";
echo "... | Shell |
#!/bin/bash
export KERN_PATH=bin/andromeda.img
export MEM_SIZE="64M"
export QEMU_FLAGS="-kernel $KERN_PATH -m $MEM_SIZE -monitor stdio"
if ! command -v qemu-kvm; then
if ! command -v qemu-system-i386; then
qemu $QEMU_FLAGS
else
qemu-system-i386 $QEMU_FLAGS
fi;
else
qemu-kvm $QEMU_FLAGS
fi
| Shell |
#!/bin/bash
n=0
s=0
function options {
case "$1" in
h|-help)
if [ "${0:0:1}" = "." ]
then
fullpath=${0:1}
echo $fullpath
else
fullpath=$0
fi
if [ "${fullpath:0:1}" = "/" ]
then
fullpath=`dirname $PWD$fullpath`
else
fullpath=`dirname $PWD/$fullpath`
fi
echo "Usage:";
... | Shell |
#!/bin/bash
sudo cp `dirname $0`/../bin/andromeda.img /media/loop/andromeda
| Shell |
#!/bin/bash
cp bin/andromeda.img scripts/iso/boot/
echo $(pwd)
export ISO_PATH=bin/andromeda.iso
export ISO_SRC=scripts/iso/
if ! command -v grub-mkrescue &>/dev/null; then
grub2-mkrescue -o $ISO_PATH $ISO_SRC
else
grub-mkrescue -o $ISO_PATH $ISO_SRC
fi
| Shell |
#!/bin/bash
export KERN_PATH=bin/andromeda.iso
export MEM_SIZE="64M"
export QEMU_FLAGS="-cdrom $KERN_PATH -monitor stdio -m $MEM_SIZE"
if ! command -v qemu-kvm &> /dev/null; then
if ! command -v qemu-system-i386 &> /dev/null; then
qemu -cdrom $QEMU_FLAGS
else
qemu-system-i386 $QEMU_FLAGS
fi;
else
qemu-kvm $QEM... | Shell |
#!/bin/bash
if [ ! -f scripts/build.jar ]; then
wget http://ci.orion-os.eu/job/Build/lastSuccessfulBuild/artifact/target/build.jar -O scripts/build.jar;
fi
| Shell |
#!/bin/bash
if [[ $EUID -ne 0 ]]; then
echo "Do it your self!";
exit 0;
else
echo "Ok";
exit 0;
fi
| Shell |
#!/bin/bash
s=0
n=""
function options {
case "$1" in
h|-help)
echo "Usage:";
echo " debug.sh <options> [make and c header defines...]";
echo "Options:";
echo " -h --help Print this help message";
echo " -s --silent Silent mode (script wont print anything)";
echo " -n -... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.