-
最初構成にしたかったので、Slim版をダウンロード
-
Powershellだとcurlないので、以下の記述で代用
(New-Object System.Net.WebClient).DownloadString("http://getcomposer.org/installer") > installer.php
- UTF-16にされるので、好きなエディタでutf-8に変換
sudo easy_install pil | |
sudo easy_install reportlab | |
sudo easy_install html5lib | |
sudo easy_install pisa |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using NUnit.Framework; | |
namespace ClassLibrary2 | |
{ |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Disabled</key> | |
<false/> | |
<key>KeepAlive</key> | |
<true/> | |
<key>Label</key> | |
<string>net.process-one.Ejabberd2</string> |
powershell -NoProfile -ExecutionPolicy RemoteSigned -file $(ProjectDir)\post-command.ps1 |
using System; | |
using Rhino.Mocks; | |
namespace Samples { | |
internal static class RhinoMocksCreationExtensions { | |
/// <summary>Generates a stub without needing a <see cref="MockRepository"/></summary> | |
/// <param name="argumentsForConstructor">Arguments for <typeparamref name="T"/>'s constructor</param> | |
/// <typeparam name="T">The <see cref="Type"/> of stub to create.</typeparam> | |
/// <returns>The stub</returns> | |
/// <seealso cref="Stub{T}"/> |
program Project1; | |
uses | |
Forms, | |
Unit1 in 'Unit1.pas' {Form1}, | |
Unit2 in 'Unit2.pas' {DataModule2: TDataModule}; | |
{$R *.res} | |
begin |
最初構成にしたかったので、Slim版をダウンロード
Powershellだとcurlないので、以下の記述で代用
(New-Object System.Net.WebClient).DownloadString("http://getcomposer.org/installer") > installer.php
<ul tal:repeat="item items">
<li tal:content="item" />
</ul>
というテンプレートに対して、
$tal->items => [1, 2, 3,...]
<?php | |
$sum = 0; | |
var_dump( | |
array_map( | |
function($v) use ($sum) { $sum =+ $v; return $sum; }, | |
range(1, 10) | |
) | |
); |
<?php | |
namespace Examples; | |
trait ArrayExtensions { | |
// | |
// 配列をイテレータとして扱えるようにする | |
// | |
public static function from($a) { | |
if (is_array($a)) { |