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
<Page | |
x:Name="pageRoot" | |
x:Class="NoPushSample.GroupedItemsPage" | |
DataContext="{Binding DefaultViewModel, RelativeSource={RelativeSource Self}}" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:local="using:NoPushSample" | |
xmlns:data="using:NoPushSample.Data" | |
xmlns:common="using:NoPushSample.Common" | |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
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
public async Task UploadAsync(IEnumerable<Windows.Storage.IStorageFile> files) | |
{ | |
var authClient = new LiveAuthClient(); | |
var result = await authClient.InitializeAsync(ScopesLiveSdk); | |
var client = new LiveConnectClient(result.Session); |
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
static void Hoge() | |
{ | |
var endPoint = "https://"; | |
var parm = new Dictionary<string, string>(); | |
parm["rdf:type"] = "odpt:TrainInformation"; | |
parm["acl:consumerKey"] = アクセスキー"; | |
var url = string.Format("{0}?{1}", endPoint, | |
string.Join("&", parm.Select(p => string.Format("{0}={1}", p.Key, p.Value)))); |
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
using (var client = new System.Net.Http.HttpClient() { BaseAddress = new Uri("http://blog.ch3cooh.jp/") }) | |
{ | |
try | |
{ | |
var hoge = await client.GetStringAsync("/entry/20141018/1413595800"); | |
} | |
catch (Exception ex) | |
{ | |
// | |
} |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
using System.Web.Mvc; | |
using System.Web.Routing; | |
namespace Kyuko | |
{ | |
public class RouteConfig |
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
// 田村ゆかりさんの誕生日 | |
var yukariBirthday = new DateTime(1976, 2, 27); | |
// 現在の年月日 | |
var nowDate = DateTime.Now.Date; | |
// 経過日数を調べる | |
var totalDays = nowDate.Subtract(yukariBirthday).TotalDays; |
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
// Piyo class | |
public class Piyo extends RealmObject { | |
@PrimaryKey | |
private int id; | |
} | |
public static RealmResults<Piyo> getPiyo(Realm realm, List<Integer> ids) { | |
RealmQuery<Piyo> q = realm.where(Piyo.class); |
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
using Microsoft.Phone.Controls; | |
namespace PhoneApp1 { | |
public partial class MainPage : PhoneApplicationPage { | |
// コンストラクター | |
public MainPage() { | |
InitializeComponent(); | |
// コードの最適化が有効になっている場合は、 | |
// この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
<html> | |
<body> | |
<span id="form1:htmlMain" class="output002">教室変更情報詳細<br><br>日付:2012年4月26日 木曜日<br>時限:6限<br>科目:ワイヤレスシステム工学<br>教員:小林 岳彦<br>変更前教室:【千住】2号館2501教室<br>変更後教室:【千住】2号館2502教室<br>備考:4月26日(木)から前期終了まで<BR></span> | |
</body> | |
</html> |
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
5,20120711,3,【千住】科学技術と企業経営,世良耕一, | |
5,20120711,6,【千住】企業と経営,世良耕一, | |
5,20120711,7,【千住】科学技術と企業経営,世良耕一, | |
5,20120712,2,【千住】グループスタディI,本橋光也, | |
5,20120712,3,【千住】流体の力学Iおよび演習,児山秀晴, | |
5,20120712,6,【千住】電気回路の基礎および演習,本橋光也, | |
5,20120713,1,【千住】オブジェクト指向プログラミングおよび演習,脇英世, | |
5,20120713,2,【千住】オブジェクト指向プログラミングおよび演習,脇英世, | |
5,20120713,7,【千住】基礎情報数学B(確率と情報),月本洋, | |
5,20120716,2,【千住】建築設備概論,射場本忠彦, |
OlderNewer