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
| using System;class p{static void Main(string[] a){var c=a[0].Length;var k="千百十 ".Substring(4-c);Func<int,string> f=(i)=>{return "〇一二三四五六七八九".Substring(int.Parse(a[0].Substring(i,1)),1);};for(var i=0;i<c;i++){Console.Write((f(i)=="〇"?"":f(i)=="一"&&i!=c-1?k.Substring(i,1):f(i)+k.Substring(i,1)).Trim());}}} | |
| // 以下は開いたもの | |
| //using System; | |
| //class p | |
| //{ | |
| // static void Main(string[] a) | |
| // { | |
| // var c = a[0].Length; |
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
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| // Add | |
| using System.Windows.Forms; | |
| using ExcelDna.Integration; | |
| using SKYPE4COMLib; |
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
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| // Add | |
| using System.Windows.Forms; | |
| using ExcelDna.Integration; | |
| using SKYPE4COMLib; |
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
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| $basedir = File.dirname(__FILE__) | |
| # knife solo prepareしたか | |
| def prepared? | |
| File.exists? "#{$basedir}/prepared.txt" | |
| end |
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(){ | |
| const ROW_COUNT = 11; | |
| const COLUMN_COUNT = 4; | |
| const SPACE_LEFT_MM = 7.4; | |
| const SPACE_LEFT_PT = toPT(SPACE_LEFT_MM) | |
| const A4_HEIGHT_MM = 297; |
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
| require 'ruboto/widget' | |
| ruboto_import_widgets :LinearLayout, :TextView | |
| java_import 'android.content.Context' | |
| java_import 'android.location.LocationManager' | |
| class NmeaActivity | |
| def onCreate(bundle) |
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 doGet() { | |
| var rss = makeRss(); | |
| rss.setTitle('RSS 2.0 test'); | |
| rss.setLink('http://example.com'); | |
| rss.setDescription('RSS 2.0のテスト'); | |
| rss.setLanguage('ja'); | |
| rss.setAtomlink('http://example.com/rss'); | |
| for (var i = 1; i < 3; i++){ |
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
| <?xml version="1.0" encoding="utf-8"?> | |
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| android:orientation="vertical" > | |
| <TextView android:id="@+id/textView1" | |
| android:text="Fragment A" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content"/> |
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 | |
| require 'ruboto/widget' | |
| require 'ruboto/util/toast' | |
| ruboto_import_widgets :Button, :LinearLayout, :TextView | |
| java_import 'android.util.Log' | |