code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/sh
## compile.sh for in /home/gueux_g/projet/code_source
##
## Made by gueux-g
## Login <gueux_g@epitech.net>
##
## Started on Tue Oct 30 16:27:29 2012 gueux-g
## Last update Mon Nov 12 15:30:50 2012 gueux-g
##
cc -c src/*.c
mv *.o src/
ar rc libmy.a src/*.o
mv libmy.a src/
ranlib src/libmy.a
rm src/*.o
... | Shell |
#!/bin/sh
## compile.sh for in /home/gueux_g/projet/code_source
##
## Made by gueux-g
## Login <gueux_g@epitech.net>
##
## Started on Tue Oct 30 16:27:29 2012 gueux-g
## Last update Mon Nov 12 15:30:50 2012 gueux-g
##
cc -c src/*.c
mv *.o src/
ar rc libmy.a src/*.o
mv libmy.a src/
ranlib src/libmy.a
rm src/*.o
... | Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#! /bin/bash
make clean
make
make clean
read -p "Press any key to continue…"
| Shell |
#!/bin/sh
# File path: ~/yeelink.sh
# author: Weihong Guan (@aGuegu) 2013-01-16
# replace <XX> with your application
apikey=7e94a81bf2d85e0a4e885ae3ab234927
url_core0=http://api.yeelink.net/v1.0/device/1804/sensor/2264/datapoints
url_core1=http://api.yeelink.net/v1.0/device/1804/sensor/2265/datapoints
url_mem=http:/... | Shell |
#!/bin/bash
ip=`curl "http://checkip.dyndns.org/" 2>/dev/null | awk '{print $6}'|cut -d '<' -f1`
touch ip.txt
echo $ip >> ip.txt
upload ip.txt
rm -f ip.txt
exit
| Shell |
#!/bin/bash
ip=`curl "http://checkip.dyndns.org/" 2>/dev/null | awk '{print $6}'|cut -d '<' -f1`
touch ip.txt
echo $ip >> ip.txt
upload ip.txt
rm -f ip.txt
exit
| Shell |
#!/bin/sh
# File path: ~/yeelink.sh
# author: Weihong Guan (@aGuegu) 2013-01-16
# replace <XX> with your application
apikey=7e94a81bf2d85e0a4e885ae3ab234927
url_core0=http://api.yeelink.net/v1.0/device/1804/sensor/2264/datapoints
url_core1=http://api.yeelink.net/v1.0/device/1804/sensor/2265/datapoints
url_mem=http:/... | 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
# 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
# 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/bash
# Import useful functions
. /etc/rc.d/init.d/functions
action $"apmcontinue: " echo $1 $2 $3
case "$1" in
suspend|standby)
# Send TSTP signal to VNAT daemon to suspend connections
kill -TSTP `pidofproc kvnatd`
# Wait for VNAT daemon to finish
sleep 3
# Some job of apmscript are moved here
... | Shell |
#!/bin/bash
# Import useful functions
. /etc/rc.d/init.d/functions
action $"apmcontinue: " echo $1 $2 $3
case "$1" in
suspend|standby)
# Send TSTP signal to VNAT daemon to suspend connections
kill -TSTP `pidofproc kvnatd`
# Wait for VNAT daemon to finish
sleep 3
# Some job of apmscript are moved here
... | Shell |
#!/bin/bash
# verify test
fname=f`date +%H%M%S`
mkdir $fname
for i in $(seq 0 20); do
echo $i
nachos -x ../test/testsort -rs $i > $fname/out2$i
s3=`cat $fname/out2$i| grep -i '1023'|wc -l`
if [ "$s3" -ne "2" ]
then echo "../test/testsort $i : error ending\n" >> $fname/error; fi
echo $i
nachos -x ../tes... | Shell |
#!/bin/bash
# verify test
fname=f`date +%H%M%S`
mkdir $fname
for i in $(seq 0 50); do
echo $i
nachos -x ../test/testmatmult -rs $i > $fname/out$i
s1=`cat $fname/out$i| grep -i '7220'|wc -l`
#if [cat $fname/out$i| grep -i '7220' > /dev/null
if [ "$s1" -ne "2" ]
then echo "../test/testmatmult $i : error endi... | Shell |
#!/bin/bash
# verify test
fname=f`date +%H%M%S`
mkdir $fname
for i in $(seq 0 50); do
echo $i
nachos -x ../test/testmatmult -rs $i > $fname/out$i
s1=`cat $fname/out$i| grep -i '7220'|wc -l`
#if [cat $fname/out$i| grep -i '7220' > /dev/null
if [ "$s1" -ne "2" ]
then echo "../test/testmatmult $i : error endi... | Shell |
#!/bin/bash
# verify test
fname=f`date +%H%M%S`
mkdir $fname
for i in $(seq 0 20); do
echo $i
nachos -x ../test/testsort -rs $i > $fname/out2$i
s3=`cat $fname/out2$i| grep -i '1023'|wc -l`
if [ "$s3" -ne "2" ]
then echo "../test/testsort $i : error ending\n" >> $fname/error; fi
echo $i
nachos -x ../tes... | Shell |
#!/bin/bash
# verify test
fname=f`date +%H%M%S`
mkdir $fname
nachos -x ../test/matmult > $fname/out1
if ! cat $fname/out1| grep -i '7220' > /dev/null
then echo "test matmult error \n" >> $fname/error; fi
nachos -x ../test/sort > $fname/out2
if ! cat $fname/out2| grep -i '1023' > /dev/null
then echo "test sort error \n... | Shell |
#!/bin/bash
# verify test
fname=f`date +%H%M%S`
mkdir $fname
for i in $(seq 0 50); do
echo $i
nachos -x ../test/testmatmult -rs $i > $fname/out$i
s1=`cat $fname/out$i| grep -i '7220'|wc -l`
#if [cat $fname/out$i| grep -i '7220' > /dev/null
if [ "$s1" -ne "2" ]
then echo "../test/testmatmult $i : error endi... | Shell |
#!/bin/bash
# verify test
fname=f`date +%H%M%S`
mkdir $fname
for i in $(seq 0 50); do
echo $i
nachos -x ../test/testmatmult -rs $i > $fname/out$i
s1=`cat $fname/out$i| grep -i '7220'|wc -l`
#if [cat $fname/out$i| grep -i '7220' > /dev/null
if [ "$s1" -ne "2" ]
then echo "../test/testmatmult $i : error endi... | Shell |
#!/bin/bash
# verify test
fname=f`date +%H%M%S`
mkdir $fname
nachos -x ../test/matmult > $fname/out1
if ! cat $fname/out1| grep -i '7220' > /dev/null
then echo "test matmult error \n" >> $fname/error; fi
nachos -x ../test/sort > $fname/out2
if ! cat $fname/out2| grep -i '1023' > /dev/null
then echo "test sort error \n... | Shell |
#!/bin/bash
#RS=''
RS=' -rs 144 '
num=$1
for (( i = 0;i < $num; i++ )); do
#for i in $(seq 0 $num); do
echo "server $i"
j=`expr $i + 100`
../network/nachos -m $j -n $num -server -d r $RS &
sleep 1
done
echo "over"
../network/nachos -m 1 -n $num -x ../test/testlock -d r $RS &
| Shell |
#!/bin/bash
#RS=''
RS=' -rs 144 '
num=$1
for (( i = 0;i < $num; i++ )); do
#for i in $(seq 0 $num); do
echo "server $i"
j=`expr $i + 100`
../network/nachos -m $j -n $num -server -d r $RS &
sleep 1
done
echo "over"
../network/nachos -m 1 -n $num -x ../test/testlock -d r $RS &
| Shell |
#!/bin/bash
#RS=''
RS=' -rs 144 '
num=$1
for (( i = 0;i < $num; i++ )); do
#for i in $(seq 0 $num); do
echo "server $i"
j=`expr $i + 100`
../network/nachos -m $j -n $num -server -d r $RS &
sleep 1
done
echo "over"
../network/nachos -m 1 -n $num -x ../test/testcv -d r $RS &
| Shell |
#!/bin/bash
#RS=''
RS=' -rs 144 '
num=$1
for (( i = 0;i < $num; i++ )); do
#for i in $(seq 0 $num); do
echo "server $i"
j=`expr $i + 100`
../network/nachos -m $j -n $num -server -d r $RS &
sleep 1
done
echo "over"
../network/nachos -m 1 -n $num -x ../test/rpctestse1 -d r $RS &
| Shell |
#!/bin/bash
#RS=''
num=$1
RS=" -rs $2 "
DEBUG=' '
#DEBUG=' -d r '
for (( i = 0;i < $num; i++ )); do
#for i in $(seq 0 $num); do
echo "server $i"
j=`expr $i + 100`
../network/nachos -m $j -n $num -server $DEBUG $RS &
echo "../network/nachos -m $j -n $num -server $DEBUG $RS &"
sleep 1
done
#../n... | Shell |
#!/bin/bash
#RS=''
num=$1
RS=" -rs $2 "
DEBUG=' '
#DEBUG=' -d r '
for (( i = 0;i < $num; i++ )); do
#for i in $(seq 0 $num); do
echo "server $i"
j=`expr $i + 100`
../network/nachos -m $j -n $num -server $DEBUG $RS &
echo "../network/nachos -m $j -n $num -server $DEBUG $RS &"
sleep 1
done
#../n... | Shell |
#!/bin/bash
#RS=''
RS=' -rs 144 '
num=$1
for (( i = 0;i < $num; i++ )); do
#for i in $(seq 0 $num); do
echo "server $i"
j=`expr $i + 100`
../network/nachos -m $j -n $num -server -d r $RS &
sleep 1
done
echo "over"
../network/nachos -m 1 -n $num -x ../test/testcv -d r $RS &
| Shell |
#!/bin/bash
#RS=''
RS=' -rs 144 '
num=$1
for (( i = 0;i < $num; i++ )); do
#for i in $(seq 0 $num); do
echo "server $i"
j=`expr $i + 100`
../network/nachos -m $j -n $num -server -d r $RS &
sleep 1
done
echo "over"
../network/nachos -m 1 -n $num -x ../test/rpctestse1 -d r $RS &
| Shell |
#!/bin/bash
#This builds both the UvsChess solution, which includes the Framework, ExampleAI.
mdtool build -buildfile:UvsChess.sln
| Shell |
#!/bin/bash
#This builds both the UvsChess solution, which includes the Framework, ExampleAI.
mdtool build -buildfile:UvsChess.sln
| Shell |
#!/bin/bash
#This builds both the UvsChess solution, which includes the Framework, ExampleAI.
mdtool build -buildfile:UvsChess.sln
| Shell |
#!/bin/bash
#This builds both the UvsChess solution, which includes the Framework, ExampleAI.
mdtool build -buildfile:UvsChess.sln
| 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
adb shell cat /data/data/com.google.android.apps.iosched/shared_prefs/com.google.android.apps.iosched_preferences.xml | xmllint --format - | 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/sh
adb shell pm clear 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
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_ImageCache VERBOSE
adb shell setprop log.tag.iosched_ImageWorker VERBOSE
adb shell setprop log.tag.iosched_I... | 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/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/bash
find org/jivesoftware -name '*.java' -exec sed -i 's:import org.xmlpull.mxp1.MXParser:import org.xmlpull.v1.XmlPullParserFactory:' '{}' ';'
find org/jivesoftware -name '*.java' -exec sed -i 's:new MXParser():XmlPullParserFactory.newInstance().newPullParser():g' '{}' ';'
| Shell |
#!/bin/bash
rm org/xbill/DNS/spi/DNSJavaNameServiceDescriptor.java
| Shell |
#!/bin/bash
mkdir -p org/apache/harmony/
mv javax org/apache/harmony/
find org/apache/harmony/ -name '*.java' -exec sed -i 's:package javax:package org.apache.harmony.javax:g' '{}' ';'
find -name '*.java' -exec sed -i 's:import javax.security.sasl:import org.apache.harmony.javax.security.sasl:g' '{}' ';'
find -name '*... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.