code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#! /bin/bash
GSED=`which gsed`
if [ "${GSED}" = "" ]
then
GSED=`which sed`
fi
if [ ! -f encfs-1.7.4.tgz ]
then
wget http://encfs.googlecode.com/files/encfs-1.7.4.tgz
fi
rm -rf encfs-1.7.4
tar -xzf encfs-1.7.4.tgz
cd encfs-1.7.4
patch -p1 < ../encfs-android.patch
find ./ \( -name "*.c" -o -name "*.h" -o -name ... | Shell |
#!/bin/sh
autoreconf -i
| Shell |
#! /bin/bash
TOOLCHAIN=${HOME}/android-toolchain
MYSTRIP=${TOOLCHAIN}/bin/arm-linux-androideabi-strip
autoreconf -i
rm -rf armeabi
./config-arm-encfs.sh
make clean
make -j4
make install
${MYSTRIP} --strip-unneeded armeabi/bin/encfs
rm -rf armeabi-v7a
./config-arm-encfs.sh 1
make clean
make -j4
make install
${MYSTRI... | Shell |
#! /bin/bash
# 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 2
# of the License, or (at your option) any later version.
# This program is distributed in the hope that it will be... | Shell |
#!/bin/sh
rm m4/[c-z]*.m4
echo Creating autoconf scripts...
sh ./reconfig.sh
echo Configuring...
./configure
sh ./makedist2.sh
| Shell |
#!/bin/sh
# This script mounts an encfs filesystem, starts a shell in the mounted
# directory, and then unmounts the filesystem when the shell exits.
# This is an equivalent of the cfssh utility for cfs.
# Contributed by David Rosenstrauch.
canonicalize() {
cd "$1"
pwd
}
if [ -z "$1" -o "$1" = "-h" ]; then
echo... | Shell |
#!/bin/sh
# create distribution file
make dist
# create tar archive and signature
tarArchive=@PACKAGE@-@VERSION@.tgz
mv @PACKAGE@-@VERSION@.tar.gz $tarArchive
# let the user know why they're being asked for a passpharse
echo "Signing tar archive - enter GPG password";
gpg --detach-sign -a $tarArchive
# create rpms
#... | Shell |
#! /bin/bash
diff -x '*.in' -x '*.o' -x '*.lo' -x '*.1' -x 'bld*' -x '*~' -ur ${HOME}/wxWidgets-2.8.12 ./wxWidgets-2.8.12 > wx-android.patch
| Shell |
#! /bin/bash
# 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 2
# of the License, or (at your option) any later version.
# This program is distributed in the hope that it will be... | Shell |
#! /bin/bash
WXVER=2.8.12
BUILDDIR=wxWidgets-${WXVER}/bld
rm -rf ${BUILDDIR}
mkdir -p ${BUILDDIR}
cd ${BUILDDIR}
../../config-arm-wx.sh
make -j4
make install
| Shell |
#! /bin/bash
if [ ! -f wxWidgets-2.8.12.tar.bz2 ]
then
wget http://downloads.sourceforge.net/project/wxwindows/2.8.12/wxWidgets-2.8.12.tar.bz2
fi
if [ ! -d wxWidgets-2.8.12 ]
then
tar -xjf wxWidgets-2.8.12.tar.bz2
cd wxWidgets-2.8.12
patch -p1 < ../wx-android.patch
cd ..
fi
| Shell |
#! /bin/bash
APPKEY1=`cat ./cryptonite/AndroidManifest.xml.key`
APPKEY2=`cat ./cryptonite/AndroidManifest.xml.key2`
sed -i 's/'$APPKEY1'/db1-/' ./cryptonite/AndroidManifest.xml
sed -i 's/'$APPKEY2'/db2-/' ./cryptonite/AndroidManifest.xml
| Shell |
#! /bin/bash
rm -rf libs/armeabi/* obj/local/armeabi/*
rm -rf libs/armeabi-v7a/* obj/local/armeabi-v7a/*
~/android-ndk-r8d/ndk-build V=1 APP_STL=gnustl_static APP_ABI="armeabi armeabi-v7a" -j2
| Shell |
#! /bin/bash
rm -rf libs/armeabi/* obj/local/armeabi/*
rm -rf libs/armeabi-v7a/* obj/local/armeabi-v7a/*
~/android-ndk-r8d/ndk-build V=1 APP_STL=gnustl_static APP_ABI="armeabi armeabi-v7a" -j2
| Shell |
#! /bin/bash
APPKEY1=`cat ./cryptonite/AndroidManifest.xml.key`
APPKEY2=`cat ./cryptonite/AndroidManifest.xml.key2`
sed -i 's/db1-/'$APPKEY1'/' ./cryptonite/AndroidManifest.xml
sed -i 's/db2-/'$APPKEY2'/' ./cryptonite/AndroidManifest.xml
| Shell |
#! /bin/bash
diff -x '*.in' -x '*.o' -x '*.lo' -x '*.a' -x '*.xml.h' -x '*.1' -x 'bld*' -x '*~' -x '*.d' -ur ${HOME}/truecrypt-7.1a-source ./truecrypt-7.1a-source > tc-android.patch
| Shell |
if [ ! -d truecrypt-7.1a-source ]
then
tar -xzf TrueCrypt\ 7.1a\ Source.tar.gz
cd truecrypt-7.1a-source
patch -p1 < ../tc-android.patch
mkdir -p Pkcs11
cd Pkcs11
wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs11.h
wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs11f.h
... | Shell |
cd truecrypt-7.1a-source
make -f ../Makefile.android NOGUI=1 VERBOSE=1 NOTEST=1 WXSTATIC=1
| Shell |
#!/bin/bash
# ##################################################################
# run this script in its own directory to cp all the python codes
# and data files into $HOME/opt/script
# ##################################################################
#Note: the files in the parameters directo... | Shell |
#!/bin/bash
lammps_dir="$HOME/lammps-18Feb11/src"
project_dir="$HOME/Project_Files_2009.05.18/Lammps_Files/release"
simulation_dir=`pwd`
pr_file1="fix_backbone.cpp"
pr_file2="fix_backbone.h"
pr_file3="fix_go-model.cpp"
pr_file4="fix_go-model.h"
pr_file5="pair_excluded_volume.cpp"
pr_file6="pair_excluded_volume.h"
#pr... | Shell |
#!/bin/bash
export s=$HOME/opt/script
if [[ ! $# -eq 2 ]]
then
echo
echo "> $0 pdb_id project_name"
echo
exit
fi
pdb_file=$1
output_file=$2
echo $pdb_file
echo $output_file
python $s/PDBToSequanceFile.py $pdb_file $output_file".se"
python $s/SequanceToZ-Matrix.py $output_file".se" $output_file".zm" -d
python $... | Shell |
#!/bin/bash
# ##################################################################
# run this script in its own directory to cp all the python codes
# and data files into $HOME/opt/script
# ##################################################################
#Note: the files in the parameters directo... | Shell |
#!/bin/bash
export s=$HOME/opt/script
if [[ ! $# -eq 2 ]]
then
echo
echo "> $0 pdb_id project_name"
echo
exit
fi
pdb_file=$1
output_file=$2
echo $pdb_file
echo $output_file
python $s/PDBToSequanceFile.py $pdb_file $output_file".se"
python $s/SequanceToZ-Matrix.py ... | Shell |
#!/bin/bash
export s=$HOME/opt/script
if [[ ! $# -eq 2 ]]
then
echo
echo "> $0 pdb_id project_name"
echo
exit
fi
pdb_file=$1
output_file=$2
echo $pdb_file
echo $output_file
python $s/PDBToCoordinates.py $pdb_file $output_file".coord"
python $s/CoordinatesToWorkLammpsDataFile.py $out... | Shell |
#!/bin/bash
lammps_dir="$HOME/lammps-18Feb11/src"
project_dir="$HOME/Project_Files_2009.05.18/Lammps_Files/release"
simulation_dir=`pwd`
pr_file1="fix_backbone.cpp"
pr_file2="fix_backbone.h"
pr_file3="fix_go-model.cpp"
pr_file4="fix_go-model.h"
pr_file5="pair_excluded_volume.cpp"
pr_file6="pair_excluded_volume.h"
#pr... | Shell |
#!/bin/bash
export s=$HOME/opt/script
if [[ ! $# -eq 2 ]]
then
echo
echo "> $0 pdb_id project_name"
echo
exit
fi
pdb_file=$1
output_file=$2
echo $pdb_file
echo $output_file
python $s/PDBToSequanceFile.py $pdb_file $output_file".se"
python $s/SequanceToZ-Matrix.py $output_file".se" $output_file".zm" -d
python $... | Shell |
#!/bin/bash
export s=$HOME/opt/script
if [[ ! $# -eq 2 ]]
then
echo
echo "> $0 pdb_id project_name"
echo
exit
fi
pdb_file=$1
output_file=$2
echo $pdb_file
echo $output_file
python $s/PDBToCoordinates.py $pdb_file $output_file".coord"
python $s/CoordinatesToWorkLammpsDataFile.py $out... | Shell |
#!/bin/bash
export s=$HOME/opt/script
if [[ ! $# -eq 2 ]]
then
echo
echo "> $0 pdb_id project_name"
echo
exit
fi
pdb_file=$1
output_file=$2
echo $pdb_file
echo $output_file
python $s/PDBToCoordinates.py $pdb_file $output_file".coord"
python $s/CoordinatesToWorkLammpsDataFile.py $out... | Shell |
#!/bin/bash
export s=$HOME/opt/script
if [[ ! $# -eq 2 ]]
then
echo
echo "> $0 pdb_id project_name"
echo
exit
fi
pdb_file=$1
output_file=$2
echo $pdb_file
echo $output_file
python $s/PDBToSequanceFile.py $pdb_file $output_file".se"
python $s/SequanceToZ-Matrix.py ... | Shell |
#!/bin/bash
export s=$HOME/opt/script
if [[ ! $# -eq 2 ]]
then
echo
echo "> $0 pdb_id project_name"
echo
exit
fi
pdb_file=$1
output_file=$2
echo $pdb_file
echo $output_file
python $s/PDBToCoordinates.py $pdb_file $output_file".coord"
python $s/CoordinatesToWorkLammpsDataFile.py $out... | Shell |
ftp ftp://ftp.wwpdb.org/pub/pdb/derived_data/pdb_seqres.txt | Shell |
#!/bin/bash
lammps_dir="/home/aram/lammps-18Feb11/src"
project_dir="/home/aram/Project_Files_2009.05.18/amnesiacmd"
simulation_dir=`pwd`
pr_file1="fix_backbone.cpp"
pr_file2="fix_backbone.h"
pr_file3="fix_go-model.cpp"
pr_file4="fix_go-model.h"
pr_file5="pair_excluded_volume.cpp"
pr_file6="pair_excluded_volume.h"
#pr... | Shell |
mpirun -np 4 ./lmp_linux < h4_traj9.in
#bsub -n 4 -o h4.out -e err mpirun /ifs1/home/adavtyan/h4/lmp_linux -in h4_traj9.in -log input.log &
| Shell |
#!/bin/bash
lammps_dir="/home/aram/lammps-18Feb11/src"
project_dir="/home/aram/Project_Files_2009.05.18/amnesiacmd"
simulation_dir=`pwd`
pr_file1="fix_backbone.cpp"
pr_file2="fix_backbone.h"
pr_file3="fix_go-model.cpp"
pr_file4="fix_go-model.h"
pr_file5="pair_excluded_volume.cpp"
pr_file6="pair_excluded_volume.h"
#pr... | Shell |
./lmp_serial < 1r69.annealing.in
python CalcQValue.py 1R69 dump.lammpstrj qvalues.dat
| Shell |
./lmp_serial < 1r69.in
python CalcQValue.py 1R69 dump.lammpstrj qvalues.dat
| Shell |
#!/bin/sh
python setup.py --command-packages=stdeb.command sdist_dsc --workaround-548392=False bdist_deb
| Shell |
#!/bin/sh
PYTHONPATH=../lib python "$@" | Shell |
#!/bin/sh
xgettext -o lang/template.po glade/*.glade lib/pychess/Main.py lib/pychess/*/*.py lib/pychess/*/*/*.py sidepanel/*.py sidepanel/*.glade
| Shell |
#!/bin/bash
#modify the path to correct one
jrPATH="~/jrmiddleware"
PlayerJAUS_DemoPATH="~/amrl-ros-pkg/PlayerJAUS_Demo"
if [[ "$(uname)" = "Darwin" ]]; then
say "Start JAUS Demo, Running Stage"
#generate a script for stage and run it
echo "#!/bin/bash" > ~/temp1.sh
echo cd $PlayerJAUS_DemoPATH ... | Shell |
#!/bin/sh
phpunit --bootstrap Bootstrap.php AllTests.php | Shell |
#!/bin/sh
phpunit --bootstrap Bootstrap.php AllTests.php | 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
php ./merge.php | Shell |
#!/bin/sh
php ./merge.php | Shell |
svn add `svn stat orkservice | grep ? | cut -d' ' -f7`
svn add `svn stat orkui | grep ? | cut -d' ' -f7`
svn add `svn stat system | grep ? | cut -d' ' -f7`
| Shell |
#!/bin/bash
#
# Copyright (c) 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 t... | Shell |
#!/bin/sh
export CLASSPATH=.:dist\*
-Djavax.net.ssl.keyStore=filename.keystore \
-Djavax.net.ssl.keyStorePassword=passwd \
-Djavax.net.ssl.trustStore=filename.keystore \
-Djavax.net.ssl.trustStorePassword=passwd \
java -Xmx10m \
net.server.CreateINI
| Shell |
#!/bin/sh
export CLASSPATH=.:dist\*
-Djavax.net.ssl.keyStore=filename.keystore \
-Djavax.net.ssl.keyStorePassword=passwd \
-Djavax.net.ssl.trustStore=filename.keystore \
-Djavax.net.ssl.trustStorePassword=passwd \
java -Xmx10m \
net.server.CreateINI
| Shell |
#! /bin/bash
cd boost_1_46_1
cp -v ../user-config.jam ./tools/build/v2/
bjam -j12 --without-python --disable-filesystem3 toolset=gcc-android4.6 link=static runtime-link=static target-os=linux --stagedir=android --user-config=./tools/build/v2/user-config.jam
cd ..
| Shell |
#! /bin/bash
if [ ! -f ./boost_1_46_1.tar.bz2 ]
then
wget http://downloads.sourceforge.net/project/boost/boost/1.46.1/boost_1_46_1.tar.bz2
fi
if [ ! -d ./boost_1_46_1 ]
then
tar -xvjf boost_1_46_1.tar.bz2
cd boost_1_46_1
patch -p1 < ../boost-libs-android.patch
cp -v ../user-config.jam ./tools/build... | Shell |
#! /bin/bash
adb uninstall csh.cryptonite
adb install bin/cryptonite-debug.apk
| Shell |
#! /bin/bash
./googlecode_upload.py --summary="Cryptonite Android Package" --project=cryptonite --user=christoph.schmidthieber --labels=Featured,Type-Package ${1}
| Shell |
#! /bin/bash
# Haven't managed to have Android.mk put my static libraries in front of
# libgcc.a and libgnustl_static.a so that I had to resort to this manual
# build script.
rm -rf obj
./cplibs-static.py
ARCH=armeabi
NDK=${HOME}/android-ndk-r7
HOSTOS=`uname -s`
case ${HOSTOS} in
'Darwin')
HOSTOS="darwin"
;;
*)
... | Shell |
g++ android_key.cpp -DSTANDALONE -lcrypto -o encrypt
| Shell |
#! /bin/bash
ant clean
ant debug
adb uninstall csh.cryptonite.test
adb install bin/cryptonitetest-debug.apk
adb shell am instrument -w csh.cryptonite.test/android.test.InstrumentationTestRunner
| Shell |
#! /bin/bash
ant clean debug
ant uninstall
ant installt
ant test
| Shell |
#! /bin/bash
if test -n $1; then
if [ "$1" = "1" ]; then
./jni-build.sh
fi
fi
# rm -rf bin/*
ant clean
ant debug
adb uninstall csh.cryptonite
adb install bin/cryptonite-debug.apk
# adb -d shell "am start -a android.intent.action.MAIN -n csh.cryptonite/.Cryptonite"
| Shell |
#! /bin/bash
~/android-ndk-r8c/ndk-build V=1 APP_STL=gnustl_static APP_ABI="armeabi armeabi-v7a" clean
rm -rf libs/armeabi/* obj/local/armeabi/*
rm -rf libs/armeabi-v7a/* obj/local/armeabi-v7a/*
./cplibs-static.py
~/android-ndk-r8c/ndk-build V=1 APP_STL=gnustl_static APP_ABI="armeabi armeabi-v7a" -j2
| Shell |
# Don't attempt a parallel build! (-jN)
OPENSSL_VERSION="1.0.0j"
cp -v Makefile.android openssl-${OPENSSL_VERSION}
cp -v Makefile.android.armv7 openssl-${OPENSSL_VERSION}
cd openssl-${OPENSSL_VERSION}
rm -rf libcrypto.a libssl.a armeabi
make -f Makefile.android clean
make -f Makefile.android
mkdir -p armeabi
mv lib... | Shell |
#! /bin/bash
wget http://www.openssl.org/source/openssl-1.0.0j.tar.gz
tar -xzf openssl-1.0.0j.tar.gz | Shell |
#! /bin/bash
# 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 2
# of the License, or (at your option) any later version.
# This program is distributed in the hope that it will be... | Shell |
#! /bin/bash
cd protobuf-2.4.1
cp ../config-arm-protobuf.sh ./
./config-arm-protobuf.sh
make clean
make -j4
make install
./config-arm-protobuf.sh 1
make clean
make -j4
make install
cd ..
| Shell |
#! /bin/bash
wget --no-check-certificate https://protobuf.googlecode.com/files/protobuf-2.4.1.tar.bz2
tar -xjf protobuf-2.4.1.tar.bz2
| Shell |
#! /bin/bash
# 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 2
# of the License, or (at your option) any later version.
# This program is distributed in the hope that it will be... | Shell |
#! /bin/bash
cd rlog-1.4
cp ../config-arm-rlog.sh ./
./config-arm-rlog.sh
make clean
make -j4
make install
./config-arm-rlog.sh 1
make clean
make -j4
make install
cd ..
| Shell |
#! /bin/bash
wget http://rlog.googlecode.com/files/rlog-1.4.tar.gz
tar -xzf rlog-1.4.tar.gz
| Shell |
#! /bin/bash
git clone https://github.com/seth-hg/fuse-android.git
find ./fuse-android \( -name "*.c" -o -name "*.h" \) -exec sed -i 's/off_t/loff_t/g' {} \;
patch -p1 < ./fuse-android.patch
| Shell |
#! /bin/bash
TOOLCHAIN="${HOME}/android-toolchain"
AR="${TOOLCHAIN}/bin/arm-linux-androideabi-ar crs"
RANLIB="${TOOLCHAIN}/bin/arm-linux-androideabi-ranlib"
STRIP="${TOOLCHAIN}/bin/arm-linux-androideabi-strip"
cd tinyxml
MARCH=armeabi
make -f ../Makefile.android ARCH=${MARCH}
rm -rf ${MARCH}
mkdir -p ${MARCH}
mv *.o ... | Shell |
#! /bin/bash
wget http://downloads.sourceforge.net/project/tinyxml/tinyxml/2.6.2/tinyxml_2_6_2.tar.gz
tar -xzf tinyxml_2_6_2.tar.gz
| Shell |
#! /bin/bash
diff -x '*.in' -x '*.o' -x '*.lo' -x '*.1' -ur ${HOME}/encfs-1.7.4/encfs ./encfs-1.7.4/encfs > encfs-android.patch
| Shell |
#! /bin/bash
# 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 2
# of the License, or (at your option) any later version.
# This program is distributed in the hope that it will be... | Shell |
#! /bin/bash
TOOLCHAIN=${HOME}/android-toolchain
MYSTRIP=${TOOLCHAIN}/bin/arm-linux-androideabi-strip
cd encfs-1.7.4
cp ../config-arm-encfs.sh ./
rm -rf armeabi
./config-arm-encfs.sh
make clean
make -j4
make install
${MYSTRIP} --strip-unneeded armeabi/bin/encfs
rm -rf armeabi-v7a
./config-arm-encfs.sh 1
make clean
... | Shell |
#! /bin/bash
if [ ! -f encfs-1.7.4.tgz ]
then
wget http://encfs.googlecode.com/files/encfs-1.7.4.tgz
fi
if [ ! -d encfs-1.7.4 ]
then
tar -xzf encfs-1.7.4.tgz
cd encfs-1.7.4
patch -p1 < ../encfs-android.patch
find ./ \( -name "*.c" -o -name "*.h" -o -name "*.cpp" \) -exec sed -i 's/off_t/loff_t/g' {}... | Shell |
#!/bin/sh
autoreconf -i
| Shell |
#! /bin/bash
TOOLCHAIN=${HOME}/android-toolchain
MYSTRIP=${TOOLCHAIN}/bin/arm-linux-androideabi-strip
autoreconf -i
rm -rf armeabi
./config-arm-encfs.sh
make clean
make -j4
make install
${MYSTRIP} --strip-unneeded armeabi/bin/encfs
rm -rf armeabi-v7a
./config-arm-encfs.sh 1
make clean
make -j4
make install
${MYSTRI... | Shell |
#! /bin/bash
# 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 2
# of the License, or (at your option) any later version.
# This program is distributed in the hope that it will be... | Shell |
#!/bin/sh
rm m4/[c-z]*.m4
echo Creating autoconf scripts...
sh ./reconfig.sh
echo Configuring...
./configure
sh ./makedist2.sh
| Shell |
#!/bin/sh
# This script mounts an encfs filesystem, starts a shell in the mounted
# directory, and then unmounts the filesystem when the shell exits.
# This is an equivalent of the cfssh utility for cfs.
# Contributed by David Rosenstrauch.
canonicalize() {
cd "$1"
pwd
}
if [ -z "$1" -o "$1" = "-h" ]; then
echo... | Shell |
#!/bin/sh
# create distribution file
make dist
# create tar archive and signature
tarArchive=@PACKAGE@-@VERSION@.tgz
mv @PACKAGE@-@VERSION@.tar.gz $tarArchive
# let the user know why they're being asked for a passpharse
echo "Signing tar archive - enter GPG password";
gpg --detach-sign -a $tarArchive
# create rpms
#... | Shell |
#! /bin/bash
diff -x '*.in' -x '*.o' -x '*.lo' -x '*.1' -x 'bld*' -x '*~' -ur ${HOME}/wxWidgets-2.8.12 ./wxWidgets-2.8.12 > wx-android.patch
| Shell |
#! /bin/bash
# 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 2
# of the License, or (at your option) any later version.
# This program is distributed in the hope that it will be... | Shell |
#! /bin/bash
WXVER=2.8.12
BUILDDIR=wxWidgets-${WXVER}/bld
rm -rf ${BUILDDIR}
mkdir -p ${BUILDDIR}
cd ${BUILDDIR}
../../config-arm-wx.sh
make -j4
make install
| Shell |
#! /bin/bash
if [ ! -f wxWidgets-2.8.12.tar.bz2 ]
then
wget http://downloads.sourceforge.net/project/wxwindows/2.8.12/wxWidgets-2.8.12.tar.bz2
fi
if [ ! -d wxWidgets-2.8.12 ]
then
tar -xjf wxWidgets-2.8.12.tar.bz2
cd wxWidgets-2.8.12
patch -p1 < ../wx-android.patch
cd ..
fi
| Shell |
#! /bin/bash
APPKEY1=`cat ./cryptonite/AndroidManifest.xml.key`
APPKEY2=`cat ./cryptonite/AndroidManifest.xml.key2`
sed -i 's/'$APPKEY1'/db1-/' ./cryptonite/AndroidManifest.xml
sed -i 's/'$APPKEY2'/db2-/' ./cryptonite/AndroidManifest.xml
| Shell |
#! /bin/bash
rm -rf libs/armeabi/* obj/local/armeabi/*
rm -rf libs/armeabi-v7a/* obj/local/armeabi-v7a/*
~/android-ndk-r8c/ndk-build V=1 APP_STL=gnustl_static APP_ABI="armeabi armeabi-v7a" -j2
| Shell |
#! /bin/bash
rm -rf libs/armeabi/* obj/local/armeabi/*
rm -rf libs/armeabi-v7a/* obj/local/armeabi-v7a/*
~/android-ndk-r8c/ndk-build V=1 APP_STL=gnustl_static APP_ABI="armeabi armeabi-v7a" -j2
| Shell |
#! /bin/bash
APPKEY1=`cat ./cryptonite/AndroidManifest.xml.key`
APPKEY2=`cat ./cryptonite/AndroidManifest.xml.key2`
sed -i 's/db1-/'$APPKEY1'/' ./cryptonite/AndroidManifest.xml
sed -i 's/db2-/'$APPKEY2'/' ./cryptonite/AndroidManifest.xml
| Shell |
#! /bin/bash
diff -x '*.in' -x '*.o' -x '*.lo' -x '*.a' -x '*.xml.h' -x '*.1' -x 'bld*' -x '*~' -x '*.d' -ur ${HOME}/truecrypt-7.1a-source ./truecrypt-7.1a-source > tc-android.patch
| Shell |
if [ ! -d truecrypt-7.1a-source ]
then
tar -xzf TrueCrypt\ 7.1a\ Source.tar.gz
cd truecrypt-7.1a-source
patch -p1 < ../tc-android.patch
mkdir -p Pkcs11
cd Pkcs11
wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs11.h
wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs11f.h
... | Shell |
cd truecrypt-7.1a-source
make -f ../Makefile.android NOGUI=1 VERBOSE=1 NOTEST=1 WXSTATIC=1
| Shell |
#!/bin/sh
rm ./thumbs/*.png
for i in *.png
do
echo "processing $i"
convert -thumbnail 200 $i ./thumbs/$i
done
| Shell |
find . \( -iname *.h -o -iname *.cc \) | grep -v tiny | xargs wc -l
| Shell |
#!/bin/bash
# $Id:$
TOOLS=`dirname $0`
BASE=$TOOLS/..
PYGLETBASE=~/src/pyglet-svn/
EPYDOC=$PYGLETBASE/tools/epydoc
PYTHONPATH=$EPYDOC:$BASE:$PYTHONPATH
export PYTHONPATH
DOC=$BASE/doc
DOC_HTML=$DOC/html
DOC_HTML_API=$DOC_HTML/api
DOC_HTML_GUIDE=$DOC_HTML/programming_guide
DOC_HTML_FAQ=$DOC_HTML/faq
DOC_HTML_TUTORIAL=... | Shell |
#!/bin/bash
# $Id:$
TOOLS=`dirname $0`
BASE=$TOOLS/..
PYGLETBASE=~/src/pyglet-svn/
EPYDOC=$PYGLETBASE/tools/epydoc
PYTHONPATH=$EPYDOC:$BASE:$PYTHONPATH
export PYTHONPATH
DOC=$BASE/doc
DOC_HTML=$DOC/html
DOC_HTML_API=$DOC_HTML/api
DOC_HTML_GUIDE=$DOC_HTML/programming_guide
DOC_HTML_FAQ=$DOC_HTML/faq
DOC_HTML_TUTORIAL=... | Shell |
#!/bin/bash
# $Id:$
TOOLS=`dirname $0`
BASE=$TOOLS/..
PYGLETBASE=~/src/pyglet-svn/
EPYDOC=$PYGLETBASE/tools/epydoc
PYTHONPATH=$EPYDOC:$BASE:$PYTHONPATH
export PYTHONPATH
DOC=$BASE/doc
DOC_HTML=$DOC/html
DOC_HTML_API=$DOC_HTML/api
DOC_HTML_GUIDE=$DOC_HTML/programming_guide
DOC_HTML_FAQ=$DOC_HTML/faq
DOC_HTML_TUTORIAL=... | Shell |
#!/bin/bash
# $Id:$
TOOLS=`dirname $0`
BASE=$TOOLS/..
PYGLETBASE=~/src/pyglet-svn/
EPYDOC=$PYGLETBASE/tools/epydoc
PYTHONPATH=$EPYDOC:$BASE:$PYTHONPATH
export PYTHONPATH
DOC=$BASE/doc
DOC_HTML=$DOC/html
DOC_HTML_API=$DOC_HTML/api
DOC_HTML_GUIDE=$DOC_HTML/programming_guide
DOC_HTML_FAQ=$DOC_HTML/faq
DOC_HTML_TUTORIAL=... | Shell |
#!/bin/sh
export PYTHONPATH=${PYTHONPATH}:./src/
python src/amt/cg/main.py
| Shell |
#!/bin/sh
export PYTHONPATH=${PYTHONPATH}:./src/
python src/amt/cg/main.py
| Shell |
################################################################################
# NOTE: Most options are in the .zshrc since they only apply to interactive
# shells. This is just for the enviornment variables that should be used for
# both interactive and non-interactive shells.
#
# This file was created by Sam King... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.