code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/bash
echo "==============================================="
echo "Set Active Partition ONLY if Windows is not installed"
echo "*****************************************************"
# Sets partition active if Windows is not installed.
# Receives diskSigCheck: code is 1 for a Windows install, 0 for no Windows ... | Shell |
#!/bin/bash
echo "==============================================="
echo "Check the Partition Scheme: GPT, GPT/MBR or MBR?"
echo "************************************************"
# Looks for the first 8 bytes of the GPTdiskGPTHeader to identify a GUID partition table.
# Byte number 450 of the GPTdiskProtectiveMBR to ... | Shell |
#!/bin/bash
echo "==============================================="
echo "Write Chameleon Stage 1 Loader:"
echo "*******************************"
# Writes Chameleon stage 1 loader.
# Receives targetFormat: either hfs or msdos
# Receives stage1LoaderHFS: Name of file - boot1h
# Receives stage1LoaderFAT: Name of file -... | Shell |
#!/bin/bash
echo "==============================================="
echo "Check Previous Chameleon: Will there be problems?"
echo "***********************************************"
# Checks for another existing Chameleon installation on the same disk
# and tries to make sure the user doesn't end up with an un-bootable
... | Shell |
#!/bin/bash
echo "==============================================="
echo "Check Proceed: Can the installation continue?"
echo "***********************************************"
# Checks the selected volume is present and the disk is partitioned
# Now also check for another existing Chameleon installation on the same di... | Shell |
#!/bin/bash
echo "==============================================="
echo "CheckGRUBLinuxLoader: Does GRUB or LILO exist?"
echo "**********************************************"
# This reads the MBR of the disk in the attempt to find the
# signature for either the GRUB or Linux bootloaders.
# The script returns 1 if eit... | Shell |
#!/bin/bash
echo "==============================================="
echo "CheckDiskMicrocode: Any existing bootloaders?"
echo "*********************************************"
# Reads the GPTdiskProtectiveMBR and searches for an existing
# Windows bootloader and also for an existing Chameleon stage 0 loader
# which migh... | Shell |
#!/bin/bash
echo "==============================================="
echo "CheckWindowsDiskSignature: Is Windows installed?"
echo "************************************************"
# Checks the disk sector for a 4-byte Windows disk signature
# if one is found then it exits with 1, otherwise it exits with 0
# Receives ... | Shell |
#!/bin/bash
echo "==============================================="
echo "CheckFatType: Do we have FAT16 or FAT32?"
echo "****************************************"
# Looks for the following in the partition boot sector
# Byte number 19 to see if it's either 00 or 02
# Byte number 22 to see if it's either F8 or F0
# By... | Shell |
#!/bin/bash
echo "==============================================="
echo "Check the Partition Scheme: GPT, GPT/MBR or MBR?"
echo "************************************************"
# Looks for the first 8 bytes of the GPTdiskGPTHeader to identify a GUID partition table.
# Byte number 450 of the GPTdiskProtectiveMBR to ... | Shell |
#!/bin/bash
echo "==============================================="
echo "Check Previous Chameleon: Will there be problems?"
echo "***********************************************"
# Checks for another existing Chameleon installation on the same disk
# and tries to make sure the user doesn't end up with an un-bootable
... | Shell |
#!/bin/bash
echo "==============================================="
echo "CheckGRUBLinuxLoader: Does GRUB or LILO exist?"
echo "**********************************************"
# This reads the MBR of the disk in the attempt to find the
# signature for either the GRUB or Linux bootloaders.
# The script returns 1 if eit... | Shell |
#!/bin/bash
echo "==============================================="
echo "Write Chameleon Stage 1 Loader:"
echo "*******************************"
# Writes Chameleon stage 1 loader.
# Receives targetFormat: either hfs or msdos
# Receives stage1LoaderHFS: Name of file - boot1h
# Receives stage1LoaderFAT: Name of file -... | Shell |
#!/bin/bash
echo "==============================================="
echo "CheckFatType: Do we have FAT16 or FAT32?"
echo "****************************************"
# Looks for the following in the partition boot sector
# Byte number 19 to see if it's either 00 or 02
# Byte number 22 to see if it's either F8 or F0
# By... | Shell |
#!/bin/bash
echo "==============================================="
echo "CheckWindowsDiskSignature: Is Windows installed?"
echo "************************************************"
# Checks the disk sector for a 4-byte Windows disk signature
# if one is found then it exits with 1, otherwise it exits with 0
# Receives ... | Shell |
#!/bin/bash
echo "==============================================="
echo "MountESP: Mount the EFI system partition"
echo "***********************************************"
# Creates a mountpoint and mounts /Volumes/EFI of the
# supplied disk which would have been pre-checked as using a GPT
# Receives targetDisk: for e... | Shell |
#!/bin/bash
echo "==============================================="
echo "Set Active Partition ONLY if Windows is not installed"
echo "*****************************************************"
# Sets partition active if Windows is not installed.
# Receives diskSigCheck: code is 1 for a Windows install, 0 for no Windows ... | Shell |
#!/bin/bash
echo "==============================================="
echo "Main EFI System Partition Post-Install Script"
echo "*********************************************"
echo "-----------------------------------------------"
echo ""
# Find location of this script in the package installer
# so we know where all the... | Shell |
#!/bin/bash
echo "==============================================="
echo "Main Standard Post-Install Script"
echo "*********************************"
echo "-----------------------------------------------"
echo ""
# Find location of this script in the package installer
# so we know where all the other scripts are locat... | Shell |
#!/bin/bash
echo "==============================================="
echo "Main EFI System Partition Post-Install Script"
echo "*********************************************"
echo "-----------------------------------------------"
echo ""
# Find location of this script in the package installer
# so we know where all the... | Shell |
#!/bin/bash
echo "==============================================="
echo "Main Standard Post-Install Script"
echo "*********************************"
echo "-----------------------------------------------"
echo ""
# Find location of this script in the package installer
# so we know where all the other scripts are locat... | Shell |
#!/bin/bash
set -u
targetVolume="$3"
moduleName="@moduleName@"
moduleFile="@moduleFile@"
logName="@LOG_FILENAME@"
logFile="${targetVolume}/$logName"
# Check if target volume exists
if [[ ! -d "$targetVolume" ]]; then
echo "$targetVolume volume does not exist!" >&2
exit 1
fi
exec >>"${logFile}" 2>&1
[[ -f ... | Shell |
#!/bin/bash
set -u
targetVolume="$3"
moduleName="@moduleName@"
moduleFile="@moduleFile@"
logName="@LOG_FILENAME@"
logFile="${targetVolume}/$logName"
# Check if target volume exists
if [[ ! -d "$targetVolume" ]]; then
echo "$targetVolume volume does not exist!" >&2
exit 1
fi
exec >>"${logFile}" 2>&1
[[ -f ... | Shell |
#!/bin/bash
set -u
targetVolume="$3"
themeName="@themeName@"
themeDir="@themeDir@"
logName="@LOG_FILENAME@"
logFile="${targetVolume}/$logName"
# Check if target volume exists
if [[ ! -d "$targetVolume" ]]; then
echo "$targetVolume volume does not exist!" >&2
exit 1
fi
exec >>"${logFile}" 2>&1
[[ -d "${tar... | Shell |
#!/bin/bash
set -u
targetVolume="$3"
themeName="@themeName@"
themeDir="@themeDir@"
logName="@LOG_FILENAME@"
logFile="${targetVolume}/$logName"
# Check if target volume exists
if [[ ! -d "$targetVolume" ]]; then
echo "$targetVolume volume does not exist!" >&2
exit 1
fi
exec >>"${logFile}" 2>&1
[[ -d "${tar... | Shell |
#!/bin/bash
# $1 = Full path to the installation package the installer app is processing
# $2 = Full path to the installation destination
# $3 = Installation volume (mountpoint) to receive the payload
# $4 = Root directory for the system
# Check target exists
if [ ! -d "$3" ]; then
echo "$3 volume does not exist ... | Shell |
#!/bin/bash
# $1 = Full path to the installation package the installer app is processing
# $2 = Full path to the installation destination
# $3 = Installation volume (mountpoint) to receive the payload
# $4 = Root directory for the system
# Check target exists
if [ ! -d "$3" ]; then
echo "$3 volume does not exist ... | Shell |
#!/bin/bash
echo "==============================================="
echo "Pre-Install Script"
echo "*********************************"
echo "-----------------------------------------------"
echo ""
# Creates text file named '@LOG_FILENAME@'
# at the root of the target volume. This is to give the user
# a record of the... | Shell |
#!/bin/bash
echo "==============================================="
echo "Pre-Install Script"
echo "*********************************"
echo "-----------------------------------------------"
echo ""
# Creates text file named '@LOG_FILENAME@'
# at the root of the target volume. This is to give the user
# a record of the... | Shell |
#!/bin/bash
#echo "==============================================="
#echo "InstallLog: Create/Append installation log"
#echo "**********************************************"
# Writes to the @LOG_FILENAME@ file created
# by the preinstall script at the start of installation.
# Receives two parameters
# $1 = selected ... | Shell |
#!/bin/bash
#echo "==============================================="
#echo "InstallLog: Create/Append installation log"
#echo "**********************************************"
# Writes to the @LOG_FILENAME@ file created
# by the preinstall script at the start of installation.
# Receives two parameters
# $1 = selected ... | Shell |
#!/bin/bash
set -u
targetVolume="$3"
key="@optionKey@"
value="@optionValue@"
type="@optionType@"
logName="@LOG_FILENAME@"
logFile="${targetVolume}/$logName"
# Check if target volume exists
if [[ ! -d "$targetVolume" ]]; then
echo "$targetVolume volume does not exist!" >&2
exit 1
fi
exec >>"${logFile}" 2>&1... | Shell |
#!/bin/bash
set -u
targetVolume="$3"
key="@optionKey@"
value="@optionValue@"
type="@optionType@"
logName="@LOG_FILENAME@"
logFile="${targetVolume}/$logName"
# Check if target volume exists
if [[ ! -d "$targetVolume" ]]; then
echo "$targetVolume volume does not exist!" >&2
exit 1
fi
exec >>"${logFile}" 2>&1... | Shell |
#!/bin/bash
# $1 Path to store built dmg
pkgroot="${0%/*}"
SYM_ROOT="${1%/*}"
DMG_ROOT=$SYM_ROOT
OPENUP_TOOL=${1%/*}/i386/openUp
SRC_FOLDER=${1%/*}/source
VOLUME_NAME="Chameleon"
TEMP_NAME="rw.dmg"
DMG_TEMP_NAME=${DMG_ROOT}/${TEMP_NAME}
TEMPLATE_DMG=${pkgroot}/dmg/ro.dmg
EULA_RSRC=${pkgroot}/dmg/SLAResources
# ==... | Shell |
#!/bin/bash
# $1 Path to store built package
packagesidentity="org.chameleon"
packagename="Chameleon"
pkgroot="${0%/*}"
COL_BLACK="\x1b[30;01m"
COL_RED="\x1b[31;01m"
COL_GREEN="\x1b[32;01m"
COL_YELLOW="\x1b[33;01m"
COL_MAGENTA="\x1b[35;01m"
COL_CYAN="\x1b[36;01m"
COL_WHITE="\x1b[37;01m"
COL_BLUE="\x1b[34;01m"
COL_... | Shell |
#!/bin/bash
# $1 Path to store built package
packagesidentity="org.chameleon"
packagename="Chameleon"
pkgroot="${0%/*}"
chamTemp="usr/local/chamTemp"
COL_BLACK="\x1b[30;01m"
COL_RED="\x1b[31;01m"
COL_GREEN="\x1b[32;01m"
COL_YELLOW="\x1b[33;01m"
COL_MAGENTA="\x1b[35;01m"
COL_CYAN="\x1b[36;01m"
COL_WHITE="\x1b[37;01m"... | Shell |
#!/bin/bash
# $1 Path to store built dmg
pkgroot="${0%/*}"
SYM_ROOT="${1%/*}"
DMG_ROOT=$SYM_ROOT
OPENUP_TOOL=${1%/*}/i386/openUp
SRC_FOLDER=${1%/*}/source
VOLUME_NAME="Chameleon"
TEMP_NAME="rw.dmg"
DMG_TEMP_NAME=${DMG_ROOT}/${TEMP_NAME}
TEMPLATE_DMG=${pkgroot}/dmg/ro.dmg
EULA_RSRC=${pkgroot}/dmg/SLAResources
# ==... | Shell |
#!/bin/bash
# $1 Path to store built package
packagesidentity="org.chameleon"
packagename="Chameleon"
pkgroot="${0%/*}"
COL_BLACK="\x1b[30;01m"
COL_RED="\x1b[31;01m"
COL_GREEN="\x1b[32;01m"
COL_YELLOW="\x1b[33;01m"
COL_MAGENTA="\x1b[35;01m"
COL_CYAN="\x1b[36;01m"
COL_WHITE="\x1b[37;01m"
COL_BLUE="\x1b[34;01m"
COL_... | Shell |
#!/bin/bash
# $1 Path to store built package
packagesidentity="org.chameleon"
packagename="Chameleon"
pkgroot="${0%/*}"
chamTemp="usr/local/chamTemp"
COL_BLACK="\x1b[30;01m"
COL_RED="\x1b[31;01m"
COL_GREEN="\x1b[32;01m"
COL_YELLOW="\x1b[33;01m"
COL_MAGENTA="\x1b[35;01m"
COL_CYAN="\x1b[36;01m"
COL_WHITE="\x1b[37;01m"... | Shell |
#!/bin/sh
# Check ncurses compatibility
# What library to link
ldflags()
{
for ext in so a dylib ; do
for lib in ncursesw ncurses curses ; do
$cc -print-file-name=lib${lib}.${ext} | grep -q /
if [ $? -eq 0 ]; then
echo "-l${lib}"
exit
fi
done
done
exit 1
}
# Where is ncurses.h?
ccflags()
{
if... | Shell |
#!/bin/sh
# Check ncurses compatibility
# What library to link
ldflags()
{
for ext in so a dylib ; do
for lib in ncursesw ncurses curses ; do
$cc -print-file-name=lib${lib}.${ext} | grep -q /
if [ $? -eq 0 ]; then
echo "-l${lib}"
exit
fi
done
done
exit 1
}
# Where is ncurses.h?
ccflags()
{
if... | Shell |
#!/bin/sh
# boot1f32-install.sh
#
# Created by mackerintel on 2/2/09.
# Copyright 2009 mackerintel. All rights reserved.
if [[ x$1 == x ]]; then
echo Usage: $0 disknumber;
exit 0;
fi
if [[ `dd if=/dev/disk${1}s1 count=8 bs=1 skip=82 | uuencode -m -|head -n 2|tail -n 1` != "RkFUMzIgICA=" ]]; then
echo "/dev/disk${... | Shell |
#!/bin/sh
# boot1f32-install.sh
#
# Created by mackerintel on 2/2/09.
# Copyright 2009 mackerintel. All rights reserved.
if [[ x$1 == x ]]; then
echo Usage: $0 disknumber;
exit 0;
fi
if [[ `dd if=/dev/disk${1}s1 count=8 bs=1 skip=82 | uuencode -m -|head -n 2|tail -n 1` != "RkFUMzIgICA=" ]]; then
echo "/dev/disk${... | Shell |
#!/bin/sh
#
# Detects OS we're compiling on and outputs a file specified by the first
# argument, which in turn gets read while processing Makefile.
#
# The output will set the following variables:
# CC C Compiler path
# CXX C++ Compiler path
# PLATFORM_LDFLAGS ... | Shell |
#!/bin/bash
#change dir to where this script is run from:
cd "$( dirname "${BASH_SOURCE[0]}" )"
# Based on https://developer.mozilla.org/en/Setting_up_extension_development_environment and http://kb.mozillazine.org/Profile_folder_-_Firefox
# TODO: Make this script accept an optional parameter, which is a name of Firef... | Shell |
#!/bin/bash
#change dir to where this script is run from:
cd "$( dirname "${BASH_SOURCE[0]}" )"
# Create folder "xpi", if it doesn't exist already
mkdir xpi 1>/dev/null 2>&1
rm -f xpi/*
cd auto-check/src
zip -r ../../xpi/auto-check.xpi *
cd ../../bootstrap/src
zip -r ../../xpi/bootstrap.xpi *
cd ../../commands/src
... | 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/bash
#
# Copyright 2011 Google Inc. All Rights Reserved.
# Author: watson@google.com (Tony Watson)
rev=`svn up|awk '{print $3}'`
archive="capirca-r"$rev"tgz"
filedir='./capirca'
echo "Building: $archive"
find . -name \*.pyc -exec rm {} \;
pushd . > /dev/null
cd ..
tar -czf $archive --exclude-vcs $filedir
mv $a... | Shell |
#!/bin/bash
#
# Copyright 2011 Google Inc. All Rights Reserved.
# Author: watson@google.com (Tony Watson)
rev=`svn up|awk '{print $3}'`
archive="capirca-r"$rev"tgz"
filedir='./capirca'
echo "Building: $archive"
find . -name \*.pyc -exec rm {} \;
pushd . > /dev/null
cd ..
tar -czf $archive --exclude-vcs $filedir
mv $a... | Shell |
#!/bin/bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP versions 4 and 5
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright 2005-2010, Cake Software Foundation, Inc.
#
# Licensed under The ... | Shell |
#!/bin/bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP versions 4 and 5
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright 2005-2010, Cake Software Foundation, Inc.
#
# Licensed under The ... | Shell |
#!/bin/sh
#
# dex2jar - Tools to work with android .dex and java .class files
# Copyright (c) 2009-2012 Panxiaobo
#
# 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... | Shell |
#!/bin/sh
#
# Android Weather Notification.
# Copyright (C) 2010 gelin, 2011 mihovilic
#
# 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... | Shell |
#!/bin/sh
#
# Android Weather Notification.
# Copyright (C) 2010 gelin, 2011 mihovilic
#
# 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... | Shell |
#!/bin/sh
#
# Android Weather Notification.
# Copyright (C) 2010 gelin, 2011 mihovilic
#
# 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... | Shell |
#!/bin/sh
#
# Android Weather Notification.
# Copyright (C) 2010 gelin, 2011 mihovilic
#
# 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... | Shell |
#!/bin/sh
#
# Android Weather Notification.
# Copyright (C) 2010 Denis Nelubin aka Gelin
#
# 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
# ... | Shell |
#!/bin/sh
TARGETS=$*
ant $TARGETS
build_skin() {
BASE_DIR=$(pwd)
cd skins/$1
ant $TARGETS
cd $BASE_DIR
}
build_skin black-text
build_skin white-text
build_skin black-text-plus
build_skin white-text-plus
| Shell |
swig -DSKIP_INCLUDES -python -small highgui.i
gcc -I/usr/include/python2.3/ -I../../cxcore/include -D CV_NO_BACKWARD_COMPATIBILITY -c highgui_wrap.c
| 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/bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP versions 4 and 5
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright 2005-2010, Cake Software Foundation, Inc.
#
# Licensed under The ... | Shell |
#!/bin/bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP versions 4 and 5
#
# CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
# Copyright 2005-2010, Cake Software Foundation, Inc.
#
# Licensed under The ... | Shell |
#!/bin/sh
# Copyright 2012 Roman Nurik
#
# 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 ... | Shell |
#!/bin/sh
# Copyright 2012 Roman Nurik
#
# 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 ... | Shell |
#!/bin/bash
# Copyright 2012 Roman Nurik
#
# 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
find . -iname \.DS_Store -exec rm {} \;
rm -rf extension.zip
cd extension/
zip -qr ../extension.zip .
cd ..
zipinfo -l extension.zip
| Shell |
#!/bin/sh
SCRIPTDIR=`dirname $0`
cd $SCRIPTDIR/..
RED="0.5 0.5 0.5 0 0 0 0 0 0"
GREEN="0 0 0 0.5 0.5 0.5 0 0 0"
for x in btn_zoom_down_disabled.9 btn_zoom_down_disabled_focused.9 btn_zoom_down_normal.9 btn_zoom_up_disabled.9 btn_zoom_up_disabled_focused.9 btn_zoom_up_normal.9 btn_zoom_width_normal ; do
conv... | Shell |
#!/bin/sh
# make sure ndk-build is in path
SCRIPTDIR=`dirname $0`
MUPDF=mupdf-0.9
FREETYPE=freetype-2.4.6
OPENJPEG=openjpeg_v1_4_sources_r697
JBIG2DEC=jbig2dec-0.11
JPEGSRC=jpegsrc.v8a.tar.gz
JPEGDIR=jpeg-8a
cd $SCRIPTDIR/../deps
tar xvf $FREETYPE.tar.bz2
tar xvf $JPEGSRC
tar xvf $MUPDF-source.tar.gz
tar xvf $OPENJPE... | Shell |
#!/bin/sh
SCRIPTDIR=`dirname $0`
cd $SCRIPTDIR/..
for x in upfolder folder home recent1 recent2 recent3 recent4 recent5 ; do
convert res/drawable-hdpi/$x.png -resize 66.7% res/drawable-mdpi/$x.png
convert res/drawable-hdpi/$x.png -resize 50% res/drawable-ldpi/$x.png
done
| Shell |
#!/bin/sh
SCRIPTDIR=`dirname $0`
cd $SCRIPTDIR/..
RED="0.5 0.5 0.5 0 0 0 0 0 0"
GREEN="0 0 0 0.5 0.5 0.5 0 0 0"
for x in btn_zoom_down_disabled.9 btn_zoom_down_disabled_focused.9 btn_zoom_down_normal.9 btn_zoom_up_disabled.9 btn_zoom_up_disabled_focused.9 btn_zoom_up_normal.9 btn_zoom_width_normal ; do
conv... | Shell |
#!/bin/sh
# make sure ndk-build is in path
SCRIPTDIR=`dirname $0`
MUPDF_FILE=mupdf-a242b4cf1123910c4dba18c75a77f28c5f6d8f33.tar.bz2
MUPDF=mupdf-a242b4cf1123910c4dba18c75a77f28c5f6d8f33
FREETYPE=freetype-2.4.10
OPENJPEG=openjpeg-1.5.1
JBIG2DEC=jbig2dec-0.11
JPEGSRC=jpegsrc.v8d.tar.gz
JPEGDIR=jpeg-8d
cd "$SCRIPTDIR/../... | Shell |
#!/bin/sh
SCRIPTDIR=`dirname $0`
cd $SCRIPTDIR/..
for x in upfolder folder home recent1 recent2 recent3 recent4 recent5 ; do
convert res/drawable-hdpi/$x.png -resize 66.7% res/drawable-mdpi/$x.png
convert res/drawable-hdpi/$x.png -resize 50% res/drawable-ldpi/$x.png
done
| Shell |
#!/bin/bash
inner_iter=20000
basename=$1
outer_iter=$2
begin=$3
end=$4
for j in `seq ${begin} ${end}`; do
filename="${basename}_${j}.txt"
rm $filename
for i in `seq ${outer_iter}`; do
echo $i
rosservice call /rost/get_model_perplexity | sed -e 's/\,/\ /g' -e 's/[a-z]*//g' -e 's/[\:\[\]]*//g' -e 's/\]//g... | Shell |
#!/bin/sh
# After initial checkout from svn, you'll want to run this as your first step.
android update project --path . --target "android-15"
| Shell |
#!/bin/sh
scp -q res/values/strings.xml linode:ath/incoming/en.xml
wget --quiet -O /dev/null --ignore-length --post-data="" http://ath.darshancomputing.com/bi/load_new_en
if [ "$?" -ne "0" ]; then
echo "Sorry, something didn't work!"
exit 1
fi
| Shell |
#!/bin/bash
#ruby generate_images.rb
#for i in res/drawable/b[0-9]*.png; do mogrify -resize 25x25 $i; done
#gimp res/drawable/b100.png
#for i in res/drawable/*.png; do mogrify -sharpen 25x25 $i; done
# shift ("roll") images 1px to the right
# for i in numbers/*.png; do convert $i -roll +1+0 $i; done
d=`dirname $(rea... | Shell |
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
| Shell |
#!/bin/sh
aclocal -I m4
autoheader
libtoolize -f -c --automake
automake --foreign -c -a
autoconf
| Shell |
#!/bin/bash
# ACLR: Advanced Command Line Ripper
# Copyright (C) 1998-2001 Robert Woodcock <rcw@debian.org>
# Copyright (C) 2003-2005 Jesus Climent <jesus.climent@hispalinux.es>
# Copyright (C) 2006-2007 Rob Frawley <code@robfrawley.net>
# Version $Id: aclr 4 2007-06-08 15:42:53Z robfrawley $
# This program is free s... | Shell |
#!/bin/bash
# ACLR: Advanced Command Line Ripper
# Copyright (C) 1998-2001 Robert Woodcock <rcw@debian.org>
# Copyright (C) 2003-2005 Jesus Climent <jesus.climent@hispalinux.es>
# Copyright (C) 2006-2007 Rob Frawley <code@robfrawley.net>
# Version $Id$
# This program is free software; you can redistribute it and/or
#... | Shell |
#!/bin/bash
# ACLR: Advanced Command Line Ripper
# Copyright (C) 1998-2001 Robert Woodcock <rcw@debian.org>
# Copyright (C) 2003-2005 Jesus Climent <jesus.climent@hispalinux.es>
# Copyright (C) 2006-2007 Rob Frawley <code@robfrawley.net>
# Version $Id$
# This program is free software; you can redistribute it and/or
#... | Shell |
#!/bin/bash
# ACLR: Advanced Command Line Ripper
# Copyright (C) 1998-2001 Robert Woodcock <rcw@debian.org>
# Copyright (C) 2003-2005 Jesus Climent <jesus.climent@hispalinux.es>
# Copyright (C) 2006-2007 Rob Frawley <code@robfrawley.net>
# Version $Id: aclr.conf 4 2007-06-08 15:42:53Z robfrawley $
# This program is f... | Shell |
#!/bin/sh
# Used to update http://openlayers.org/dev/
# Get current 'Last Changed Rev'
GITREV=`svn info https://github.com/openlayers/openlayers/ | grep 'Revision' | awk '{print $2}'`
SVNREV=`svn info http://svn.openlayers.org/ | grep 'Revision' | awk '{print $2}'`
# Get the last svn rev
touch /tmp/ol_git_rev
touc... | Shell |
#!/bin/sh
# Used to update http://openlayers.org/dev/
# Get current 'Last Changed Rev'
GITREV=`svn info https://github.com/openlayers/openlayers/ | grep 'Revision' | awk '{print $2}'`
SVNREV=`svn info http://svn.openlayers.org/ | grep 'Revision' | awk '{print $2}'`
# Get the last svn rev
touch /tmp/ol_git_rev
touc... | Shell |
#!/bin/sh
VERSION=$1
wget -c http://closure-compiler.googlecode.com/files/compiler-latest.zip
unzip compiler-latest.zip
svn export http://svn.openlayers.org/tags/openlayers/release-$VERSION OpenLayers-$VERSION
cd OpenLayers-$VERSION/build
mv ../../compiler.jar ../tools/closure-compiler.jar
./build.py -c closure ful... | Shell |
#!/bin/sh
VERSION=$1
wget -c http://closure-compiler.googlecode.com/files/compiler-latest.zip
unzip compiler-latest.zip
svn export http://svn.openlayers.org/tags/openlayers/release-$VERSION OpenLayers-$VERSION
cd OpenLayers-$VERSION/build
mv ../../compiler.jar ../tools/closure-compiler.jar
./build.py -c closure ful... | Shell |
#!/bin/sh
cp mockdom.js node.js ../../lib
cp node-tests.cfg ../../build
cd ../../build
python build.py -c none node-tests
cd ../tests/node.js/
node run-test.js
rm ../../lib/mockdom.js
rm ../../lib/node.js
| Shell |
#!/bin/sh
cp mockdom.js node.js ../../lib
cp node-tests.cfg ../../build
cd ../../build
python build.py -c none node-tests
cd ../tests/node.js/
node run-test.js
rm ../../lib/mockdom.js
rm ../../lib/node.js
| Shell |
#!/bin/sh
# Used to update http://openlayers.org/dev/
# Get current 'Last Changed Rev'
GITREV=`svn info https://github.com/openlayers/openlayers/ | grep 'Revision' | awk '{print $2}'`
SVNREV=`svn info http://svn.openlayers.org/ | grep 'Revision' | awk '{print $2}'`
# Get the last svn rev
touch /tmp/ol_git_rev
touc... | Shell |
#!/bin/sh
# Used to update http://openlayers.org/dev/
# Get current 'Last Changed Rev'
GITREV=`svn info https://github.com/openlayers/openlayers/ | grep 'Revision' | awk '{print $2}'`
SVNREV=`svn info http://svn.openlayers.org/ | grep 'Revision' | awk '{print $2}'`
# Get the last svn rev
touch /tmp/ol_git_rev
touc... | Shell |
#!/bin/sh
VERSION=$1
wget -c http://closure-compiler.googlecode.com/files/compiler-latest.zip
unzip compiler-latest.zip
svn export http://svn.openlayers.org/tags/openlayers/release-$VERSION OpenLayers-$VERSION
cd OpenLayers-$VERSION/build
mv ../../compiler.jar ../tools/closure-compiler.jar
./build.py -c closure ful... | Shell |
#!/bin/sh
VERSION=$1
wget -c http://closure-compiler.googlecode.com/files/compiler-latest.zip
unzip compiler-latest.zip
svn export http://svn.openlayers.org/tags/openlayers/release-$VERSION OpenLayers-$VERSION
cd OpenLayers-$VERSION/build
mv ../../compiler.jar ../tools/closure-compiler.jar
./build.py -c closure ful... | Shell |
#!/bin/sh
cp mockdom.js node.js ../../lib
cp node-tests.cfg ../../build
cd ../../build
python build.py -c none node-tests
cd ../tests/node.js/
node run-test.js
rm ../../lib/mockdom.js
rm ../../lib/node.js
| Shell |
#!/bin/sh
cp mockdom.js node.js ../../lib
cp node-tests.cfg ../../build
cd ../../build
python build.py -c none node-tests
cd ../tests/node.js/
node run-test.js
rm ../../lib/mockdom.js
rm ../../lib/node.js
| Shell |
#!/bin/sh
ln -s web ~/public_html/contest
ln -s files/problems web/
chmod 777 backend/db.xml files
cd backend/libbox
make
cp libbox.so ../
cd ../
cp db-empty.xml db.xml
python backend.py
| Shell |
#!/bin/sh
ln -s web ~/public_html/contest
ln -s files/problems web/
chmod 777 backend/db.xml files
cd backend/libbox
make
cp libbox.so ../
cd ../
cp db-empty.xml db.xml
python backend.py
| Shell |
#!/bin/bash
for f in `find ima/*.seq`; do ./sequence.py $f; done
| Shell |
#!/bin/bash
for f in `find ima/*.seq`; do ./sequence.py $f; done
| Shell |
#!/bin/bash
set -e
echo -n "Enter the version for this release: "
read ver
if [ ! $ver ]; then
echo "Invalid version."
exit
fi
name="select2"
js="$name.js"
mini="$name.min.js"
css="$name.css"
release="$name-$ver"
tag="$ver"
branch="build-$ver"
curbranch=`git branch | grep "*" | sed "s/* //"`
timestamp=$(date)
tok... | Shell |
#!/bin/bash
set -e
echo -n "Enter the version for this release: "
read ver
if [ ! $ver ]; then
echo "Invalid version."
exit
fi
name="select2"
js="$name.js"
mini="$name.min.js"
css="$name.css"
release="$name-$ver"
tag="$ver"
branch="build-$ver"
curbranch=`git branch | grep "*" | sed "s/* //"`
timestamp=$(date)
tok... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.