例文を組み込んだAlfred Workflowを作りました: Alfred Git Commit Message Example
以下転載:
| <?xml version="1.0" encoding="utf-8"?> | |
| <!-- | |
| Copyright (C) 2015 The Android Open Source Project | |
| Licensed under the Apache License, Version 2.0 (the "License"); | |
| you may not use this file except in compliance with the License. | |
| You may obtain a copy of the License at | |
| http://www.apache.org/licenses/LICENSE-2.0 |
| // PathSimplifier.swift | |
| import UIKit | |
| private let TOLERANCE: CGFloat = 1e-6 | |
| private let EPSILON: CGFloat = 1e-12 | |
| extension CGPoint { | |
| func add(p: CGPoint) -> CGPoint { | |
| return CGPointMake(x+p.x, y+p.y) |
| package zundoko; | |
| import java.util.ArrayList; | |
| import java.util.Arrays; | |
| import java.util.List; | |
| import java.util.Random; | |
| public class Zundoko { | |
| private String z = "ズン"; | |
| private String d = "ドコ"; |
以下転載:
| { | |
| "file_regex": "^(...*?):([0-9]*):?([0-9]*)", | |
| "selector": ["source.kt"], | |
| "shell_cmd": "gradle -Pmain=\"${file_name}\"" | |
| } |
| /* | |
| * Copyright 2016 Google Inc. | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |