Middleman の開発者(Thomas Reynolds)が日本に遊びにくるということで, せっかくなので Meetup して交流しましょうの会。
- 開場: 18:30
- 開催時間: 19:00 - 21:00
doctype html | |
html | |
head | |
meta charset="utf-8" | |
meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" | |
title | |
== current_page.data.title || 'VirtKick, a 1-Click Cloud Management Center' | |
meta name="description" content="A simple yet powerful cloud management center. Use on your laptop, home server or in the data center! 100% open source." | |
meta name="viewport" content="width=device-width" | |
link rel="shortcut icon" href="/favicon.ico" |
Feature: Middleman-Typescript | |
Scenario: Middleman build | |
Given a fixture app "basic-app" | |
And a file named "config.rb" with: | |
""" | |
ignore "source/typescripts/*" | |
activate :typescript | |
""" | |
And a successfully built app at "basic-app" |
<div class="sample"> | |
<?php if ($hoge === true):?> | |
<div class="inner"> | |
<p> | |
hogehoge | |
</p> | |
<p> | |
<?php echo $hoge;?> | |
</p> | |
</div> |
# Middleman Directory API test | |
# Ruby v1.9.3-p551 (rbenv) | |
require 'open-uri' | |
require 'json' | |
amicus = 'https://directory.middlemanapp.com/api/amicus.json' | |
uri = ::URI.parse(amicus) | |
p uri.read |
package main | |
import ( | |
"encoding/xml" | |
"fmt" | |
"io/ioutil" | |
"net/http" | |
"os" | |
) |
<?php | |
/* | |
Plugin Name: 上州nize Posts(仮) | |
Plugin URI: http://www.e2esound.com/ | |
Description: 投稿内容を上州弁ぽくします。 | |
Version: 焼きまんじゅう | |
Author: Yuya Terajima | |
Author URI: http://www.e2esound.com/ | |
*/ |
<?php | |
class MY_Controller extends CI_Controller | |
{ | |
public function __construct() | |
{ | |
parent::__construct(); | |
} |