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
#site-name { | |
a { | |
@include hide-text(); | |
@include inline-block(); | |
@include sprites-sprite(logo); | |
background-size: sprites-sprite-width(logo) sprites-sprite-height(logo); | |
height: sprites-sprite-height(logo); | |
width: sprites-sprite-width(logo); | |
} | |
} |
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
/** | |
* @mixin thumbnail-grid($thumbnail-grid-columns, $thumbnail-grid-item-width, $thumbnail-grid-item-height, $thumbnail-grid-item-hspace, $thumbnail-grid-item-vspace) | |
* | |
* Apply to a selector to its style children elements as a thumbnail grid | |
* | |
* @param: $thumbnail-grid-columns | |
* number of columns for the thumbnail grid | |
* @param: $thumbnail-grid-item-width | |
* with of each grid element | |
* @param: $thumbnail-grid-item-height |
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
/** | |
* @mixin thumbnail-grid($thumbnail-grid-columns, $thumbnail-grid-item-width, $thumbnail-grid-item-height, $thumbnail-grid-item-hspace, $thumbnail-grid-item-vspace) | |
* | |
* Apply to a <ul> to style children <li> elements as a thumbnail grid | |
* | |
* @param: $thumbnail-grid-columns | |
* number of columns for the thumbnail grid | |
* @param: $thumbnail-grid-item-width | |
* with of <li> element | |
* @param: $thumbnail-grid-item-height |
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
#!/bin/bash | |
DRUPAL_PATH=${1%/} | |
DRUPAL_USER=${2} | |
APACHE_GROUP="_www" | |
HELP="\nHELP: This script is used to fix permissions of a drupal installation\nyou need to provide the following arguments:\n\t 1) path to your drupal installation\n\t 2) Username of the user that you want to give files/directories ownership\nNote: \"_www\" (apache default) is assumed as the group the server is belonging to, if this is different you need to modify it manually by editing this script\n\nUsage: (sudo) bash ${0##*/} drupal_path user_name\n" | |
if [ -z "${DRUPAL_PATH}" ] || [ ! -d "${DRUPAL_PATH}/sites" ] || [ ! -f "${DRUPAL_PATH}/modules/system/system.module" ]; then | |
echo "Please provide a valid drupal path" | |
echo -e $HELP |
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
/** | |
* @mixin service-links($services, $attribute: class, $prefix: "", $suffix: "") | |
* | |
* Image replacement helper for a series of links | |
* | |
* @param: $services | |
* list of service names -- these should match classes of hrefs on | |
* the <a> in markup and string value in the sprite file name | |
* @param: $attribute | |
* the <a> attribute that will be used for the CSS selector |
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
#!/bin/sh | |
# based on: http://www.brooksandrus.com/blog/2007/03/23/mac-os-x-show-hide-hidden-files-in-finder/ | |
# check if hidden files are visible and store result in a variable | |
isVisible="$(defaults read com.apple.finder AppleShowAllFiles)" | |
# toggle visibility based on variables value | |
if [ "$isVisible" = false ] | |
then |
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
.DS_Store | |
# Thumbnails | |
._* | |
ehthumbs.db | |
Thumbs.db | |
# Files that might appear on external disk | |
.Spotlight-V100 | |
.Trashes |
NewerOlder