code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/sh
#
# Regenerate configuration files
cp acinclude.m4 aclocal.m4
found=false
for autoconf in autoconf autoconf259 autoconf-2.59
do if which $autoconf >/dev/null 2>&1; then $autoconf && found=true; break; fi
done
if test x$found = xfalse; then
echo "Couldn't find autoconf, aborting"
exit 1
fi
| Shell |
#!/bin/sh
#
# Build Universal binaries on Mac OS X, thanks Ryan!
#
# Usage: ./configure CC="sh gcc-fat.sh" && make && rm -rf ppc x86
# Locate Xcode SDK path
SDK_PATH=/Developer/SDKs
if [ ! -d $SDK_PATH ]; then
echo "Couldn't find SDK path"
exit 1
fi
if [ -d "$SDK_PATH/MacOSX10.2.8.sdk" ]; then
... | Shell |
#!/bin/sh
#
echo "Generating build information using autoconf"
echo "This may take a while ..."
# Regenerate configuration files
cp acinclude.m4 aclocal.m4
found=false
for autoconf in autoconf autoconf259 autoconf-2.59
do if which $autoconf >/dev/null 2>&1; then $autoconf && found=true; break; fi
done
if te... | Shell |
#!/bin/sh
prefix=@prefix@
exec_prefix=@exec_prefix@
exec_prefix_set=no
libdir=@libdir@
@ENABLE_STATIC_FALSE@usage="\
@ENABLE_STATIC_FALSE@Usage: sdl-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--cflags] [--libs]"
@ENABLE_STATIC_TRUE@usage="\
@ENABLE_STATIC_TRUE@Usage: sdl-config [--prefix[=DI... | Shell |
#!/bin/sh
#
# Build a fat binary on Mac OS X, thanks Ryan!
# Number of CPUs (for make -j)
NCPU=`sysctl -n hw.ncpu`
NJOB=$NCPU
#NJOB=`expr $NCPU + 1`
# Generic, cross-platform CFLAGS you always want go here.
CFLAGS="-O3 -g -pipe"
# Locate Xcode SDK path
SDK_PATH=/Developer/SDKs
if [ ! -d $SDK_PATH ]; th... | Shell |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
errstatus=0
dirmode=""
usage="\
Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
# process command line arguments
while test $# -gt 0 ; do
case "${1}"... | Shell |
# Based on libtool-1.5.22
# ltmain.sh - Provide generalized library-building support services.
# NOTE: Changing this file will not affect anything until you rerun configure.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005
# Free Software Foundation, Inc.
# Originally by Gordon Matzigkeit <g... | Shell |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
errstatus=0
dirmode=""
usage="\
Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
# process command line arguments
while test $# -gt 0 ; do
case "${1}"... | Shell |
#! /bin/sh
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
# Inc.
timestamp='2007-12-05'
# This file is (in principle) common to ALL GNU software.
# The presence of a machi... | Shell |
#!/bin/sh
#
# Build a fat binary on Mac OS X, thanks Ryan!
# Number of CPUs (for make -j)
NCPU=`sysctl -n hw.ncpu`
NJOB=$NCPU
#NJOB=`expr $NCPU + 1`
# Generic, cross-platform CFLAGS you always want go here.
CFLAGS="-O3 -g -pipe"
# Locate Xcode SDK path
SDK_PATH=/Developer/SDKs
if [ ! -d $SDK_PATH ]; th... | Shell |
#!/bin/sh
#
# libtool assumes that the compiler can handle the -fPIC flag
# This isn't always true (for example, nasm can't handle it)
command=""
while [ $# -gt 0 ]; do
case "$1" in
-?PIC)
# Ignore -fPIC and -DPIC options
;;
-fno-common)
# Ignore -fPIC ... | Shell |
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
# Inc.
timestamp='2007-12-12'
# This file is free software; you can redistribute it and/or modify it
# under the te... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2005-02-02.21
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
# following copyright and license.
#
# Copyright (C) 1994 X Consortium
#
# Permission... | Shell |
#!/bin/sh
#
# Generate dependencies from a list of source files
# Check to make sure our environment variables are set
if test x"$INCLUDE" = x -o x"$SOURCES" = x -o x"$output" = x; then
echo "SOURCES, INCLUDE, and output needs to be set"
exit 1
fi
cache_prefix=".#$$"
generate_var()
{
echo $1 ... | Shell |
#!/bin/sh
#
# libtool assumes that the compiler can handle the -fPIC flag
# This isn't always true (for example, nasm can't handle it)
command=""
while [ $# -gt 0 ]; do
case "$1" in
-?PIC)
# Ignore -fPIC and -DPIC options
;;
-fno-common)
# Ignore -fPIC ... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2005-02-02.21
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
# following copyright and license.
#
# Copyright (C) 1994 X Consortium
#
# Permission... | Shell |
#!/bin/sh
#
# Generate dependencies from a list of source files
# Check to make sure our environment variables are set
if test x"$INCLUDE" = x -o x"$SOURCES" = x -o x"$output" = x; then
echo "SOURCES, INCLUDE, and output needs to be set"
exit 1
fi
cache_prefix=".#$$"
generate_var()
{
echo $1 ... | Shell |
#!/bin/sh
#
echo "Generating build information using autoconf"
echo "This may take a while ..."
# Regenerate configuration files
cp acinclude.m4 aclocal.m4
found=false
for autoconf in autoconf autoconf259 autoconf-2.59
do if which $autoconf >/dev/null 2>&1; then $autoconf && found=true; break; fi
done
if te... | Shell |
#!/bin/sh
DEVKITPRO=/c/dev/apps/devkitPro
prefix=${DEVKITPRO}/SDL-Port
exec_prefix=${prefix}
exec_prefix_set=no
libdir=${exec_prefix}/lib
#usage="\
#Usage: sdl-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--cflags] [--libs]"
usage="\
Usage: sdl-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [... | Shell |
#!/bin/sh
DEVKITPRO=/c/dev/apps/devkitPro
prefix=${DEVKITPRO}/SDL-Port
exec_prefix=${prefix}
exec_prefix_set=no
libdir=${exec_prefix}/lib
#usage="\
#Usage: sdl-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--cflags] [--libs]"
usage="\
Usage: sdl-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [... | Shell |
#!/bin/sh
# Run this to set up the build system: configure, makefiles, etc.
# (based on the version in enlightenment's cvs)
package="vorbisdec"
olddir=`pwd`
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
cd "$srcdir"
DIE=0
echo "checking for autoconf... "
(autoconf --version) < /dev/null > /dev/nul... | Shell |
#!/bin/sh
# Run this to set up the build system: configure, makefiles, etc.
# (based on the version in enlightenment's cvs)
package="vorbisdec"
olddir=`pwd`
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
cd "$srcdir"
DIE=0
echo "checking for autoconf... "
(autoconf --version) < /dev/null > /dev/nul... | Shell |
#!/bin/sh
# Run this to set up the build system: configure, makefiles, etc.
# (based on the version in enlightenment's cvs)
package="vorbisdec"
olddir=`pwd`
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
cd "$srcdir"
DIE=0
echo "checking for autoconf... "
(autoconf --version) < /dev/null > /dev/nul... | Shell |
#!/bin/sh
# Run this to set up the build system: configure, makefiles, etc.
# (based on the version in enlightenment's cvs)
package="vorbisdec"
olddir=`pwd`
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
cd "$srcdir"
DIE=0
echo "checking for autoconf... "
(autoconf --version) < /dev/null > /dev/nul... | Shell |
#!bin/sh
sudo chown -R www-data:www-data $1
sudo chmod -R g+w $1
| Shell |
#!bin/sh
sudo chown -R www-data:www-data $1
sudo chmod -R g+w $1
| Shell |
iter=5
pushd col$1
while true; do
rm -rf collector.log collector.err
echo "Running $iter tests..."
date
java traverser/FrequencyCollector $iter > collector.log 2> collector.err
success=$?
echo "Completed $iter tests with result $success, sending mail"
touch temp-message.txt
echo "Finish... | Shell |
#/usr/bin/bash
iter=5
if [ $# -lt 2 ]
then
echo Usage: eval.sh orgin target
exit
fi
origin=$1
target=$2
rm -rf BFS.log BFS.tim Key.log Key.tim
echo Starting on Key
for i in `seq 1 $iter` ; do
echo Trial $i
echo >> Key.log
echo Trial $i >> Key.log
echo >> Key.log
( time java traverser... | Shell |
#/usr/bin/bash
iter=5
if [ $# -lt 2 ]
then
echo Usage: eval.sh orgin target
exit
fi
origin=$1
target=$2
rm -rf BFS_m.log BFS_m.tim Key_m.log Key_m.tim
echo Starting
for i in `seq 1 $iter` ; do
echo Trial $i
echo BFS
echo >> BFS_m.log
echo Trial $i >> BFS_m.log
echo >> BFS_m.log
(... | Shell |
iter=5
pushd col$1
while true; do
rm -rf collector.log collector.err
echo "Running $iter tests..."
date
java traverser/FrequencyCollector $iter > collector.log 2> collector.err
success=$?
echo "Completed $iter tests with result $success, sending mail"
touch temp-message.txt
echo "Finish... | Shell |
#/usr/bin/bash
iter=5
if [ $# -lt 2 ]
then
echo Usage: eval.sh orgin target
exit
fi
origin=$1
target=$2
rm -rf BFS.log BFS.tim Key.log Key.tim
echo Starting on Key
for i in `seq 1 $iter` ; do
echo Trial $i
echo >> Key.log
echo Trial $i >> Key.log
echo >> Key.log
( time java traverser... | Shell |
#/usr/bin/bash
iter=5
if [ $# -lt 2 ]
then
echo Usage: eval.sh orgin target
exit
fi
origin=$1
target=$2
rm -rf BFS_m.log BFS_m.tim Key_m.log Key_m.tim
echo Starting
for i in `seq 1 $iter` ; do
echo Trial $i
echo BFS
echo >> BFS_m.log
echo Trial $i >> BFS_m.log
echo >> BFS_m.log
(... | Shell |
#!/bin/bash
DEST=apps/radiow
if [ -e $DEST ]; then
echo "Directory apps/ exists, aborting";
exit 1;
fi
mkdir -p $DEST
cp wiiradio.dol $DEST/boot.dol
cp -r \
FreeSansBold.ttf \
genres.dat \
icon.png \
meta.xml \
options.dat \
imgs \
lang \
skins \
visdata \
$DEST
mkdir -p $DES... | Shell |
#!/bin/bash
DEST=apps/radiow
if [ -e $DEST ]; then
echo "Directory apps/ exists, aborting";
exit 1;
fi
mkdir -p $DEST
cp wiiradio.dol $DEST/boot.dol
cp -r \
FreeSansBold.ttf \
genres.dat \
icon.png \
meta.xml \
options.dat \
imgs \
lang \
skins \
visdata \
$DEST
mkdir -p $DES... | 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
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
errstatus=0
dirmode=""
usage="\
Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
# process command line arguments
while test $# -gt 0 ; do
case $1 in
-h | --help... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
# Copyright (C) 1996, 1997, 1999, 2000, 2002 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU ... | Shell |
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
timestamp='2004-01-05'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public L... | 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
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
errstatus=0
dirmode=""
usage="\
Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
# process command line arguments
while test $# -gt 0 ; do
case $1 in
-h | --help... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
# Copyright 1999, 2000 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either ve... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
# Copyright (C) 1996, 1997, 1999, 2000, 2002 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU ... | Shell |
#! /bin/sh
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
timestamp='2004-01-05'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that S... | Shell |
# ltmain.sh - Provide generalized library-building support services.
# NOTE: Changing this file will not affect anything until you rerun configure.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003
# Free Software Foundation, Inc.
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
# This program i... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
# Copyright 1999, 2000 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either ve... | Shell |
#!/bin/bash
DEST=apps/radiow
if [ -e $DEST ]; then
echo "Directory apps/ exists, aborting";
exit 1;
fi
mkdir -p $DEST
cp wiiradio.dol $DEST/boot.dol
cp -r \
FreeSansBold.ttf \
genres.dat \
icon.png \
meta.xml \
options.dat \
imgs \
lang \
skins \
visdata \
$DEST
mkdir -p $DES... | Shell |
#!/bin/bash
DEST=apps/radiow
if [ -e $DEST ]; then
echo "Directory apps/ exists, aborting";
exit 1;
fi
mkdir -p $DEST
cp wiiradio.dol $DEST/boot.dol
cp -r \
FreeSansBold.ttf \
genres.dat \
icon.png \
meta.xml \
options.dat \
imgs \
lang \
skins \
visdata \
$DEST
mkdir -p $DES... | Shell |
# $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $
# Maintainer: Israel Herraiz <isra@herraiz.org>
pkgname=wiinux
pkgver=1.9
pkgrel=1
pkgdesc="Control your dekstop using a Wiimote"
url="http://code.google.com/p/wiimote-pointer/"
arch=(any)
license=('GPL')
depends=('python2' 'python2-matplotlib' 'python... | Shell |
#!/bin/sh
clear
gcc -liw iwscan.c -o iwscan
| Shell |
#!/bin/sh
clear
gcc -liw iwscan.c -o iwscan
| Shell |
#! /bin/bash
#
rev_new_raw=$(svnversion -n . 2>/dev/null | tr '\n' ' ' | tr -d '\r')
[ -n "$rev_new_raw" ] || rev_new_raw=$(SubWCRev . 2>/dev/null | tr '\n' ' ' | tr -d '\r')
if [ "$rev_new_raw" == "exported" ];
then
echo This copy of wiiflow is not under source control
exit
fi
rev_new_raw=$(echo $rev_new_raw | se... | Shell |
#!/bin/bash
FILENAME=source/loader/alt_ios_gen.c
GENERATE=0
VERSION=249
if [ ! -z "$1" ];
then
VERSION=$1
fi
if [ ! -f $FILENAME ];
then
GENERATE=1
else
CURRENT_VERSION=`grep mainIOS\ = $FILENAME | awk '{printf "%d", $4}'`
if [ $CURRENT_VERSION -ne $VERSION ];
then
GENERATE=1
fi
fi
if [ $GENERATE -eq 1 ];
t... | Shell |
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
/usr/bin/setkeycodes ... | Shell |
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
/usr/bin/setkeycodes ... | Shell |
set REV=`svnversion -n ./`
echo $REV
touch ./source/svnrev.h
cat > ./source/svnrev.h <<EOF
#define SVN_REV $REV
#define SVN_REV_STR "$REV"
EOF
| Shell |
export DEVKITPRO=/home/user/devkitPro/
export DEVKITPPC=$DEVKITPRO/devkitPPC/
export WIILOAD=tcp:192.168.178.28
#export WIILOAD=tcp:192.168.43.197
/home/user/devkitPro/devkitPPC/bin/wiiload /home/user/WIIDOOM/boot.dol
| Shell |
#!/bin/sh
aclocal -I m4
autoheader
libtoolize -f -c --automake
automake --foreign -c -a
autoconf
| Shell |
#!/bin/bash
files=`echo *.ogg`
for file in $files
do
${DEVKITPPC}/bin/raw2c $file
done
| Shell |
#!/bin/bash
files=`echo *.png`
for file in $files
do
${DEVKITPPC}/bin/raw2c $file
done
| Shell |
#!/bin/bash
files=`echo *.png`
for file in $files
do
${DEVKITPPC}/bin/raw2c $file
done
| Shell |
#!/bin/bash
files=`echo *.ogg`
for file in $files
do
${DEVKITPPC}/bin/raw2c $file
done
| Shell |
export DEVKITPRO=/home/user/devkitPro/
export DEVKITPPC=$DEVKITPRO/devkitPPC/
export WIILOAD=tcp:192.168.178.28
#export WIILOAD=tcp:192.168.43.197
/home/user/devkitPro/devkitPPC/bin/wiiload /home/user/WIIHEXEN/boot.dol
| Shell |
python ./TestTpl.py -v --tempDir=test_output data/0.tpl
| Shell |
#!/bin/bash
function getffmpegchildids {
ps --ppid $$ | awk '$4=="ffmpeg" {print $1}'
}
function stop_encoding {
echo $$ > /tmp/proc_$$
echo
echo "now stopping"
echo
echo
PIDS="$(getffmpegchildids)"
for mypid in $PIDS; do
kill $mypid > /dev/null 2>&1;
done
sleep 2;
PIDS="$(getffmpegchildids)"
for mypid i... | Shell |
#!/bin/bash
/usr/bin/mplayer "$1" -identify -frames 0 -vo null -ao null 2>/dev/null | awk 'BEGIN {FS="="} $1=="ID_VIDEO_CODEC" {print $2}' | Shell |
#!/bin/bash
ffmpeg -re -v 0 -y -i "$1" -async 1 -ar 44100 -ab 320k -f flv "$2"
| Shell |
#!/bin/bash
function getmencoderchildids {
ps --ppid $$ | awk '$4=="mencoder" {print $1}'
}
function stop_encoding {
echo "now stopping"
PIDS="$(getmencoderchildids)"
for mypid in $PIDS; do
kill $mypid > /dev/null 2>&1;
done
sleep 2;
PIDS="$(getmencoderchildids)"
for mypid in $PIDS; do
kill -9 $mypid > /d... | Shell |
#!/bin/bash
/usr/bin/mplayer "$1" -identify -frames 0 -vo null -ao null 2>/dev/null | awk 'BEGIN {FS="="} $1=="ID_LENGTH" {print $2}' | Shell |
#!/bin/bash
ffmpeg -re -v 0 -y -i "$1" -async 1 -ar 44100 -ab 320k -f flv "$2"
| Shell |
#!/bin/bash
/usr/bin/mplayer "$1" -identify -frames 0 -vo null -ao null 2>/dev/null | awk 'BEGIN {FS="="} $1=="ID_LENGTH" {print $2}' | Shell |
#!/bin/bash
function getffmpegchildids {
ps --ppid $$ | awk '$4=="ffmpeg" {print $1}'
}
function stop_encoding {
echo $$ > /tmp/proc_$$
echo
echo "now stopping"
echo
echo
PIDS="$(getffmpegchildids)"
for mypid in $PIDS; do
kill $mypid > /dev/null 2>&1;
done
sleep 2;
PIDS="$(getffmpegchildids)"
for mypid i... | Shell |
#!/bin/bash
function getmencoderchildids {
ps --ppid $$ | awk '$4=="mencoder" {print $1}'
}
function stop_encoding {
echo "now stopping"
PIDS="$(getmencoderchildids)"
for mypid in $PIDS; do
kill $mypid > /dev/null 2>&1;
done
sleep 2;
PIDS="$(getmencoderchildids)"
for mypid in $PIDS; do
kill -9 $mypid > /d... | Shell |
#!/bin/bash
/usr/bin/mplayer "$1" -identify -frames 0 -vo null -ao null 2>/dev/null | awk 'BEGIN {FS="="} $1=="ID_VIDEO_CODEC" {print $2}' | Shell |
vimpath=$HOME/.vim
vimrcpath=$HOME/.vimrc
chmod -R 755 .
[ -d $vimpath ] && mv $vimpath $vimpath.bak
[ -f $vimrcpath ] && mv $vimrcpath $vimrcpath.bak
cp -r ./vimfiles $vimpath
cp ./_vimrc $vimrcpath
echo "ok!"
| Shell |
vimpath=$HOME/.vim
vimrcpath=$HOME/.vimrc
rm -rf $vimpath
rm -f $vimrcpath
cp -r ./vimfiles $vimpath
cp ./_vimrc $vimrcpath
echo "ok!"
| Shell |
#!/bin/bash
../src/mednafen -dump_settings_def settings.def -dump_modules_def modules.def
# TODO: Dump to settings.def.tmp, and move to settings.def if different for more useful "last modified" time.
php gba.php > gba.html
php gb.php > gb.html
php lynx.php > lynx.html
php md.php > md.html
php nes.php > nes.html
php ... | Shell |
#!/bin/bash
../src/mednafen -dump_settings_def settings.def -dump_modules_def modules.def
# TODO: Dump to settings.def.tmp, and move to settings.def if different for more useful "last modified" time.
php gba.php > gba.html
php gb.php > gb.html
php lynx.php > lynx.html
php md.php > md.html
php nes.php > nes.html
php ... | Shell |
#!/bin/bash
../src/mednafen -dump_settings_def settings.def -dump_modules_def modules.def
# TODO: Dump to settings.def.tmp, and move to settings.def if different for more useful "last modified" time.
php gba.php > gba.html
php gb.php > gb.html
php lynx.php > lynx.html
php md.php > md.html
php nes.php > nes.html
php ... | Shell |
#!/bin/bash
../src/mednafen -dump_settings_def settings.def -dump_modules_def modules.def
# TODO: Dump to settings.def.tmp, and move to settings.def if different for more useful "last modified" time.
php gba.php > gba.html
php gb.php > gb.html
php lynx.php > lynx.html
php md.php > md.html
php nes.php > nes.html
php ... | Shell |
#!/bin/bash
../src/mednafen -dump_settings_def settings.def -dump_modules_def modules.def
# TODO: Dump to settings.def.tmp, and move to settings.def if different for more useful "last modified" time.
php gba.php > gba.html
php gb.php > gb.html
php lynx.php > lynx.html
php md.php > md.html
php nes.php > nes.html
php ... | Shell |
#!/bin/bash
../src/mednafen -dump_settings_def settings.def -dump_modules_def modules.def
# TODO: Dump to settings.def.tmp, and move to settings.def if different for more useful "last modified" time.
php gba.php > gba.html
php gb.php > gb.html
php lynx.php > lynx.html
php md.php > md.html
php nes.php > nes.html
php ... | Shell |
#!/bin/bash
../src/mednafen -dump_settings_def settings.def -dump_modules_def modules.def
# TODO: Dump to settings.def.tmp, and move to settings.def if different for more useful "last modified" time.
php gba.php > gba.html
php gb.php > gb.html
php lynx.php > lynx.html
php md.php > md.html
php nes.php > nes.html
php ... | Shell |
#!/bin/bash
../src/mednafen -dump_settings_def settings.def -dump_modules_def modules.def
# TODO: Dump to settings.def.tmp, and move to settings.def if different for more useful "last modified" time.
php gba.php > gba.html
php gb.php > gb.html
php lynx.php > lynx.html
php md.php > md.html
php nes.php > nes.html
php ... | Shell |
#!/bin/bash
BuildDir="diskimage"
ResourceDir="dmgfiles"
TempImage="Temp.dmg"
ImageName="wifiTunes"
if test -d dist/wifiTunes.prefPane ; then
echo ".prefPane exists"
else
echo "no .prefPane found"
exit 1
fi
mkdir "$BuildDir"
mv dist/wifiTunes.prefPane "$BuildDir"
cp "$ResourceDir/background.png" "$BuildDi... | Shell |
#!/bin/bash
BuildDir="diskimage"
ResourceDir="dmgfiles"
TempImage="Temp.dmg"
ImageName="wifiTunes"
if test -d dist/wifiTunes.prefPane ; then
echo ".prefPane exists"
else
echo "no .prefPane found"
exit 1
fi
mkdir "$BuildDir"
mv dist/wifiTunes.prefPane "$BuildDir"
cp "$ResourceDir/background.png" "$BuildDi... | Shell |
#!/bin/bash
BuildDir="diskimage"
ResourceDir="dmgfiles"
TempImage="Temp.dmg"
ImageName="wifiTunes"
if test -d dist/wifiTunes.prefPane ; then
echo ".prefPane exists"
else
echo "no .prefPane found"
exit 1
fi
mkdir "$BuildDir"
mv dist/wifiTunes.prefPane "$BuildDir"
cp "$ResourceDir/background.png" "$BuildDi... | Shell |
#!/bin/bash
BuildDir="diskimage"
ResourceDir="dmgfiles"
TempImage="Temp.dmg"
ImageName="wifiTunes"
if test -d dist/wifiTunes.prefPane ; then
echo ".prefPane exists"
else
echo "no .prefPane found"
exit 1
fi
mkdir "$BuildDir"
mv dist/wifiTunes.prefPane "$BuildDir"
cp "$ResourceDir/background.png" "$BuildDi... | Shell |
export DEVKITPRO=/home/user/devkitPro/
export DEVKITPPC=$DEVKITPRO/devkitPPC/
export WIILOAD=tcp:192.168.178.28
#export WIILOAD=tcp:192.168.43.197
/home/user/devkitPro/devkitPPC/bin/wiiload /home/user/WIISTRIFE/boot.dol
| Shell |
#! /bin/sh
#
# Original version (C) 2000 Pontscho/fresh!mindworkz
# pontscho@makacs.poliod.hu
#
# History / Contributors: Check the Subversion log.
#
# Cleanups all over the place (c) 2001 pl
#
#
# This configure script is *not* autoconf-based and has different semantics.
# It attempts t... | Shell |
#!/bin/sh
test "$1" && extra="-$1"
# releases extract the version number from the VERSION file
version=$(cat VERSION 2> /dev/null)
if test -z $version ; then
# Extract revision number from file used by daily tarball snapshots
# or from the places different Subversion versions have it.
svn_revision=$(cat snapshot_ver... | Shell |
#!/bin/sh
# Check help message header files.
CHECK=checkhelp
trap "rm -f ${CHECK}.c ${CHECK}.o" EXIT
CC=$1
shift
for h in "$@"; do
cat <<EOF > ${CHECK}.c
#include <inttypes.h>
#include <string.h>
#include "config.h"
#include "$h"
void $CHECK () {
EOF
sed -n "s:^[ \t]*#define[ \t]\+\([0-9A-Za-z_]\+\)[ \t].*:strd... | Shell |
#!/bin/sh
# Create the messages header file from the master source file or a translation.
# Missing messages are filled in from the master message file and, if
# requested, character set conversion is performed.
if test -z $2 ; then
echo "Error: missing parameters"
echo "Usage: $0 <messages file> <chara... | Shell |
#!/bin/sh
# Create the messages header file from the master source file or a translation.
# Missing messages are filled in from the master message file and, if
# requested, character set conversion is performed.
if test -z $2 ; then
echo "Error: missing parameters"
echo "Usage: $0 <messages file> <chara... | Shell |
#!/bin/sh
# Check help message header files.
CHECK=checkhelp
trap "rm -f ${CHECK}.c ${CHECK}.o" EXIT
CC=$1
shift
for h in "$@"; do
cat <<EOF > ${CHECK}.c
#include <inttypes.h>
#include <string.h>
#include "config.h"
#include "$h"
void $CHECK () {
EOF
sed -n "s:^[ \t]*#define[ \t]\+\([0-9A-Za-z_]\+\)[ \t].*:strd... | Shell |
#!/bin/sh
# updates all changed/new results in ref/
find res -name '*.bad' | while read bad_res ; do
ref_file="ref/${bad_res#res/}"
ref_file="${ref_file%.bad}"
mkdir -p "$(dirname "$ref_file")"
cp "$bad_res" "$ref_file"
done
| Shell |
#!/bin/sh
if [ -z "$FATE_SAMPLES" ] ; then
echo "FATE_SAMPLES is not set!"
exit 1
fi
sample="$1"
md5out="tests/res/$sample.md5"
ref_file="tests/ref/$sample.md5"
options="-noconfig all -lavdopts threads=4:bitexact:idct=2 -really-quiet -noconsolecontrols -nosound -benchmark"
if [ -z ${sample##h264-conformance/*} ] ;... | Shell |
#!/bin/sh
# updates all changed/new results in ref/
find res -name '*.bad' | while read bad_res ; do
ref_file="ref/${bad_res#res/}"
ref_file="${ref_file%.bad}"
mkdir -p "$(dirname "$ref_file")"
cp "$bad_res" "$ref_file"
done
| Shell |
#!/bin/sh
if [ -z "$FATE_SAMPLES" ] ; then
echo "FATE_SAMPLES is not set!"
exit 1
fi
sample="$1"
md5out="tests/res/$sample.md5"
ref_file="tests/ref/$sample.md5"
options="-noconfig all -lavdopts threads=4:bitexact:idct=2 -really-quiet -noconsolecontrols -nosound -benchmark"
if [ -z ${sample##h264-conformance/*} ] ;... | Shell |
#!/bin/bash
# Helper script to ease comparing the PSNR between two video files
# Copyleft 2005 by Matthias Wieser
# Copyleft 2005 by Ivo
# This file comes under GPL, see http://www.gnu.org/copyleft/gpl.html for more
# information on its licensing.
warning_frame_number () {
echo "Files have differing numbers o... | Shell |
#!/bin/bash
# -----------------------------------------------------------------------------
# Check source-tree for anomalies
#
# Copyright (C) 2005-2007 by Ivo van Poorten
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as publi... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.