Mainly Devel Notes

Twitter, GitHub, StackOverflow: @ovrmrw (short hand of "overmorrow" that means the day after tomorrow)

Node.js

minimongoでバルクインサート用のjsonファイルをインポートしてLIKE検索までやってみた。

minimongo, Node.js 今回の記事のサンプルコードはGitHubにアップロードしてあります。→ovrmrw/minimongo_sample1 前置き Webアプリ開発してるとDBを扱いたくなりますよね。きっとそうに違いない。 でもいちいちDBをインストールするのもめんどうですよね。…

Solution for npm install Red Errors on Windows

Node.js, Windows, npm, Development Environment (This post is English version of Windowsでnpm installの赤いエラーに悩まされているアナタへ) I know preparing Node.js Dev Environment on Windows is really painful... until today. They says "Inst…

Windowsでnpm installの赤いエラーに悩まされているアナタへ

Node.js, Windows, npm, 開発環境 WindowsでNode.jsの開発環境を整えるのは多くの人にとって鬼門だったかと思います。 VC++のなんちゃらをインストールせよとかWindows SDKが別途必要とか言われてもよくわからないし、32bitはあーで64bitはこーでとか、手探…

ElectronでAngular2を動かすついでにasync/awaitも試してみた。

Electron, Angular2, TypeScript, async/await 【注】この記事ではAngular2 alpha.47を前提としています。それ以降のバージョンだと色々細かいところで違いがあるので注意してください。 Electronいいですね。 何がいいって、一番手間のかかるUI部分のプログ…

Node.js環境だけどjspmを使うことでブラウザでもrequireを使いこなす!(ミニファイもするよ)

Node.jsにおいてrequireとは"サーバーサイド"でJavaScriptモジュールを読み込むための宣言で、クライアントサイド(フロントエンド)では使えない。 これが一般論ですね。せっかくnode_modulesフォルダにjsファイルをたくさんダウンロードしてあるんだからそ…

Knockout + Node + Express + ArangoDB + Foxx + "LIKE search"

English: People.json ... a sample data from full JSON file used in this article. You can download it from here. (https://github.com/triAGENS/ArangoDB-Data/tree/master/RandomUsers) app.js ... a JS file located at not Express but Foxx app fo…

Very first step of Knockout on Node + Express

English: This is very first step guide for using Knockout(+ko.punches plugin) on Node+Express. You have to have a environment of Yeoman. In this case I write JavaScript file with TypeScript style. "yo express" (view engine is EJS) Put a ne…