• Skip to primary navigation
  • Skip to main content
Sal Ferrarello
  • About Sal Ferrarello
  • Speaking
  • Connect
    Twitter GitHub

MySQL Query for Multiple Strings with LIKE

Last updated on April 24, 2020 by Sal Ferrarello

I recently learned that doing a MySQL “LIKE” with multiple strings separated with ‘%’ behaves the same as multiple “LIKE” statements.

Warning! This is a draft, not a finalized post. See full draft disclosure.

Filed Under: Dev Tips, Draft, Programming Tagged With: MySQL

Test WordPress REST API Endpoints from the Browser with jQuery

Last updated on February 24, 2020 by Sal Ferrarello

You can make WordPress REST API calls from the browser console. Here is one way I work with WordPress REST API endpoints in the browser using jQuery.

Warning! This is a draft, not a finalized post. See full draft disclosure.

Filed Under: Dev Tips, Draft, Programming Tagged With: JavaScript, REST API, WordPress

Gutenberg JS

Last updated on May 5, 2020 by Sal Ferrarello

My notes on JavaScript available methods in Gutenberg.

Warning! This is a draft, not a finalized post. See full draft disclosure.

Filed Under: Dev Tips, Draft Tagged With: Gutenberg, JavaScript

Git Preview Changes in Commit Message

Last updated on January 14, 2020 by Sal Ferrarello

You can set Git to preview all of the changes in your commit when you write your commit message. I find this to be a big help in writing my commits (and reminds me to keep the changes in my commits small).

Warning! This is a draft, not a finalized post. See full draft disclosure.

Filed Under: Dev Tips, Draft, Recommendations Tagged With: Git, gitconfig

Vim JSON Format

Last updated on December 27, 2019 by Sal Ferrarello

Vim allows you to run all (or some) of your content through an external program. In this case, we want to use Python to format (i.e. pretty print) our JSON with ‘python -m json.tool’. We an also setup a Vim user defined command to reduce typing (and make it easier to remember).

Warning! This is a draft, not a finalized post. See full draft disclosure.

Filed Under: Dev Tips, Draft, Solution Tagged With: vim, vimscript

git switch

Last updated on October 6, 2020 by Sal Ferrarello

Git version 2.23.0 is introduced a new command ‘git switch’. This command does a subset of what ‘git checkout’ does (because ‘git checkout’ does so many different things).

Warning! This is a draft, not a finalized post. See full draft disclosure.

Filed Under: Computing, Draft Tagged With: Git

git restore

Last updated on October 6, 2020 by Sal Ferrarello

Git version 2.23.0 is introduced a new command ‘git switch’. This command does a subset of what ‘git checkout’ does (because ‘git checkout’ does so many different things).

Warning! This is a draft, not a finalized post. See full draft disclosure.

Filed Under: Computing, Draft Tagged With: Git

Sending WordPress Emails Through Gmail

Last updated on November 11, 2019 by Sal Ferrarello

Typically, if you’re sending any volume of email or sending emails to visitors you’ll want to use a third-party. Sometimes, you only need to send yourself notifications and are having deliverability problems with these notifications – this is the case, where you may want to send your emails through Gmail’s SMTP.

Warning! This is a draft, not a finalized post. See full draft disclosure.

Filed Under: Draft, Solution Tagged With: email, SMTP, WordPress, WordPress Plugin

composer.json and composer.lock out of sync

Last updated on December 11, 2019 by Sal Ferrarello

When I get the “Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them.” message, I can update the hash in composer.lock, which is the root of the problem, by running ‘composer update –lock’.

Warning! This is a draft, not a finalized post. See full draft disclosure.

Filed Under: Draft Tagged With: composer

Jira Link to Comment

Last updated on December 9, 2019 by Sal Ferrarello

I find it frustrating in JIRA that I can not link to a specific comment in an issue. By triggering the old Jira view, you can link directly to a comment.

Warning! This is a draft, not a finalized post. See full draft disclosure.

Filed Under: Dev Tips, Draft, Solution Tagged With: Jira

  • «Previous Page
  • Go to page 1
  • Go to page 2
  • Go to page 3
  • Go to page 4
  • Go to page 5
  • Go to page 6
  • Interim pages omitted …
  • Go to page 33
  • Next Page»

Copyright © 2021 · Bootstrap4 Genesis on Genesis Framework · WordPress · Log in