Skip to content

Jessitron

Search
  • Blog
  • Twitter
  • Patreon
  • Talks
  • Consulting
  • Newsletter
  • Search
Search
  • Blog
  • Twitter
  • Patreon
  • Talks
  • Consulting
  • Newsletter
  • Search

windows

PowerShell equivalent of find

April 23, 2020April 23, 2020

TL;DR: gci -r -fi <filename-pattern> My favorite use of find in bash is to find files whose name matches a pattern. For instance, find all the jar files under this directory: bash# find . -name ‘*.jar’ In PowerShell, there’s a program called “find” but it ain’t the same program. Short Answer Instead, use Get-ChildItem. The …

Read morePowerShell equivalent of find

Tags bash, powershell, reference, science, windows

Run Alloy on Windows in Docker

April 18, 2020April 17, 2020

TL;DR: install docker and X410; docker run jessitron/alloy:5.1 The essential work in software development is forming a model in our heads of the system we want. The code is one expression of this model. The code can’t be stronger than this model. So I want a strong model: consistent, complete enough, and expressive. I decided …

Read moreRun Alloy on Windows in Docker

Tags alloy, Docker, Java, mental models, windows, Yak Shaving

PowerShell for `rm -rf`

March 12, 2020March 12, 2020

TL;DR – Remove-Item -Recurse -Force <path> On linuxy systems, rm -rf <path> means “remove this path and everything under it, dammit.” If the files aren’t writeable, but you own the files, it deletes them anyway. In PowerShell, rm is aliased to Remove-Item, but it doesn’t accept -rf. Windows Terminal> rm -rf fooRemove-Item : A parameter …

Read morePowerShell for `rm -rf`

Tags powershell, reference, windows

Line endings in git

November 11, 2019November 11, 2019

Git tries to help translate line endings between operating systems with different standards. This gets sooo frustrating. Here’s what I always want: On Windows: git config –global core.autocrlf inputThis says, “If I commit a file with the wrong line endings, fix it before other people notice.” Otherwise, leave it alone. On Linux, Mac, etc: git …

Read moreLine endings in git

Tags git, reference, windows

Development aesthetic: experiments

October 25, 2019

Software development is a neverending string of “What happens if I…?” Each new runtime, language, or tool is a new world with its own laws of nature. We get to explore each one with experiments. Objective Today I added another alias to my PowerShell $profile: To use that alias in my current shell, I need …

Read moreDevelopment aesthetic: experiments

Tags aesthetics, automation, experiments, powershell, windows

popular

  • PowerShell equivalent of find
    PowerShell equivalent of find
  • Dictionary Objects in JavaScript and TypeScript
    Dictionary Objects in JavaScript and TypeScript
  • When costs are nonlinear, keep it small.
    When costs are nonlinear, keep it small.
  • Line endings in git
    Line endings in git
  • Git Rebase inside IntelliJ IDEA
    Git Rebase inside IntelliJ IDEA

twitter

My Tweets

instagram

I am a daffodil in December
Can we see the system without owning it, without making it right or wrong?
Slack in the system

meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
  • Blog
  • Twitter
  • Patreon
  • Talks
  • Consulting
  • Newsletter

Tags

abstraction agile architecture automation change clojure complexity concurrency conference design DevOps distributed systems Engineering functional functionalPrinciples Generativity git Java javascript learning OO philosophy property-based testing reference ruby scala science secure code Software Development symmathesy systems Systems Thinking teams testing thinkingFunctionally tistil typescript Web Development wit Yak Shaving

Archives

Search

© 2021 Jessitron, LLC
Scroll back to top