Search gist for keyword and by specific user
git user:el22or
multipass: true | |
plugins: | |
- addAttributesToSVGElement: false | |
- addClassesToSVGElement: false | |
- cleanupAttrs: true | |
- cleanupEnableBackground: true | |
- cleanupIDs: true | |
- cleanupListOfValues: true | |
- cleanupNumericValues: |
Search gist for keyword and by specific user
git user:el22or
CSS Coding Standards you must conform to when writing CSS in Xfive projects.
#!/bin/bash | |
# Take a screenshot of an area of the screen, upload it to dropbox and put the url into the clipboard | |
# Put file in any directory under your dropbox | |
# If it is subfolder, than you need to make them manually | |
FILENAME=~/Dropbox/Public/Screenshots/Screenshot_`date +%Y-%m-%d-%H:%M`.png | |
# Select an area and save the screenshot | |
# you need to instal gnome-screenshot |
/** @define MediaEmbed */ | |
/** | |
* Media embeds | |
* | |
* For use with media embeds – such as videos, slideshows, or even images – | |
* that need to retain a specific aspect ratio but adapt to the width of their | |
* containing element. | |
* | |
* Based on: http://alistapart.com/article/creating-intrinsic-ratios-for-video |
To leave the file in the repo but ignore future changes to it:
git update-index --assume-unchanged <file>
and to undo this:
git update-index --no-assume-unchanged
/** | |
* Roboto. | |
*/ | |
/* (normal) */ | |
@include font-face( | |
"roboto", | |
font-files( | |
"Roboto-Regular-webfont.ttf", | |
"Roboto-Regular-webfont.eot", |
$breakpoints: ( | |
small: 0, // Phones, watches, ... | |
narrow: 640px, // Portrait oriented tablets | |
normal: 980px, // Landscape oriented tablets, laptops, smaller desktop screens, ... | |
wide: 1200px // Large desktop screens, TVs, ... | |
); | |
@function breakpoint-size($key, $max-width: false) { | |
@if ($max-width) { | |
@return map-get($breakpoints, $key) - 1 | |
} |
<!DOCTYPE html> | |
<html<?php print $html_attributes; ?>> | |
<head> | |
<?php print $head; ?> | |
<title><?php print $head_title; ?></title> | |
<?php print $styles; ?> | |
<?php print $head_scripts; ?> | |
</head> | |
<body<?php print $body_attributes;?>> |