A mixin for writing @font-face rules in SASS.
Create a font face rule. Embedded OpenType, WOFF2, WOFF, TrueType, and SVG files are automatically sourced.
@include font-face(Samplino, fonts/Samplino);
#!/bin/bash | |
##################################################################################################### | |
# This script is meant to be used as a global smudge-clean filter for removing sensitive data # | |
# from your commits. # | |
# # | |
# 1. Place this script in an acceisble path, i.e. ~/scripts/git-smudge-clean-filter.sh. # | |
# # | |
# 2. Populate the 'mapArr' using what you need hidden as the key, and the replacment as the value. # | |
# DO NOT use same values for multiple keys (this will work only in one direction). # |
<?php | |
if (!defined('MODX_BASE_PATH')) { die('HACK???'); } | |
/** | |
* LoadElement | |
* | |
* Загрузка чанков и сниппетов из файлов | |
* | |
* @license GNU General Public License (GPL), http://www.gnu.org/copyleft/gpl.html | |
* @author Agel_Nash <modx@agel-nash.ru> |
// -------------------------------------------------- | |
// Flexbox LESS extends | |
// The spec: http://www.w3.org/TR/css3-flexbox | |
// -------------------------------------------------- | |
// example usage as extender .mydiv:extend(.flex) {&:extend(.flex.j-center)} | |
@import "flexbox"; | |
.flex { | |
display: -webkit-box; | |
display: -moz-box; |
#!/bin/sh -e | |
#git-cache-meta -- simple file meta data caching and applying. | |
#Simpler than etckeeper, metastore, setgitperms, etc. | |
#from http://www.kerneltrap.org/mailarchive/git/2009/1/9/4654694 | |
#modified by n1k | |
# - save all files metadata not only from other users | |
# - save numeric uid and gid | |
# 2012-03-05 - added filetime, andris9 |