The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,860 other subscribers

Archive for the ‘DVCS – Distributed Version Control’ Category

Fixing the GitHub gist CSS so the editor uses more than 25% of my screen estate

Posted by jpluimers on 2024/06/05

Two years ago I asked [Wayback/Archive] Jeroen Wiert Pluimers on Twitter: “Is there a way to make the @github gist text editor wider and taller? Right now (at 1920×1200) it uses about half the screen width and screen height. That wastes about 25% of screen estate. “.

I still have to figure out how to fix the height, but the width was relatively easy back then. Hopefully this CSS fix still works today.

In the mean time [Wayback/Archive] Add full height gist creation by xthexder · Pull Request #68 · xthexder/wide-github: Conversation permanently fixed my problem.

[Wayback/Archive] Jeroen Wiert Pluimers on Twitter: “I fixed the width by modifying .container-lg and changing max-width from 1018px to 95%.”

Until GitHub fixes it themselves, I started with this fix in the extension [Wayback/Archive] Stylus – Chrome Web Store:

Read the rest of this entry »

Posted in CSS, Development, DVCS - Distributed Version Control, gist, GitHub, HTML, Software Development, Source Code Management, Web Development | Leave a Comment »

Lots of interesting git links via b0rk on Twitter

Posted by jpluimers on 2024/05/22

A few years back [Wayback/Archive] 🔎Julia Evans🔍 (@b0rk) / Twitter asked for tips on learning git which resulted in a wealth of resources.

Related: [Wayback/Archive] xkcd: Git

So the below are for my link archive.

Yes, I have removed most of not all Unicode emojis as they are a pain for visually impaired to listen to from screen readers.

Future

Later I want to categorise all these, maybe using categories like these:

  • Videos
  • Stories/narrations
  • Levels (beginner/intermediate/advance)
  • Direction (inside-out vs outside-in)
  • (Rough) reimplementations
  • Perspectives from different version control systems
  • Failures: learning from or preventing them

I need to contemplate about that for a while.

--jeroen

Read the rest of this entry »

Posted in Algorithms, Conference Topics, Conferences, Development, DVCS - Distributed Version Control, Event, git, Software Development, Source Code Management | Leave a Comment »

Mercurial Bitbucket Archive | Index – the “lost” repositories after Atlassian stopped supporting Hg

Posted by jpluimers on 2024/04/04

Bitbucket nuked all Mercurial repositories in 2020 in the midst of my cancer treatment so back then I wrote Sunsetting Mercurial support in Bitbucket – Bitbucket

So I am glad there is [Wayback/Archive] Mercurial Bitbucket Archive | Index

This is the archive of all public Mercurial projects that were hosted on Bitbucket before they [Wayback/Archive] removed Mercurial support on July 1, 2020. Some projects might be unavailable or incomplete because they were deleted or made private before we had a chance to archive them.

Read the rest of this entry »

Posted in BitBucket, Development, DVCS - Distributed Version Control, Mercurial/Hg, Source Code Management | Leave a Comment »

For vscode: git-rename – Visual Studio Marketplace

Posted by jpluimers on 2024/03/26

In vscode, I have installed [Wayback/Archive] git-rename – Visual Studio Marketplace (with source code at [Wayback/Archive] adam8810/vscode-git-rename: Move or rename a file, a directory, or a symlink using git-mv).

Many people assume that git does recognise rename (or mv) operations by itself. Often it does, but it fails, and when it fails it usually is in a complex situation where it is easy to overlook it did not recognise the rename.

Failing complex situations I have encountered in the past (combined they get worse):

  • rename across several directories
  • first edit, then rename
  • first rename, then edit

So it is better to proactively perform an IDE-assisted git mv operation that informs git of the rename.

Many IDE environments support a built-in rename that keeps git mv in the loop, but Visual Studio Code does not, hence the need for this extension.

It means I agree with the question, disagree with the answer, and agree with the comment in [Wayback/Archive] VS Code ‘git mv’ to preserve file history? – Stack Overflow:

Read the rest of this entry »

Posted in .NET, Development, DVCS - Distributed Version Control, git, Software Development, Source Code Management, vscode Visual Studio Code | Leave a Comment »

GitLab pages issues today again? (and report on 2023-10-30: Gitlab.com is down (#17054) · Issues · GitLab.com / GitLab Infrastructure Team / production · GitLab)

Posted by jpluimers on 2024/03/12

Still working on handling open Chrome tabs after having moved in the period that GitLab had quite a few issues causing my PagerDuty alerts to go wild.

Today PagerDuty gave me 7 calls in 4 hours again (see [Wayback/Archive] Jeroen Wiert Pluimers @wiert@mastodon.social on X: “@gitlab Since 20240312T1727Z I get PagerDuty alerts from HetrixTools for some pages hosted on GitLab. It would be nice if someone could have a look at gitlab.com/gitlab-com/gl-infra/production/-/issues/17717).

In adddition I need to check if anything made it to the GitLab issue list from the 20230827 connectivity issues I mentioned at [Wayback/Archive] Jeroen Wiert Pluimers @wiert@mastodon.social on X: “Is it @gitlab hosting having transcontinental issues, or are other continental connections affected as well? These are from two different *.gitlab.io pages as measured via @HetrixTools . No issues are listed at status.gitlab.com.

Back then, this was the most important one: [Wayback/Archive] GitLab System Status: GitLab.com availability issues – October 30, 2023 15:39 UTC

Likely because of this, wiert.me.gitlab.io had been down for a while as well on 20231031 (see [Wayback/Archive] wiert.me.gitlab.io (Recent History) – HetrixTools down from 2023-10-30T15:24Z until 2023-10-30T16:14Z for 3 + 3 + 11 + 27 = 44 minutes.)

Back then, the hardest part was to quickly find out if there was indeed an issue being investigated at all.

The GitLab status multi-media account on Twitter just points to the status page, which makes it hard to find the underlying issue.

I didn’t archive that one in time, but when I got the alerts it didn’t show anything and when it was resolved it was already beyond the cut-off timestamp to mark it as “same day” and the graph didn’t show much down-time [Wayback/Archive] GitLab System Status graph didn’t show much down-time:

Read the rest of this entry »

Posted in *nix, Cloud, Development, DVCS - Distributed Version Control, GitLab, hetrixtools, Infrastructure, Monitoring, PagerDuty, Power User, Software Development, Source Code Management | Leave a Comment »

Konstantin Ryabitsev yesterday won Mastodon: “I believe that tree is in a detached state.”

Posted by jpluimers on 2024/01/19

I laughed a bit too hard: [Wayback/Archive] @monsieuricon@social.kernel.org: “@torvalds I believe that tree is in a detached state.” in a response to

[Wayback/Archive] Linus Torvalds @torvalds@social.kernel.org: Day four of no power and no Internet. This big tree is the reason.…

Day four of no power and no Internet. This big tree is the reason. One among hundreds in the area, but this is the one that took out *our* power and Internet.

PGE (Portland General Electric) claims we should get power back by 10pm today, but the ice storm arrives today, so we’ll see.

Edit: well, it looks like PGE fixed the outage by just removing me from the outage database, not by actually reconnecting power. That was the second time that happened, so I re-re-reported the outage. Not that I was hugely optimistic about the 10pm timeframe, but it looks even less likely now.

Read the rest of this entry »

Posted in Development, DVCS - Distributed Version Control, git, Software Development, Source Code Management | 2 Comments »

Figuring out the cause of a GitHub personal access token throwing “remote: Permission to write to gist denied.”

Posted by jpluimers on 2024/01/17

Last week I mentioned

My forking was needed because of [Wayback/Archive] Jeroen Wiert Pluimers on Twitter: “Need @github help: Personal Access Token fails on … with a “The requested URL returned error: 403″, but works fine on … Why is that? (I own both repositories)”

Read the rest of this entry »

Posted in Development, DVCS - Distributed Version Control, gist, GitHub, Software Development, Source Code Management | Leave a Comment »

Git commit message templates: commit.template configuruation setting

Posted by jpluimers on 2024/01/11

Earlier this week I wrote about Fork Gist to Repo on GitHub – Stack Overflow and found out the example is about the git configuration variable commit.template which was completely new to me.

So below are a few links as it is a very cool feature!

Basically it is a pointer/softlink to a template file that has the initial commit message (the config can either be per repository or global).

Links (most via [Wayback/Archive] “commit.template” “git” – Google Search):

It also has some links to the documentation, but not deep links and misses a few, so I added those below myself.

 

–jeroen

Posted in Development, DVCS - Distributed Version Control, git, Software Development, Source Code Management | Leave a Comment »

Fork Gist to Repo on GitHub – Stack Overflow

Posted by jpluimers on 2024/01/09

It is not a full fork and misses a few things (including the Gist description), but is the easiest way to clone a gist to a regular GitHub repository.

I needed it because somehow pushing to gists was denied without explanation or real GitHub feedback.

Another reason is that regular GitHub repositories show you way more information about the commits than Gists do.

Thanks [Wayback/Archive] Noitidart for asking and [Wayback/Archive] Bruno Bronosky for answering at [Wayback/Archive] Fork Gist to Repo on GitHub – Stack Overflow:

Read the rest of this entry »

Posted in Authentication, Development, DVCS - Distributed Version Control, gist, git, GitHub, LifeHacker, Power User, Security, Source Code Management | Leave a Comment »

Kollaboratives Bloggen | Un*xe

Posted by jpluimers on 2023/12/07

For my link archive: [Wayback/Archive] Kollaboratives Bloggen | Un*xe.

Via:

Related:

Read the rest of this entry »

Posted in Blogging, Development, DVCS - Distributed Version Control, git, GitHub, GitLab, SocialMedia, Software Development, Source Code Management | Leave a Comment »