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
Drupal.settings.isTouchDevice = function() { | |
return "ontouchstart" in window; | |
} | |
if ( Drupal.settings.isTouchDevice() ) { | |
Drupal.behaviors.jQueryMobileSlideShowTouchAdvance = { | |
attach: function(context, settings) { | |
self = Drupal.behaviors.jQueryMobileSlideShowTouchAdvance; | |
jQuery.each(jQuery(".views_slideshow_cycle_main.viewsSlideshowCycle-processed"), function(idx, value) { | |
value.addEventListener("touchstart", self.handleTouchStart); |
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
root:~# salt-call --version | |
salt-call 2016.3.4 (Boron) | |
root:~# salt-call state.sls packages.baser | |
local: | |
---------- | |
ID: required-packages | |
Function: pkg.installed | |
Result: True | |
Comment: All specified packages are already 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
salt-call state.sls packages.baser | |
local: | |
---------- | |
ID: required-packages | |
Function: pkg.installed | |
Result: True | |
Comment: All specified packages are already installed | |
Started: 13:00:31.176915 | |
Duration: 334.919 ms | |
Changes: |
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
---------- | |
ID: tomcat-packages | |
Function: pkg.installed | |
Result: True | |
Comment: All specified packages are already installed | |
Started: 13:30:46.884836 | |
Duration: 3.298 ms | |
Changes: | |
---------- | |
ID: clean-tomcat8-default-webapps |
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
Started GET "/trip-extras/info" for <IP ADDRESS> at 2017-08-22 16:06:40 -0500 | |
Processing by InfoController#index as HTML | |
Completed 200 OK in 103ms (Views: 0.3ms | ActiveRecord: 0.6ms) | |
Started GET "/trip-extras/info" for <IP ADDRESS> at 2017-08-22 16:06:41 -0500 | |
Processing by ReactController#index as HTML |
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
if [ -f $HOME/.git-prompt.sh ]; then | |
# Outputs the current branch if in a git repository | |
source $HOME/.git-prompt.sh | |
GIT_PS1_SHOWDIRTYSTATE=true | |
GIT_PS1_SHOWCOLORHINTS=true | |
GIT_PS1_UNTRACKEDFILES=true | |
function get_color { | |
echo $ResetColor"\[\e["$1"\]" | |
} |