この前、しばやんが以下のブログを書いてるのを見て、「よし、自分もやってみよう」と思ってからはや4日。一通り形になった(気がしただけだった…)のでブログに書き残しておきます。 Google Analytics API を使って前日の PV を取得するコードを C# で書いてみた - しばやん雑記 準備 まずはVisual Studio 2013 Update3を適用しましょう。 その他にGoogle Analytics APIやTwitter APIの設定が必要ですが、その辺のことはしばやんのブログを見てもらったらいいと思います。 Microsoft Azure WebJobプロジェクトの作成 Visual Studio 2013 Update3から作成できるようになったMicrosoft Azure WebJobテンプレートを使ってプロジェクトを作成します。 必要なパッケージのインストール
連載最終回、いよいよAzureにデプロイして定期的にPVをつぶやくよう設定します。 連載目次 はじめに 第1回 Google Analytics APIの利用準備 第2回 Google AnalyticsからPVを取得する 第3回 Twitter APIの利用準備 第4回 Twitterに投稿する 第5回 Webアプリケーションにまとめる 最終回 Azureへのデプロイ Azureポータルにログイン 新しいAzureポータルにログインします。 Microsoft Azure 新しいWeb Appの作成と設定 画面左上の「新規」ボタンを押すと、作成する機能の一覧が表示されますので「Web + モバイル」-「Web App」を選択します。 Web Appの作成画面では適当にURLを指定します。 App Serviceプラン、リソースプランも適当に、価格レベルは一番安いB1 Basicを選択しま
C# の WPF を利用して、タスクトレイに常駐するアプリケーションのひな形を開発してみます。 チュートリアルに近い形で順を追って作成できるようにしてみました。 概要 ここでは、タスクトレイ常駐アプリとして最低限と思われる以下の機能を実装します。 実装機能 タスクトレイに「常駐アプリのアイコン」を表示する 「常駐アプリアイコン」を右クリックでコンテキストメニューを表示する コンテキストメニューには以下の項目が表示される 表示 終了 コンテキストメニュー「表示」をクリックでウィンドウが立ち上がる コンテキストメニュー「終了」で常駐アプリを終了する 実行イメージ プロジェクト の 作成 プロジェクト自体は特に気にすることはなく、ウィザードに従って "WPFアプリケーション" のプロジェクトを作成します。
Removal of "Learn Python in Y Minutes" from free-programming-books.md and addition to free-programming-cheatsheets.md Co-authored-by: Eric Hellman <eric@hellman.net> Index ABAP Ada Agda Alef Android APL Arduino ASP.NET Assembly Language Non-X86 AutoHotkey Autotools Awk Bash Basic BETA Blazor C C# C++ Chapel Cilk Clojure COBOL CoffeeScript ColdFusion Component Pascal Cool Coq Crystal CUDA D Dart DB
New I/O の非同期処理を実装する時にいつも使うパターンの個人的設計まとめ。非同期 I/O はアプリ要件によって設計を柔軟に変える必要があるので定石というわけではありませんし、安全に組み替えるにはそれなりの知識が必要です。 この記事が説明のベースにしているサンプルソースは My Design Pattern for Asyncronous I/O · GitHub に置いてあります。 非同期 I/O といえば 1 つのスレッドで複数のソケット I/O を管理する方法です。 非同期 I/O を生かした設計というものは必ず Producer/Consumer 型、イベント駆動型設計となります。これはパフォーマンスと引き換えにオブジェクト指向の汎用設計化を低下させ、特定の困難なバグを生む余地を増やします。個人的には C10K 問題を想定する必要がない程度 (同時に扱うソケット数が 1000
Written in Java, this IDE was originally developed for programming JAVA. Since its' inception, it was designed with a plug-in architecture to support other languages and programming needs. For C++ development, one must download the Eclipse CDT version for C++ which is platform dependent and processor word size dependent (32 bit/64 bit) and not the same download as the regular Java Eclipse IDE. Ecl
日々のプログラミングで気づいた点や小技集を紹介します。(Windows 10/XP/Vista、VC2017、HSP) ここには、このブログ記事のサンプル集が188個あります。 ウインドウ雛形 ウインドウの作成 ウインドウの雛形 ダイアログアプリの雛形 ダイアログアプリ1(ダイアログのみ) ダイアログアプリ2(ウインドウのみ) ダイアログアプリ3(ウインドウ+ダイアログ) ウインドウ関連 ウインドウの表示/非表示 ウインドウの有効化/無効化 ウインドウの最大化/最小化/元に戻す(1) ウインドウの最大化/最小化/元に戻す(2) ウインドウの最大化/最小化の状態 ウインドウの最前面表示の設定/解除 ウインドウ・スタイルの動的変更 画面中央にウインドウを移動 画面隅にウインドウを移動 画面端にウインドウを移動 画面9箇所にウインドウを移動 指定ウインドウの状態 指定ウインドウの検索 指定の子ウ
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く