See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
| public static int OccupancyTypeTollFare(Object vehicleType) => vehicleType switch | |
| { | |
| Car { PassengerCount: 0 } => 100 + 10, | |
| Car { PassengerCount: 1 } => 100, | |
| Car { PassengerCount: 2 } => 100 - 10, | |
| Car c => 100 - 20, | |
| Taxi { Fare: 0 } => 100 + 10, | |
| Taxi { Fare: 1 } => 100, | |
| Taxi { Fare: 2 } => 100 - 10, | |
| Taxi t => 100 - 20, |
| image: docker:latest | |
| # When using dind, it's wise to use the overlayfs driver for | |
| # improved performance. | |
| variables: | |
| DOCKER_DRIVER: overlay | |
| GCP_PROJECT_ID: CHANGE-TO-GCP-PROJECT-ID | |
| IMAGE_NAME: image_id | |
| services: |
| Name Character Entity | |
| Copyright © © | |
| Registered ® ® | |
| Trademark ™ ™ | |
| Curly Open Double Quote “ “ | |
| Curly Closed Double Quote ” ” | |
| Curly Open Single Quote ‘ ‘ | |
| Curly Closed Single Quote ’ ’ | |
| Big Bullet/Dot • • |
This was taken from http://rxwiki.wikidot.com/101samples, because I wanted to be able to read it more comfortable with syntax highlighting.
Here's the unedited original, translated to Github Markdown glory:
| /* VT100 terminal reset (<ESC>c) */ | |
| console.log('\033c'); | |
| /* numbers comparations */ | |
| > '2' == 2 | |
| true | |
| > '2' === 2 |
| # The difference between the `sep` and `collapse` arguments | |
| # in paste can be thought of like this: | |
| # | |
| # paste can accept multiple *vectors* as input, and will | |
| # concatenate the ith entries of each vector pairwise | |
| # (or tuplewise), if it can. | |
| # | |
| # When you pass paste multiple vectors, sep defines what | |
| # separates the entries in those tuple-wise concatenations. | |
| # |
People
:bowtie: |
😄 :smile: |
😆 :laughing: |
|---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |
⇐ back to the gist-blog at jrw.fi
Or, 16 cool things you may not have known your stylesheets could do. I'd rather have kept it to a nice round number like 10, but they just kept coming. Sorry.
I've been using SCSS/SASS for most of my styling work since 2009, and I'm a huge fan of Compass (by the great @chriseppstein). It really helped many of us through the darkest cross-browser crap. Even though browsers are increasingly playing nice with CSS, another problem has become very topical: managing the complexity in stylesheets as our in-browser apps get larger and larger. SCSS is an indispensable tool for dealing with this.
This isn't an introduction to the language by a long shot; many things probably won't make sense unless you have some SCSS under your belt already. That said, if you're not yet comfy with the basics, check out the aweso