This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TITLE="Please, enter root password" | |
DIALOG="display dialog \"$@\" default answer \"\" with title \"$TITLE\"" | |
DIALOG="$DIALOG with icon caution with hidden answer" | |
result=`osascript -e 'tell application "Finder"' -e "activate" -e "$DIALOG" -e 'end tell'` | |
export SUDO_ASKPASS="$result" | sed -e 's/^text returned://' -e 's/, button returned:.*$//' | |
gem list --local compass| grep -q compass | |
COMPASS_INSTALLED=$? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Default build dir | |
UFW_BUILD_DIR="./build" | |
# Global vars | |
#if [ ! -z ${BUILD_DIR} ]; then | |
## Use the build dir specified by XCode | |
# UFW_BUILD_DIR="${BUILD_DIR}" | |
#fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ext.require(["Ext.data.JsonP", "Ext.Ajax", "Ext.util.DelayedTask", "Localresponse.response"], function(){ | |
Ext.merge(Ext.Ajax , { | |
request: function(params){ | |
var serviceId = params.url.match( /\/([^\/\?]+)?\?/ ).pop().split("-").join("_");; | |
if (undefined !== Localresponse.responses[serviceId]) { | |
var delay = 500; | |
if (undefined !== Localresponse.responses[serviceId + "_delay"]) { | |
delay = Localresponse.responses[serviceId + "_delay"].call(); | |
}; |