Search

Nalezeno "Shell": 109

Find and Change Default App for File Type from Command Line


There are few things more frustrating to any computer user than files opening in an unwanted application.  Sure you can use the Open menu item in the desired application but we all just want to double-click a file and see it open in the application we expect.  I recently got to thinking about this...

Change System Volume from Command Line on Mac OS


Oftentimes the awesome GUI applications we love are simply gloss over a command line functionality.  While I do love a visual app, it’s always good to know how to do things from command line, if only for the sake of automation.  I’ve covered loads of command line secrets, most notably...

Search Git Commits Between Dates


One of my weaknesses as a developer is relying on UIs to provide me the data I need.  It’s not a fatal weakness but it does hamper me a bit.  One prime example is relying on GitHub’s interface to review changes; git’s command line provides the information needed with commands...

Hide Information in Images


If you’ve followed this blog, you know that I’m obsessed with figuring out every way to interact with, abuse, and convert different types of media.  Whether it’s images, video, or audio, if something can be changed or exploited, I want to figure out how to do it. I remember...

Count Frames in an Animated GIF


The animated GIF always makes me chuckle; on one hand they seem like a relic of the “old web”, on the other hand they aren’t going anywhere and their meme-like presence seem to only make them more popular.  If you browse through my media blog posts archives, you’ll notice...

How to Delete Untracked Files in a Mercurial Repository


Working around Firefox at Mozilla means that you need to get acquainted with mercurial, the version control system that rivals git and svn.  Like any tool, hg (mercurial) can be difficult until you’re well versed with it.  And if you hg import a URL that doesn’t match up with...

Regain Disk Space from Homebrew


One of my favorite utilities is Homebrew, the shell utility for installing and upgrading other utilities — it’s a lazy developer’s dream.  Dreams can easily turn to nightmares, however, and I recently learned that Homebrew caches older versions of installed packages, leading...

Reset File Changes with git


There are many different philosophies when it comes to code review but mine is fairly simple:  I like receiving early “work in progress” patches, I like to be positive in my code review messages, and if a patch is 90% there, I like to finish the patch myself so the project...

Set a Default Push Remote with git


During my early days of git usage, my config allowed me to simply type git push instead of git push {origin} {branch_name} which I need to now.  Up until recently I needed to type out the long version…(I know)…which was incredibly annoying because I like using detailed branch names....

Nahoru
Tento web používá k poskytování služeb a analýze návštěvnosti soubory cookie. Používáním tohoto webu s tímto souhlasíte. Další informace