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);
# see https://www.topbug.net/blog/2013/04/14/install-and-use-gnu-command-line-tools-in-mac-os-x/ | |
# core | |
brew install coreutils | |
# key commands | |
brew install binutils | |
brew install diffutils | |
brew install ed --default-names | |
brew install findutils --with-default-names |
# ██ | |
# ░██ | |
# ██████ ██████░██ ██████ █████ | |
# ░░░░██ ██░░░░ ░██████ ░░██░░█ ██░░░██ | |
# ██ ░░█████ ░██░░░██ ░██ ░ ░██ ░░ | |
# ██ ░░░░░██░██ ░██ ░██ ░██ ██ | |
# ██████ ██████ ░██ ░██░███ ░░█████ | |
# ░░░░░░ ░░░░░░ ░░ ░░ ░░░ ░░░░░ | |
# | |
# PATHS |
<?php | |
add_filter( 'gfasana_task_details', 'my_custom_asana_logic', 10, 5 ); | |
function my_custom_asana_logic( $asana_task, $user_index, $project_index, $entry, $form ) { | |
/* $asana_task array format: */ | |
/* | |
Array | |
( | |
[workspace] => 1234567890123 // don't change this almost ever | |
[name] => New Task - overridden // string of text for task name | |
[notes] => long description here // string of texgt |
//* Register Home Slider widget area | |
genesis_register_sidebar( array( | |
'id' => 'home-slider', | |
'name' => __( 'Home Slider', 'mpp' ), | |
'description' => __( 'This is the home slider widget area.', 'mpp' ), | |
) ); | |
//* Add custom Slider + Header wrapper's opening div tag | |
add_action( 'genesis_before_header', 'sk_home_opening_div' ); | |
function sk_home_opening_div() { |
{ | |
"meta": { | |
"title": "About Us", | |
"subtitle": "Why we're different", | |
"description": "<p>Lorem ipsum nibh convallis malesuada nam pulvinar velit pulvinar dolor ante.</p><p>Sed sollicitudin id. Ornare ut laoreet morbi eros nibh tincidunt vitae metus. Consequat placerat lacinia eu at arcu. Mollis metus consectetuer blandit quisque commodo donec velit tincidunt vivamus nunc bibendum. Eu adipiscing tempor praesent aliquam. Sagittis pellentesque pretium nostra pellentesque sollicitudin.</p>", | |
"logo": { | |
"name": "Text for logo", | |
"image": "logo.jpg" | |
} | |
} |
This tutorial assists users of the CuBox i4-Pro (using Freescale's iMX6 SoC) stand up a stable, serial-only version (no desktop/GUI) of Debian Wheezy with working Networking (Ethernet and WiFi) with Ruby/Rails. Information collected from various forum posts, blog posts, etc. Attribution added where I could remember. Using a Windows 8.1 machine, please provide comments for update regarding Mac/Linux tutorial translations (for the most part it shouldn't matter except for how you write ISOs to microSD cards).
Note: Relatively new at this level of Linux usage, if there are better ways to do something please mention in comments so I can update
Note: The password for root
is cubox-i
on this linked Debian image
# --------------------------------------------------------------------------- | |
# | |
# Description: This file holds all my BASH configurations and aliases | |
# | |
# Sections: | |
# 1. Environment Configuration | |
# 2. Make Terminal Better (remapping defaults and adding functionality) | |
# 3. File and Folder Management | |
# 4. Searching | |
# 5. Process Management |
<?php | |
add_action( 'add_meta_boxes', 'tgm_soliloquy_remove_metabox', 0 ); | |
function tgm_soliloquy_remove_metabox() { | |
if ( ! class_exists( 'Soliloquy' ) ) { | |
return; | |
} | |
if ( empty( get_current_screen()->post_type ) || 'soliloquyv2' == get_current_screen()->post_type ) { | |
return; |
This entire guide is based on an old version of Homebrew/Node and no longer applies. It was only ever intended to fix a specific error message which has since been fixed. I've kept it here for historical purposes, but it should no longer be used. Homebrew maintainers have fixed things and the options mentioned don't exist and won't work.
I still believe it is better to manually install npm separately since having a generic package manager maintain another package manager is a bad idea, but the instructions below don't explain how to do that.
Installing node through Homebrew can cause problems with npm for globally installed packages. To fix it quickly, use the solution below. An explanation is also included at the end of this document.