code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/sh # This script is meant to be used as a wrapper script. Place it in /usr/local/bin, # mark it +x, then you can use `daily` to run the script from any directory. # Where your wine-git directory is located. We need to 'cd' there. Most people # have it in $HOME/wine-git, but I know some cranky bastard is going t...
Shell
#!/bin/sh # # Wine build-helper script # # Copyright 2009 Austin English <austinenglish@gmail.com> # # Redistribution and use in source and binary forms, with or without modification, are # permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright n...
Shell
#!/bin/bash # # Simple script to automate installing new kernels from Ubuntu's kernel testing PPA. # It will apt-get update, then apt-get dist-upgrade for you. If a new kernel is installed, # your computer will be rebooted. If not, runs the commands specified. # Use this to, e.g., automate building your project with th...
Shell
#!/bin/sh # Regression test for winetricks-alpha set -x # verbs known to not work in -q mode yet BLACKLIST="cygwin" errors=0 fail() { echo FAIL: $@ errors=`expr $errors + 1` } case "$LANG" in ""|"C") echo "Some games won't install in the Posix locale; doing 'export LANG=en_US.UTF-8'" ; export LANG=en_US.UTF...
Shell
#!/bin/bash # Home folder Symlinks rmdir ~/Documents rmdir ~/Downloads rmdir ~/Music rmdir ~/Pictures rmdir ~/Videos ln -s /dados/Arquivos/ ~/Documents ln -s /dados/Download/ ~/Downloads ln -s /dados/Mp3/Albuns/ ~/Music ln -s /dados/Arquivos/My\ Pictures/ ~/Pictures ln -s /dados/...
Shell
#!/bin/bash # Removes a wine prefix (cleanly, including user menus) basedir=$(dirname $(readlink -f "${BASH_SOURCE[0]}")) [[ -r "$basedir/lib/common" ]] && source "$basedir/lib/common" [[ -r "$basedir/lib/wine" ]] && source "$basedir/lib/wine" # input # none #parameters VERBOSE=1 FORCE=1 prefix="$HOME/.wine" if ...
Shell
#!/bin/bash # # clearsign - Signs a single file using GnuPG (gpg) # in clearsign mode (non-detached, ASCII-armored) # Uses zenity for GUI. Nautilus-scripts compatible. # # Copyright (C) 2011 Rodrigo Silva - <linux@rodrigosilva.com> # # This program is free software: you can redistribute it and/or modify # it u...
Shell
#!/bin/bash flag=0 while IFS= read -r -n1 c; do if [[ "$c" == '"' ]]; then ((flag^=1)) printf "%c" "$c" elif [[ "$c" == $'\0' ]]; then echo elif [[ "$c" == "/" ]]; then printf "/" elif ((flag)); then printf "<U%04X>" "'$c" else printf "%c" "$c" fi done < "$1" ##!/bin/bash #while IFS= read -r -...
Shell
#!/bin/bash SELF=`basename $0` LABEL="Multiboot" DRIVE="/dev/sdc" PARTITION="/dev/sdc2" ISOSOURCE="/dados/Install/Linux" ISOTARGET="/iso" MOUNT="/media/$LABEL" ISODEST="${MOUNT}${ISOTARGET}" # create filesystem on usb pen #sudo mkfs.vfat -n ${LABEL} ${PARTITION} #mount the partition # TODO: gvfs-mount -d $PARTITIO...
Shell
#!/bin/bash # Delete a wine prefix basedir=$(dirname $(readlink -f "${BASH_SOURCE[0]}")) if [ -r "$basedir/lib/common" ]; then source "$basedir/lib/common" ; fi if [ -r "$basedir/lib/wine" ]; then source "$basedir/lib/wine" ; fi # input prefix="$1" #parameters VERBOSE= FORCE= if [[ -z "$prefix" ]] ; then echo...
Shell
#!/bin/bash awk -F'<U0+|>' '{ for(i=1;i<=NF;i++) { if($i ~ "^[0-9A-F]+$") $i=sprintf("%c", strtonum("0x"$i)) } }1' OFS="" "$1"
Shell
#!/bin/bash # # Rename subtitles (.srt files) to match the given video files # # Copyright (C) 2011 Rodrigo Silva (MestreLion) <linux@rodrigosilva.com> # License: GPLv3 or later, at your choice. See <http://www.gnu.org/licenses/gpl> # # TODO: Sort files array # TODO: Support for multiple language subtitles ( *.xx.srt )...
Shell
#!/bin/bash # useful snippets for menus and user-interactive scripts. For reference only # All will loop until user chooses to quit (blank, menu choice, cancel) # Read while read -r -p "Tell me your city (ENTER to quit): " city && [[ $city ]]; do echo "You live in $city" done # One-liner (for pasting in #bash) whil...
Shell
#!/bin/bash arguments="PWD\n$PWD\n\n" arguments="${arguments}NAUTILUS_SCRIPT_CURRENT_URI\n$NAUTILUS_SCRIPT_CURRENT_URI\n\n" arguments="${arguments}NAUTILUS_SCRIPT_SELECTED_URIS\n$NAUTILUS_SCRIPT_SELECTED_URIS\n" arguments="${arguments}NAUTILUS_SCRIPT_SELECTED_FILE_PATHS\n$NAUTILUS_SCRIPT_SELECTED_FILE_PATHS\n" i=0 wh...
Shell
#!/bin/bash # Lazy "checkboxes" in bash script # (for those who dont want to use whiptail) # # My most complex (and cryptic... and useless) script so far # answers http://serverfault.com/questions/144939 # # options=("AAA" "BBB" "CCC" "DDD") menu() { echo 'Avaliable options:' for i in ${!options[@]}; do printf '...
Shell
#!/bin/bash # # A replacement for bash's "select" builtin command # (exercise only - not meant to be taken too seriously) # # Copyright (C) 2011 Rodrigo Silva (MestreLion) <linux@rodrigosilva.com> # License: GPLv3 or later, at your choice. See <http://www.gnu.org/licenses/gpl> # PS3="Choose an option (0 to quit): " #...
Shell
#!/bin/bash # Creates a new Wine prefix and perform initial tasks: # - Remove z: symlink to / # - Create d: symlink to /dados basedir=$(dirname $(readlink -f "${BASH_SOURCE[0]}")) [[ -r "$basedir/lib/common" ]] && source "$basedir/lib/common" [[ -r "$basedir/lib/wine" ]] && source "$basedir/lib/wine" # input pref...
Shell
#!/bin/bash # # cp-deep - Copy file from SOURCE(s) to DESTINATION, creating path if needed # # Copyright (C) 2011 Rodrigo Silva (MestreLion) <linux@rodrigosilva.com> # # 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 #...
Shell
#!/bin/bash # # Calculates the CRC-16 checksum of a string # like cksum does for CRC32 # # Copyright (C) 2011 Rodrigo Silva (MestreLion) <linux@rodrigosilva.com> # License: GPLv3 or later, at your choice. See <http://www.gnu.org/licenses/gpl> # # References: # 0x10 blog: <http://zeroxten.blogspot.com/search/label/crc16...
Shell
#!/bin/bash -u # # wine-import-extensions - Register native file extensions in Wine # # Copyright (C) 2011 Rodrigo Silva (MestreLion) <linux@rodrigosilva.com> # # 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...
Shell
#!/bin/sh quoted=$(echo "$NAUTILUS_SCRIPT_SELECTED_FILE_PATHS" | awk 'BEGIN { FS = "\n" } { printf "\"%s\" ", $1 }' | sed -e s#\"\"##) bcompare $quoted
Shell
#!/bin/bash # # clearsign - Signs a single file using GnuPG (gpg) # in clearsign mode (non-detached, ASCII-armored) # Uses zenity for GUI. Nautilus-scripts compatible. # # Copyright (C) 2011 Rodrigo Silva - <linux@rodrigosilva.com> # # This program is free software: you can redistribute it and/or modify # it u...
Shell
#!/bin/sh arg2=$(cat $HOME/.beyondcompare/nautilus) arg1=$(echo "$NAUTILUS_SCRIPT_SELECTED_FILE_PATHS" | awk 'BEGIN { FS = "\n" } { printf "\"%s\" ", $1 }' | sed -e s#\"\"##) bcompare $arg1 $arg2
Shell
#!/bin/sh quoted=$(echo "$NAUTILUS_SCRIPT_SELECTED_FILE_PATHS" | awk 'BEGIN { FS = "\n" } { printf "\"%s\" ", $1 }' | sed -e s#\"\"##) echo "$quoted" > $HOME/.beyondcompare/nautilus
Shell
#!/bin/bash # # Wrapper for matchsubtitles, suitable for Nautilus Scripts # # Copyright (C) 2011 Rodrigo Silva (MestreLion) <linux@rodrigosilva.com> # License: GPLv3 or later, at your choice. See <http://www.gnu.org/licenses/gpl> error=$(matchsubtitles --undo ".matchsubtitles_undo.sh" --run -- "$@" 2>&1 >/dev/null) [...
Shell
#!/bin/bash if [ -z "$WINEHOME" ]; then echo "WINEHOME is not set! Please set it to your prefixes folder" echo "Example: " echo " export WINEHOME=\"$HOME/.local/share/wineprefixes\"" exit 1 fi
Shell
#!/bin/bash # # lib/common - library of common functions used in my personal scripts # # Copyright (C) 2011 Rodrigo Silva - <linux@rodrigosilva.com> # # 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 Soft...
Shell
#!/bin/bash # # ntfsuuid - Tools for manipulating UUIDs in NTFS filesystems # # Copyright (C) 2011 Rodrigo Silva - <linux@rodrigosilva.com> # # 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 Foun...
Shell
#! /bin/bash # Fix the following WARNING in ~/.xsession-errors # gnome-session[2035]: EggSMClient-WARNING: Desktop file '/home/rodrigosilva/.config/autostart/skype.desktop' has malformed Icon key 'skype.png'(should not include extension) file="$HOME/.config/autostart/skype.desktop" if [ -f "$file" ] ; then if `cat ...
Shell
#! /bin/bash # Fix the following WARNING in ~/.xsession-errors # gnome-session[2035]: EggSMClient-WARNING: Desktop file '/home/rodrigosilva/.config/autostart/skype.desktop' has malformed Icon key 'skype.png'(should not include extension) file="$HOME/.config/autostart/skype.desktop" newfile="$PWD/`basename "$file"`" o...
Shell
#! /bin/bash # Add Eudora to list of mail handlers in Menu > Preferences > Prefered Applications # Launcher rm -f "$HOME/bin/eudora" # Icons rm -f "$HOME/.local/share/icons/hicolor/16x16/apps/eudora.png" rm -f "$HOME/.local/share/icons/hicolor/32x32/apps/eudora.png" rm -f "$HOME/.local/share/icons/hicolor/48x48/apps...
Shell
#! /bin/bash # Add Eudora to list of mail handlers in Menu > Preferences > Prefered Applications BASEDIR=$(dirname $(readlink -f "${BASH_SOURCE[0]}")) # Launcher cp-deep "$BASEDIR/eudora.sh" "$HOME/bin/eudora" chmod +x "$HOME/bin/eudora" exit # Icons cp-deep "$BASEDIR/eudora16.png" "$HOME/.local/share/icons/hicolor/...
Shell
#!/bin/bash # # eudora - Launcher for Qualcomm's Eudora Mail 7 under Wine # # Copyright (C) 2011 Rodrigo Silva (MestreLion) <linux@rodrigosilva.com> # # 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 Soft...
Shell
#!/bin/bash # build script for pycrypto for Py4a VERSION=2.3 NAME=pycrypto URL=http://ftp.dlitz.net/pub/dlitz/crypto/pycrypto if [ ! -f ${NAME}-${VERSION}.tar.gz ]; then wget -O ${NAME}-${VERSION}.tar.gz ${URL}/${NAME}-${VERSION}.tar.gz fi if [ ! -d ${NAME}-${VERSION} ]; then rm -rf ${NAME}-${VERSION} tar -xv...
Shell
#!/bin/bash VERSION="r1" ndk-build rm -rf out mkdir out cp -r twisted out cp libs/armeabi/_epoll.so _initgroups.so out/twisted/python cp libs/armeabi/_sigchld.so out/twisted/internet cp libs/armeabi/_c_urlarg.so out/twisted/protocols cp libs/armeabi/raiser.so out/twisted/test pushd out rm ../twisted-${VERSION}.zip zi...
Shell
#!/bin/bash VERSION="r1" ndk-build rm -rf out mkdir out cp -r zope out cp libs/armeabi/*.so out/zope/interface pushd out rm ../zope-${VERSION}.zip zip -r ../zope-${VERSION}.zip . popd
Shell
gomake&&./server
Shell
# IEs4Linux # Functions needed everywhere. # All functions *should* be declared using 'function' keyword. # All global variables used by functions should have function name in their name. # DEBUG MODULE ################################################################ # Print a message if debug is on # $* Message to ...
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
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
Shell
#!/bin/sh -e # This script is run to create persistent network device naming rules # based on properties of the device. # If the interface needs to be renamed, INTERFACE_NEW=<name> will be printed # on stdout to allow udev to IMPORT it. # variables used to communicate: # MATCHADDR MAC address used for t...
Shell
#! /bin/sh #----------------------------------------------------------------------------- # WineLocale # # This script adds related locales to the system's supported tables. We do # not simply install locales out of Ubuntu because, frankly, Ubuntu's locale # packages suck. Most do not even give users the following enc...
Shell
#! /bin/sh #----------------------------------------------------------------------------- # WineLocale #----------------------------------------------------------------------------- all: @echo "Makefile: Available actions: install, uninstall" # install the script install: cp ../winelocale.py /usr/bin/winelocale.py...
Shell
#!/bin/sh cp ../README . checkinstall --maintainer=derrick@cinnamonpirate.com --pkglicense="BSD License" --pkggroup=x11 --require="wine, python2.5, python-gtk2, ttf-arphic-uming, ttf-sazanami-gothic, ttf-sazanami-mincho, ttf-baekmuk, culmus"
Shell
#! /bin/sh #----------------------------------------------------------------------------- # WineLocale # # This script adds related locales to the system's supported tables. We do # not simply install locales out of Ubuntu because, frankly, Ubuntu's locale # packages suck. Most do not even give users the following enc...
Shell
#!/bin/sh cp ../README . checkinstall --maintainer=derrick@cinnamonpirate.com --pkglicense="BSD License" --pkggroup=x11 --require="wine, python2.5, python-gtk2, ttf-arphic-uming, ttf-sazanami-gothic, ttf-sazanami-mincho, ttf-baekmuk, culmus"
Shell
#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2009-04-28.21; # UTC # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free # Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU Ge...
Shell
#! /bin/sh # libtool - Provide generalized library-building support services. # Generated automatically by config.status (polo) 0.1 # Libtool was configured on host timberline.bld.corp.google.com: # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001,...
Shell
# Generated from ltmain.m4sh. # ltmain.sh (GNU libtool) 2.2.6b # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # ...
Shell
#!/bin/sh # install - install a program, script, or datafile scriptversion=2009-04-28.21; # UTC # 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 is ...
Shell
#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2009-04-28.21; # UTC # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, # 2008, 2009 Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is free softw...
Shell
#! /bin/sh # Wrapper for compilers which do not understand `-c -o'. # Copyright 1999, 2000 Free Software Foundation, Inc. # Written by Tom Tromey <tromey@cygnus.com>. # # 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 F...
Shell
#!/bin/sh # Before using, you should figure out all the .m4 macros that your # configure.m4 script needs and make sure they exist in the m4/ # directory. # # These are the files that this script might edit: # aclocal.m4 configure Makefile.in src/config.h.in \ # depcomp config.guess config.sub install-sh missing ...
Shell
#!/usr/bin/env bash ############################################################################## ## ## Gradle start up script for UN*X ## ############################################################################## # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to ...
Shell
#! /bin/bash # Binary of the Texturepacker: TEXTUREPACKER_BINARY=/usr/local/bin/TexturePacker # Shared Spritesheet-Output-Definitions: SPRITESHEET_OUTPUT_DIRECTORY="../assets/gfx/spritesheets/" SPRITESHEET_OUTPUT_JAVAIDS_PACKAGE="org.anddev.andengine.examples.spritesheets" SPRITESHEET_OUTPUT_JAVAIDS_DIRECTORY="../src...
Shell
#! /bin/sh # Output a system dependent set of variables, describing how to set the # run time search path of shared libraries in an executable. # # Copyright 1996-2003 Free Software Foundation, Inc. # Taken from GNU libtool, 2001 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # # This program is ...
Shell
#!/bin/bash gcc `pkg-config --cflags --libs glib-2.0` myspell2dic.c -o myspell2dic echo "Please wait..." recode latin1..utf-8 </usr/share/myspell/dicts/es_ES.dic >es_ES.dic.utf recode latin1..utf-8 </usr/share/myspell/dicts/es_ES.aff >es_ES.aff.utf echo |./myspell2dic es_ES.dic.utf es_ES.aff.utf 2>/dev/null recode ko...
Shell
#!/bin/bash gcc exc2i2e.c -o exc2i2e rename /usr/share/stardict/dic/i2e /usr/share/stardict/dic/temp /usr/share/stardict/dic/i2e.* 2>/dev/null rename /usr/share/stardict/dic/e2i /usr/share/stardict/dic/temp2 /usr/share/stardict/dic/e2i.* 2>/dev/null ./exc2i2e >t /usr/lib/stardict/i2e2dict t rm t rename /usr/share/sta...
Shell
#!/bin/sh # Create images for StarDict, like application icon, tray icons, Acrobat plugin icons # StarDict icons may be created from a single multilayer image. # Most layers are used only for specific icon types, but images of two books are present # on all icons. This script deletes layers, resize image and change co...
Shell
#!/bin/bash gcc `pkg-config --cflags --libs glib-2.0` ooo2dict.c -o ooo2dict echo |./ooo2dict 2>/dev/null recode latin1..utf-8 </usr/share/myspell/dicts/th_de_DE_v2.dat >th_de_DE_v2.dat.utf echo "OpenThesaurus.de_German" |./ooo2dict th_de_DE_v2.dat.utf 2>/dev/null recode latin1..utf-8 </usr/share/myspell/dicts/th_it_...
Shell
#!/bin/bash recode latin1..utf-8 </usr/share/i2e/i2e.dict >i2e.dict.utf gcc -g `pkg-config --cflags --libs glib-2.0` i2e2dict.c -o i2e2dict ./i2e2dict rm i2e.dict.utf echo "Restart StarDict now!"
Shell
#!/bin/sh echo "Boostrapping StarDict tools..." (libtoolize --version) < /dev/null > /dev/null 2>&1 || { echo; echo "You must have libtool installed to compile Stardict"; echo; exit; } (automake --version) < /dev/null > /dev/null 2>&1 || { echo; echo "You must have automake installed to compile Stardict"; ech...
Shell
#!/bin/sh echo "Bootstrapping StarDict root..." # (libtoolize --version) < /dev/null > /dev/null 2>&1 || { # echo; # echo "You must have libtool installed to compile StarDict"; # echo; # exit; # } (automake --version) < /dev/null > /dev/null 2>&1 || { echo; echo "You must have automake installed to compile Sta...
Shell
#! /bin/sh # Output a system dependent set of variables, describing how to set the # run time search path of shared libraries in an executable. # # Copyright 1996-2003 Free Software Foundation, Inc. # Taken from GNU libtool, 2001 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # # This program is ...
Shell
#!/bin/sh # postinst script for stardict set -e case "$1" in configure) # if [ -e /etc/gconf/schemas/stardict.schemas ]; then # HOME=/root \ # GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` \ # /usr/bin/gconftool-2 \ # --makefile-install-rule /etc/gconf/schemas/stardict.schemas ...
Shell
#!/bin/sh # postrm script for stardict set -e case "$1" in remove) # if [ -x /usr/bin/scrollkeeper-update ]; then # /usr/bin/scrollkeeper-update -q # fi ;; purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) ;; *) echo "postrm called with unknown argument \`$1'"...
Shell
#!/bin/sh # Run this to generate all the initial makefiles, etc. echo "Boostrapping StarDict dictionary..." srcdir=`dirname $0` test -z "$srcdir" && srcdir=. PKG_NAME="stardict" REQUIRED_AUTOMAKE_VERSION=1.9 (test -f $srcdir/configure.ac \ && test -f $srcdir/ChangeLog \ && test -d $srcdir/src) || { echo -n ...
Shell
#!/bin/sh echo "Boostrapping common lib..." (libtoolize --version) < /dev/null > /dev/null 2>&1 || { echo; echo "You must have libtool installed to compile common lib"; echo; exit; } (automake --version) < /dev/null > /dev/null 2>&1 || { echo; echo "You must have automake installed to compile common lib"; ech...
Shell
#!/bin/bash adb shell am instrument -w cz.romario.opensudoku.test/android.test.InstrumentationTestRunner # run single test: # adb shell am instrument -w -e class cz.romario.opensudoku.game.CellNoteTest cz.romario.opensudoku/android.test.InstrumentationTestRunner exit 0
Shell
#!/bin/bash adb shell am instrument -w cz.romario.opensudoku.test/android.test.InstrumentationTestRunner # run single test: # adb shell am instrument -w -e class cz.romario.opensudoku.game.CellNoteTest cz.romario.opensudoku/android.test.InstrumentationTestRunner exit 0
Shell
#1/bin/bash javadoc -author -linkoffline http://d.android.com/reference file:/usr/local/android-sdk-linux_86/docs/reference -classpath /usr/local/android-sdk-linux_86/platforms/android-4/android.jar -d javadocs/ -sourcepath `find . -name *.java`
Shell
#! /bin/bash # Binary of the Texturepacker: TEXTUREPACKER_BINARY=/usr/local/bin/TexturePacker # Shared Spritesheet-Output-Definitions: SPRITESHEET_OUTPUT_DIRECTORY="../assets/gfx/spritesheets/" SPRITESHEET_OUTPUT_JAVAIDS_PACKAGE="org.anddev.andengine.examples.spritesheets" SPRITESHEET_OUTPUT_JAVAIDS_DIRECTORY="../src...
Shell
#! /bin/sh # Wrapper for compilers which do not understand `-c -o'. # Copyright 1999, 2000 Free Software Foundation, Inc. # Written by Tom Tromey <tromey@cygnus.com>. # # 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 F...
Shell
# Generated from ltmain.m4sh. # ltmain.sh (GNU libtool) 2.2.6b # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # ...
Shell
#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2009-04-28.21; # UTC # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free # Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU Ge...
Shell
#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2009-04-28.21; # UTC # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, # 2008, 2009 Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is free softw...
Shell
#!/bin/sh # install - install a program, script, or datafile scriptversion=2009-04-28.21; # UTC # 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 is ...
Shell
#! /bin/sh # libtool - Provide generalized library-building support services. # Generated automatically by config.status (polo) 0.1 # Libtool was configured on host timberline.bld.corp.google.com: # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001,...
Shell
#!/bin/sh # Before using, you should figure out all the .m4 macros that your # configure.m4 script needs and make sure they exist in the m4/ # directory. # # These are the files that this script might edit: # aclocal.m4 configure Makefile.in src/config.h.in \ # depcomp config.guess config.sub install-sh missing ...
Shell
#!/bin/sh prog=(/Users/thantthetkz/KeyMagic/build/Release/KeyMagic.app/Contents/MacOS/KeyMagic) killall ${prog[0]##*/} exec "${prog[@]}" startup # defaults write com.apple.loginwindow LoginHook /Users/thantthetkz/KeyMagic/startup.sh
Shell
#!/bin/sh rm -rf "$HOME/Library/Input Methods/KeyMagic.app" #sudo rm -rf "/Library/Input Methods/KeyMagic.app"
Shell
#!/bin/sh cd "/tmp" mkdir "$HOME/.keymagic" mv "kbLayouts.zip" "$HOME/.keymagic/" cd "$HOME/.keymagic/" unzip "kbLayouts.zip" rm "kbLayouts.zip"
Shell
#!/bin/sh cd `dirname $0` cd ./../../LayoutScripts/ zip ./../OSX/package/kbLayouts myWin.km2 Mon.km2 MyanSan.km2 PangLongShan.km2 "Yunghkio SHAN.km2" "Zawgyi L - Unicode.km2"
Shell
#!/bin/sh set -e set -x autopoint libtoolize --automake --copy aclocal -I m4 autoheader automake --add-missing --copy autoconf export CFLAGS="-g -O0" export CXXFLAGS="$CFLAGS" ./configure --enable-maintainer-mode $*
Shell
#!/bin/bash /usr/local/bin/python cutemail.py &
Shell
#!/bin/sh RC_VERSION=3.1.1-SNAPSHOT chmod a+x restclient-ui/target/restclient-ui-${RC_VERSION}/WizTools.org\ RESTClient.app/Contents/MacOS/JavaApplicationStub
Shell
#!/bin/sh VERSION=3.1-SNAPSHOT cp restclient-cli/target/restclient-cli-${VERSION}-jar-with-dependencies.jar \ restclient-ui/target/restclient-ui-${VERSION}-jar-with-dependencies.jar \ restclient-ui/target/restclient-ui-${VERSION}-app.zip \ ~/Dropbox/Public/
Shell
#!/bin/sh svn log -v -r597:HEAD > rest-client-history-26.log
Shell
#!/bin/bash # set -uex curl 'http://localhost:8081/list-games'
Shell
#!/bin/bash # set -ue set -x curl -H "Content-Type: application/json" "http://localhost:12345/ping"
Shell
#!/bin/bash # set -ue backend="" # match dev_appserver oauth2 default user_id userID="0" while [ $# -ge 1 ] do arg="$1" shift if [ "$arg" == "-b" ] then backend=1 else userID="$arg" fi done if [ "$backend" ] then # matcher backend set -x curl --data-binary "{}" -H "Content-Type: applicatio...
Shell
#!/bin/bash # set -uex dev_appserver.py \ --host 0.0.0.0 \ --skip_sdk_update_check yes \ . $*
Shell
#!/bin/bash # set -uex curl 'http://localhost:8081/debug'
Shell
#!/bin/bash # set -uex curl 'http://localhost:8081/start-game'
Shell
#!/bin/bash # set -ue set -x curl -H "Content-Type: application/json" "http://localhost:12345/log"
Shell
#!/bin/bash # set -ue # make sure stuff is installed [ ! -d 'node_modules' ] && npm install socket.io express set -x # run the game node games-server/main.js $*
Shell
#!/bin/bash # set -ue pairing_key=$( cat shared/pairing-key.json | sed -e 's/{"key": "//' -e 's/".*//' ) set -x data='{ "userID": 823478923748932, "displayName": "fredsa", "game_name": "syXv", "player_game_key": "283473289478329" }' curl --data-binary "$data" -H "Content-Type: application/json" "http://localhost:1234...
Shell
open "`./win_shortcut -l "$1"`"
Shell
#!/bin/bash # 打开apache.http调试信息 adb shell setprop log.tag.org.apache.http VERBOSE adb shell setprop log.tag.org.apache.http.wire VERBOSE adb shell setprop log.tag.org.apache.http.headers VERBOSE echo "Enable Debug"
Shell
#!/bin/sh # # smistrip -- # # Extract MIB modules from text files, like RFCs or I-Ds. # # This is variant of smistrip from libsmi-0.2, modified to be somewhat # more aggressive in suppressing blank lines, and support the -x option. # # Copyright (c) 1999 Frank Strauss, Technical University of Braunschweig. # Modified b...
Shell