This file contains hidden or 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
<ul> | |
<li> | |
Equal<br/>height<br/>Test | |
</li> | |
<li> | |
Still not so equal | |
</li> | |
<li> | |
Test<br/>Test | |
</li> |
This file contains hidden or 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
jQuery("#permissions") | |
.find("input.real-checkbox[type=checkbox]") | |
.click() |
This file contains hidden or 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
terminus drush en ds --site=bspv --env=dev |
This file contains hidden or 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
#!/bin/bash | |
if [[ ! "$1" || "$1" == "-h" || "$1" == "--help" ]]; then cat <<HELP | |
adapted from https://gist.github.com/rraallvv/d5336521a9dbe97123c6 | |
Resample specified images to 72 DPI | |
http://benalman.com/ | |
Usage: $(basename "$0") [img [img ...]] | |
The new MacBook Pro retina display is amazing, but screengrabs taken on |
This file contains hidden or 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
// single file | |
dos2unix -f FILENAME | |
// change line endings on files recursively | |
find /core/sites/all/modules -type f -exec dos2unix {} + | |
thx https://coderwall.com/p/lc8rkg/get-rid-of-fatal-crlf-would-be-replaced-by-lf-in-file |
This file contains hidden or 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
$mq-mobile-portrait : 400px !default; | |
$mq-mobile-narrow : 580px !default; | |
$mq-mobile : 750px !default; | |
$mq-tablet-portrait : 1000px !default; | |
$mq-tablet : 1200px !default; | |
$mq-desktop : 1382px !default; | |
$mq-desktop-wide : 1920px !default; | |
$mq-desktop-wider : 2560px !default; | |
$base-font__size--min : 12px; |
This file contains hidden or 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
#!/bin/sh | |
fancy_echo "Install and prepare Mac App Store command line interface" | |
brew install mas | |
#mas signin --dialog [email protected] #signin does not anymore work since OSX 10.13, signin to App Store manually / through GUI before executing the script | |
fancy_echo "Installing apps ..." | |
brew update --force # https://github.com/Homebrew/brew/issues/1151 | |
brew bundle --file=- <<EOF |