前提: 完成していて、比較的支持を集めていて、JavaScriptを中心にした書籍 (DOM APIよりは言語を中心とした内容)
追記: JavaScriptの入門書 #jsprimerを書いている
最初からES2015で学ぶことを前提にした初心者〜中級者向けのJavaScript本がなかったので書いてる。 ES2015でJavaScriptという言語のコア部分は大きく変わったので、それを前提とした内容にする予定。
| #! /usr/bin/env python | |
| """ Convert values between RGB hex codes and xterm-256 color codes. | |
| Nice long listing of all 256 colors and their codes. Useful for | |
| developing console color themes, or even script output schemes. | |
| Resources: | |
| * http://en.wikipedia.org/wiki/8-bit_color | |
| * http://en.wikipedia.org/wiki/ANSI_escape_code |
| //今月の最終日取得 | |
| function lastday () { | |
| var now = new Date(); | |
| var y = now.getFullYear(); | |
| var m = now.getMonth(); | |
| for (i=27;i<=32;i++) { | |
| var check = new Date(y, m, i); | |
| if (check.getMonth() != m) { | |
| return i - 1; | |
| } |
| Jenkins × PHP環境構築の巻 | |
| ■目的 | |
| PHP環境に対応したJenkins設定を行い、 | |
| コミットされる度にサーバ上でのPHPUnitの実行 及び | |
| カバレッジレポート出力を"全自動"で行えるようにすること。 | |
| 1) PHP Pear系のインストール | |
| sudo pear channel-discover pear.phing.info | |
| sudo pear channel-discover pear.pdepend.org |
前提: 完成していて、比較的支持を集めていて、JavaScriptを中心にした書籍 (DOM APIよりは言語を中心とした内容)
追記: JavaScriptの入門書 #jsprimerを書いている
最初からES2015で学ぶことを前提にした初心者〜中級者向けのJavaScript本がなかったので書いてる。 ES2015でJavaScriptという言語のコア部分は大きく変わったので、それを前提とした内容にする予定。
| import React, { Component } from "react"; | |
| import { Text } from "react-native"; | |
| import { Provider, connect } from "react-redux"; | |
| import { StackNavigator, addNavigationHelpers } from "react-navigation"; | |
| import Routes from "./config/routes"; | |
| import getStore from "./store"; | |
| const AppNavigator = StackNavigator(Routes); |
| declare module 'redux-act' { | |
| /** | |
| * Single "action" as it referenced from classic redux | |
| * @typedef {{ type: string, payload: P }} Act.<P> | |
| * @template P | |
| */ | |
| declare export | |
| type Act</*::+*/P = mixed> = { |
| /** | |
| * Export Github Labels | |
| **************************************************** | |
| * | |
| * FIREFOX STEP BY STEP: | |
| * 1. Open the labels manage page e.g github.com/user/repo/lebels | |
| * 2. Open Scratch Pad (SHIFT + F4) | |
| * 3. Paste the code below and run | |
| * 4. Inspect Element > Console ( To read console log) | |
| * 5. Copy it the console.log results |
Based on: https://gist.github.com/Isaddo/7efebcb673a0957b9c6f07cd14826ea4
https://github.com/user/repo/labels[