This file contains hidden or 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
Hyphenator.js says: | |
An Error occurred: | |
QuotaExceededError: DOM Exception 22 |
This file contains hidden or 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
--- | |
layout: default | |
--- | |
{% assign index = true %} | |
{% for post in paginator.posts %} | |
{% assign content = post.content %} | |
<article class="post">{% include article.html %}</article> | |
{% endfor %} | |
<nav id="pagenavi"> |
This file contains hidden or 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
[local :~]$ gem install review | |
Fetching: review-1.5.0.gem (100%) | |
Successfully installed review-1.5.0 | |
1 gem installed | |
Installing ri documentation for review-1.5.0... | |
Installing RDoc documentation for review-1.5.0... | |
[local :~]$ gem install md2review | |
Fetching: redcarpet-3.2.3.gem (100%) | |
Building native extensions. This could take a while... |
This file contains hidden or 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
$ gem install anemone [40/62] | |
Fetching: mini_portile-0.6.2.gem (100%) | |
Successfully installed mini_portile-0.6.2 | |
Fetching: nokogiri-1.6.6.2.gem (100%) | |
Building native extensions. This could take a while... | |
ERROR: Error installing anemone: | |
ERROR: Failed to build gem native extension. | |
/usr/local/Cellar/ruby/2.1.2_2/bin/ruby extconf.rb | |
checking if the C compiler accepts ... yes |
This file contains hidden or 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
$ python [] | |
Python 2.7.8 (default, Aug 24 2014, 21:25:57) | |
[GCC 4.2.1 Compatible Apple LLVM 5.1 (clang-503.0.40)] on darwin | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> import calendar | |
>>> print calendar.month(2015, 3) | |
March 2015 | |
Mo Tu We Th Fr Sa Su | |
1 |
This file contains hidden or 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
// http://php.net/manual/ja/function.filemtime.php | |
//$compiled->timestamp = @filemtime($compiled->filepath); | |
$compiled->timestamp = exec ('stat -c %Y '. escapeshellarg ($compiled->filepath)); | |
//ERROR - 2015-02-02 16:00:30 --> Severity: Warning --> filemtime(): stat failed for application/views/templates_c/xxxxxxxx.file.index.tpl.php /home/kamatari/web/xxxx/application/third_party/smarty/libraries/sysplugins/smarty_resource.php 744 |
This file contains hidden or 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
test_list = [(1,1),(1,2),(1,3),(1,4),(1,5)] | |
for coordinate in test_list: | |
for c_point in test_list: | |
print 'compare_point ' + str(c_point) | |
test_list.remove(c_point) | |
print test_list | |
# output | |
''' | |
compare_point (1, 1) |
This file contains hidden or 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
$ apt-get install -y automake pkg-config libpcre3-dev zlib1g-dev liblzma-dev | |
$ git clone https://github.com/ggreer/the_silver_searcher.git | |
$ cd the_silver_searcher | |
$ ./build.sh | |
$ sudo make install |
This file contains hidden or 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
#coding:utf-8 | |
import random | |
seq = (True, False) | |
print random.choice(seq) |
This file contains hidden or 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
<script type="text/javascript"> | |
$(document).ready(function(){ | |
var loaded_items = 0; | |
$(".loadmore_button").click(function(){ | |
loaded_items = $(".app_list").length; | |
$.get('/index.php/app/loadmore/'+loaded_items, function(data){ | |
$('.app_list').append(data); | |
}); | |
}) | |
}) |