@salcode@phpc.social
@salcode@phpc.social avatar

salcode

@salcode@phpc.social

Web Developer specializing in WordPress, loves Git, works at WebDevStudios. Good at metaphors. He / him.

#git #vim #neovim #WordPress

This profile is from a federated server and may be incomplete. Browse more on the original instance.

salcode, to random
@salcode@phpc.social avatar

I'm a huge fan of "git log --oneline --graph" but I've noticed merge commits are indented, which doesn't seem correct to me.

In the attached screenshots, I've highlighted the extra spaces I don't think should be there in the first and in the second I've modified the indenting to what I expect to see.

Am I just thinking about this the wrong way? 🤔

'git log --oneline --graph' output with the two space indentation before a merge commit removed

salcode, to random
@salcode@phpc.social avatar

For those going to @WordcampMontclair on Saturday 2024-06-01, I'll be at Park West Diner & Cafe at 1400 US-46, Little Falls, NJ 07424 at 7am. I'd love to have you join me for breakfast!


salcode, to wordpress
@salcode@phpc.social avatar

Hey Friends

I'm presenting an "Introduction to Unit Tests" at @WordcampMontclair on Saturday June 1, 2024.

The full schedule is online at https://montclair.wordcamp.org/2024/schedule/

I had a lot of fun at this last year. If you're in the area, I hope you check it out.

salcode, to wordpress
@salcode@phpc.social avatar

If you're going to Montclair (@WordcampMontclair) on Saturday June 1, 2024, join me for an Unofficial WordCamp Breakfast at Park West Diner & Cafe at 1400 US-46, Little Falls, NJ 07424 at 7am.

salcode,
@salcode@phpc.social avatar

I've found starting a conference day with an unofficial breakfast is a great experience.

More about the history at

https://salferrarello.com/unofficial-wordcamp-breakfast/

salcode, to random
@salcode@phpc.social avatar

I've noticed running the following from the command line on my Mac does NOT include a newline character at the end of myfile.md

pbpaste > myfile.md

My notes and ideas around this at https://github.com/salcode/salcode-zsh/issues/58

salcode, to random
@salcode@phpc.social avatar

I'm testing driving now that is adding AI.

https://wezfurlong.org/wezterm/index.html

salzano, to random
@salzano@mastodon.social avatar

I'm ditching Siteground & need managed WP hosting for 10 domains.

salcode,
@salcode@phpc.social avatar

@salzano I’m currently hosting my personal sites at Siteground. I’d be interested in hearing about what drove you away.

Maybe there is a “Why I left Siteground” blog post in the future 😀

salcode,
@salcode@phpc.social avatar

@salzano ugh, hallucinating bots - gotta love “AI”

Side note: I wrote a little plugin that does what I think you’re describing https://github.com/salcode/require-auth-users-rest-endpoint

salcode, to random
@salcode@phpc.social avatar

We watched half of the 1989 Michael Keaton Batman with our boys the other night.

Last night I asked, what do you want to watch tonight?

My son: Finish Batman?

Me: I'd rather watch the American version.

salcode, to random
@salcode@phpc.social avatar

@docpop I'm interested in the yellow Desert Island Yo but it has been out of stock for some time.

Do you have plans to restock the yellow or did I miss the boat?

salcode,
@salcode@phpc.social avatar

@docpop Awesome - thank you!

I really dig the yellow 😀

I'll look forward to the restocking and I'll keep an eye on your website as we move into summer.

Thanks!

Crell, to programming
@Crell@phpc.social avatar
salcode,
@salcode@phpc.social avatar

@Crell I’m a fan of setting

git config --global pull.ff only

and continuing to use
git pull

Then if I hit the situation from the video where there are new commit(s) on the remote, stops the merge and displays a message. At that point I can decide how to handle it.

Long version at https://salferrarello.com/git-warning-pulling-without-specifying-how-to-reconcile-divergent-branches-is-discouraged/

salcode, to wordpress
@salcode@phpc.social avatar

I'll be speaking at @WordcampMontclair on June 1, 2024 with an "Introduction to Unit Tests".

I'm looking forward to catching up with old friends and meeting new ones.

The schedule isn't finalized, but you can see a preview of the sessions at https://montclair.wordcamp.org/2024/sessions/

salcode,
@salcode@phpc.social avatar

@pch Nice... I'm looking forward to seeing you too Seth. :highfive:

salcode, to llm
@salcode@phpc.social avatar

I was recently working with a , which led to me modifying this classic quote. 😀

salcode, to random
@salcode@phpc.social avatar
laxmariappan, to random

@salcode vibes

salcode,
@salcode@phpc.social avatar

@laxmariappan thanks for thinking of me Lax! 😆

This came in while I was traveling to see the eclipse and it made me laugh!

The eclipse was super cool. Hope you’re doing well!

salcode, to wordpress
@salcode@phpc.social avatar

Hey folks in the general area of Eastern PA and NJ.

I'm going to @WordcampMontclair on Saturday June 1, 2024 and I hope you do too.

(and FYI, applications for speakers close on Friday April 12, 2024)

ampersarnie, to random

If you were to buy a new machine right now for your development needs, what would you go for?

Would you go Mac, Linux or Windows?

What about desktop or laptop?

salcode,
@salcode@phpc.social avatar

@ampersarnie Personally, I'm a big fan of a using a single laptop for both personal and professional computing.

What I give up in raw power, I feel I make up in portability and flexibility.

If I had to replace my machine today, I'd get another Mac laptop in a heartbeat.

salcode, to wordpress
@salcode@phpc.social avatar

It sounds like if you're running the WordPress WP Migrate Plugin at a version less than or equal to 2.6.10, you want to update ASAP.

https://patchstack.com/database/vulnerability/wp-migrate-db-pro/wordpress-wp-migrate-plugin-2-6-10-unauthenticated-php-object-injection-vulnerability

edu4rdshl, to linux

What are your favorite git aliases? I'm trying to get a great git aliases config to speed up some things.

#git #linux

salcode,
@salcode@phpc.social avatar

@edu4rdshl I keep my Git configuration, including my aliases, in https://github.com/salcode/salcode-git

My most used Git alias is probably
git open-pr-github [targetBranch]

salcode,
@salcode@phpc.social avatar

@oranki @edu4rdshl

Great alias!

I have something similar and I was using git lg so much I made a shell alias of gl to save a couple of keystrokes 🤣

liamdempsey, to RSS
@liamdempsey@mstdn.social avatar

Hey you fans! What is your preferred RSS Feed Reader for Mac please?

Thanks in advance for your recommendations.

salcode,
@salcode@phpc.social avatar

@liamdempsey I pay for @feedbin subscription and everything just works.

Also, I recently found out my account has a feedbin email address I can use when subscribing to an email list and the emails show up in my RSS feed. I've only used it for a few email subscriptions so far but I really like it.

salcode, to random
@salcode@phpc.social avatar

This is a really cool illusion. When put they put the marker on the stairs (around 0:35), I think my brain melted 😲

https://youtu.be/5DYeAkx2IBo?feature=shared

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • ngwrru68w68
  • tester
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • megavids
  • tacticalgear
  • osvaldo12
  • normalnudes
  • cubers
  • cisconetworking
  • everett
  • GTA5RPClips
  • ethstaker
  • Leos
  • provamag3
  • anitta
  • modclub
  • lostlight
  • All magazines