code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb@iredmail.org) # Date: 05/02/2010 # Purpose: Dump whole LDAP tree with command 'slapcat'. # License: This shell script is part of iRedMail project, released under # GPL v2. ########################### # REQUIREMENTS ########################### # # *...
Shell
#!/bin/sh # Author: Zhang Huangbin <zhb(at)iredmail.org> # Purpose: Send mail to notify user when his mailbox quota exceeds a # specified limit. # Project: iRedMail (http://www.iredmail.org/) PERCENT=$1 cat << EOF | /usr/libexec/dovecot/deliver -d ${USER} -c /etc/dovecot.conf From: postmaster@iredmail....
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can r...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin <zhb(at)iredmail.org> #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can r...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can r...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can...
Shell
#!/usr/bin/env bash # Purpose: Mail to user when his/her quota exceeds specified percentage. # Reference: http://wiki2.dovecot.org/Quota/Configuration#Quota_warnings PERCENT=${1} USER=${2} # Use "plugin/quota=maildir:User quota:noenforcing" for maildir quota. cat << EOF | PH_DOVECOT_DELIVER -d ${USER} -o "plugin/quot...
Shell
#!/bin/sh # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can redistribut...
Shell
#!/bin/sh # Author: Zhang Huangbin (zhb(at)iredmail.org) # Date: 2008.09.05 #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: ...
Shell
#!/usr/bin/env bash #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can redistribute it and/or modify # it under the term...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) # Purpose: Fetch all extra packages we need to build mail server. #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin <zhb(at)iredmail.org> #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin <zhb(at)iredmail.org> #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin <zhb(at)iredmail.org> #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin <zhb(at)iredmail.org> #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin <zhb(at)iredmail.org> #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin <zhb(at)iredmail.org> # ------------------------------------------------------- # ------------------- phpLDAPadmin ---------------------- # ------------------------------------------------------- pla_install() { ECHO_INFO "Configure phpLDAPadmin (web-based LDAP managem...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin <zhb(at)iredmail.org> #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can r...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin <zhb(at)iredmail.org> # ------------------------------------------- # Install all optional components. # ------------------------------------------- optional_components() { # Roundcubemail. [ X"${USE_RCM}" == X"YES" ] && \ check_status_before_run rcm_instal...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin <zhb(at)iredmail.org> # ----------------------- # Roundcube. # ----------------------- rcm_install() { ECHO_INFO "Configure Roundcube webmail." # FreeBSD: install via ports tree. if [ X"${DISTRO}" != X"FREEBSD" ]; then cd ${MISC_DIR} # Extract...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin <zhb(at)iredmail.org> #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can r...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin <zhb(at)iredmail.org> #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can r...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) # Purpose: Install & config necessary packages for iRedAPD. #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, Cent...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) # Purpose: Install & config necessary packages for iRedAdmin. #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, Ce...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin <zhb(at)iredmail.org> # ------------------------------------------------- # phpMyAdmin. # ------------------------------------------------- phpmyadmin_install() { ECHO_INFO "Configure phpMyAdmin (web-based MySQL management tool)." if [ X"${PHPMYADMIN_USE_SOURCE}"...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin <zhb(at)iredmail.org> # --------------------------------------------------------- # SpamAssassin. # --------------------------------------------------------- sa_config() { ECHO_INFO "Configure SpamAssassin (content-based spam filter)." backup_file ${SA_LOCAL_CF} ...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin <zhb(at)iredmail.org> #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can r...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org). # Date: 2008.04.07 # --------------------------------------------- # Policyd. # --------------------------------------------- policyd_user() { ECHO_INFO "Configure Policyd (postfix policy daemon)." ECHO_DEBUG "Add user and group for pol...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin <zhb(at)iredmail.org> # ------------------------------------------------------- # ---------------- User/Group: vmail -------------------- # ------------------------------------------------------- adduser_vmail() { ECHO_INFO "Configure User/Group: vmail." homedir="...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (zhb(at)iredmail.org) #--------------------------------------------------------------------- # This file is part of iRedMail, which is an open source mail server # solution for Red Hat(R) Enterprise Linux, CentOS, Debian and Ubuntu. # # iRedMail is free software: you can...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (michaelbibby <at> gmail.com ) # Purpose: Migrate ExtMail MySQL 'mailbox' table to iRedMail format. # Project: iRedMail (http://www.iredmail.org/) # # Migration guide wrote in Chinese: # http://www.iredmail.org/wiki/index.php?title=Migrate_from_ExtMail_Solution # Usa...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (michaelbibby <at> gmail.com ) # Purpose: Convert WinMail user mailboxs to standard IMAP directory # structure (mailbox format). # Migration guide wrote in Chinese: # http://code.google.com/p/iRedMail/wiki/iRedMail_tut_Migration # Description: # WinMail s...
Shell
#!/usr/bin/env bash # Author: Zhang Huangbin (michaelbibby <at> gmail.com) # Purpose: Remove main components which installed by iRedMail, so that # you can re-install iRedMail. # Project: iRedMail (http://www.iredmail.org/) # ------------ USAGE -------- # Execute this file in the current directory. # # ...
Shell
#!/bin/sh # ========================================================= # Author: Zhang Huangbin (michaelbibby@gmail.com) # Date: 2009.07.28 # Purpose: Track user last login date & ip address with Dovecot. # Project: iRedMail open source mail server solution. # http://www.iredmail.org/ # ==============...
Shell
#!/bin/sh # # Usage example: ./generate.sh int Int Integer" # Args are: primitive type, capitalized primitive type, wrapper type # # To make changes to the .java files in this package, # 1. run this script to generate the templates, move the .gen files # somewhere else # 2. modify the template with your intended cha...
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 opt -load ../../../Release/lib/basicabc.so -basicabc < test.bc.gold > a.bc opt -load ../../../Release/lib/ABCD.so -eSSAPass < a.bc > b.bc opt -load ../../../Release/lib/eSSA.so -mem2reg -eSSAPass2 < b.bc > c.bc opt -load ../../../Release/lib/demandPass.so -instructionPass < c.bc > d.bc
Shell
#!/bin/sh arg=$* opt -load ../../../Debug/lib/basicabc.so -basicabc < $arg > temp.bc #opt -load ../../../Debug/lib/gvnstat.so -gvnstat < temp.bc > /dev/null opt -mem2reg < temp.bc > a.bc opt -gvn < a.bc > temp1.bc opt -load ../../../Debug/lib/ABCD.so -eSSAPass <temp1.bc > b.bc opt -load ../../../Debug/lib/eSSA.so -e...
Shell
#!/bin/sh #echo "rawcaudio" #opt -load ../../../Debug/lib/basicabc.so -basicabc < benchmarks/rawcaudio.bc > temp.bc #opt -mem2reg < temp.bc > a.bc #opt -load ../../../Debug/lib/ABCD.so -eSSAPass < a.bc > b.bc #opt -load ../../../Debug/lib/eSSA.so -eSSAPass2 < temp.bc > c.bc #opt -load ../../../Debug/lib/demandPass.so -...
Shell
#!/bin/sh arg=$* opt -load ../../../Debug/lib/basicabc.so -basicabc < $arg > temp.bc #opt -load ../../../Debug/lib/gvnstat.so -gvnstat < temp.bc > /dev/null opt -mem2reg < temp.bc > a.bc opt -gvn < a.bc > temp1.bc opt -load ../../../Debug/lib/ABCD.so -eSSAPass <temp1.bc > b.bc opt -load ../../../Debug/lib/eSSA.so -e...
Shell
#!/bin/sh opt -load ../../../Release/lib/basicabc.so -basicabc < test.bc.gold > a.bc opt -load ../../../Release/lib/ABCD.so -eSSAPass < a.bc > b.bc opt -load ../../../Release/lib/eSSA.so -mem2reg -eSSAPass2 < b.bc > c.bc opt -load ../../../Release/lib/demandPass.so -instructionPass < c.bc > d.bc
Shell
#!/bin/sh #echo "rawcaudio" #opt -load ../../../Debug/lib/basicabc.so -basicabc < benchmarks/rawcaudio.bc > temp.bc #opt -mem2reg < temp.bc > a.bc #opt -load ../../../Debug/lib/ABCD.so -eSSAPass < a.bc > b.bc #opt -load ../../../Debug/lib/eSSA.so -eSSAPass2 < temp.bc > c.bc #opt -load ../../../Debug/lib/demandPass.so -...
Shell
#!/bin/bash MANAGE=`ls manage.py` SETTINGS=`ls settings.py` if [ $MANAGE != "manage.py" -o $SETTINGS != "settings.py" ]; then echo "This script should only be executed inside the openassembly project directory." exit fi LIB=`ls ../ | grep lib` DJANGO=`ls | grep -E 'djangoappengine|djangotoolbox|native_tags|piston...
Shell
#!/bin/bash # Android Screenshot Library # ############################## # Startup script # echo "Android Screenshot Library -- initializing..." # if [ -z $ANDROID ]; then echo "*** Android SDK not found ***" echo "Make sure the ANDROID variable is pointing to Android SDK root directory" else adb="$AN...
Shell
# place in /etc/profile.d [ -r ${HOME}/etc/shell.conf ] && . ${HOME}/etc/shell.conf && export FRAME_NO=$FRAME_NO
Shell
#!/bin/sh IPTABLES_CMD=`which iptables-restore` IPTABLES_CFG=/etc/iptables.conf SYSLOG_FACILITY=kern.warning if [ ! -x $IPTABLES_CMD ]; then logger -p $SYSLOG_FACILITY "firewall: cannot execute $IPTABLES_CMD" exit 1 fi if [ ! -f $IPTABLES_CFG ]; then logger -p $SYSLOG_FACILITY "firewall: no configuration $...
Shell
#!/bin/bash # Copyright 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
Shell
#!/bin/bash # Copyright 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
Shell
#!/bin/bash # Copyright 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
Shell
#!/bin/bash ## GET CMDs # wget -q -t 1 -T 6 -O /dev/null --header='Host: www.endpoint.com' $SOMEFILE # curl -o /dev/null --no-keepalive -f -s -m 6 --retry 0 --header 'Host: www.endpoint.com' $SOMEFILE . ${HOME}/etc/shell.conf smallfile="http://www.endpoint.com/robots.txt" stampfile="/tmp/squidstamp" sqpidfile="/var/r...
Shell
#!/bin/bash # Copyright 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
Shell
#!/bin/bash # Copyright 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
Shell
#!/bin/bash FILES="$*" DIAL=`which kdialog` PARM="--getopenfilename $PWD" if [ "x$DIAL" = "x" ]; then DIAL=`which zenity` PARM="--file-selection --title xiv" fi if [ "x$DIAL" = "x" ]; then DIAL=`which Xdialog` PARM="--fselect . 0 0" fi if [ "x$FILES" = "x" ]; then FILES=`$DIAL $PARM` fi if [ "x$FILES" != "x...
Shell
#!/bin/bash # Copyright 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
Shell
#!/bin/bash # Copyright 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
Shell
#!/bin/bash # Copyright 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
Shell
#!/bin/bash # Copyright 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
Shell
#!/bin/bash # Copyright 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
Shell
#!/bin/bash # Copyright 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to 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/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 # # 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 # 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 adb shell pm clear com.google.android.apps.iosched
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 set -e # SoX Resampler Library Copyright (c) 2007-13 robs@users.sourceforge.net # Licence for this file: LGPL v2.1 See LICENCE for details. # Sanity-check of sub-library installed on unix-like system arg="$1" # path to installed examples (if dev pkg installed); otherwise omitted dir="...
Shell
#!/bin/sh set -e # SoX Resampler Library Copyright (c) 2007-13 robs@users.sourceforge.net # Licence for this file: LGPL v2.1 See LICENCE for details. # Makes the distribution tarball rm -rf Release ./go -j4 cd Release make package_source gunzip *.tar.gz xz *.tar echo *.xz
Shell
#!/bin/sh # SoX Resampler Library Copyright (c) 2007-13 robs@users.sourceforge.net # Licence for this file: LGPL v2.1 See LICENCE for details. case $1 in -j*) j=$1; shift;; esac # Support -jX for parallel build/test build=$1 test x$build = x && build=Release rm -f CMakeCache.txt ...
Shell
#!/bin/sh set -e # SoX Resampler Library Copyright (c) 2007-13 robs@users.sourceforge.net # Licence for this file: LGPL v2.1 See LICENCE for details. # Sanity-check of library installed on unix-like system # This script checks the installation of the entire library (including lsr). # # Distros ...
Shell