code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/bash
#
# Fanboy Adblock list - Filename checks v1.0 (7/05/2011)
# Dual License CCby3.0/GPLv2
# http://creativecommons.org/licenses/by/3.0/
# http://www.gnu.org/licenses/gpl-2.0.html
#
# Checks for 0-sized files and smaller than expected files.
#
# Creating Temp storage dir...
#
if [ ! -d "/var/tmp/temp" ]; then... | Shell |
#!/bin/bash
#
# Fanboy Adblock list grabber script v1.4 (18/04/2011)
# Dual License CCby3.0/GPLv2
# http://creativecommons.org/licenses/by/3.0/
# http://www.gnu.org/licenses/gpl-2.0.html
#
# Creating a 20Mb ramdisk Temp storage...
#
if [ ! -d "/tmp/ramdisk/" ]; then
rm -rf /tmp/ramdisk/
mkdir /tmp/ramdisk; chm... | Shell |
#!/bin/bash
#
# Fanboy Italian IE Convert script v1.2 (17/04/2011)
# Dual License CCby3.0/GPLv2
# http://creativecommons.org/licenses/by/3.0/
# http://www.gnu.org/licenses/gpl-2.0.html
#
# Creating a 10Mb ramdisk Temp storage...
#
if [ ! -d "/tmp/ieramdisk/" ]; then
rm -rf /tmp/ieramdisk/
mkdir /tmp/ieramdisk;... | Shell |
#!/bin/bash
#
# Fanboy Tracking IE Convert script v1.2 (17/04/2011)
# Dual License CCby3.0/GPLv2
# http://creativecommons.org/licenses/by/3.0/
# http://www.gnu.org/licenses/gpl-2.0.html
#
# Creating a 10Mb ramdisk Temp storage...
#
if [ ! -d "/tmp/ieramdisk/" ]; then
rm -rf /tmp/ieramdisk/
mkdir /tmp/ieramdisk... | Shell |
#!/bin/bash
#
# Fanboy Turkish IE Convert script v1.2 (17/04/2011)
# Dual License CCby3.0/GPLv2
# http://creativecommons.org/licenses/by/3.0/
# http://www.gnu.org/licenses/gpl-2.0.html
#
# Creating a 10Mb ramdisk Temp storage...
#
if [ ! -d "/tmp/ieramdisk/" ]; then
rm -rf /tmp/ieramdisk/
mkdir /tmp/ieramdisk;... | Shell |
#!/bin/bash
#
# Fanboy Espanol/Portuguese IE Convert script v1.2 (17/04/2011)
# Dual License CCby3.0/GPLv2
# http://creativecommons.org/licenses/by/3.0/
# http://www.gnu.org/licenses/gpl-2.0.html
#
# Creating a 10Mb ramdisk Temp storage...
#
if [ ! -d "/tmp/ieramdisk/" ]; then
rm -rf /tmp/ieramdisk/
mkdir /tmp... | Shell |
#!/bin/bash
#
# Fanboy Espanol/Portuguese IE Convert script v1.2 (17/04/2011)
# Dual License CCby3.0/GPLv2
# http://creativecommons.org/licenses/by/3.0/
# http://www.gnu.org/licenses/gpl-2.0.html
#
# Creating a 10Mb ramdisk Temp storage...
#
if [ ! -d "/tmp/ieramdisk/" ]; then
rm -rf /tmp/ieramdisk/
mkdir /tmp... | Shell |
#!/bin/bash
#
# Fanboy Adblock IE Convert script v1.2 (17/04/2011)
# Dual License CCby3.0/GPLv2
# http://creativecommons.org/licenses/by/3.0/
# http://www.gnu.org/licenses/gpl-2.0.html
#
# Creating a 10Mb ramdisk Temp storage...
#
if [ ! -d "/tmp/ieramdisk/" ]; then
rm -rf /tmp/ieramdisk/
mkdir /tmp/ieramdisk;... | Shell |
#!/bin/bash
#
# Fanboy Japanese IE Convert script v1.2 (17/04/2011)
# Dual License CCby3.0/GPLv2
# http://creativecommons.org/licenses/by/3.0/
# http://www.gnu.org/licenses/gpl-2.0.html
#
# Creating a 10Mb ramdisk Temp storage...
#
if [ ! -d "/tmp/ieramdisk/" ]; then
rm -rf /tmp/ieramdisk/
mkdir /tmp/ieramdisk... | Shell |
#!/bin/bash
#
# Fanboy Russian IE Convert script v1.2 (17/04/2011)
# Dual License CCby3.0/GPLv2
# http://creativecommons.org/licenses/by/3.0/
# http://www.gnu.org/licenses/gpl-2.0.html
#
# Creating a 10Mb ramdisk Temp storage...
#
if [ ! -d "/tmp/ieramdisk/" ]; then
rm -rf /tmp/ieramdisk/
mkdir /tmp/ieramdisk;... | Shell |
#!/bin/bash
hg pull -u
# Firefox
perl scripts/addChecksum.pl fanboy-adblocklist-current-expanded.txt
perl scripts/addChecksum.pl fanboy-adblocklist-stats.txt
perl scripts/addChecksum.pl fanboy-adblocklist-addon.txt
perl scripts/addChecksum.pl enhancedstats-addon.txt
perl scripts/addChecksum.pl adblock-gannett.txt
per... | Shell |
#!/bin/bash
#essa variável descreve quais arquivos devem estar no classpath do java
RUNPATH="workspace/adsd-2011_1-lotv-webprinter/libs/simjava.jar:workspace/adsd-2011_1-lotv-webprinter/bin/";
echo "Tentando rodar com o seguinte PATH pro java: $RUNPATH"
#Esse i indexa o experimento
i=1;
while read line; do
#o desti... | Shell |
#!/bin/bash
#essa variável descreve quais arquivos devem estar no classpath do java
RUNPATH="workspace/adsd-2011_1-lotv-webprinter/libs/simjava.jar:workspace/adsd-2011_1-lotv-webprinter/bin/";
echo "Tentando rodar com o seguinte PATH pro java: $RUNPATH"
#Esse i indexa o experimento
i=1;
while read line; do
#o desti... | Shell |
#!/bin/sh
javac -cp ../orig: Demo1Main.java
exit 0
| Shell |
#!/bin/sh
javac Util.java
javac Registry.java
javac Properties.java
exit 0
| Shell |
#!/bin/sh
# ./test_run.sh orig_main ../orig
# ./test_run.sh new_main ../new
# ./test_run.sh orig_main ../new
cd $1
java -cp $2: Demo1Main
exit 0
| Shell |
#!/bin/sh
# ./test_run.sh orig_main ../orig
# ./test_run.sh new_main ../new
# ./test_run.sh orig_main ../new
cd $1
java -cp $2:../libs/GMC.jar:./ -Djava.library.path=../libs/ TCMain
exit 0
| Shell |
#!/bin/sh
# ./test_run.sh orig_main ../orig
# ./test_run.sh new_main ../new
# ./test_run.sh orig_main ../new
cd $1
java -cp $2: TCMain
exit 0
| Shell |
#!/bin/sh
# ./test_run.sh orig_main ../orig
# ./test_run.sh new_main ../new
# ./test_run.sh orig_main ../new
cd $1
java -cp $2: Test
exit 0
| Shell |
#!/bin/bash
ROOT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )"
dartanalyzer $ROOT_DIR/lib/*.dart
EXIT_CODE=$?
if [ $EXIT_CODE -ne 0 ]; then
exit 1
else
echo "done"
fi
TMPFILE=`mktemp --suffix .dart`
echo "dart --enable-checked-mode example/demo.dart > $TMPFILE"
dart --enable-checked-mode $ROOT_DI... | 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
adb shell cat /data/data/com.google.android.apps.iosched/shared_prefs/com.google.android.apps.iosched_preferences.xml | xmllint --format - | Shell |
#!/bin/sh
#
# Copyright 2013 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... | Shell |
#!/bin/sh
adb shell pm clear com.google.android.apps.iosched | Shell |
#!/bin/sh
if [[ -z $ADB ]]; then ADB=adb; fi
MAC_UNAME="Darwin"
if [[ "`uname`" == ${MAC_UNAME} ]]; then
DATE_FORMAT="%Y-%m-%dT%H:%M:%S"
else
DATE_FORMAT="%Y-%m-%d %H:%M:%S"
fi
if [ -z "$1" ]; then
NOW_DATE=$(date "+${DATE_FORMAT}")
echo Please provide a mock time in the format \"${NOW_DATE}\" or \"d\" to del... | Shell |
#!/bin/sh
# Remember VERBOSE only works on debug builds of the app
adb shell setprop log.tag.iosched_SyncHelper VERBOSE
adb shell setprop log.tag.iosched_SessionsHandler VERBOSE
adb shell setprop log.tag.iosched_BitmapCache VERBOSE
| Shell |
#!/bin/sh
if [[ -z $ADB ]]; then ADB=adb; fi
$ADB shell "echo '$*' | sqlite3 -header -column /data/data/com.google.android.apps.iosched/databases/schedule.db" | Shell |
#!/bin/sh
# Sessions list
#adb shell am start -a android.intent.action.VIEW -d content://com.google.android.apps.iosched/tracks/android/sessions
# Vendors list
#adb shell am start -a android.intent.action.VIEW -d content://com.google.android.apps.iosched/tracks/android/vendors
# Session detail
#adb shell am start -a... | 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/sh
SIZE=128
PREFIX=/home/luca/github/Open-SVG-Map-Icons
cd accommodation
generateonepng.sh -f $PREFIX/svg/accommodation/alpinehut.svg -c '#0000ff' -s $SIZE
generateonepng.sh -f $PREFIX/svg/accommodation/bed_and_breakfast.svg -c '#0000ff' -s $SIZE
generateonepng.sh -f $PREFIX/svg/accommodation/camping.sv... | Shell |
#Build script
#Clean up
rm -rf build
rm -rf dist
#create the needed directories
mkdir -m 770 -p dist
mkdir -m 770 -p build/classes
#Rmove the R.java file as will be created by aapt
rm ../../geopaparazzi.app/gen/eu/hydrologis/geopaparazzi/R.java
#Now use aapt
echo Create the R.java file
aapt p -f -v -M ../../geopap... | Shell |
# Shell to lanuagh the unit test.
TEST_DIR=./Test
# ./Test/SocketManagerTest s&
for file in $(ls $TEST_DIR)
do
$TEST_DIR/$file
done
| Shell |
#!/usr/bin/env bash
# Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
# For licensing, see LICENSE.html or http://ckeditor.com/license
# Use this file to quickly run the sample under Linux.
adl application.xml ../../
| Shell |
#!/usr/bin/env bash
# Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
# For licensing, see LICENSE.html or http://ckeditor.com/license
# Use this file to quickly run the sample under Linux.
adl application.xml ../../
| Shell |
#!/usr/bin/env bash
# Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
# For licensing, see LICENSE.html or http://ckeditor.com/license
# Use this file to quickly run the sample under Linux.
adl application.xml ../../
| Shell |
#!/usr/bin/env bash
# Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
# For licensing, see LICENSE.html or http://ckeditor.com/license
# Use this file to quickly run the sample under Linux.
adl application.xml ../../
| 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-2011, 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-2011, Cake Software Foundation, Inc.
#
# Licensed under The ... | Shell |
java -jar lib/simulador.jar --batch --start
java -jar lib/simulador.jar --batch
java -jar lib/simulador.jar --batch
java -jar lib/simulador.jar --batch
java -jar lib/simulador.jar --batch
java -jar lib/simulador.jar --batch
java -jar lib/simulador.jar --batch
java -jar lib/simulador.jar --batch
java -jar lib/simulador.... | Shell |
java -jar lib/simulador.jar --interface
| Shell |
#!/bin/sh
if [[ -z $ADB ]]; then ADB=adb; fi
./kill_process.sh
$ADB shell rm -r /data/data/com.google.android.apps.iosched/* | Shell |
#!/bin/sh
if [[ -z $ADB ]]; then ADB=adb; fi
$ADB shell am force-stop com.google.android.apps.iosched
| Shell |
#!/bin/sh
if [[ -z $ADB ]]; then ADB=adb; fi
$ADB shell "echo '$*' | sqlite3 -header -column /data/data/com.google.android.apps.iosched/databases/schedule.db" | Shell |
#!/bin/sh
# Sessions list
#adb shell am start -a android.intent.action.VIEW -d content://com.google.android.apps.iosched/tracks/android/sessions
# Vendors list
#adb shell am start -a android.intent.action.VIEW -d content://com.google.android.apps.iosched/tracks/android/vendors
# Session detail
#adb shell am start -a... | Shell |
#!/bin/sh
if [[ -z $ADB ]]; then ADB=adb; fi
MAC_UNAME="Darwin"
if [[ "`uname`" == ${MAC_UNAME} ]]; then
DATE_FORMAT="%Y-%m-%dT%H:%M:%S"
else
DATE_FORMAT="%Y-%m-%d %H:%M:%S"
fi
if [ -z "$1" ]; then
NOW_DATE=$(date "+${DATE_FORMAT}")
echo Please provide a mock time in the format \"${NOW_DATE}\" or \"d\" to del... | Shell |
#!/bin/sh
adb shell cat /data/data/com.google.android.apps.iosched/shared_prefs/com.google.android.apps.iosched_preferences.xml | xmllint --format - | Shell |
#!/bin/sh
# Remember VERBOSE only works on debug builds of the app
adb shell setprop log.tag.iosched_SyncHelper VERBOSE
adb shell setprop log.tag.iosched_SessionsHandler VERBOSE
adb shell setprop log.tag.iosched_ImageCache VERBOSE
adb shell setprop log.tag.iosched_ImageWorker VERBOSE
adb shell setprop log.tag.iosched_I... | Shell |
#!/bin/sh
adb shell pm clear com.google.android.apps.iosched | Shell |
#!/bin/sh
if [[ -z $ADB ]]; then ADB=adb; fi
$ADB shell am start \
-a android.intent.action.MAIN \
-c android.intent.category.LAUNCHER \
-n com.google.android.apps.iosched/.ui.HomeActivity
| Shell |
#!/bin/bash
if [ $# != 1 ]
then
echo "Usage: $0 emailAddress"
exit 1
fi
read -s -p "Password: " mypassword
echo ""
curl https://www.google.com/accounts/ClientLogin -d Email=$1 -d "Passwd=$mypassword" -d accountType=GOOGLE -d source=Google-cURL-Example -d service=ac2dm
| Shell |
#!/bin/sh
# Need to run a full clean install when changing the request factory interfaces
# Doing so deletes the local debug app engine database
# This script backs that up first
SRC=shuffle-app-engine/target/shuffle-app-engine-2.0.0-SNAPSHOT/WEB-INF/appengine-generated
DEST=../db_backup
rm -r $DEST
mkdir $DEST
cp -... | Shell |
#!/bin/sh
# Create a backup tar gzip file of the cwd with the date appended
# located in the parent directory.
FILENAME=../`pwd|xargs basename`-`date -j "+%Y-%m-%d"`.tgz
echo Will create $FILENAME
tar cfz $FILENAME .
echo Done.
| Shell |
#!/bin/sh
if [[ -z $ADB ]]; then ADB=adb; fi
./kill_process.sh
$ADB shell rm -r /data/data/com.google.android.apps.iosched/* | Shell |
#!/bin/sh
if [[ -z $ADB ]]; then ADB=adb; fi
$ADB shell am force-stop com.google.android.apps.iosched
| Shell |
#!/bin/sh
if [[ -z $ADB ]]; then ADB=adb; fi
$ADB shell "echo '$*' | sqlite3 -header -column /data/data/com.google.android.apps.iosched/databases/schedule.db" | Shell |
#!/bin/sh
# Sessions list
#adb shell am start -a android.intent.action.VIEW -d content://com.google.android.apps.iosched/tracks/android/sessions
# Vendors list
#adb shell am start -a android.intent.action.VIEW -d content://com.google.android.apps.iosched/tracks/android/vendors
# Session detail
#adb shell am start -a... | Shell |
#!/bin/sh
if [[ -z $ADB ]]; then ADB=adb; fi
MAC_UNAME="Darwin"
if [[ "`uname`" == ${MAC_UNAME} ]]; then
DATE_FORMAT="%Y-%m-%dT%H:%M:%S"
else
DATE_FORMAT="%Y-%m-%d %H:%M:%S"
fi
if [ -z "$1" ]; then
NOW_DATE=$(date "+${DATE_FORMAT}")
echo Please provide a mock time in the format \"${NOW_DATE}\" or \"d\" to del... | Shell |
#!/bin/sh
adb shell cat /data/data/com.google.android.apps.iosched/shared_prefs/com.google.android.apps.iosched_preferences.xml | xmllint --format - | Shell |
#!/bin/sh
# Remember VERBOSE only works on debug builds of the app
adb shell setprop log.tag.iosched_SyncHelper VERBOSE
adb shell setprop log.tag.iosched_SessionsHandler VERBOSE
adb shell setprop log.tag.iosched_ImageCache VERBOSE
adb shell setprop log.tag.iosched_ImageWorker VERBOSE
adb shell setprop log.tag.iosched_I... | Shell |
#!/bin/sh
adb shell pm clear com.google.android.apps.iosched | Shell |
#!/bin/sh
if [[ -z $ADB ]]; then ADB=adb; fi
$ADB shell am start \
-a android.intent.action.MAIN \
-c android.intent.category.LAUNCHER \
-n com.google.android.apps.iosched/.ui.HomeActivity
| Shell |
#!/bin/bash
# This script will update agm to the latest svn version of the stable-branch.
cd /tmp/
echo "gksu apt-get install subversion"
gksu 'apt-get install subversion'
echo "svn checkout http://advancedgnomemenu.googlecode.com/svn/branches/stable-branch/ advancedgnomemenu-read-only"
svn checkout http://advancedg... | Shell |
#!/bin/bash
#removing data directories
sudo rm -R /usr/share/AGM/
#removing lib folder
sudo rm -R /usr/local/lib/python/
#removing executable
sudo rm /usr/bin/advancedgnomemenu
#removing icon
sudo rm /usr/share/pixmaps/AGM.png
sudo rm /usr/share/applications/agm-config.desktop
sudo rm /usr/lib/bonobo/servers/gnom... | Shell |
#!/bin/bash
# This script will update agm to the latest svn version.
cd /tmp/
echo "gksu apt-get install subversion"
gksu 'apt-get install subversion'
echo "svn checkout http://advancedgnomemenu.googlecode.com/svn/trunk/ advancedgnomemenu-read-only"
svn checkout http://advancedgnomemenu.googlecode.com/svn/trunk/ adv... | Shell |
#!/bin/bash
#Creating install folders
#Data and executables folder
sudo mkdir /usr/share/AGM/
#Lib folder
sudo mkdir /usr/local/lib/python/
#Installing the main code
sudo cp ./src/AGM.py /usr/share/AGM/
sudo cp -R ./src/pictures/ /usr/share/AGM/
sudo cp -R ./src/AGM/ /usr/local/lib/python/
sudo cp -R ./src/AGMplugins... | Shell |
#!/bin/bash
# This script will update agm to the latest svn version of the stable-branch.
cd /tmp/
echo "gksu apt-get install subversion"
gksu 'apt-get install subversion'
echo "svn checkout http://advancedgnomemenu.googlecode.com/svn/branches/stable-branch/ advancedgnomemenu-read-only"
svn checkout http://advancedg... | Shell |
#!/bin/bash
#Creating install folders
#Data and executables folder
sudo mkdir /usr/share/AGM/
#Lib folder
sudo mkdir /usr/local/lib/python/
#Installing the main code
sudo cp ./src/AGM.py /usr/share/AGM/
sudo cp -R ./src/pictures/ /usr/share/AGM/
sudo cp -R ./src/AGM/ /usr/local/lib/python/
sudo cp -R ./src/AGMplugins... | Shell |
#!/bin/bash
# This script will update agm to the latest svn version.
cd /tmp/
echo "gksu apt-get install subversion"
gksu 'apt-get install subversion'
echo "svn checkout http://advancedgnomemenu.googlecode.com/svn/trunk/ advancedgnomemenu-read-only"
svn checkout http://advancedgnomemenu.googlecode.com/svn/trunk/ adv... | Shell |
#!/bin/bash
#removing data directories
sudo rm -R /usr/share/AGM/
#removing lib folder
sudo rm -R /usr/local/lib/python/
#removing executable
sudo rm /usr/bin/advancedgnomemenu
#removing icon
sudo rm /usr/share/pixmaps/AGM.png
sudo rm /usr/share/applications/agm-config.desktop
sudo rm /usr/lib/bonobo/servers/gnom... | Shell |
#!/bin/bash
cd /usr/share/AGM/
./AGM.py $1 $2 $3
echo "bye bye"
exit 0
| Shell |
#!/bin/bash
cd /usr/share/AGM/
./AGM.py $1 $2 $3
echo "bye bye"
exit 0
| Shell |
#!/bin/bash
# This script will update agm to the latest svn version of the stable-branch.
cd /tmp/
echo "gksu apt-get install subversion"
gksu 'apt-get install subversion'
echo "svn checkout http://advancedgnomemenu.googlecode.com/svn/branches/stable-branch/ advancedgnomemenu-read-only"
svn checkout http://advancedg... | Shell |
#!/bin/bash
#removing data directories
sudo rm -R /usr/share/AGM/
sudo rm -R /usr/share/AGL/
#removing lib folder
sudo rm -R /usr/local/lib/python/
#removing executable
sudo rm /usr/bin/advancedgnomemenu
#removing icon
sudo rm /usr/share/pixmaps/AGM.png
sudo rm /usr/share/applications/agm-config.desktop
sudo rm /... | Shell |
#!/bin/bash
# This script will update agm to the latest svn version.
cd /tmp/
echo "gksu apt-get install subversion"
gksu 'apt-get install subversion'
echo "svn checkout http://advancedgnomemenu.googlecode.com/svn/trunk/ advancedgnomemenu-read-only"
svn checkout http://advancedgnomemenu.googlecode.com/svn/trunk/ adv... | Shell |
#!/bin/bash
#Creating install folders
#Data and executables folder
sudo mkdir /usr/share/AGM/
#Lib folder
sudo mkdir /usr/local/lib/python/
#Installing the main code
sudo cp ./src/AGM.py /usr/share/AGM/
sudo cp ./src/AGM_configurator.glade /usr/share/AGM/
sudo cp -R ./src/pictures/ /usr/share/AGM/
sudo cp -R ./src/AG... | Shell |
#!/bin/bash
# This script will update agm to the latest svn version of the stable-branch.
cd /tmp/
echo "gksu apt-get install subversion"
gksu 'apt-get install subversion'
echo "svn checkout http://advancedgnomemenu.googlecode.com/svn/branches/stable-branch/ advancedgnomemenu-read-only"
svn checkout http://advancedg... | Shell |
#Creating install folders
#Data and executables folder
sudo mkdir /usr/share/AGTM/
#Lib folder
sudo mkdir /usr/local/lib/python/
#Installing the main code
#Installing the main code
sudo cp ./src/AGTM.py /usr/share/AGTM/
sudo chmod +x /usr/share/AGTM/AGTM.py
sudo cp -R ./src/AGTM/ /usr/local/lib/python/
sudo cp -R ./... | Shell |
#!/bin/bash
#Creating install folders
#Data and executables folder
sudo mkdir /usr/share/AGM/
#Lib folder
sudo mkdir /usr/local/lib/python/
#Installing the main code
sudo cp ./src/AGM.py /usr/share/AGM/
sudo cp ./src/AGM_configurator.glade /usr/share/AGM/
sudo cp -R ./src/pictures/ /usr/share/AGM/
sudo cp -R ./src/AG... | Shell |
#!/bin/bash
# This script will update agm to the latest svn version.
cd /tmp/
echo "gksu apt-get install subversion"
gksu 'apt-get install subversion'
echo "svn checkout http://advancedgnomemenu.googlecode.com/svn/trunk/ advancedgnomemenu-read-only"
svn checkout http://advancedgnomemenu.googlecode.com/svn/trunk/ adv... | Shell |
#!/bin/bash
plasmapkg -r agm4k
plasmapkg -i agm4k.zip
exit 0
| Shell |
#!/bin/bash
plasmapkg -r agm4k
exit 0
| Shell |
#!/bin/bash
plasmapkg -r agm4k
plasmapkg -i agm4k.zip
exit 0
| Shell |
#!/bin/bash
plasmapkg -r agm4k
exit 0
| Shell |
#!/bin/bash
#removing data directories
sudo rm -R /usr/share/AGM/
sudo rm -R /usr/share/AGL/
#removing lib folder
sudo rm -R /usr/local/lib/python/
#removing executable
sudo rm /usr/bin/advancedgnomemenu
#removing icon
sudo rm /usr/share/pixmaps/AGM.png
sudo rm /usr/share/applications/agm-config.desktop
sudo rm /... | Shell |
#!/bin/bash
cd /usr/share/AGTM/
./AGTM.py $1 $2 $3
echo "bye bye"
exit 0
| Shell |
#!/bin/bash
cd /usr/share/AGTM/
./AGTM.py $1 $2 $3
echo "bye bye"
exit 0
| Shell |
#!/bin/bash
cd /usr/share/AGM/
./AGM.py $1 $2 $3
echo "bye bye"
exit 0
| Shell |
#!/bin/bash
cd /usr/share/AGM/
./AGM.py $1 $2 $3
echo "bye bye"
exit 0
| Shell |
#! /bin/bash
perl -pi -e 's/C:\/Users\/igelado\/code\/gmac\\samples/../g' *
perl -pi -e 's/C:\\Users\\igelado\\code\\gmac\\samples/../g' *
| Shell |
#!/bin/bash -e
# --------------------------------------------
# do_open_tarball.sh Creates a tarball without the proprietary bits
# --------------------------------------------
# File: do_open_tarball.sh
# Author: Javier Cabezas <jcabezas in ac upc edu>
#
# Remove svn entries
find . -name .svn -exec rm -Rf {} \;
# ... | Shell |
#!/bin/bash
check_guard()
{
HEADER=$1
NAME=`basename $HEADER`
DIR=`dirname $HEADER`
GUARDS=`grep "#define" $HEADER | cut -f2 -d" "`
for GUARD in $GUARDS
do
i=0
if [ -n "$GUARD" ]
then
RESULTS=`grep "#ifndef $GUARD" $HEADER`
if [ -n "$RESULTS" ]
... | Shell |
#!/bin/bash
SIZE=$(( 1024 * 1024 ))
MAX=$(( 512 * 1024 * 1024 ))
cd ..
while [ $SIZE -lt $(( $MAX + 1 )) ]
do
echo "Computing $SIZE"
GMAC_TYPE=1 GMAC_TRANSFER=$SIZE ./transferBlocks > results/normal-in-$SIZE
GMAC_TYPE=1 GMAC_TRANSFER=$SIZE GMAC_PAGE_LOCKED=1 ./transferBlocks > results/locked-in-$SIZE
... | Shell |
#!/bin/bash -e
#
# Extract parameters to dia from file name
# <base_filename>@<param>[+<param>...] where params is:
# - layer:<layer>[,<layer>...]
# To export specific layers
ARGS=
while [ $# -gt 2 ]; do
if [ "$1" = "-t" -a "$2" = "pdf" ]; then
PS2PDF=y
ARGS="$ARGS -t eps"
shift
else
ARGS="$ARG... | Shell |
#!/bin/sh
# These variables are automatically filled in by the configure script.
name="@PACKAGE_TARNAME@"
version="@PACKAGE_VERSION@"
show_usage()
{
echo "Usage: gtest-config [OPTIONS...]"
}
show_help()
{
show_usage
cat <<\EOF
The `gtest-config' script provides access to the necessary compile and linking
flag... | Shell |
#!/bin/bash
#
# This script checks the java version and bails if it's less
# than Java6 (because we use @Override annotations on interface
# overriding methods. It then proceeds to do a maven build that
# first cleans, then builds the normal lifecycle through compilation
# unit testing (if available) up to packaging. ... | Shell |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
# $Id: mkinstalldirs,v 1.13 1999/01/05 03:18:55 bje Exp $
errstatus=0
for file
do
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
shift
... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2006-10-15.18
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006 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 Licens... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
# Copyright (C) 1996, 1997, 2001, 2002 Free Software Foundation, Inc.
# Franc,ois 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 General Public Licen... | Shell |
#!/bin/sh
while :
do
#ping -i 1 -c 1 127.0.0.1
#./attack "tcp -1 $1 -2 1 -fS -S 192.168.44.132 -D 192.168.33.102 -y 80 -M 00:50:56:fd:a9:8d"
wget 192.168.33.102/kakao
done
| Shell |
#!/bin/sh
#
# install - install a program, script, or datafile
#
# 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 hereby granted, free of charge, t... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.