List of helpful shortcuts for faster coding
If you have any other helpful shortcuts, feel free to add in the comments of this gist :)
This is a fork of original gist https://gist.github.com/nrollr/3f57fc15ded7dddddcc4e82fe137b58e, with slight changes on pointing to 5.7 version branch, instead of 8 (latest default of MySQL in Hombrew).
This procedure explains how to install MySQL using Homebrew on macOS (Sierra 10.12 and up)
$  /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"Note
to active Office without crack, just follow https://github.com/WindowsAddict/IDM-Activation-Script,
you wiil only need to run
irm https://massgrave.dev/ias | iex| mysql> SELECT n.nid, n.title, c.count AS followers | |
| -> FROM node n | |
| -> INNER JOIN flag_counts c ON c.entity_id = n.nid | |
| -> INNER JOIN field_data_field_project p ON p.entity_id = n.nid | |
| -> INNER JOIN field_data_field_issue_status s ON s.entity_id = n.nid | |
| -> WHERE p.field_project_target_id = 2573607 /* contrib_tracker */ | |
| -> AND s.field_issue_status_value NOT IN (2, 7, 3) /* fixed, closed (fixed), closed (duplicate) */ | |
| -> ORDER BY c.count DESC | |
| -> LIMIT 50; | |
| +---------+-----------------------------------------------------------+-----------+ | 
rebase vs merge).rebase vs merge)reset vs checkout vs revert)git rev-parse)pull vs fetch)stash vs branch)reset vs checkout vs revert)This procedure explains how to install MySQL using Homebrew on macOS Sierra 10.12
$  /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"At this time of writing, Homebrew has MySQL version 5.7.15 as default formulae in its main repository :
| # Additional translations at https://github.com/plataformatec/devise/wiki/I18n | |
| fr: | |
| devise: | |
| confirmations: | |
| confirmed: "Votre compte a été validé." | |
| send_instructions: "Vous allez recevoir les instructions nécessaires à la confirmation de votre compte dans quelques minutes." | |
| send_paranoid_instructions: "Si votre e-mail existe dans notre base de données, vous allez bientôt recevoir un e-mail contenant les instructions de confirmation de votre compte." | |
| failure: | |
| already_authenticated: "Vous êtes déjà connecté" | 
| var React = require("react"); | |
| var allItems = [] | |
| allItems.push("Buy ingredients for Crock Pot"); | |
| allItems.push("Pick up chair at IKEA"); | |
| allItems.push("Go see mom"); | |
| class TodoList extends React.Component { | |
| constructor(props){ | |
| super(props); | 
# Start by stopping the built-in Apache, if it's running, and prevent it from starting on boot.
# This is one of very few times you'll need to use sudo:
sudo launchctl unload /System/Library/LaunchDaemons/org.apache.httpd.plist 2>/dev/null
# We need to tap homebrew-dupes because "homebrew-apache/httpd22" relies on "homebrew-dupes/zlib"
| fr: | |
| admin: | |
| js: | |
| true: Vrai | |
| false: Faux | |
| is_present: Est présent | |
| is_blank: Est vide | |
| date: Date ... | |
| between_and_: Entre le ... et le ... | |
| today: "Aujourd'hui" |