Most of programs will not accept an email using just @localhost as domain.
So, edit /etc/hosts
file to make the domain localhost.com point to your machine, including this content to the file:
127.0.0.1 localhost.com
(function (context, trackingId, options) { | |
const history = context.history; | |
const doc = document; | |
const nav = navigator || {}; | |
const storage = localStorage; | |
const encode = encodeURIComponent; | |
const pushState = history.pushState; | |
const typeException = 'exception'; | |
const generateId = () => Math.random().toString(36); | |
const getId = () => { |
<?php | |
$terms = get_terms( 'TAXONOMY' ); | |
if ( ! empty( $terms ) && ! is_wp_error( $terms ) ){ | |
foreach ( $terms as $term ) { | |
echo '<div class="item">'; | |
$icon = pods_field( 'TAXONOMY', $term->term_id, 'FIELD', true ); | |
$icon_url = $icon['guid']; | |
$icon_thumb = pods_image_url ( $icon_url, 'thumbnail', 0, false ) ; | |
$term_link = get_term_link($term); | |
echo '<a href="'.$term_link.'">'; |
#!/bin/sh | |
# Usage: convert_gpx.sh <FIT filename> | |
# Should works whether you include the .FIT extension or not. | |
filename=$(basename "$1" .FIT) | |
gpsbabel -i garmin_fit -f "$filename".FIT -o gpx -F "$filename".gpx |
(function(window, document){ | |
'use strict'; | |
var slice = [].slice; | |
var removeClass = function(elem){ | |
elem.classList.remove('focus-within'); | |
}; | |
var update = (function(){ | |
var running, last; | |
var action = function(){ | |
var element = document.activeElement; |
/* bling.js */ | |
window.$ = document.querySelectorAll.bind(document); | |
Node.prototype.on = window.on = function (name, fn) { | |
this.addEventListener(name, fn); | |
}; | |
NodeList.prototype.__proto__ = Array.prototype; |
#!/bin/bash | |
if [ -z $1 ]; then | |
echo Usage: $0 project-name >&2 | |
exit 1 | |
fi | |
CONFIG=$(cat << 'END' | |
<VirtualHost *:80> | |
ServerName %name%.dev |
#!/usr/bin/env ruby -w | |
# My first Ruby program | |
require "json" | |
if ARGV.empty? | |
puts "Usage gpx2json.rb filename" | |
exit | |
end |
Most of programs will not accept an email using just @localhost as domain.
So, edit /etc/hosts
file to make the domain localhost.com point to your machine, including this content to the file:
127.0.0.1 localhost.com
<div class="row"><!-- not really need - row should exist higher in the doc --> | |
<div class="six columns centered"><!-- six is the width (half) but could be one through tweleve - centered centers it --> | |
<div class="flex-video widescreen"><!-- widescreen is for the 560 315 ratio --> | |
<iframe width="560" height="315" src="http://www.youtube.com/embed/N966cATFWjI" frameborder="0" allowfullscreen=""></iframe> | |
</div> | |
</div> | |
</div> |
/** | |
* strtr() for JavaScript | |
* Translate characters or replace substrings | |
* | |
* @author Dmitry Sheiko | |
* @version strtr.js, v 1.0.2 | |
* @license MIT | |
* @copyright (c) Dmitry Sheiko http://dsheiko.com | |
**/ |