A selection with minor modifications of gitmoji.carloscuesta.me. Available emoji: webpagefx.com/tools/emoji-cheat-sheet.
Combine as many of these as necessary.
| emoji | text | description |
|---|---|---|
| 🚧 | :construction: |
work in progress |
| ✨ | :sparkles: |
add feature |
| // Consider the following calls: | |
| // PrintAngle((Radians) 0.10, "radians"); | |
| // PrintAngle((Degrees) 30, "degrees"); | |
| // Obviously no conversion are required, but without the IAngularUnit | |
| // interface, we would have to provide copies of this method for each | |
| // Unit manually. | |
| public static void PrintAngle<TAngularUnit>(TAngularUnit angle, string unit) where TAngularUnit : IAngularUnit { | |
| switch (unit) { | |
| case "radians": System.Console.WriteLine("{0:F2} rad", (float) angle.ToRadians); break; | |
| case "degrees": System.Console.WriteLine("{0:F2} deg", (float) angle.ToDegrees); break; |
| // Some constants, may get them from another place in production code. | |
| internal abstract class Constants { | |
| public const float RadiansPerCircle = 2.0f*(float) System.Math.PI; | |
| public const float DegreesPerCircle = 360.0f; | |
| public const float RadiansPerDegree = RadiansPerCircle/DegreesPerCircle; | |
| public const float DegreesPerRadian = DegreesPerCircle/RadiansPerCircle; | |
| } | |
| public interface IAngularUnit { | |
| float AsRadians { get; } |
| #[derive(Clone,Copy,Debug)] | |
| enum State { | |
| A, | |
| B, | |
| Trap, | |
| } | |
| impl State { | |
| fn is_accepting(self) -> bool { | |
| use State::*; |
| # http://editorconfig.org/ | |
| root = true | |
| [*] | |
| charset = utf-8 | |
| end_of_line = lf | |
| indent_size = 2 | |
| indent_style = space | |
| insert_final_newline = true | |
| max_line_length = 72 |
| #include <iostream> | |
| #include <random> | |
| #include <cstdint> | |
| struct Result { | |
| // Types | |
| public: | |
| struct Amoeba {}; | |
| struct Robot { |
A selection with minor modifications of gitmoji.carloscuesta.me. Available emoji: webpagefx.com/tools/emoji-cheat-sheet.
Combine as many of these as necessary.
| emoji | text | description |
|---|---|---|
| 🚧 | :construction: |
work in progress |
| ✨ | :sparkles: |
add feature |
| function Dog(name) { | |
| this.name = name | |
| } | |
| Dog.prototype.bark = function bark() { | |
| return dog_bark(this) | |
| } | |
| function dog_bark(dog) { | |
| return `${dog.name}: Woof!` |
| <html> | |
| <head> | |
| </head> | |
| <body> | |
| <h1>Beepo</h1> | |
| <p>A simple interval timer.</p> | |
| <form> |
| function Future$fork(rej, res){ | |
| check$fork(this, rej, res); | |
| let immediate = false; | |
| let clear = function Future$fork$immediateClear() { | |
| immediate = true | |
| }; | |
| const _this = this; | |
| function maybeClear() { | |
| if (_this._b && clear) { | |
| clear() |
| -startup | |
| plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar | |
| --launcher.library | |
| plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20130807-1835 | |
| -product | |
| org.eclipse.epp.package.standard.product | |
| --launcher.defaultAction | |
| openFile | |
| --launcher.XXMaxPermSize | |
| 256M |