- paths に加え scriptVersion, configOverrides, customScriptsIndex を返す
1. index.js
2. scripts/utils/path.js
3. <prj>/package.json から config-overrides-path を取得
4. <react-scripts>/config/paths.js から paths を取得
#!/usr/bin/env ruby | |
# usage: setusergroups [-h|--help] username child | |
# | |
# setuidgid w. support for supplementary groups | |
# ruby porting of https://gist.github.com/kazuho/6181648 | |
# | |
# see: http://d.hatena.ne.jp/hirose31/20130808/1375965331 | |
# see: https://gist.github.com/kazuho/6181648 |
更新: | 2017-09-26 |
---|---|
作者: | @voluntas |
作者サイト: | http://voluntas.github.io/ |
バージョン: | 1.2.1 |
セッション日時: | 2017-09-24 14:20 - 15:00 |
セッション場所: | 5号館3F |
https://facebook.github.io/react/contributing/codebase-overview.html
require('../foo/bar')
の代わりに require('bar')
とする/lib
下にフラットに配置するIt's now here, in The Programmer's Compendium. The content is the same as before, but being part of the compendium means that it's actively maintained.
Why Uber Engineering Switched from Postgres to MySQL - Uber Engineering Blog のまとめ
Posgresqlだと
class AddUserNameForAuthenticationToUsers < ActiveRecord::Migration | |
def up | |
add_column :users, :username, :string, null: false, default: "" | |
add_index :users, :username, unique: true | |
add_column :users, :encrypted_email, :string | |
remove_column :users, :email, :string | |
add_index :users, :encrypted_email | |
end | |
def down | |
remove_column :users, :username |
日時: | 2016-01-23 |
---|---|
作: | @voluntas |
バージョン: | 0.1.2 |
url: | https://voluntas.github.io/ |
facebook/flux 2.0.32.1.0で追加されたflux/utils
について
see also 2015-08-17のJS: redux 1.0.0、flux-utils、Firefox 40 - JSer.info
はてなブックマーク検索を作りながらFlux Utilsについて学ぶ | Web Scratchにもっと具体的な解説を書きました
/* | |
#1 always write datetime values into the database as UTC!!! | |
-- Reread that last statement | |
Vertica will store all datetime values as UTC values | |
*/ | |
-- I highly recommend storing an Integer column of the Day Date | |
select TO_CHAR(<% DATA_END_TIME %>::DATE - INTEGER '1', 'YYYYMMDD')::INTEGER AS date_id | |
SELECT CLOCK_TIMESTAMP() "Current Time"; -- return current time | |
SELECT NOW(); -- time since last session connection (or commit;) which may be an older time than now |