• Skip to primary navigation
  • Skip to main content
Sal Ferrarello
  • About Sal Ferrarello
  • Speaking
  • Connect
    Mastodon GitHub Twitter (inactive)

Dad Journal

Last updated on January 20, 2017 by Sal Ferrarello

I have two young sons. I can’t believe how quickly their childhoods are passing before my eyes. In an attempt to savor this time I decided to begin writing down things about the boys everyday. I have been doing this consistently for one year. Some of the reasons I think I’ve been successful at this […]

Filed Under: Happy, Parenting Tagged With: happy, lifehack

htaccess Redirect with Hashtag

Last updated on April 23, 2014 by Sal Ferrarello

I had to setup a redirect the other day with a hashtag. Whenever a visitor hit a specific URL, I wanted to redirect them to another URL but I also wanted to include a hashtag to indicate where they came from when tracking the information in Google Analytics. It appears the secret is the NE […]

Filed Under: Computing, Programming Tagged With: redirects

Git file force as binary

Last updated on August 26, 2016 by Sal Ferrarello

Goal Mark generated (concatenated and minified) JavaScript files and CSS files as binary files within Git to allow checking them in while avoiding merge conflicts (currently, I don’t check these files in). Failure I have been unable to get this to work so I thought I’d document my issue here and update this page when […]

Filed Under: Programming Tagged With: Git

WordPress Conditional Tags Earliest Hook

Last updated on April 27, 2014 by Sal Ferrarello

When using conditional tags in WordPress, if you hook in too early the conditional tags don’t work because WordPress hasn’t determined their values yet. The earliest hook for conditional tags Hook wp Example Hook Function to wp add_action( ‘wp’, ‘function_that_uses_is_front_page’ ); Examples of conditional tags is_home() main blog page is_front_page() front of the site is […]

Filed Under: Programming Tagged With: WordPress

Git Submodule fatal: Could not read from remote repository

Last updated on April 18, 2014 by Sal Ferrarello

Why to Setup Your Git Submodules as https:// not ssh I was pulling a public GitHub repo the other day which featured submodules.  The frustrating problem is whenever I tried to init the submodules with the line git submodule update –init –recursive I got the error Git Submodule fatal: Could not read from remote repository […]

Filed Under: Computing Tagged With: Git

Inexpensive 27″ Monitor

Last updated on April 18, 2014 by Sal Ferrarello

I’ve been very impressed with the 27″ IPS-ZERO-G Slim Monitor WQHD 2560×1440 – Dual Link DVI, VGA from Monoprice.  At just under $400, this was an excellent purchase for the money. It is disappointing that it uses a DVI connection rather than HDMI but with my Mini DisplayPort to DVI Adapter, also from Monoprice, hooking up my […]

Filed Under: Recommendations

Contribution to WordPress Core

Last updated on April 17, 2014 by Sal Ferrarello

WordPress 3.9 released yesterday and I’m excited to see my name as one of the contributors.  Looking forward to contributing more to future releases.   You can see more of my open source work at http://github.com/salcode

Filed Under: Programming Tagged With: WordPress

How to Ramp Up WordPress Developer

Last updated on January 6, 2020 by Sal Ferrarello

WordPress Framework Buy and learn to build with the WordPress Genesis Framework.  When I started using the Genesis Framework my work improved tremendously, not only because it is a great framework but because it showed me the power of and got me using hooks and filters, which are the key to building in WordPress.  I haven’t […]

Filed Under: Programming Tagged With: WordPress

Chrome Clear Redirect Cache

Last updated on September 24, 2016 by Sal Ferrarello

Chrome Caches Redirects Google Chrome caching redirects, is a known behavior and not one that is planned to change. This is a logical decision, unfortunately the lack of any obvious mechanism to clear these redirects is frustrating at times. There are generally two situations where this occurs. When the Website Returns a HTTP Status Code […]

Filed Under: Computing, Dev Tips Tagged With: redirects

Undo Git Commit

Last updated on June 8, 2015 by Sal Ferrarello

That is Not What I Meant to Commit It seems no matter how many times I do git status, I still managed to sneak in a completely wrong commit sometimes.  Additionally, I never remember how to undo a commit so I end up googling “undo git commit” and I get way more information than I […]

Filed Under: Computing Tagged With: Git

  • «Previous Page
  • Go to page 1
  • Interim pages omitted …
  • Go to page 34
  • Go to page 35
  • Go to page 36
  • Go to page 37
  • Go to page 38
  • Interim pages omitted …
  • Go to page 40
  • Next Page»

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