Skip to content

Instantly share code, notes, and snippets.

View patrickclery's full-sized avatar

Patrick Clery patrickclery

View GitHub Profile
[patrick@vision ~]$ ssh blackwidow -v
OpenSSH_8.6p1, OpenSSL 1.1.1k 25 Mar 2021
debug1: Reading configuration data /home/patrick/.ssh/config
debug1: /home/patrick/.ssh/config line 1: Applying options for *
debug1: /home/patrick/.ssh/config line 14: Applying options for blackwidow
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to blackwidow.lexop.com [52.138.33.195] port 22.
^C
[patrick@vision ~]$ ssh rogue -v
OpenSSH_8.6p1, OpenSSL 1.1.1k 25 Mar 2021
@patrickclery
patrickclery / how-to-create-a-rubocop-keymap-in-rubymine.md
Last active February 1, 2023 11:47
How To Create A Rubocop Keymap In Rubymine

How To Create A Rubocop Keymap In Rubymine

  1. Go to Settings > Tools > External Tools

Screenshot_20211014_145200

  1. Click "+" to add a new tool. Copy the details below, (replace /home/patrick/bin with /home/<YOUR_USER>/bin)

Screenshot_20211014_145017

Best Practices for Debugging

Big Principle #1: Use the same data

Scientific control

A scientific control is an experiment or observation designed to minimize the effects of variables other than the independent variable. This increases the reliability of the results, often through a comparison between control measurements and the other measurements.

~Wikipedia

How to split technical tasks so that every developer can work asynchronously

Mock-Driven Development is a way of planning out features in a way that allows each dev to work on a feature without having to wait for other coders to finish their work.

The traditional way of assigning tasks

  • The coder is given a business requirement and told "make this happen".
  • Because the business scope might be vague, the technical scope becomes a big question mark.
  • This often makes the scope of the feature cross several domains of the app (backend, frontend, API, database, etc.)
  • By the end of the feature, the coder is expected to have all these domains working together without errors.
{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"awards": [],
"basics": {
"email": "patrick@patrickclery.com",
"image": "",
"label": "The greatest Ruby On Rails & React developer of all-time. 🐐",
"location": {
"address": "",
"city": "Montreal",
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimal-ui">
<title>Patrick Clery</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.2.0/css/bootstrap.min.css">