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
(function(global) { | |
global['小学校指導要領'] = { | |
'国語': { | |
//小学校指導要領 第1節 国語:文部科学省 http://www.mext.go.jp/b_menu/shuppan/sonota/990301b/990301d.htm | |
'学年別漢字配当表': { | |
//80字 | |
'第一学年': ["一", "右", "雨", "円", "王", "音", "下", "火", "花", "貝", "学", "気", "九", "休", "玉", "金", "空", "月", "犬", "見", "五", "口", "校", "左", "三", "山", "子", "四", "糸", "字", "耳", "七", "車", "手", "十", "出", "女", "小", "上", "森", "人", "水", "正", "生", "青", "夕", "石", "赤", "千", "川", "先", "早", "草", "足", "村", "大", "男", "竹", "中", "虫", "町", "天", "田", "土", "二", "日", "入", "年", "白", "八", "百", "文", "木", "本", "名", "目", "立", "力", "林", "六"], | |
//160字 | |
'第二学年': ["引", "羽", "雲", "園", "遠", "何", "科", "夏", "家", "歌", "画", "回", "会", "海", "絵", "外", "角", "楽", "活", "間", "丸", "岩", "顔", "汽", "記", "帰", "弓", "牛", "魚", "京", "強", "教", "近", "兄", "形", "計", "元", "言", "原", "戸", "古", "午", "後", "語", "工", "公", "広", "交", "光", "考", "行", "高", "黄", "合", "谷", "国", "黒", "今", "才", "細", "作", "算", "止", "市", "矢", "姉", "思", "紙", "寺", "自", "時", "室", "社", "弱", "首", "秋", "週", "春", "書", "少", "場", "色", "食", |
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
$ bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer) | |
$ echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function' >> ~/.bash_profile | |
$ brew install libiconv | |
$ rvm install 1.9.2 --with-iconv-dir=/usr/local/Cellar/libiconv/1.14/ |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset='UTF-8'> | |
<title>レシピ</title> | |
</head> | |
<body> | |
<header> | |
<h1>レシピ</h1> | |
</header> |
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
!!! 5 | |
%html | |
%head | |
%meta{:charset => "UTF-8"} | |
%title レシピ | |
%body | |
%header | |
%h1 レシピ | |
%article | |
%header |
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
#include<stdio.h> | |
int main() | |
{ | |
const char* hello = "https://www.hellowork.go.jp/"; | |
printf("%s\n", hello); | |
return 0; | |
} |
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
# encoding: utf-8 | |
# 参考:Rake http://www2s.biglobe.ne.jp/~idesaku/sss/tech/rake/ | |
require 'rake/clean' | |
CC = "gcc" | |
SRCS = FileList["**/*.c"] | |
OBJS = SRCS.ext("o") |
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
/*! | |
* jQuery preventDLImg - prevent download image | |
* | |
* Copyright 2013, Kouta Fukuhara | |
* | |
* Released under the MIT license. | |
* | |
* $('img').preventDLImg(); | |
*/ | |
;(function ($) { |
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
/*! | |
* jQuery preventDLImg - prevent download image | |
* | |
* Copyright 2013, Kouta Fukuhara | |
* | |
* Released under the MIT license. | |
* | |
* $('img').preventDLImg(); | |
*/ | |
;(function(e){e.fn.preventDLImg=function(){var b,c,d,a;return this.each(function(){if("IMG"!==this.tagName)return!0;b=this.src;this.src="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==";c=this.width;d=this.height;a=c+"px "+d+"px";this.style.backgroundImage="url("+b+")";this.style.userSelect="none";this.style.webkitUserSelect="none";this.style.MozUserSelect="none";this.style.OUserSelect="none";this.setAttribute("unselectable","on");this.style.backgroundSize=a;this.style.webkitBackgroundSize= |
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
# 命令を受けて処理を実行する | |
class Receiver | |
up: -> | |
console.log "up" | |
down: -> | |
console.log "down" | |
right: -> | |
console.log "right" |
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
import bpy | |
import os | |
wm = bpy.context.window_manager | |
kc = wm.keyconfigs.new(os.path.splitext(os.path.basename(__file__))[0]) | |
# Map Text | |
km = kc.keymaps.new('Text', space_type='TEXT_EDITOR', region_type='WINDOW', modal=False) | |
kmi = km.keymap_items.new('text.move', 'LEFT_ARROW', 'PRESS', oskey=True) |
OlderNewer