例文を組み込んだAlfred Workflowを作りました: Alfred Git Commit Message Example
以下転載:
以下転載:
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にもっと具体的な解説を書きました
SQL2
All nodes with a specific name
SELECT * FROM [nt:unstructured] AS node
WHERE ISDESCENDANTNODE(node, "/search/in/path")
AND NAME() = "nodeName"All pages below content path
| $ cat example.proto | |
| message AMessage | |
| { | |
| required int32 a=1; | |
| optional int32 b=2; | |
| } | |
| $ protoc example.proto --descriptor_set_out=example.pb | |
| $ mono ProtoGen.exe example.pb | |
| $ more Example.cs |
When the directory structure of your Node.js application (not library!) has some depth, you end up with a lot of annoying relative paths in your require calls like:
const Article = require('../../../../app/models/article');Those suck for maintenance and they're ugly.
A timeline of the last four years of detecting good old window.localStorage.
October 2009: 5059daa
| # -*- coding: utf-8 -*- | |
| #Copyright (C) 2013 Seán Hayes | |
| import my_project.settings as dj_settings | |
| from fabric.api import local, run, sudo, env, prompt, settings, cd, parallel, execute | |
| from fabric.contrib.files import exists | |
| from fabric.decorators import hosts, roles, runs_once | |
| import json | |
| import logging | |
| import os |
| var express = require('express'), | |
| httpProxy = require('http-proxy'), | |
| app = express(); | |
| var proxy = new httpProxy.RoutingProxy(); | |
| function apiProxy(host, port) { | |
| return function(req, res, next) { | |
| if(req.url.match(new RegExp('^\/api\/'))) { | |
| proxy.proxyRequest(req, res, {host: host, port: port}); |