Stash current changes
- git > Stash > Stash (Include Untracked)
Create stash as patch
git stash show "stash@{0}" -p > changes.patchApply patch
| Mute these words in your settings here: https://twitter.com/settings/muted_keywords | |
| ActivityTweet | |
| generic_activity_highlights | |
| generic_activity_momentsbreaking | |
| RankedOrganicTweet | |
| suggest_activity | |
| suggest_activity_feed | |
| suggest_activity_highlights | |
| suggest_activity_tweet |
| -# https://johnbeatty.co/2018/03/09/stimulus-js-tutorial-how-do-i-drag-and-drop-items-in-a-list/ | |
| .grid--draggable{ 'data-controller': 'seating-plan', | |
| 'data-seating-plan-endpoint': endpoint, | |
| 'data-action': 'dragstart->seating-plan#onDragStart dragover->seating-plan#onDragOver dragenter->seating-plan#onDragEnter drop->seating-plan#onDrop dragend->seating-plan#onDragEnd' } | |
| - seating_plan.each do |seat| | |
| - if seat[:is_empty] | |
| .grid__item.grid__item--empty{ 'data-row': seat[:row], | |
| 'data-col': seat[:col], | |
| style: "grid-row: #{seat[:row]}; grid-column: #{seat[:col]};", | |
| class: ('grid__item--border' if seat[:is_border]) } |
This post is a collection of links about John De Goes that show some clear patterns of behavior:
Despite all of the information in this post being publicly available and widely known, De Goes is frequently invited to Scala conferences to speak. The following are a few of his conference appearances in 2019:
| <?php | |
| class MySQL { | |
| private $link = null; | |
| private $info = array( | |
| 'last_query' => null, | |
| 'num_rows' => null, | |
| 'insert_id' => null | |
| ); | |
| private $connection_info = array(); |
| rbenv commands | |
| # Install rbenv | |
| $ brew install rbenv | |
| # Completely uninstall rbenv | |
| $ brew uninstall rbenv | |
| # list all available versions | |
| $ rbenv install -l |
title: Setting Up Laravel in Ubuntu / DigitalOcean keywords: servers, laravel, coderstape, coder's tape description: Let's take a look at settting up a server from scratch for Laravel. date: April 1, 2019 tags: servers, laravel permalink: setting-up-laravel-in-ubuntu-digitalocean img: https://coderstape.com/storage/uploads/GZTXUbyGum2xeUZM9qBD5aPv8EKLwG3C8RGcRon4.jpeg author: Victor Gonzalez authorlink: https://github.com/vicgonvt
This profile describes a set of descriptors for generic error messages.
code: An identifier that describes the type of error.title: A short string used for labeling the error.message: A description with details about the error.fields: An object with validation errorsOur industry has a tendency to follow hypes without backing it with solid constructive claims. Over the past few years, trashing Ruby was one of these hypes, I also find that the so called "Senior Engineers" tend to promote hypes to appear more opinionated without really trying to explain the logical claims behind it, leaving the community beginners and new joiners really confused.
This profile describes how a set of descriptors should be interpreted to turn a generic media type into a form (similar to HTML forms). For example, the HAL media type (application/hal+json) does not specify any semantics about forms, however we can add semantics about forms to a HAL document but providing a profile.
method: The HTTP method used for submitting the form.href: The target uri that the form should be submitted to.name: A string used to indentify the form.title: A string used as title/label when showing the form in a user interface.