code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/sh # # $Id: remove_control_m.sh 5152 2003-11-18 15:20:45Z nijel $ # # Script to remove ^M from files for DOS <-> UNIX conversions # if [ $# != 1 ] then echo "Usage: remove_control_m.sh <extension of files>" echo "" echo "Example: remove_control_m.sh php3" exit fi for i in `find . -name "*.$1"` do ...
Shell
#!/bin/sh # Simple script to find unused message strings by Michal Čihař tmp1=`mktemp` tmp2=`mktemp` grep -o '\<str[A-Z][a-zA-Z0-9_]*\>' lang/english-iso-8859-1.inc.php \ | grep -Ev '^str(Transformation_|ShowStatus)' | sort -u > $tmp1 grep -ho '\<str[A-Z][a-zA-Z0-9_]*\>' `find . -type f -a -name '*.php' -a -not -...
Shell
#!/bin/bash # $Id: generator.sh 9537 2006-10-12 16:27:13Z nijel $ # # 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 ...
Shell
#!/bin/bash # $Id: template_generator_mimetype.sh 9537 2006-10-12 16:27:13Z nijel $ # # 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....
Shell
#!/bin/bash # $Id: template_generator.sh 9537 2006-10-12 16:27:13Z nijel $ # # 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 i...
Shell
#!/bin/bash # $Id: generator.sh 9537 2006-10-12 16:27:13Z nijel $ # # 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 ...
Shell
#!/bin/bash # $Id: template_generator_mimetype.sh 9537 2006-10-12 16:27:13Z nijel $ # # 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....
Shell
#!/bin/bash # $Id: template_generator.sh 9537 2006-10-12 16:27:13Z nijel $ # # 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 i...
Shell
#!/bin/sh # $Id: translatecount.sh 5152 2003-11-18 15:20:45Z nijel $ ## # Shell script to produce counts of just how out of date the translations are! ## # Accepts optional parameters of a list of files to produce counts from # Defaults to using all files ## # Written by Robin Johnson <robbat2 at users.sourceforge.net>...
Shell
#!/bin/sh # $Id: sync_lang.sh 11213 2008-04-23 17:13:43Z lem9 $ ## # Shell script that synchronises all translations in phpMyAdmin ## # Any parameters (except --iconv/--recode) will be passed to grep to filter # processed translation, for example: './sync_lang.sh czech' will process only # czech translation, './sync_la...
Shell
#!/bin/bash # $Id: add_message_file.sh 7364 2005-09-24 08:49:52Z nijel $ # # Shell script that adds a message file to all message files # adding "//to translate" on each line # # Example: add_message_file.sh xxx # if [ $# -ne 1 ] ; then echo "usage: add_message_file.sh filename" exit 1 fi for file in *.inc.p...
Shell
#!/bin/bash # $Id: add_message.sh 9537 2006-10-12 16:27:13Z nijel $ # # Shell script that adds a message to all message files (Lem9) # # Example: add_message.sh '$strNewMessage' 'new message contents' # if [ $# -ne 2 ] ; then echo "usage: add_message.sh '\$strNewMessage' 'new message contents'" exit 1 fi for...
Shell
#!/bin/sh # $Id: sort_lang.sh 5206 2003-11-26 20:42:58Z nijel $ ## # Shell script to make each language file neat and tidy # # Robin Johnson <robbat2@users.sourceforge.net> # August 9, 2002 ## specialsort() { in=$1 out=$2 STRINGORDER="A B C D E F G H I J K L M N O P Q R S T U V W X Y Z" for i in ...
Shell
#!/bin/sh # $Id: sync_lang.sh 11213 2008-04-23 17:13:43Z lem9 $ ## # Shell script that synchronises all translations in phpMyAdmin ## # Any parameters (except --iconv/--recode) will be passed to grep to filter # processed translation, for example: './sync_lang.sh czech' will process only # czech translation, './sync_la...
Shell
#!/bin/sh # $Id: sort_lang.sh 5206 2003-11-26 20:42:58Z nijel $ ## # Shell script to make each language file neat and tidy # # Robin Johnson <robbat2@users.sourceforge.net> # August 9, 2002 ## specialsort() { in=$1 out=$2 STRINGORDER="A B C D E F G H I J K L M N O P Q R S T U V W X Y Z" for i in ...
Shell
#!/bin/sh # $Id: check_lang.sh 9393 2006-09-08 11:28:23Z lem9 $ ## # Shell script to check that all language files are syncronized # Catches duplicate/missing strings # # Robin Johnson <robbat2@users.sourceforge.net> # August 9, 2002 ## MASTER="english-iso-8859-1.inc.php" TMPDIR="tmp-check" FILEPAT="*.inc.php" STRINGM...
Shell
#!/bin/bash # $Id: add_message_file.sh 7364 2005-09-24 08:49:52Z nijel $ # # Shell script that adds a message file to all message files # adding "//to translate" on each line # # Example: add_message_file.sh xxx # if [ $# -ne 1 ] ; then echo "usage: add_message_file.sh filename" exit 1 fi for file in *.inc.p...
Shell
#!/bin/bash # $Id: remove_message.sh 5152 2003-11-18 15:20:45Z nijel $ # # Shell script that removes a message from all message files (Lem9) # it checks for the message, followed by a space # # Example: remove_message.sh 'strMessageToRemove' # if [ $# -ne 1 ] ; then echo "usage: remove_message.sh 'strMessageToRe...
Shell
#!/bin/sh # $Id: translatecount.sh 5152 2003-11-18 15:20:45Z nijel $ ## # Shell script to produce counts of just how out of date the translations are! ## # Accepts optional parameters of a list of files to produce counts from # Defaults to using all files ## # Written by Robin Johnson <robbat2 at users.sourceforge.net>...
Shell
#!/bin/bash # $Id: add_message.sh 9537 2006-10-12 16:27:13Z nijel $ # # Shell script that adds a message to all message files (Lem9) # # Example: add_message.sh '$strNewMessage' 'new message contents' # if [ $# -ne 2 ] ; then echo "usage: add_message.sh '\$strNewMessage' 'new message contents'" exit 1 fi for...
Shell
#!/bin/sh # $Id: check_lang.sh 9393 2006-09-08 11:28:23Z lem9 $ ## # Shell script to check that all language files are syncronized # Catches duplicate/missing strings # # Robin Johnson <robbat2@users.sourceforge.net> # August 9, 2002 ## MASTER="english-iso-8859-1.inc.php" TMPDIR="tmp-check" FILEPAT="*.inc.php" STRINGM...
Shell
#!/bin/bash # $Id: remove_message.sh 5152 2003-11-18 15:20:45Z nijel $ # # Shell script that removes a message from all message files (Lem9) # it checks for the message, followed by a space # # Example: remove_message.sh 'strMessageToRemove' # if [ $# -ne 1 ] ; then echo "usage: remove_message.sh 'strMessageToRe...
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
#! /bin/bash php /var/www/amfphp/services/znahar/nottification/send.php
Shell
#! /bin/bash php /var/www/amfphp/services/znahar/nottification/send.php
Shell
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
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 # # FICHIER A METTRE DANS le repertoire "docs" (ou ailleurs ^^) # # Le lancer sans parametre génére le modele depuis le schema.yml, construit le sql, l'insert en base ainsi que les fixtures.yml # Puis, avant ou sans un parametre, ou genere tous les CRUD... # echo "\nLancement du script de generation d'admi...
Shell
#!/bin/sh # # FICHIER A METTRE DANS le repertoire "docs" (ou ailleurs ^^) # # Le lancer sans parametre génére le modele depuis le schema.yml, construit le sql, l'insert en base ainsi que les fixtures.yml # Puis, avant ou sans un parametre, ou genere tous les CRUD... # echo "\nLancement du script de generation d'admi...
Shell
g++ -DNDEBUG -I ../misc -I . -O3 -lboost_program_options-mt -lz -o xbt_client_cli *.cpp ../misc/*.cpp && strip xbt_client_cli
Shell
g++ -DNDEBUG -I ../misc -I . -O3 -lboost_filesystem -lboost_program_options -lz -o xbt_client_backend *.cpp ../misc/*.cpp && strip xbt_client_backend
Shell
g++ $@ -DNDEBUG -I ../misc -I . -O3 -o xbt_tracker \ ../misc/bt_misc.cpp \ ../misc/bvalue.cpp \ ../misc/sha1.cpp \ ../misc/socket.cpp \ ../misc/virtual_binary.cpp \ ../misc/xcc_z.cpp \ client.cpp \ config.cpp \ connection.cpp \ epoll.cpp \ server.cpp \ tcp_listen_socket.cpp \ tracker_input.cpp...
Shell
#! /bin/sh # Wrapper for compilers which do not understand `-c -o'. scriptversion=2005-05-14.22 # Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. # Written by Tom Tromey <tromey@cygnus.com>. # # This program is free software; you can redistribute it and/or modify # it under the terms of the ...
Shell
#! /bin/sh # mkinstalldirs --- make directory hierarchy scriptversion=2005-06-29.22 # Original author: Noah Friedman <friedman@prep.ai.mit.edu> # Created: 1993-05-16 # Public domain. # # This file is maintained in Automake, please report # bugs to <bug-automake@gnu.org> or send patches to # <automake-patches@gnu.org>...
Shell
# ltmain.sh - Provide generalized library-building support services. # NOTE: Changing this file will not affect anything until you rerun configure. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, # 2007, 2008 Free Software Foundation, Inc. # Originally by Gordon Matzigkeit <gord@gnu.ai.mi...
Shell
#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2005-07-09.11 # Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as pub...
Shell
#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2005-06-08.21 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is free software; you can redistribu...
Shell
#! /bin/sh # mkinstalldirs --- make directory hierarchy scriptversion=2005-06-29.22 # Original author: Noah Friedman <friedman@prep.ai.mit.edu> # Created: 1993-05-16 # Public domain. # # This file is maintained in Automake, please report # bugs to <bug-automake@gnu.org> or send patches to # <automake-patches@gnu.org>...
Shell
#! /bin/sh # libtoolT - Provide generalized library-building support services. # Generated automatically by (GNU google-perftools 1.5) # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 # Free Software Found...
Shell
#! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, # Inc. timestamp='2007-06-28' # This file is (in principle) common to ALL GNU software. # The presence of a machine in thi...
Shell
#! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, # Inc. timestamp='2007-07-22' # This file is free software; you can redistribute it and/or modify it # under the terms of th...
Shell
#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2005-07-09.11 # Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as pub...
Shell
#! /bin/sh # Wrapper for compilers which do not understand `-c -o'. scriptversion=2005-05-14.22 # Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. # Written by Tom Tromey <tromey@cygnus.com>. # # This program is free software; you can redistribute it and/or modify # it under the terms of the ...
Shell
#!/bin/sh # install - install a program, script, or datafile scriptversion=2005-05-14.22 # 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 hereby ...
Shell
#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2005-06-08.21 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is free software; you can redistribu...
Shell
#!/bin/sh # Copyright (c) 2007, Google Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of con...
Shell
#!/bin/sh # Copyright (c) 2005, Google Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of cond...
Shell
#!/bin/sh # Copyright (c) 2009, Google Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of condi...
Shell
#!/bin/sh # Copyright (c) 2005, Google Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of con...
Shell
#!/bin/sh # Copyright (c) 2005, Google Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of con...
Shell
#!/bin/sh # Copyright (c) 2007, Google Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of con...
Shell
#!/bin/sh # Copyright (c) 2005, Google Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of con...
Shell
#!/bin/sh # Copyright (c) 2008, Google Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of condi...
Shell
#!/bin/sh # Copyright (c) 2005, Google Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of con...
Shell
#!/bin/sh # Copyright (c) 2005, Google Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of con...
Shell
#!/bin/sh # Copyright (c) 2005, Google Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of cond...
Shell
#!/bin/sh # Copyright (c) 2005, Google Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of con...
Shell
#!/bin/sh # Copyright (c) 2008, Google Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of condi...
Shell
#!/bin/sh # Copyright (c) 2009, Google Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of condi...
Shell
#!/bin/sh # install - install a program, script, or datafile scriptversion=2005-05-14.22 # 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 hereby ...
Shell
#! /bin/sh # libtoolT - Provide generalized library-building support services. # Generated automatically by (GNU google-perftools 1.5) # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 # Free Software Found...
Shell
#!/bin/sh TESTSUITE_PATH=$HOME/gcc/gcc-3.2/gcc/testsuite/gcc.c-torture TCC="./tcc -B. -I. -DNO_TRAMPOLINES" rm -f tcc.sum tcc.log nb_failed="0" for src in $TESTSUITE_PATH/compile/*.c ; do echo $TCC -o /tmp/test.o -c $src $TCC -o /tmp/test.o -c $src >> tcc.log 2>&1 if [ "$?" == "0" ] ; then result="PASS" ...
Shell
#!/bin/sh TESTSUITE_PATH=$HOME/gcc/gcc-3.2/gcc/testsuite/gcc.c-torture TCC="./tcc -B. -I. -DNO_TRAMPOLINES" rm -f tcc.sum tcc.log nb_failed="0" for src in $TESTSUITE_PATH/compile/*.c ; do echo $TCC -o /tmp/test.o -c $src $TCC -o /tmp/test.o -c $src >> tcc.log 2>&1 if [ "$?" == "0" ] ; then result="PASS" ...
Shell
#!/bin/sh # # tcc configure script (c) 2003 Fabrice Bellard # # set temporary file name if test ! -z "$TMPDIR" ; then TMPDIR1="${TMPDIR}" elif test ! -z "$TEMPDIR" ; then TMPDIR1="${TEMPDIR}" else TMPDIR1="/tmp" fi TMPC="${TMPDIR1}/tcc-conf-${RANDOM}-$$-${RANDOM}.c" TMPO="${TMPDIR1}/tcc-conf-${RANDOM}-$$-$...
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 # Need to run a full clean install when changing the request factory interfaces # Doing so deletes the local debug app engine database # This script backs that up first SRC=shuffle-app-engine/target/shuffle-app-engine-2.0.0-SNAPSHOT/WEB-INF/appengine-generated DEST=../db_backup rm -r $DEST mkdir $DEST cp -...
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 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
#!/bin/sh # Copyright 2011 Cooliris, 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 # Copyright 2011 Cooliris, 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 # Copyright 2011 Cooliris, 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 # Copyright 2011 Cooliris, 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 # Copyright 2011 Cooliris, 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 # Copyright 2011 Cooliris, 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 # FFDec requires Oracle Java 7 # Look for java in these directories LOOKUP_JRE_DIRS="/usr/lib/jvm/* /opt/java* /opt/jre*" #Created by Petris 2009 -> Many thanks! # Required version REQ_JVER1=1 REQ_JVER2=7 REQ_JVER3=0 REQ_JVER4=0 JAR_FILE=ffdec.jar MEMORY=1024m check_java_version () { JVER1=`echo $JAVA_VERSI...
Shell
#! /bin/bash Usage() { echo "Usage: ${0##*/} [option] [path] search-content" echo " -S,--string search string" echo " -m,--macro search macro define" echo " -t,--typedef search typedef statement" echo " -c,--class search class declare" ...
Shell
#!/bin/bash Usage() { echo "Usage: ${0##*/} [option] [path] filename" echo " -a,--absolute dispaly absolute path" echo " -r,--relative dispaly relative path" echo " -h,--help display this information" echo "[Note]: If you don't specify any option, -a will be used by ...
Shell
#! /bin/bash Usage() { echo "Usage: ${0##*/} [option] [path] search-content" echo " -S,--string search string" echo " -m,--macro search macro define" echo " -t,--typedef search typedef statement" echo " -c,--class search class declare" ...
Shell
#!/bin/bash Usage() { echo "Usage: ${0##*/} [option] [path] filename" echo " -a,--absolute dispaly absolute path" echo " -r,--relative dispaly relative path" echo " -h,--help display this information" echo "[Note]: If you don't specify any option, -a will be used by ...
Shell
#!/bin/bash # Readme: # 1. Search "menu=", replace "(Beijing Nanjing Shanghai)" with your own options # 2. Add your own logic fuction(e.g: doX) like "do1" function below and call your "doX" at "# ..." below menu=(A7008_AIMEI A7008_SANYI A7008_XST A7008_HONGXIANG Q8 Q11 cj7102-3 cj8101 N713 N914 M11 Q11-V17 Q8-WCB Q...
Shell
#!/bin/bash #cp $DEVICE/GoogleMaps.apk $OUT/system/app #echo "-------cp GoogleMaps.apk to out dir OK!!--------" rm $OUT/system/app/Update.apk rm $OUT/system/app/SpeechRecorder.apk rm $OUT/system/app/Development.apk if [ "$1" = "help" ] then echo "pack A7008_AIMEI " echo "pack A7008_SANYI " echo "pack A7008_XST...
Shell
#!/bin/bash MyLogSetDir=$DEVICE/CompileConfig/logo MyChiphdSyscfgSetDir=$DEVICE/CompileConfig/chiphdsyscfg MyBoardConfigSetDir=$DEVICE/CompileConfig/boardconfig MyInitSun7iSetDir=$DEVICE/CompileConfig/initsun7i if [ "$OUT" ]; then rm -rf $OUT/system/ $OUT/root/ fi if [ "$1" = "help" ] then echo "./selct_board_super...
Shell
#!/bin/bash # Readme: # 1. Search "menu=", replace "(Beijing Nanjing Shanghai)" with your own options # 2. Add your own logic fuction(e.g: doX) like "do1" function below and call your "doX" at "# ..." below menu=(A7008_AIMEI A7008_SANYI A7008_XST A7008_HONGXIANG Q8 Q11 cj7102-3 cj8101 N713 N914 M11 Q11-V17 Q8-WCB Q...
Shell
#!/bin/bash #cp $DEVICE/GoogleMaps.apk $OUT/system/app #echo "-------cp GoogleMaps.apk to out dir OK!!--------" rm $OUT/system/app/Update.apk rm $OUT/system/app/SpeechRecorder.apk rm $OUT/system/app/Development.apk if [ "$1" = "help" ] then echo "pack A7008_AIMEI " echo "pack A7008_SANYI " echo "pack A7008_XST...
Shell
#!/bin/bash MyLogSetDir=$DEVICE/CompileConfig/logo MyChiphdSyscfgSetDir=$DEVICE/CompileConfig/chiphdsyscfg MyBoardConfigSetDir=$DEVICE/CompileConfig/boardconfig MyInitSun7iSetDir=$DEVICE/CompileConfig/initsun7i if [ "$OUT" ]; then rm -rf $OUT/system/ $OUT/root/ fi if [ "$1" = "help" ] then echo "./selct_board_super...
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 # depcomp - compile a program generating dependencies as side-effects scriptversion=2006-10-15.18 # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006 Free Software # Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public Licens...
Shell
#!/bin/sh # install - install a program, script, or datafile scriptversion=2006-10-14.15 # 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 hereby ...
Shell
#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2006-05-10.23 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006 # Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is free software; you can redi...
Shell
# Be sure to specify files instead of * when running the script. perl -p -i -e "s/ +$//g" *
Shell
# Be sure to specify files instead of * when running the script. perl -p -i -e "s/\t/ /g" *
Shell
#!/bin/sh # Bzgrep wrapped for bzip2, # adapted from zgrep by Philippe Troin <phil@fifi.org> for Debian GNU/Linux. ## zgrep notice: ## zgrep -- a wrapper around a grep program that decompresses files as needed ## Adapted from a version sent by Charles Levert <charles@comm.polymtl.ca> PATH="/usr/bin:$PATH"; export PA...
Shell