Home Assistant has VERY IN-DEPTH DOCUMENTATION NOW...
This file contains 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
<h1>API post list</h1> | |
<ul> | |
{% for post in posts %} | |
<li> | |
<a href="/posts/{{ post.id }}/">{{ post.title }}</a> | |
</li> | |
{% endfor %} | |
</ul> |
Please visit https://asistencia.in/blogs/1-mysql-5-5-installation-guide
Thank you
This file contains 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
-- Store the .csv file in the same directory as the files you wish to rename | |
-- Replace 'username' in the path with your own (lines 3 & 10) | |
set csvFile to "/Users/username/Documents/index.csv" | |
set csvList to paragraphs of (read csvFile) | |
set {theID, my text item delimiters} to {my text item delimiters, ","} | |
repeat with csvLines in csvList | |
set {oldName, newName} to text items of csvLines | |
tell application "System Events" | |
set name of file oldName of folder "/Users/username/Documents/" to newName |
This file contains 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
<?xml version="1.0" encoding="utf-8"?> | |
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
<xsl:output method="text" /> | |
<xsl:variable name="delimiter" select="','" /> | |
<!-- define an array containing the fields we are interested in --> | |
<xsl:variable name="fieldArray"> | |
<field>service_id</field> | |
<field>account</field> |
This file contains 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
first name | last name | age | |
---|---|---|---|
Stephen | Sugden | 31 | |
Tom | Reznik | 29 | |
Justin | Thomas | 30 |
This file contains 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
#! /bin/bash | |
##################################################################################################### | |
# == wpmd 2 grav == # | |
# This script converts the headers from wp2md to Grav headers format # | |
# wp2md : https://github.com/dreikanter/wp2md ; with `wp2md -d ./ export.xml -ps {title}/item.md` # | |
# Grav : http://getgrav.org/ # | |
# @author : Tom Canac http://tomcanac.com/ # | |
# @version : 0.1 # | |
# @licence : CC-BY # |
This file contains 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
server { | |
server_name example.com; | |
root /var/www/example.com/public; | |
index index.php; | |
access_log /var/www/example.com/logs/access.log; | |
error_log /var/www/example.com/logs/error.log; | |
add_header "X-Built-With" "Statamic"; |
This file contains 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
<!DOCTYPE html> | |
<head> | |
{# Base #} | |
{% includeCssFile 'layouts/base/css/base.css' %} | |
{% includeJsFile 'layouts/base/js/base.js' %} | |
{# Header #} | |
{% includeCssFile 'modules/header/css/header.css' %} | |
{% includeJsFile 'modules/header/js/header.js' %} |
This file contains 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
this is now located at: https://github.com/budparr/jekyll-calendar | |
// REQUIRES MOMENT.JS AND UNDERSCORE.JS | |
// This still needs to be templated and cleaned up and commented. | |
// original idea came from (I think) seattlehacks.com | |
// you will need to add events via a JSON file | |
// OR use this YAML to have content people create lists of events https://gist.github.com/budparr/5b21dccf318e723834e9 | |
// use this JSON generator to create JSON for list below https://gist.github.com/budparr/ee901ba06f29cf1db637 | |
var timing = function(start, end) { |
NewerOlder