2017年に学びたい技術、読んでみたい本、完成させるGitHubリポジトリなどをピックアップ。
随時追加・更新する予定。 ※最終更新日:2017/05/02
| 技術名 | 進捗 | 備考 |
|---|---|---|
| ディープラーニング | 未着手 | |
| (ざっくり)デザインの理論 | 未着手 | |
| (ざっくり)経営論 | 未着手 | |
| Node.js | 進行中 | Socket.ioを使ったwebアプリ作成中 |
| /** gulpの設定例 **/ | |
| const gulp = require("gulp"), | |
| buble = require("gulp-buble") | |
| gulp.task('buble', () => { | |
| gulp.src('./es6/*.js') | |
| .pipe(buble()) | |
| .pipe(gulp.dest('./js/')) | |
| }); |
| /** bind関数のサンプル **/ | |
| /** サンプル1(thisを束縛) **/ | |
| var context = function() { | |
| console.info(this) | |
| } | |
| context() // Window | |
| var obj = { | |
| x: 123, | |
| y: 'hoge' |
| <?php | |
| // 変数内の改行コードを空白に変更 | |
| $text = str_replace(array("\r\n","\r","\n"), ' ', $text); | |
| // 正規表現での整数チェック | |
| preg_match("/^[+-]?[0-9]+$/", $check, $result); | |
| /* **************************************************** | |
| * Useful vi Commands | |
| * 使える便利なviコマンド集 | |
| * | |
| * Update : | |
| * : | |
| ******************************************************/ | |
| http://www.crimson-snow.net/tips/unix/vim.html |
| // define complex number | |
| var Complex = (function () { | |
| function Complex(x, y) { | |
| this.x = x; | |
| this.y = y; | |
| } | |
| return Complex; | |
| }()); | |
| // adding | |
| var addc = function (z, w) { |
| (function() { | |
| var app = { name: 'fuga' }; | |
| // bindパターン1 | |
| var t = document.getElementById('hoge'); | |
| t.addEventListener('click', function(ev) { | |
| console.log(ev.target.tagName); // DIV | |
| console.log(this); // fuga | |
| }.bind(app)); |
| * {margin: 0; padding: 0;} | |
| a {text-decoration: none;} | |
| .fixed { | |
| position: fixed; | |
| top: 0; | |
| height: 70px; | |
| z-index: 1; | |
| } |
| $('body').mousemove(function(e) { | |
| $('セレクタ').html('現在のX座標: ' + e.clientX + | |
| "<br />現在のY座標: " + e.clientY); | |
| }); |