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
(function() { | |
var datesCallback, process; | |
process = function(objs) { | |
var o, _i, _len, _results; | |
_results = []; | |
for (_i = 0, _len = objs.length; _i < _len; _i++) { | |
o = objs[_i]; | |
_results.push([o.idx, o.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
angular.module("kotonoha", []).directive("editableSpan", -> | |
name: "editableSpan" | |
restrict: 'E' | |
transclude: true | |
scope: { | |
title: '=' | |
} | |
template: """ | |
<div style="border: solid 1px black;"> | |
<div>{{title}}</div> |
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> | |
<!-- | |
~ Copyright 2012 eiennohito | |
~ | |
~ Licensed under the Apache License, Version 2.0 (the "License"); | |
~ you may not use this file except in compliance with the License. | |
~ You may obtain a copy of the License at | |
~ | |
~ http://www.apache.org/licenses/LICENSE-2.0 | |
~ |
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
(function() { | |
var resizer; | |
resizer = function(el) { | |
var delayedResize, resize; | |
resize = function() { | |
el.rows = 1; | |
$(el).css('height', 'auto'); | |
$(el).css('height', "" + el.scrollHeight + "px"); | |
return false; |
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 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
class xxx_serializer { | |
template<typename T> | |
void archive(T& obj) { serialize(obj); } //redirect | |
template<typename T> | |
void serialize(T& obj) { | |
xxx_serializer_impl<T> impl(&this); | |
impl.do_work(obj); | |
} | |
} |
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
struct blank_size { | |
int KolChastVisota; int KolChastRadius; fp_t Visota; fp_t Radius; fptarr3 H; fptarr3 R; template <typename stream> void serialize_to_stream_routine(stream& | |
str, int level = 0) { field_t<int> field_ KolChastVisota = {KolChastVisota, "KolChastVisota"}; field_t<int> field_ KolChastRadius = {KolChastRadius, "KolChas |
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
// Boost.Range library | |
// | |
// Copyright Neil Groves 2009. Use, modification and | |
// distribution is subject to the Boost Software License, Version | |
// 1.0. (See accompanying file LICENSE_1_0.txt or copy at | |
// http://www.boost.org/LICENSE_1_0.txt) | |
// | |
// | |
// For more information, see http://www.boost.org/libs/range/ | |
// |
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 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
/* | |
* Copyright 2012 eiennohito | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |