マルチプラットフォーム・多言語対応のリンカブルなgitのAPI
上のlibgit2のphp向けバインディング。
CentOS 6.3 64bit環境にインストール。
cmakeが入ってなかったので入れた。
phpizeのインストールには、sudo yum install php-devel.x86_64
が必要だった。
pcre-develも必要。
全部入れてから./configureしないとコンパイル通らない。
var a = "kdindsuqncxkem,dsf"; | |
var b = "ds"; | |
String.prototype.indexOf = function(compStr, offset){ | |
offset = offset || 0; | |
while((this.length - compStr.length) >= offset){ | |
var isCharEq = true; | |
for(var i = 0; i < compStr.length; i++){ | |
if(!(isCharEq &= this[i + offset] === compStr[i])) break; | |
} |
--- Portfile-leiningen-1.6.1.1 2013-05-01 09:01:03.000000000 +0900 | |
+++ /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/leiningen/Portfile 2013-05-01 10:10:36.000000000 +0900 | |
@@ -3,7 +3,7 @@ | |
PortSystem 1.0 | |
name leiningen | |
-version 1.6.1.1 | |
+version 2.1.3 | |
categories devel java | |
maintainers ieure |
#include <stdlib.h> | |
#include <string.h> | |
struct Point { | |
int x; | |
int y; | |
Point(int x, int y); | |
}; | |
Point::Point(int x, int y) |
/** | |
* Module dependencies. | |
*/ | |
var express = require('express') | |
, routes = require('./routes') | |
, http = require('http') | |
, path = require('path'); | |
// ハッシュ値を求めるために必要なもの |
#!/bin/bash | |
# ---------------------- | |
# KUDU Deployment Script | |
# ---------------------- | |
# Helpers | |
# ------- | |
exitWithMessageOnError () { |
<?xml version="1.0" encoding="utf-8"?> | |
<!-- | |
For more information on how to configure your ASP.NET application, please visit | |
[url=http://go.microsoft.com/fwlink/?LinkId=169433]http://go.microsoft.com/fwlink/?LinkId=169433[/url] | |
--> | |
<configuration> | |
<system.diagnostics> | |
<trace> | |
<listeners> | |
<add type="Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener, Microsoft.WindowsAzure.Diagnostics, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" name="AzureDiagnostics"> |
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration> | |
<system.webServer> | |
<defaultDocument> | |
<files> | |
<add value="index.php" /> | |
</files> | |
</defaultDocument> | |
<rewrite> | |
<rules> |
http://fladdict.net/blog/2011/02/auto-kerning.html | |
グローバル汚染を無くしたのと、jQueryらしくかけるようにしました。 | |
// 引数なしの場合デフォルトのカーニングが摘要される。 | |
$(selector).FLAutoKerning(); | |
// 引数を入れた場合、そのカーニングが摘要される。 | |
$(selector).FLAutoKerning(myKerningInfo); | |
ライセンスは元のFLAutoKerning.jsを継承します。 |