- Use the present tense ("Add feature" not "Added feature")
- Use the imperative mood ("Move cursor to..." not "Moves cursor to...")
- Limit the first line to 72 characters or less
- Reference issues and pull requests liberally
- Consider starting the commit message with an applicable emoji:
- 🎨
:art:
when improving the format/structure of the code - 💡
:bulb:
when working on a new idea
- 🎨
- 🚧
:construction:
when working on something highly unfinished
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
given @*ARGS[0] { | |
when @_ eq '-p' or @_ eq '--phrase' { | |
say translate(@*ARGS[1]); | |
} | |
when @_ eq '-f' or @_ eq '--file' { | |
say translate(@*ARGS[1].IO.slurp); | |
} | |
default { | |
say 'You must provide either "-p"/"--phrase" and a phrase or "-f"/"--file" and a filepath.'; | |
exit(1); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unit module Bob; | |
class Bob is export { | |
method hey ($input) { | |
given $input { | |
when $_.ends-with('?') { say 'Sure.' } | |
when $_.ends-with('!') { say 'Whoa, chill out' } | |
when $_ eq '' { say 'Fine. Be that way!' } | |
default { say 'Whatever.' } | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Arc/Solus Tweaks | |
// | |
// Fix keybindings | |
kbd { | |
color: #a9caf1; | |
border-color: #a9caf1; | |
} | |
// Fix readme code blocks |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
type: 'button' | |
icon: 'navicon-round' | |
iconset: 'ion' | |
callback: 'command-palette:toggle' | |
tooltip: 'Toggle Command Palette' | |
} | |
{ | |
type: 'button' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require: mithril | |
provide: percent as [%] | |
MithrilNode = (tags, props, Array! children) -> | |
mithril(tags.join(""), props, children) | |
macro{MithrilNode} percent = #data{x, y} -> | |
let {=> MithrilNode} = @deps | |
`[^x % ^y] where ENode = [^MithrilNode] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"Run the module `my.blog`." | |
shared void run() { | |
Application app; | |
app = Application(); | |
dynamic server = app.js.listen(3000, void () { | |
dynamic { | |
console.log( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[INFO] Scanning for projects... | |
[INFO] Computing target platform for MavenProject: com.redhat.ceylon.eclipse:com.redhat.ceylon.eclipse.ui.jdt.debug.fragment:1.1.1-SNAPSHOT @ C:\Users\madca_000\git\ceylon-dev\ceylon-ide-eclipse\plugins\com.redhat.ceylon.eclipse.ui.jdt.debug.fragment\pom.xml | |
[INFO] Fetching p2.index from http://download.eclipse.org/releases/kepler/ (0B at 0B/s) | |
[INFO] Adding repository http://download.eclipse.org/releases/kepler | |
[INFO] Fetching p2.index from http://download.eclipse.org/releases/kepler/201402280900/ (0B at 0B/s) | |
[INFO] Fetching p2.index from http://download.eclipse.org/releases/kepler/201309270900/ (0B at 0B/s) | |
[INFO] Fetching p2.index from http://download.eclipse.org/releases/kepler/201306260900/ (0B at 0B/s) | |
[INFO] Fetching p2.index from http://download.eclipse.org/technology/epp/packages/kepler/ (0B at 0B/s) | |
[INFO] Adding repository http://download.eclipse.org/technology/swtbot/releases/latest | |
[INFO] Adding repository file:../ceylon-dist/osgi/build/dist |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Users\madca_000 | |
λ cd git\ceylon-dev\ceylon-ide-eclipse\ | |
warning: LF will be replaced by CRLF in tests/com.redhat.ceylon.eclipse.ui.test/resources/model-loader-tests/declarations/src/declarations/A.ceylon. | |
The file will have its original line endings in your working directory. | |
warning: LF will be replaced by CRLF in tests/com.redhat.ceylon.eclipse.ui.test/resources/model-loader-tests/declarations/src/declarations/Annotations.ceylon. | |
The file will have its original line endings in your working directory. | |
warning: LF will be replaced by CRLF in tests/com.redhat.ceylon.eclipse.ui.test/resources/model-loader-tests/declarations/src/declarations/Any.ceylon. | |
The file will have its original line endings in your working directory. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dynamic Express {} | |
Application requireExpressAndCallConstructor() { | |
dynamic { return require("express")(); } | |
} | |
dynamic Request {} | |
dynamic Response { | |
shared formal void send(String string); |