code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/bash ant_16() { ant -lib ../../src/ant/jar "$@" } ant_17() { ant "$@" } export LD_LIBRARY_PATH=$(dirname $0) version=$( ant -version | grep -o "[0-9]\.[0-9]" | cut -c 1 ) subversion=$( ant -version | grep -o "[0-9]\.[0-9]" | cut -c 3 ) if [ "$version" -le "0" ] then ant_16 else if [ "$version" == "...
Shell
#!/bin/bash ant_16() { ant -lib ../../src/ant/jar "$@" } ant_17() { ant "$@" } export LD_LIBRARY_PATH=$(dirname $0) version=$( ant -version | grep -o "[0-9]\.[0-9]" | cut -c 1 ) subversion=$( ant -version | grep -o "[0-9]\.[0-9]" | cut -c 3 ) if [ "$version" -le "0" ] then ant_16 else if [ "$version" == "...
Shell
#!/bin/bash ant_16() { ant -lib ../../src/ant/jar "$@" } ant_17() { ant "$@" } export LD_LIBRARY_PATH=$(dirname $0) version=$( ant -version | grep -o "[0-9]\.[0-9]" | cut -c 1 ) subversion=$( ant -version | grep -o "[0-9]\.[0-9]" | cut -c 3 ) if [ "$version" -le "0" ] then ant_16 else if [ "$version" == "...
Shell
#!/bin/bash ant_16() { ant -lib ../../src/ant/jar "$@" } ant_17() { ant "$@" } export LD_LIBRARY_PATH=$(dirname $0) version=$( ant -version | grep -o "[0-9]\.[0-9]" | cut -c 1 ) subversion=$( ant -version | grep -o "[0-9]\.[0-9]" | cut -c 3 ) if [ "$version" -le "0" ] then ant_16 else if [ "$version" == "...
Shell
#!/bin/bash ant_16() { ant -lib ../../src/ant/jar "$@" } ant_17() { ant "$@" } export LD_LIBRARY_PATH=$(dirname $0) version=$( ant -version | grep -o "[0-9]\.[0-9]" | cut -c 1 ) subversion=$( ant -version | grep -o "[0-9]\.[0-9]" | cut -c 3 ) if [ "$version" -le "0" ] then ant_16 else if [ "$version" == "...
Shell
#!/bin/bash ant_16() { ant -lib ../../src/ant/jar "$@" } ant_17() { ant "$@" } export LD_LIBRARY_PATH=$(dirname $0) version=$( ant -version | grep -o "[0-9]\.[0-9]" | cut -c 1 ) subversion=$( ant -version | grep -o "[0-9]\.[0-9]" | cut -c 3 ) if [ "$version" -le "0" ] then ant_16 else if [ "$version" == "...
Shell
#!/bin/bash ant_16() { ant -lib ../../src/ant/jar "$@" } ant_17() { ant "$@" } export LD_LIBRARY_PATH=$(dirname $0) version=$( ant -version | grep -o "[0-9]\.[0-9]" | cut -c 1 ) subversion=$( ant -version | grep -o "[0-9]\.[0-9]" | cut -c 3 ) if [ "$version" -le "0" ] then ant_16 else if [ "$version" == "...
Shell
#!/bin/bash ant_16() { ant -lib ../../src/ant/jar "$@" } ant_17() { ant "$@" } export LD_LIBRARY_PATH=$(dirname $0) version=$( ant -version | grep -o "[0-9]\.[0-9]" | cut -c 1 ) subversion=$( ant -version | grep -o "[0-9]\.[0-9]" | cut -c 3 ) if [ "$version" -le "0" ] then ant_16 else if [ "$version" == "...
Shell
#!/bin/bash ant_16() { ant -lib ../../src/ant/jar "$@" } ant_17() { ant "$@" } export LD_LIBRARY_PATH=$(dirname $0) version=$( ant -version | grep -o "[0-9]\.[0-9]" | cut -c 1 ) subversion=$( ant -version | grep -o "[0-9]\.[0-9]" | cut -c 3 ) if [ "$version" -le "0" ] then ant_16 else if [ "$version" == "...
Shell
#!/bin/bash ant_16() { ant -lib ../../src/ant/jar "$@" } ant_17() { ant "$@" } export LD_LIBRARY_PATH=$(dirname $0) version=$( ant -version | grep -o "[0-9]\.[0-9]" | cut -c 1 ) subversion=$( ant -version | grep -o "[0-9]\.[0-9]" | cut -c 3 ) if [ "$version" -le "0" ] then ant_16 else if [ "$version" == "...
Shell
#!/bin/bash ant_16() { ant -lib ../../src/ant/jar "$@" } ant_17() { ant "$@" } export LD_LIBRARY_PATH=$(dirname $0) version=$( ant -version | grep -o "[0-9]\.[0-9]" | cut -c 1 ) subversion=$( ant -version | grep -o "[0-9]\.[0-9]" | cut -c 3 ) if [ "$version" -le "0" ] then ant_16 else if [ "$version" == "...
Shell
#!/bin/bash ant_16() { ant -lib ../../src/ant/jar "$@" } ant_17() { ant "$@" } export LD_LIBRARY_PATH=$(dirname $0) version=$( ant -version | grep -o "[0-9]\.[0-9]" | cut -c 1 ) subversion=$( ant -version | grep -o "[0-9]\.[0-9]" | cut -c 3 ) if [ "$version" -le "0" ] then ant_16 else if [ "$version" == "...
Shell
#!/bin/bash ant_16() { ant -lib ../../src/ant/jar "$@" } ant_17() { ant "$@" } export LD_LIBRARY_PATH=$(dirname $0) version=$( ant -version | grep -o "[0-9]\.[0-9]" | cut -c 1 ) subversion=$( ant -version | grep -o "[0-9]\.[0-9]" | cut -c 3 ) if [ "$version" -le "0" ] then ant_16 else if [ "$version" == "...
Shell
#!/bin/bash ant_16() { ant -lib ../../src/ant/jar "$@" } ant_17() { ant "$@" } export LD_LIBRARY_PATH=$(dirname $0) version=$( ant -version | grep -o "[0-9]\.[0-9]" | cut -c 1 ) subversion=$( ant -version | grep -o "[0-9]\.[0-9]" | cut -c 3 ) if [ "$version" -le "0" ] then ant_16 else if [ "$version" == "...
Shell
#!/bin/bash ant_16() { ant -lib ../../src/ant/jar "$@" } ant_17() { ant "$@" } export LD_LIBRARY_PATH=$(dirname $0) version=$( ant -version | grep -o "[0-9]\.[0-9]" | cut -c 1 ) subversion=$( ant -version | grep -o "[0-9]\.[0-9]" | cut -c 3 ) if [ "$version" -le "0" ] then ant_16 else if [ "$version" == "...
Shell
#!/bin/bash ant_16() { ant -lib ../../src/ant/jar "$@" } ant_17() { ant "$@" } export LD_LIBRARY_PATH=$(dirname $0) version=$( ant -version | grep -o "[0-9]\.[0-9]" | cut -c 1 ) subversion=$( ant -version | grep -o "[0-9]\.[0-9]" | cut -c 3 ) if [ "$version" -le "0" ] then ant_16 else if [ "$version" == "...
Shell
#!/bin/bash ant_16() { ant -lib ../../src/ant/jar "$@" } ant_17() { ant "$@" } export LD_LIBRARY_PATH=$(dirname $0) version=$( ant -version | grep -o "[0-9]\.[0-9]" | cut -c 1 ) subversion=$( ant -version | grep -o "[0-9]\.[0-9]" | cut -c 3 ) if [ "$version" -le "0" ] then ant_16 else if [ "$version" == "...
Shell
#!/bin/bash ant_16() { ant -lib ../../src/ant/jar "$@" } ant_17() { ant "$@" } export LD_LIBRARY_PATH=$(dirname $0) version=$( ant -version | grep -o "[0-9]\.[0-9]" | cut -c 1 ) subversion=$( ant -version | grep -o "[0-9]\.[0-9]" | cut -c 3 ) if [ "$version" -le "0" ] then ant_16 else if [ "$version" == "...
Shell
#!/bin/bash ant_16() { ant -lib ../../src/ant/jar "$@" } ant_17() { ant "$@" } export LD_LIBRARY_PATH=$(dirname $0) version=$( ant -version | grep -o "[0-9]\.[0-9]" | cut -c 1 ) subversion=$( ant -version | grep -o "[0-9]\.[0-9]" | cut -c 3 ) if [ "$version" -le "0" ] then ant_16 else if [ "$version" == "...
Shell
#!/bin/sh # START-COMMIT HOOK # # The start-commit hook is invoked before a Subversion txn is created # in the process of doing a commit. Subversion runs this hook # by invoking a program (script, executable, binary, etc.) named # 'start-commit' (for which this file is a template) # with the following ordered...
Shell
#!/bin/sh # PRE-COMMIT HOOK # # The pre-commit hook is invoked before a Subversion txn is # committed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-commit' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (t...
Shell
#!/bin/sh # PRE-LOCK HOOK # # The pre-lock hook is invoked before an exclusive lock is # created. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-lock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (the pat...
Shell
#!/bin/sh # POST-COMMIT HOOK # # The post-commit hook is invoked after a commit. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-commit' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this rep...
Shell
#!/bin/sh # PRE-COMMIT HOOK # # The pre-commit hook is invoked before a Subversion txn is # committed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-commit' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (t...
Shell
#!/bin/sh # PRE-REVPROP-CHANGE HOOK # # The pre-revprop-change hook is invoked before a revision property # is added, modified or deleted. Subversion runs this hook by invoking # a program (script, executable, binary, etc.) named 'pre-revprop-change' # (for which this file is a template), with the following or...
Shell
#!/bin/sh # PRE-LOCK HOOK # # The pre-lock hook is invoked before an exclusive lock is # created. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-lock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (the pat...
Shell
#!/bin/sh # POST-REVPROP-CHANGE HOOK # # The post-revprop-change hook is invoked after a revision property # has been added, modified or deleted. Subversion runs this hook by # invoking a program (script, executable, binary, etc.) named # 'post-revprop-change' (for which this file is a template), with the # f...
Shell
#!/bin/sh # POST-LOCK HOOK # # The post-lock hook is run after a path is locked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-lock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this repos...
Shell
#!/bin/sh # PRE-UNLOCK HOOK # # The pre-unlock hook is invoked before an exclusive lock is # destroyed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-unlock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH ...
Shell
#!/bin/sh # START-COMMIT HOOK # # The start-commit hook is invoked before a Subversion txn is created # in the process of doing a commit. Subversion runs this hook # by invoking a program (script, executable, binary, etc.) named # 'start-commit' (for which this file is a template) # with the following ordered...
Shell
#!/bin/sh # POST-COMMIT HOOK # # The post-commit hook is invoked after a commit. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-commit' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this rep...
Shell
#!/bin/sh # POST-UNLOCK HOOK # # The post-unlock hook runs after a path is unlocked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-unlock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this...
Shell
#!/bin/sh # POST-UNLOCK HOOK # # The post-unlock hook runs after a path is unlocked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-unlock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this...
Shell
#!/bin/sh # PRE-REVPROP-CHANGE HOOK # # The pre-revprop-change hook is invoked before a revision property # is added, modified or deleted. Subversion runs this hook by invoking # a program (script, executable, binary, etc.) named 'pre-revprop-change' # (for which this file is a template), with the following or...
Shell
#!/bin/sh # POST-LOCK HOOK # # The post-lock hook is run after a path is locked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-lock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this repos...
Shell
#!/bin/sh # POST-REVPROP-CHANGE HOOK # # The post-revprop-change hook is invoked after a revision property # has been added, modified or deleted. Subversion runs this hook by # invoking a program (script, executable, binary, etc.) named # 'post-revprop-change' (for which this file is a template), with the # f...
Shell
#!/bin/sh # PRE-UNLOCK HOOK # # The pre-unlock hook is invoked before an exclusive lock is # destroyed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-unlock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH ...
Shell
#!/bin/sh ERL='/usr/local/bin/erl' SMP="" DAEMON="" KPOLL="" CONF="" SBIN="" SNAME="" COOKIE="" start() { set -x exec $ERL $SMP $DAEMON $KPOLL $SBIN $CONF $SNAME $COOKIE -run xbt set +x RETVAL=$? } stop() { set -x exec $ERL -noshell $SMP $KPOLL $SBIN $CONF $SNAME $COOKIE -run xbt_ctl stop ...
Shell
#!/bin/sh ERL='/usr/local/bin/erl' SMP="" DAEMON="" KPOLL="" CONF="" SBIN="" SNAME="" COOKIE="" start() { set -x exec $ERL $SMP $DAEMON $KPOLL $SBIN $CONF $SNAME $COOKIE -run xbt set +x RETVAL=$? } stop() { set -x exec $ERL -noshell $SMP $KPOLL $SBIN $CONF $SNAME $COOKIE -run xbt_ctl stop ...
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
clear g++ -DNDEBUG -I /usr/local/include -I ../misc -I . -O3 -o xbt_tracker *.cpp ../misc/*.cpp ../misc/sql/*.cpp `mysql_config --libs` && strip xbt_tracker
Shell
g++ -g -I ../misc -I . -O3 -o xbt_tracker_debug *.cpp ../misc/*.cpp ../misc/sql/*.cpp `mysql_config --libs`
Shell
g++ -DNDEBUG -I ../misc -I . -O3 -o xbt_tracker *.cpp ../misc/*.cpp ../misc/sql/*.cpp `mysql_config --libs` && strip xbt_tracker
Shell
clear g++ -DBSD -DNDEBUG -I /usr/local/include -I ../misc -I . -O3 -o xbt_tracker *.cpp ../misc/*.cpp ../misc/sql/*.cpp `mysql_config --libs` && strip xbt_tracker
Shell
# Ragel generator # For more information about Ragel: http://www.complang.org/ragel/ export OPTIONS="-A -L -T0" # SIP/SIPS/TEL URI parser ragel.exe $OPTIONS -o ../Parsers/TSIP_ParserUri.cs ./ragel/tsip_parser_uri.rl # SIP message (both requests an responses) parser. ragel.exe $OPTIONS -o ../Parsers/TSIP_ParserMessag...
Shell
# Ragel generator # For more information about Ragel: http://www.complang.org/ragel/ export OPTIONS="-A -L -T0" # HTTP/HTTPS URL parser # ragel.exe $OPTIONS -o ./src/parsers/thttp_parser_url.c ./ragel/thttp_parser_url.rl # HTTP message (both requests an responses) parser. # ragel.exe $OPTIONS -o ./src/parsers/thttp_...
Shell
#!/bin/bash find . -name "*.pyo" | xargs rm -f find . -name "*.pyc" | xargs rm -f find . -name ".*.swp" | xargs rm -f find . -name view_history | xargs rm -f
Shell
#!/bin/sh # $NetBSD: errlist.sh,v 1.2 2008/10/06 12:58:29 joerg Exp $ printf "static struct fetcherr $1[] = {\n" while read code type msg; do [ "${code}" = "#" ] && continue printf "\t{ ${code}, FETCH_${type}, \"${msg}\" },\n" done < $3 printf "\t{ -1, FETCH_UNKNOWN, \"Unknown $2 error\" }\n" printf "};\n"
Shell
g++ -o a.jem main.cpp -Wl,-Bstatic -ljemalloc -Wl,-Bdynamic -lpthread g++ main.cpp
Shell
#!/bin/sh tar -cvf addrinfo.tar README.getaddrinfo addrinfo.h getaddrinfo.c \ getnameinfo.c test_addrinfo.c inet_ntop.c inet_pton.c compress addrinfo.tar
Shell
#! /bin/sh # # install - install a program, script, or datafile # This comes from X11R5 (mit/util/scripts/install.sh). # # Copyright 1991 by the Massachusetts Institute of Technology # # Permission to use, copy, modify, distribute, and sell this software and its # documentation for any purpose is hereby granted without...
Shell
#! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002 Free Software Foundation, Inc. timestamp='2002-03-20' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License...
Shell
#! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002 Free Software Foundation, Inc. timestamp='2002-03-07' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GN...
Shell
#! /bin/sh # # install - install a program, script, or datafile # This comes from X11R5 (mit/util/scripts/install.sh). # # Copyright 1991 by the Massachusetts Institute of Technology # # Permission to use, copy, modify, distribute, and sell this software and its # documentation for any purpose is hereby granted without...
Shell
#!/bin/sh ./udpcli01 140.252.13.37 < /usr/share/lib/termcap > /home/rstevens/temp.1 & ./udpcli01 140.252.13.37 < /usr/share/lib/termcap > /home/rstevens/temp.2 & ./udpcli01 140.252.13.37 < /usr/share/lib/termcap > /home/rstevens/temp.3 & ./udpcli01 140.252.13.37 < /usr/share/lib/termcap > /home/rstevens/temp.4 & ./udp...
Shell
#!/bin/sh ./udpcli01 140.252.13.35 < /usr/share/misc/termcap > /home/rstevens/temp.1 & ./udpcli01 140.252.13.35 < /usr/share/misc/termcap > /home/rstevens/temp.2 & ./udpcli01 140.252.13.35 < /usr/share/misc/termcap > /home/rstevens/temp.3 & ./udpcli01 140.252.13.35 < /usr/share/misc/termcap > /home/rstevens/temp.4 & ....
Shell
#!/bin/sh ./udpcli01 140.252.13.37 < /usr/share/lib/termcap > /home/rstevens/temp.1 & ./udpcli01 140.252.13.37 < /usr/share/lib/termcap > /home/rstevens/temp.2 & ./udpcli01 140.252.13.37 < /usr/share/lib/termcap > /home/rstevens/temp.3 & ./udpcli01 140.252.13.37 < /usr/share/lib/termcap > /home/rstevens/temp.4 & ./udp...
Shell
#!/bin/sh ./udpcli01 140.252.13.35 < /usr/share/misc/termcap > /home/rstevens/temp.1 & ./udpcli01 140.252.13.35 < /usr/share/misc/termcap > /home/rstevens/temp.2 & ./udpcli01 140.252.13.35 < /usr/share/misc/termcap > /home/rstevens/temp.3 & ./udpcli01 140.252.13.35 < /usr/share/misc/termcap > /home/rstevens/temp.4 & ....
Shell
10:18:34.491482: read 4096 bytes from stdin 10:18:34.519016: wrote 4096 bytes to socket 10:18:34.544636: read 4096 bytes from stdin 10:18:34.568505: read 3508 bytes from socket 10:18:34.593354: wrote 3508 bytes to stdout 10:18:34.618062: wrote 4096 bytes to socket 10:18:34.643524: read 4096 bytes from stdin 10:18:34.66...
Shell
#!/bin/sh case $# in 1) break ;; *) echo "one argument (#simultaneous connections) required" 1>&2 exit 1 ;; esac time ./web $1 192.207.117.2 / \ /img/logo/awl_logo_blue_50x40.gif \ /img/a_world_of_learning.gif \ /img/toolbar_soptions.gif \ /img/toolbar_purchase.gif \ /img/toolbar_feedback.gif \ /img/toolbar_to...
Shell
#!/bin/sh case $# in 1) break ;; *) echo "one argument (#simultaneous connections) required" 1>&2 exit 1 ;; esac time ./web $1 192.207.117.2 / \ /img/logo/awl_logo_blue_50x40.gif \ /img/a_world_of_learning.gif \ /img/toolbar_soptions.gif \ /img/toolbar_purchase.gif \ /img/toolbar_feedback.gif \ /img/toolbar_to...
Shell
#!/bin/sh ClientP=/nfs/kohala/home/rstevens/doc/unp/src/tcpcliserv/tcpcli01 # client prog ServerH="206.62.226.33" # server host Infile=/usr/share/misc/zipcodes # big BSD/OS text file $ClientP $ServerH < $Infile > temp.1 & $ClientP $ServerH < $Infile > temp.2 & $ClientP $ServerH < $Infile > temp.3 & # $ClientP $Ser...
Shell
#!/bin/sh case $# in 1) break ;; *) echo "one argument (#simultaneous connections) required" 1>&2 exit 1 ;; esac time ./web03 $1 192.207.117.2 / \ /img/logo/awl_logo_blue_50x40.gif \ /img/a_world_of_learning.gif \ /img/toolbar_soptions.gif \ /img/toolbar_purchase.gif \ /img/toolbar_feedback.gif \ /img/toolbar_...
Shell
#!/bin/sh ClientP=/nfs/kohala/home/rstevens/doc/unp/src/tcpcliserv/tcpcli01 # client prog ServerH="206.62.226.33" # server host Infile=/usr/share/misc/zipcodes # big BSD/OS text file $ClientP $ServerH < $Infile > temp.1 & $ClientP $ServerH < $Infile > temp.2 & $ClientP $ServerH < $Infile > temp.3 & # $ClientP $Ser...
Shell
#!/bin/sh case $# in 1) break ;; *) echo "one argument (#simultaneous connections) required" 1>&2 exit 1 ;; esac time ./web03 $1 192.207.117.2 / \ /img/logo/awl_logo_blue_50x40.gif \ /img/a_world_of_learning.gif \ /img/toolbar_soptions.gif \ /img/toolbar_purchase.gif \ /img/toolbar_feedback.gif \ /img/toolbar_...
Shell
#!/bin/sh #sed -i "s/5678/5678/g" 'ack 5678 -l *' sed -i "s/5678/1234/g" nihao*
Shell
#!/bin/sh #sed -i "s/5678/5678/g" 'ack 5678 -l *' sed -i "s/5678/1234/g" nihao*
Shell
#!/bin/bash cd . exec ctags-exuberant \ -h ".php" -R \ --exclude="\.svn" \ --totals=yes \ --tag-relative=yes \ --PHP-kinds=+cf \ --regex-PHP='/abstract class ([^ ]*)/\1/c/' \ --regex-PHP='/interface ([^ ]*)/\1/c/' \ --regex-PHP='/(public |static |abstract |protected |private )+function ([^ (]*)/\2/f/'
Shell
#!/bin/bash cd . exec ctags-exuberant \ -h ".php" -R \ --exclude="\.svn" \ --totals=yes \ --tag-relative=yes \ --PHP-kinds=+cf \ --regex-PHP='/abstract class ([^ ]*)/\1/c/' \ --regex-PHP='/interface ([^ ]*)/\1/c/' \ --regex-PHP='/(public |static |abstract |protected |private )+function ([^ (]*)/\2/f/'
Shell
for str in \ mmioWrite \ WriteFile \ ExtractAssociatedIcon \ ExtractIcon \ LZRead \ GetPrivateProfileString \ GetPrivateProfileInt \ UnlockFile \ UnlockFileEx \ LZOpenFile \ mmioOpen \ SetFileSecurity \ SetFileTime \ SetTextColor \ SetFileApisToOEM \ FindFirstChangeNotification \ mmioSetInfo \ SetFilePointer \ SetFileA...
Shell
for str in \ SQLAllocConnect \ SQLAllocEnv \ SQLAllocHandle \ SQLAllocStmt \ SQLBindCol \ SQLBindParameter \ SQLBrowseConnect \ SQLBulkOperations \ SQLCancel \ SQLCancelHandle \ SQLCloseCursor \ SQLColAttribute \ SQLColAttributes \ SQLColumnPrivileges \ SQLColumns \ SQLCompleteAsync \ SQLConnect \ SQLCopyDesc \ SQLData...
Shell
#!/bin/bash cp -lf functions_for_filter.php index.html record_difficulty.php words_filter.php /var/www/beidanci/ cp -lrf ./js/ ./css/ ./self-improvement/ /var/www/beidanci/
Shell
#!/bin/bash cp -lf functions_for_filter.php index.html record_difficulty.php words_filter.php /var/www/beidanci/ cp -lrf ./js/ ./css/ ./self-improvement/ /var/www/beidanci/
Shell
for str in \ mmioWrite \ WriteFile \ ExtractAssociatedIcon \ ExtractIcon \ LZRead \ GetPrivateProfileString \ GetPrivateProfileInt \ UnlockFile \ UnlockFileEx \ LZOpenFile \ mmioOpen \ SetFileSecurity \ SetFileTime \ SetTextColor \ SetFileApisToOEM \ FindFirstChangeNotification \ mmioSetInfo \ SetFilePointer \ SetFileA...
Shell
for string in \ WNetAddConnection \ WNetAddConnection2 \ WNetAddConnection3 \ WNetCancelConnection \ WNetCancelConnection2 \ WNetCloseEnum \ WNetConnectionDialog \ WNetDisconnectDialog \ WNetEnumResource \ WNetGetConnection \ WNetGetLastError \ WNetGetUniversalName \ WNetGetUser \ WNetOpenEnum \ BroadcastSystemMessage ...
Shell
mysqldump -h 127.0.0.1 -u root -p beidanci_db > beidanci_db.sql
Shell
#导入数据库的脚本 mysql -u root -p core_db < core_db.sql mysql -h 127.0.0.1 -u root -p beidanci_db < beidanci_db.sql
Shell
mysqldump -h 127.0.0.1 -u root -p core_db > core_db.sql
Shell
#导入数据库的脚本 mysql -u root -p core_db < core_db.sql mysql -h 127.0.0.1 -u root -p beidanci_db < beidanci_db.sql
Shell
mysqldump -h 127.0.0.1 -u root -p jizhangben > jizhangben.sql
Shell
#!/bin/bash # ================================= # Create and move to home directory # ================================= mkdir ~/selenium cd ~/selenium # ============================================= # Update repositories and install prerequisites # ============================================= sudo apt-g...
Shell
#!/bin/bash # ================================= # Create and move to home directory # ================================= mkdir ~/selenium cd ~/selenium # ============================================= # Update repositories and install prerequisites # ============================================= sudo apt-g...
Shell
#!/usr/bin/env bash # Copyright 2009 The Go Authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. eval $(go tool dist env) export GOARCH GOOS GOROOT export E= case X"$GOARCH" in Xamd64) export A=6 ;; X386) export A=8 ;; Xarm) export A=...
Shell
#!/bin/sh # Copyright 2011 The Go Authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. case "$1" in -*) echo 'usage: benchcmp old.txt new.txt' >&2 echo >&2 echo 'Each input file should be go test -test.run=NONE -test.bench=. > [old,new...
Shell
#!/usr/bin/env bash # Copyright 2010 The Go Authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. # This is a small script for executing go binaries on the android platform. # # example: # ./a 5.out foo bar baz # # The script exports the l...
Shell
#!/usr/bin/env bash # Copyright 2012 The Go Authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. # Illustrates how a Go language specification can be installed for Xcode 4.x., # to enable syntax coloring, by adding an entry to a plugindata...
Shell
#!/bin/sh # Copyright 2009 The Go Authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. set -e go build hello.go go build fib.go go build chain.go echo '*' hello >run.out ./hello >>run.out echo '*' fib >>run.out ./fib >>run.out echo '*' ch...
Shell
#!/bin/sh # Copyright 2010 The Go Authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. set -e go build -o life main.go echo '*' life >run.out ./life >>run.out diff run.out golden.out rm -f life
Shell
#!/bin/sh # Copyright 2011 The Go Authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. set -e gcc $(go env GOGCCFLAGS) -shared -o libcgosotest.so cgoso_c.c go build main.go LD_LIBRARY_PATH=. ./main rm -f libcgosotest.so main
Shell
#!/bin/bash # Copyright 2011 The Go Authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. set -e if ! test -f ../../src/all.bash; then echo >&2 "package.bash must be run from $GOROOT/misc/osx" exit 1 fi echo >&2 "Locating PackageMaker......
Shell
#!/bin/bash GOROOT=/usr/local/go echo "Fixing permissions" cd $GOROOT find . -exec chmod ugo+r \{\} \; find bin -exec chmod ugo+rx \{\} \; find . -type d -exec chmod ugo+rx \{\} \; chmod o-w . echo "Fixing debuggers via sudo.bash" # setgrp procmod the debuggers (sudo.bash) cd $GOROOT/src ./sudo.bash echo "Installin...
Shell
#!/usr/bin/env bash # Copyright 2009 The Go Authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. set -e if [ ! -f make.bash ]; then echo 'all.bash must be run from $GOROOT/src' 1>&2 exit 1 fi . ./make.bash --no-banner bash run.bash --no-r...
Shell
#!/usr/bin/env bash # Copyright 2009 The Go Authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. set -e eval $(go env) unset CDPATH # in case user has it set unset GOPATH # we disallow local import for non-local packages, if $GOROOT ha...
Shell
#!/usr/bin/env bash # Copyright 2009 The Go Authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. set -e eval $(go tool dist env) if [ ! -x $GOTOOLDIR/dist ]; then echo 'cannot find $GOTOOLDIR/dist; nothing to clean' >&2 exit 1 fi "$GOB...
Shell
#!/bin/sh # Copyright 2009 The Go Authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. # Generate builtin.c from $* (runtime.go and unsafe.go). # Run this after changing runtime.go and unsafe.go # or after changing the export metadata forma...
Shell
#!/usr/bin/env bash # Copyright 2011 The Go Authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. # This script creates the .zip, index, and configuration files for running # godoc on app-engine. # # If an argument is provided it is assumed...
Shell
#!/bin/bash # Copyright 2012 The Go Authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. set -e go build -o testgo ok=true unset GOPATH unset GOBIN # Test that error messages have file:line information # at beginning of line. for i in t...
Shell
#!/bin/sh x() { echo '--- ' "$@" "$@" echo '---' echo } x go help x go help build x go help clean x go help install x go help fix x go help fmt x go help get x go help list x go help test x go help version x go help vet x go help gopath x go help importpath x go help remote
Shell
#!/bin/sh # Copyright 2012 The Go Authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. go help documentation > doc.go gofmt -w doc.go
Shell
#!/usr/bin/env bash # Copyright 2009 The Go Authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. set -e case "`uname`" in Darwin) ;; *) exit 0 esac eval $(go env) if ! [ -x $GOTOOLDIR/cov -a -x $GOTOOLDIR/prof ]; then echo "You don't n...
Shell