code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/sh -f # Enter up to 10 extra ports here. Refer to the documentation for MOREPORTS # in the restart script, or just use that instead. PORTS=""; # Start/stop the netmuck server. HOME=$HOME case "$1" in start) $HOME/proto/game/restart $PORTS ;; on) $HOME/proto/game/restart $PORTS ;; stop) kill `cat $HOME/proto/g...
Shell
#!/bin/sh -f # Enter up to 10 extra ports here. Refer to the documentation for MOREPORTS # in the restart script, or just use that instead. PORTS=""; # Start/stop the netmuck server. HOME=$HOME case "$1" in start) $HOME/proto/game/restart $PORTS ;; on) $HOME/proto/game/restart $PORTS ;; stop) kill `cat $HOME/proto/g...
Shell
#!/bin/sh # Generates version.c # # Copyright (c) 1990 Chelsea Dyerman # University of California, Berkeley (XCF) if [ ! -f version.c ] then generation=0 else generation=`sed -n 's/^const char \*generation = \"\(.*\)\";/\1/p' < version.c` if [ ! "$generation" ]; then generation=0; fi fi gener...
Shell
#!/bin/bash BASEDBURL="http://tails.animaltracks.net/protomuck/protodb_v1.tar.gz" GLOWUTILSURL="http://tails.animaltracks.net/protomuck/glow-utils.mufpkg" echo "Begin ProtoMUCK configuration - written by Alynna" echo "The default value will be specified by the value in [brackets]." echo " " gen_muck_config () { cat ...
Shell
#!/bin/sh if [ -r ../game/data/server.pem ]; then echo "Will not overwrite game/data/server.pem" echo "Remove that file and do 'makecert' again" echo "to create a new certificate." echo else openssl rand -rand /etc/hosts:/etc/passwd 0; \ echo "Creating secure certificate. Please answer all the questions."; echo...
Shell
#!/bin/sh if [ -r ../game/data/server.pem ]; then echo "Will not overwrite game/data/server.pem" echo "Remove that file and do 'makecert' again" echo "to create a new certificate." echo else openssl rand -rand /etc/hosts:/etc/passwd 0; \ echo "Creating secure certificate. Please answer all the questions."; echo...
Shell
#!/bin/sh # Generates version.c # # Copyright (c) 1990 Chelsea Dyerman # University of California, Berkeley (XCF) if[!-f version.c] then generation = 0 else generation = `sed - n 's/^const char \*generation = \"\(.*\)\";/\1/p' < version.c ` if[!"$generation"] ; then generation = 0; fi fi ...
Shell
#!/bin/sh # Generates version.c # # Copyright (c) 1990 Chelsea Dyerman # University of California, Berkeley (XCF) if [ ! -f version.c ] then generation=0 else generation=`sed -n 's/^const char \*generation = \"\(.*\)\";/\1/p' < version.c` if [ ! "$generation" ]; then generation=0; fi fi gener...
Shell
#!/bin/bash BASEDBURL="http://tails.animaltracks.net/protomuck/protodb_v1.tar.gz" GLOWUTILSURL="http://tails.animaltracks.net/protomuck/glow-utils.mufpkg" echo "Begin ProtoMUCK configuration - written by Alynna" echo "The default value will be specified by the value in [brackets]." echo " " gen_muck_config () { cat ...
Shell
#!/bin/sh # Generates version.c # # Copyright (c) 1990 Chelsea Dyerman # University of California, Berkeley (XCF) if[!-f version.c] then generation = 0 else generation = `sed - n 's/^const char \*generation = \"\(.*\)\";/\1/p' < version.c ` if[!"$generation"] ; then generation = 0; fi fi ...
Shell
#!/bin/sh # Generates version.c # # Copyright (c) 1990 Chelsea Dyerman # University of California, Berkeley (XCF) if [ ! -f version.c ] then generation=0 else generation=`sed -n 's/^const char \*generation = \"\(.*\)\";/\1/p' < version.c` if [ ! "$generation" ]; then generation=0; fi fi gener...
Shell
#!/bin/bash BASEDBURL="http://tails.animaltracks.net/protomuck/protodb_v1.tar.gz" GLOWUTILSURL="http://tails.animaltracks.net/protomuck/glow-utils.mufpkg" echo "Begin ProtoMUCK configuration - written by Alynna" echo "The default value will be specified by the value in [brackets]." echo " " gen_muck_config () { cat ...
Shell
#!/bin/sh if [ -r ../game/data/server.pem ]; then echo "Will not overwrite game/data/server.pem" echo "Remove that file and do 'makecert' again" echo "to create a new certificate." echo else openssl rand -rand /etc/hosts:/etc/passwd 0; \ echo "Creating secure certificate. Please answer all the questions."; echo...
Shell
#!/bin/sh if [ -r ../game/data/server.pem ]; then echo "Will not overwrite game/data/server.pem" echo "Remove that file and do 'makecert' again" echo "to create a new certificate." echo else openssl rand -rand /etc/hosts:/etc/passwd 0; \ echo "Creating secure certificate. Please answer all the questions."; echo...
Shell
#!/bin/sh # Generates version.c # # Copyright (c) 1990 Chelsea Dyerman # University of California, Berkeley (XCF) if[!-f version.c] then generation = 0 else generation = `sed - n 's/^const char \*generation = \"\(.*\)\";/\1/p' < version.c ` if[!"$generation"] ; then generation = 0; fi fi ...
Shell
#!/bin/sh # Generates version.c # # Copyright (c) 1990 Chelsea Dyerman # University of California, Berkeley (XCF) if [ ! -f version.c ] then generation=0 else generation=`sed -n 's/^const char \*generation = \"\(.*\)\";/\1/p' < version.c` if [ ! "$generation" ]; then generation=0; fi fi gener...
Shell
#!/bin/bash BASEDBURL="http://tails.animaltracks.net/protomuck/protodb_v1.tar.gz" GLOWUTILSURL="http://tails.animaltracks.net/protomuck/glow-utils.mufpkg" echo "Begin ProtoMUCK configuration - written by Alynna" echo "The default value will be specified by the value in [brackets]." echo " " gen_muck_config () { cat ...
Shell
#!/bin/sh # Generates version.c # # Copyright (c) 1990 Chelsea Dyerman # University of California, Berkeley (XCF) if[!-f version.c] then generation = 0 else generation = `sed - n 's/^const char \*generation = \"\(.*\)\";/\1/p' < version.c ` if[!"$generation"] ; then generation = 0; fi fi ...
Shell
#!/bin/bash # # All of the parameters in this file override $GAMEDIR/muck.config. Make sure # you know what you're doing before proceeding. # # GAMEDIR should be the directory containig the 'data' amd 'muf' directories. # You can leave GAMEDIR alone if the restart script is located in the game # folder, the script will...
Shell
#!/bin/bash # # All of the parameters in this file override $GAMEDIR/muck.config. Make sure # you know what you're doing before proceeding. # # GAMEDIR should be the directory containig the 'data' amd 'muf' directories. # You can leave GAMEDIR alone if the restart script is located in the game # folder, the script will...
Shell
#!/bin/sh # Generates version.c # # Copyright (c) 1990 Chelsea Dyerman # University of California, Berkeley (XCF) if [ ! -f version.c ] then generation=0 else generation=`sed -n 's/^const char \*generation = \"\(.*\)\";/\1/p' < version.c` if [ ! "$generation" ]; then generation=0; fi fi gener...
Shell
#!/bin/bash BASEDBURL="http://tails.animaltracks.net/protomuck/protodb_v1.tar.gz" GLOWUTILSURL="http://tails.animaltracks.net/protomuck/glow-utils.mufpkg" echo "Begin ProtoMUCK configuration - written by Alynna" echo "The default value will be specified by the value in [brackets]." echo " " gen_muck_config () { cat ...
Shell
#!/bin/sh if [ -r ../game/data/server.pem ]; then echo "Will not overwrite game/data/server.pem" echo "Remove that file and do 'makecert' again" echo "to create a new certificate." echo else openssl rand -rand /etc/hosts:/etc/passwd 0; \ echo "Creating secure certificate. Please answer all the questions."; echo...
Shell
#!/bin/sh if [ -r ../game/data/server.pem ]; then echo "Will not overwrite game/data/server.pem" echo "Remove that file and do 'makecert' again" echo "to create a new certificate." echo else openssl rand -rand /etc/hosts:/etc/passwd 0; \ echo "Creating secure certificate. Please answer all the questions."; echo...
Shell
#!/bin/sh # Generates version.c # # Copyright (c) 1990 Chelsea Dyerman # University of California, Berkeley (XCF) if[!-f version.c] then generation = 0 else generation = `sed - n 's/^const char \*generation = \"\(.*\)\";/\1/p' < version.c ` if[!"$generation"] ; then generation = 0; fi fi ...
Shell
#!/bin/sh # Generates version.c # # Copyright (c) 1990 Chelsea Dyerman # University of California, Berkeley (XCF) if [ ! -f version.c ] then generation=0 else generation=`sed -n 's/^const char \*generation = \"\(.*\)\";/\1/p' < version.c` if [ ! "$generation" ]; then generation=0; fi fi gener...
Shell
#!/bin/bash BASEDBURL="http://tails.animaltracks.net/protomuck/protodb_v1.tar.gz" GLOWUTILSURL="http://tails.animaltracks.net/protomuck/glow-utils.mufpkg" echo "Begin ProtoMUCK configuration - written by Alynna" echo "The default value will be specified by the value in [brackets]." echo " " gen_muck_config () { cat ...
Shell
#!/bin/sh # Generates version.c # # Copyright (c) 1990 Chelsea Dyerman # University of California, Berkeley (XCF) if[!-f version.c] then generation = 0 else generation = `sed - n 's/^const char \*generation = \"\(.*\)\";/\1/p' < version.c ` if[!"$generation"] ; then generation = 0; fi fi ...
Shell
#!/bin/sh -f # Enter up to 10 extra ports here. Refer to the documentation for MOREPORTS # in the restart script, or just use that instead. PORTS=""; # Start/stop the netmuck server. HOME=$HOME case "$1" in start) $HOME/proto/game/restart $PORTS ;; on) $HOME/proto/game/restart $PORTS ;; stop) kill `cat $HOME/proto/g...
Shell
#!/bin/sh -f # Enter up to 10 extra ports here. Refer to the documentation for MOREPORTS # in the restart script, or just use that instead. PORTS=""; # Start/stop the netmuck server. HOME=$HOME case "$1" in start) $HOME/proto/game/restart $PORTS ;; on) $HOME/proto/game/restart $PORTS ;; stop) kill `cat $HOME/proto/g...
Shell
#!/bin/bash # # All of the parameters in this file override $GAMEDIR/muck.config. Make sure # you know what you're doing before proceeding. # # GAMEDIR should be the directory containig the 'data' amd 'muf' directories. # You can leave GAMEDIR alone if the restart script is located in the game # folder, the script will...
Shell
#!/bin/bash # # All of the parameters in this file override $GAMEDIR/muck.config. Make sure # you know what you're doing before proceeding. # # GAMEDIR should be the directory containig the 'data' amd 'muf' directories. # You can leave GAMEDIR alone if the restart script is located in the game # folder, the script will...
Shell
#!/bin/sh # Generates version.c # # Copyright (c) 1990 Chelsea Dyerman # University of California, Berkeley (XCF) if [ ! -f version.c ] then generation=0 else generation=`sed -n 's/^const char \*generation = \"\(.*\)\";/\1/p' < version.c` if [ ! "$generation" ]; then generation=0; fi fi gener...
Shell
#!/bin/bash BASEDBURL="http://tails.animaltracks.net/protomuck/protodb_v1.tar.gz" GLOWUTILSURL="http://tails.animaltracks.net/protomuck/glow-utils.mufpkg" echo "Begin ProtoMUCK configuration - written by Alynna" echo "The default value will be specified by the value in [brackets]." echo " " gen_muck_config () { cat ...
Shell
#!/bin/sh if [ -r ../game/data/server.pem ]; then echo "Will not overwrite game/data/server.pem" echo "Remove that file and do 'makecert' again" echo "to create a new certificate." echo else openssl rand -rand /etc/hosts:/etc/passwd 0; \ echo "Creating secure certificate. Please answer all the questions."; echo...
Shell
#!/bin/sh if [ -r ../game/data/server.pem ]; then echo "Will not overwrite game/data/server.pem" echo "Remove that file and do 'makecert' again" echo "to create a new certificate." echo else openssl rand -rand /etc/hosts:/etc/passwd 0; \ echo "Creating secure certificate. Please answer all the questions."; echo...
Shell
#!/bin/sh # Generates version.c # # Copyright (c) 1990 Chelsea Dyerman # University of California, Berkeley (XCF) if[!-f version.c] then generation = 0 else generation = `sed - n 's/^const char \*generation = \"\(.*\)\";/\1/p' < version.c ` if[!"$generation"] ; then generation = 0; fi fi ...
Shell
#!/bin/sh # Generates version.c # # Copyright (c) 1990 Chelsea Dyerman # University of California, Berkeley (XCF) if [ ! -f version.c ] then generation=0 else generation=`sed -n 's/^const char \*generation = \"\(.*\)\";/\1/p' < version.c` if [ ! "$generation" ]; then generation=0; fi fi gener...
Shell
#!/bin/bash BASEDBURL="http://tails.animaltracks.net/protomuck/protodb_v1.tar.gz" GLOWUTILSURL="http://tails.animaltracks.net/protomuck/glow-utils.mufpkg" echo "Begin ProtoMUCK configuration - written by Alynna" echo "The default value will be specified by the value in [brackets]." echo " " gen_muck_config () { cat ...
Shell
#!/bin/sh # Generates version.c # # Copyright (c) 1990 Chelsea Dyerman # University of California, Berkeley (XCF) if[!-f version.c] then generation = 0 else generation = `sed - n 's/^const char \*generation = \"\(.*\)\";/\1/p' < version.c ` if[!"$generation"] ; then generation = 0; fi fi ...
Shell
#!/bin/sh -f # Enter up to 10 extra ports here. Refer to the documentation for MOREPORTS # in the restart script, or just use that instead. PORTS=""; # Start/stop the netmuck server. HOME=$HOME case "$1" in start) $HOME/proto/game/restart $PORTS ;; on) $HOME/proto/game/restart $PORTS ;; stop) kill `cat $HOME/proto/g...
Shell
#!/bin/sh -f # Enter up to 10 extra ports here. Refer to the documentation for MOREPORTS # in the restart script, or just use that instead. PORTS=""; # Start/stop the netmuck server. HOME=$HOME case "$1" in start) $HOME/proto/game/restart $PORTS ;; on) $HOME/proto/game/restart $PORTS ;; stop) kill `cat $HOME/proto/g...
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 # 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 to in...
Shell
#!/bin/sh export BOCHS_INSTALL_PATH=/home/zyf/root ./configure --enable-cpu-level=6 --prefix=${BOCHS_INSTALL_PATH} --enable-debugger --enable-disasm --enable-readline make make install install bochs ${BOCHS_INSTALL_PATH}/bin/bochsdbg ./configure --enable-cpu-level=6 --prefix=${BOCHS_INSTALL_PATH} --enable-gdb-stub make...
Shell
#!/bin/sh rm -f c.img # Harddisk geometry: 63 sectors; 16 heads; 8 cylinders, 512 bytes per sector. # bximage will create a file whose size is 63 * 16 * 8 * 512 bytes, NOT 4 * 1024 * 1024 bytes. /home/zyf/root/bin/bximage -hd -mode=flat -size=4 -q c.img # Two partitions are created, c is 7 cylinders; d is 1 cylinders. ...
Shell
#!/bin/sh export BOCHS_INSTALL_PATH=/home/zyf/root ./configure --enable-cpu-level=6 --prefix=${BOCHS_INSTALL_PATH} --enable-debugger --enable-disasm --enable-readline make make install install bochs ${BOCHS_INSTALL_PATH}/bin/bochsdbg ./configure --enable-cpu-level=6 --prefix=${BOCHS_INSTALL_PATH} --enable-gdb-stub make...
Shell
#!/bin/sh rm -f c.img # Harddisk geometry: 63 sectors; 16 heads; 8 cylinders, 512 bytes per sector. # bximage will create a file whose size is 63 * 16 * 8 * 512 bytes, NOT 4 * 1024 * 1024 bytes. /home/zyf/root/bin/bximage -hd -mode=flat -size=4 -q c.img # Two partitions are created, c is 7 cylinders; d is 1 cylinders. ...
Shell
#!/bin/sh export BOCHS_INSTALL_PATH=/home/zyf/root ./configure --enable-cpu-level=6 --prefix=${BOCHS_INSTALL_PATH} --enable-debugger --enable-disasm --enable-readline make install cp ${BOCHS_INSTALL_PATH}/bin/bochs ${BOCHS_INSTALL_PATH}/bin/bochsdbg ./configure --enable-cpu-level=6 --prefix=${BOCHS_INSTALL_PATH} --enab...
Shell
#!/bin/sh rm -f c.img /home/zyf/root/bin/bximage -hd -mode=flat -size=4 -q c.img mpartition -I c: mpartition -c -s 63 -t 7 -h 16 c: mpartition -c -s 63 -t 1 -h 16 -b 7056 d: dd if=trampoline.bin of=c.img conv=notrunc dd if=bootmain.bin of=c.img seek=1 bs=512 conv=notrunc dd if=zeroimage.bin of=c.img seek=9 bs=512 conv=...
Shell
#!/bin/sh export BOCHS_INSTALL_PATH=/home/zyf/root ./configure --enable-cpu-level=6 --prefix=${BOCHS_INSTALL_PATH} --enable-debugger --enable-disasm --enable-readline make install cp ${BOCHS_INSTALL_PATH}/bin/bochs ${BOCHS_INSTALL_PATH}/bin/bochsdbg ./configure --enable-cpu-level=6 --prefix=${BOCHS_INSTALL_PATH} --enab...
Shell
#!/bin/sh rm -f c.img /home/zyf/root/bin/bximage -hd -mode=flat -size=4 -q c.img mpartition -I c: mpartition -c -s 63 -t 7 -h 16 c: mpartition -c -s 63 -t 1 -h 16 -b 7056 d: dd if=trampoline.bin of=c.img conv=notrunc dd if=bootmain.bin of=c.img seek=1 bs=512 conv=notrunc dd if=zeroimage.bin of=c.img seek=9 bs=512 conv=...
Shell
#!/bin/sh export BOCHS_INSTALL_PATH=/home/zyf/root ./configure --enable-cpu-level=6 --prefix=${BOCHS_INSTALL_PATH} --enable-debugger --enable-disasm --enable-readline make make install install bochs ${BOCHS_INSTALL_PATH}/bin/bochsdbg ./configure --enable-cpu-level=6 --prefix=${BOCHS_INSTALL_PATH} --enable-gdb-stub make...
Shell
#!/bin/sh rm -f c.img # Harddisk geometry: 63 sectors; 16 heads; 8 cylinders, 512 bytes per sector. # bximage will create a file whose size is 63 * 16 * 8 * 512 bytes, NOT 4 * 1024 * 1024 bytes. /home/zyf/root/bin/bximage -hd -mode=flat -size=4 -q c.img # Two partitions are created, c is 7 cylinders; d is 1 cylinders. ...
Shell
#!/bin/sh export BOCHS_INSTALL_PATH=/home/zyf/root ./configure --enable-cpu-level=6 --prefix=${BOCHS_INSTALL_PATH} --enable-debugger --enable-disasm --enable-readline make make install install bochs ${BOCHS_INSTALL_PATH}/bin/bochsdbg ./configure --enable-cpu-level=6 --prefix=${BOCHS_INSTALL_PATH} --enable-gdb-stub make...
Shell
#!/bin/sh rm -f c.img # Harddisk geometry: 63 sectors; 16 heads; 8 cylinders, 512 bytes per sector. # bximage will create a file whose size is 63 * 16 * 8 * 512 bytes, NOT 4 * 1024 * 1024 bytes. /home/zyf/root/bin/bximage -hd -mode=flat -size=4 -q c.img # Two partitions are created, c is 7 cylinders; d is 1 cylinders. ...
Shell
#!/bin/sh export BOCHS_INSTALL_PATH=/home/zyf/root ./configure --enable-cpu-level=6 --prefix=${BOCHS_INSTALL_PATH} --enable-debugger --enable-disasm --enable-readline make make install install bochs ${BOCHS_INSTALL_PATH}/bin/bochsdbg ./configure --enable-cpu-level=6 --prefix=${BOCHS_INSTALL_PATH} --enable-gdb-stub make...
Shell
#!/bin/sh rm -f c.img # Harddisk geometry: 63 sectors; 16 heads; 8 cylinders, 512 bytes per sector. # bximage will create a file whose size is 63 * 16 * 8 * 512 bytes, NOT 4 * 1024 * 1024 bytes. /home/zyf/root/bin/bximage -hd -mode=flat -size=4 -q c.img # Two partitions are created, c is 7 cylinders; d is 1 cylinders. ...
Shell
#!/bin/sh export BOCHS_INSTALL_PATH=/home/zyf/root ./configure --enable-cpu-level=6 --prefix=${BOCHS_INSTALL_PATH} --enable-debugger --enable-disasm --enable-readline make make install install bochs ${BOCHS_INSTALL_PATH}/bin/bochsdbg ./configure --enable-cpu-level=6 --prefix=${BOCHS_INSTALL_PATH} --enable-gdb-stub make...
Shell
#!/bin/sh rm -f c.img # Harddisk geometry: 63 sectors; 16 heads; 8 cylinders, 512 bytes per sector. # bximage will create a file whose size is 63 * 16 * 8 * 512 bytes, NOT 4 * 1024 * 1024 bytes. /home/zyf/root/bin/bximage -hd -mode=flat -size=4 -q c.img # Two partitions are created, c is 7 cylinders; d is 1 cylinders. ...
Shell
#!/bin/bash # # Copyright 2010 Google Inc. All Rights Reserved. # Author: jcgregorio@google.com (Joe Gregorio) # # Creates the documentation set for the library by # running pydoc on all the files in apiclient. # # Notes: You may have to update the location of the # App Engine library for your local system. exp...
Shell
echo "The following files are missing or are not checked in:" hg st echo "Enter to continue" read -e YES echo "The following files are missing from the MANIFEST file:" cat MANIFEST | sort > sorted-manifest.txt hg st --clean| sed "s/^C //" | grep -v "^v3" > sorted-allfiles.txt diff sorted-allfiles.txt sorted-manifest.tx...
Shell
mysql -u root --execute="source mysql.sql";
Shell
#!/bin/sh ./flashpolicyd.py --file=./flashpolicy.xml --port=843
Shell
#!/bin/sh ./flashpolicyd.py --file=./flashpolicy.xml --port=843
Shell
gcc -shared -fpic -o libquadtree.so quadtree.c -I./ gcc -g -o testquadtree bench.c quadtree.c -I./
Shell
gcc -g -DHAS_THREADS testmpool.c ../memory/allocator.c ../locks/unix/thread_mutex.c -I../include/ -I../include/arch/unix -lpthread gcc -g -DHAS_THREADS testcond.c ../locks/unix/thread_cond.c ../locks/unix/thread_mutex.c -I../include/ -I../include/arch/unix -lpthread gcc -g -DHAS_THREADS testring.c ../locks/unix/threa...
Shell
export LD_LIBRARY_PATH=/usr/local/apr/lib/:$LD_LIBRARY_PATH ./testzcache
Shell
cd build cmake -DCMAKE_INSTALL_PREFIX=../usr .. make clean make make install
Shell
export LD_LIBRARY_PATH=/usr/local/apr/lib/:$LD_LIBRARY_PATH ./testzcache
Shell
cd build cmake -DCMAKE_INSTALL_PREFIX=../usr .. make clean make make install
Shell
export LD_LIBRARY_PATH=/usr/local/zevent/lib:/usr/local/apr/lib/:/usr/local/BerkeleyDB.4.7/lib:$LD_LIBRARY_PATH ./rtserver
Shell
cd build cmake -DCMAKE_INSTALL_PREFIX=../usr .. make clean make make install
Shell
#!/bin/sh make gcc -DSTATISTICS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -o ./bin/testserver server.c ./common/mdb/mpool.c -I ./src/ -I./common/mdb/ -lznet -L /home/zhoubug/dev/svn_work/zevent/znet/bin/ -l pthread -lrt gcc -DSTATISTICS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -o ./bin/testclient client....
Shell
#!/bin/sh make gcc -DSTATISTICS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -o ./bin/testserver server.c ./common/mdb/mpool.c -I ./src/ -I./common/mdb/ -lznet -L /home/zhoubug/dev/svn_work/zevent/znet/bin/ -l pthread -lrt gcc -DSTATISTICS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -o ./bin/testclient client....
Shell
gcc -g -DHAS_THREADS testmpool.c ../memory/allocator.c ../locks/unix/thread_mutex.c -I../include/ -I../include/arch/unix -lpthread gcc -g -DHAS_THREADS testcond.c ../locks/unix/thread_cond.c ../locks/unix/thread_mutex.c -I../include/ -I../include/arch/unix -lpthread gcc -g -DHAS_THREADS testring.c ../locks/unix/threa...
Shell
export LD_LIBRARY_PATH=./:/usr/local/zevent/lib:/usr/local/apr/lib:$LD_LIBRARY_PATH ./echosvc
Shell
cd build cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=../usr .. make clean make make install
Shell
#!/bin/sh make gcc -DSTATISTICS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -o ./bin/testserver server.c ./common/mdb/mpool.c -I ./src/ -I./common/mdb/ -lznet -L /home/zhoubug/dev/svn_work/zevent/znet/bin/ -l pthread -lrt gcc -DSTATISTICS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -o ./bin/testclient client....
Shell
#!/bin/sh make gcc -DSTATISTICS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -o ./bin/testserver server.c ./common/mdb/mpool.c -I ./src/ -I./common/mdb/ -lznet -L /home/zhoubug/dev/svn_work/zevent/znet/bin/ -l pthread -lrt gcc -DSTATISTICS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -o ./bin/testclient client....
Shell
gcc -g -o testsearch test.c -I/usr/local/include/hiredis -lhiredis
Shell
gcc -g -DHAS_THREADS testmpool.c ../memory/allocator.c ../locks/unix/thread_mutex.c -I../include/ -I../include/arch/unix -lpthread gcc -g -DHAS_THREADS testcond.c ../locks/unix/thread_cond.c ../locks/unix/thread_mutex.c -I../include/ -I../include/arch/unix -lpthread gcc -g -DHAS_THREADS testring.c ../locks/unix/threa...
Shell
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
Shell
#!/bin/sh jarsigner -verbose -digestalg SHA1 -sigalg MD5withRSA -keystore ~/Documents/keys/liberty-android-release.keystore bin/AnyMemo-release-unsigned.apk liberty-android-key zipalign -v 4 bin/AnyMemo-release-unsigned.apk bin/AnyMemo-release.apk
Shell
#!/bin/bash cd .. if [ -d "AnyMemoPro" ] then rm -rf AnyMemoPro fi cp AnyMemo AnyMemoPro -r cd AnyMemoPro mv src/org/liberty/android/fantastischmemo src/org/liberty/android/fantastischmemopro find ./ -type f -name "*.java" | xargs sed -i 's/org\.liberty\.android\.fantastischmemo/org\.liberty\.android\.fantastischmem...
Shell
#!/bin/sh trap exit ERR adb shell am instrument -w -e class "org.liberty.android.fantastischmemo.test.$1" org.liberty.android.fantastischmemo.test/android.test.InstrumentationTestRunner
Shell
#!/bin/sh trap exit ERR ant clean ant debug install
Shell
#!/bin/bash adb shell am start -e debug true -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -n org.liberty.android.fantastischmemo/org.liberty.android.fantastischmemo.AnyMemo debug_port=$(adb jdwp | tail -1); cmd="adb forward tcp:8700 jdwp:$debug_port" echo $cmd exec $cmd echo 'DONE!'
Shell
#!/bin/bash cd .. if [ -d "AnyMemoLite" ] then rm -rf AnyMemoLite fi cp AnyMemo AnyMemoLite -r cd AnyMemoLite mv src/org/liberty/android/fantastischmemo src/org/liberty/android/fantastischmemolite rm -rf bin rm -rf gen find ./ -type f -name "*.java" | xargs sed -i 's/org\.liberty\.android\.fantastischmemo/org\.lib...
Shell
#!/bin/bash if [ -d "res/values-zh-rTW" ] then rm -rf res/values-zh-rTW fi mkdir res/values-zh-rTW iconv -f utf8 -t gb2312 res/values-zh-rCN/strings.xml | iconv -f gb2312 -t big5 | iconv -f big5 -t utf8 > res/values-zh-rTW/strings.xml
Shell
#!/bin/sh adb shell setprop debug.assert 1 adb shell setprop log.tag.StatementExecutor VERBOSE adb shell setprop log.tag.BaseMappedStatement VERBOSE adb shell setprop log.tag.MappedCreate VERBOSE
Shell
#!/bin/bash find ./ -type f -name "*.java" | xargs sed -i 's/org\.apache\.commons/org\.apache\.mycommons/g'
Shell
#!/bin/sh trap exit ERR ant debug install adb shell am start -n org.liberty.android.fantastischmemo/org.liberty.android.fantastischmemo.ui.AnyMemo
Shell
#!/bin/bash # set -ue ( cd $(dirname $0)/../ for i in repos/appengine-*-python do ( echo echo $i cd $i git pull ) done )
Shell
#!/bin/bash BASE_DIR=`dirname $0` echo "" echo "Starting Karma Server (http://karma-runner.github.io/)" echo "------------------------------------------------------" karma start $BASE_DIR/../config/karma-e2e.conf.js $*
Shell