Skip to content

Instantly share code, notes, and snippets.

Building native extensions. This could take a while...
ERROR: Error installing jekyll:
ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb
creating Makefile
make "DESTDIR="
compiling porter.c
porter.c:359:27: warning: '&&' within '||' [-Wlogical-op-parentheses]
.clearfix:before {
display: table;
content: " ";
}
.clearfix:after {
display: table;
content: " ";
clear: both;
}
/* $screen-xs */
@media (max-width: 479px) {}/* 479px and down */
@media (min-width: 480px) {}/* 480px and up */
/* $screen-sm */
@media (max-width: 767px) {}/* 767px and down */
@media (min-width: 768px) {}/* 768px and up */
/* $screen-md */
@media (max-width: 991px) {}/* 991px and down */
.container,
.container *,
.row,
.row * {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.container {
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>XXX</title>
<meta name="description" content="">

Add new port number based virtual host.

on Mac OSX 10.11.4 El Capitan

If you create virtual host, you can use document root for each project.

Add new virtual host

$ sudo vim /etc/apache2/extra/httpd-vhosts.conf

Add like following. In this case 3025 is port number.

.btn {
font-size: 14px;
padding: 6px 12px;
margin-bottom: 0;
display: inline-block;
text-decoration: none;
text-align: center;
white-space: nowrap;
vertical-align: middle;
/* dl-horizontal dt */
overflow: visible;
text-overflow: clip;
white-space: normal;
<?php
/**
* For debug
* show template file name
* ---------------------------------------------------------*/
function show_template() {
global $template;
echo basename( $template );
}
<div class="container">
<div class="main">
main
</div>
<div class="sidebar">
sidebar
</div>
</div>