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
-module(np). | |
-export([main/0]). | |
-define(LIST_LENGTH, 100). | |
main() -> | |
Source = create_test_list(?LIST_LENGTH), | |
product_all_lists(Source, 0). | |
product_all_lists([], Count) -> |
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
require 'formula' | |
class Emacs < Formula | |
url 'http://ftp.gnu.org/pub/gnu/emacs/emacs-23.3b.tar.bz2' | |
md5 '917ce0054ef63773078a6e99b55df1ee' | |
homepage 'http://www.gnu.org/software/emacs/' | |
if ARGV.include? "--use-git-head" | |
head 'git://repo.or.cz/emacs.git' | |
else |
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
curl -iH "Authorization: OAuth ..." -H "Content-Type: application/json" -d '{"title":"Test","body":"Test from Yoichiro","recipients":["..."]}' "https://api.mixi-platform.com/2/messages/@me/@self/@outbox" |
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
/* | |
* var parser = new QueryDivider(); | |
* var result = parser.parse(sql); | |
* if (result.success) { | |
* var result = result.result; | |
* for (var i = 0; i < result.length; i++) { | |
* var query = result[i]; | |
* // do something... | |
* } | |
* } |
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
<project xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>jp.eisbahn.actions.simpleaction</groupId> | |
<artifactId>simple-action</artifactId> | |
<packaging>war</packaging> | |
<version>1.0-SNAPSHOT</version> | |
<name>simple-action Maven Webapp</name> | |
<url>http://maven.apache.org</url> | |
<properties> |