This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function get_latlng ($address) | |
{ | |
// api key | |
$key = ''; | |
// maps geocode api request | |
$url = "https://maps.googleapis.com/maps/api/geocode/json"; | |
$query = "?address=" . urlencode($address) . "&sensor=false"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
white-space: pre; | |
font-family: Meslo LG L DZ; | |
font-size: 13px; | |
background: #fdf6e2; | |
color: #647b83; | |
} | |
.property { | |
font-weight: normal; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class HTML { | |
/** | |
* Remove comments and whitespace | |
*/ | |
public static function minify($content) | |
{ | |
$content = static::strip_comments($content); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var fs = require('fs'); | |
var path = require('path'); | |
var Ftp = require("jsftp"); | |
var ftp = new Ftp({ | |
host : "**********", | |
user : "**********", | |
pass : "*********" | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
'collections' => array( | |
'app' => function($collection) | |
{ | |
$directory = $collection->directory('css', function($collection) | |
{ | |
$collection->add('normalize.css'); | |
$collection->add('base.css'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
white-space: pre; | |
font-family: MesloLGMDZ, monospace; | |
font-size: 14px; | |
} | |
.property { | |
font-weight: bold; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{> frontend.partials.header}} | |
<section role="main" class="section bg-white-smoke"> | |
{{> frontend.partials.header_category}} | |
{{> frontend.partials.articles_category_latest}} | |
{{#article_group_1}} | |
{{> frontend.partials.articles}} | |
{{/article_group_1}} | |
{{> frontend.partials.entities_people}} | |
{{#article_group_2}} | |
{{> frontend.partials.articles}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ "alphabet" : [ { "title" : "A", | |
"url" : "?filter=a" | |
}, | |
{ "title" : "B", | |
"url" : "?filter=b" | |
}, | |
{ "title" : "C", | |
"url" : "?filter=c" | |
}, | |
{ "title" : "D", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
# All Vagrant configuration is done here. The most common configuration | |
# options are documented and commented below. For a complete reference, | |
# please see the online documentation at vagrantup.com. |