例文を組み込んだAlfred Workflowを作りました: Alfred Git Commit Message Example
以下転載:
| /* variation on https://medium.com/@DanHomola/react-higher-order-components-in-typescript-made-simple-6f9b55691af1 */ | |
| import * as React from 'react' | |
| import { wrapDisplayName } from 'recompose' | |
| // Props you want the resulting component to take (besides the props of the wrapped component) | |
| interface ExternalProps {} | |
| // Props the HOC adds to the wrapped component | |
| export interface InjectedProps {} |
| [Unit] | |
| Description=Keep reverse portforward tunnel | |
| After=network.target | |
| [Service] | |
| User=root | |
| Restart=always | |
| RestartSec=5 | |
| Type=simple | |
| ExecStart=/usr/bin/ssh -NTv \ |
| from z3 import BitVec, Solver | |
| from subprocess import Popen, PIPE | |
| seed = "B65DD562AAEA877BA21332BC2A782A76" | |
| status = [seed[i * 8:(i + 1) * 8] for i in range(4)][::-1] | |
| p = Popen(['./tiny_mt'] + status, stdout=PIPE) | |
| TINYMT32_MASK = 0x7fffffff | |
| TINYMT32_SH0 = 1 |
以下転載:
| dictionary = { | |
| "ability": { | |
| "adaptability": "てきおうりょく", | |
| "aftermath": "ゆうばく", | |
| "aerilate": "スカイスキン", | |
| "airlock": "エアロック", | |
| "analytic": "アナライズ", | |
| "angerpoint": "いかりのつぼ", | |
| "anticipation": "きけんよち", | |
| "arenatrap": "ありじごく", |
| 'use asm'; | |
| 'use strict'; | |
| function* generator(a, b, s) { | |
| a = a | 0; | |
| b = b | 0; | |
| s = s | 0; | |
| while (true) { | |
| s = (Math.imul(s, a) + b) | 0; | |
| yield s; |
| var express = require('express'), | |
| passport = require('passport'), | |
| bodyParser = require('body-parser'), | |
| LdapStrategy = require('passport-ldapauth'); | |
| // Credentials from the free LDAP test server by forumsys | |
| // More info at: http://www.forumsys.com/tutorials/integration-how-to/ldap/online-ldap-test-server/ | |
| var OPTS = { | |
| server: { | |
| url: 'ldap://ldap.forumsys.com:389', |