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
hoge |
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
test |
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
Ext.require('Ext.container.Viewport'); | |
Ext.application({ | |
name:'HelloExt', | |
launch: function(){ | |
Ext.create('Ext.container.Viewport', { | |
layout: 'fit', | |
items: [ | |
{ | |
title: 'Hello Ext', |
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> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>hello ext</title> | |
<link rel="stylesheet" href="../extjs/resources/css/ext-all.css" /> | |
<script type="text/javascript" src="../extjs/ext.js"></script> | |
<script type="text/javascript" src="app-all.js"></script> | |
</head> | |
<body> |
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> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>hello ext</title> | |
<link rel="stylesheet" href="../extjs/resources/css/ext-all.css" /> | |
<script type="text/javascript" src="../extjs/ext-debug.js"></script> | |
<script type="text/javascript" src="app.js"></script> | |
</head> | |
<body> |
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
{ | |
"projectName": "Project Name", | |
"licenseText": "Copyright(c) 2011 Company Name", | |
"builds": [ | |
{ | |
"name": "All Classes", | |
"target": "all-classes.js", | |
"options": { | |
"debug": true | |
}, |
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> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>hello ext</title> | |
<link rel="stylesheet" href="../extjs/resources/css/ext-all.css" /> | |
<script type="text/javascript" src="../extjs/ext.js"></script> | |
<script type="text/javascript" src="app-all.js"></script> | |
</head> | |
<body> |
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
#!/bin/sh | |
# please located in vim source directory | |
hg pull | |
hg update | |
cd src | |
./configure --with-features=huge --enable-multibyte --disable-selinux | |
make | |
sudo make install |
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
package average; | |
import org.apache.hadoop.conf.Configured; | |
import org.apache.hadoop.fs.Path; | |
import org.apache.hadoop.io.FloatWritable; | |
import org.apache.hadoop.io.IntWritable; | |
import org.apache.hadoop.io.Text; | |
import org.apache.hadoop.mapred.FileInputFormat; | |
import org.apache.hadoop.mapred.FileOutputFormat; | |
import org.apache.hadoop.mapred.JobClient; |
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
#!/usr/bin/env python | |
import sys | |
# 標準入力を取得する | |
for line in sys.stdin: | |
line=line.strip() | |
words=line.split() | |
# 単語の頭文字とその文字数を返す | |
for word in words: |
OlderNewer