Search

Nalezeno "shell": 159

Open a Browser Tab with DevTools Open by Default


Using command line flags is a great way to subtly improve productivity. Whether saving yourself keystrokes or enabling specific features, it’s very much worth knowing the application flags available to you. To launch a new tab with DevTools in Chrome, you can use...

Watch The First Episode Of Mamoru Oshii's New Anime Right Here


Mamoru Oshii is famous for influential anime feature films like Patlabor 2: The Movie and Ghost in the Shell. Prior to that, he made a name for himself directing the Urusei Yatsura TV series in the early 1980s. He’s now returned to TV anime with Vlad Love.Read more

git: Remove Untracked Files


I’ve always said that I know just enough about git to get the job done, but also do something destructive. Nothing embodies that more than my recent mistake. I somehow found a git repository full of untracked files and git stash wouldn’t fix it. Desperation led me to learning how...

Detect Changed Files with git


There are numerous reasons to want to know which files have been added or modified in a git repository, one of which is your text editor highlighting those files. Another use case is running tasks against only files which are presently changed, like lint or other validation routines. So how can...

How to Detect the Default Branch in a git Repository


Over the past few years, many engineering teams have switched their default git branch name from master to a different, potentially less offensive term. I’m all for choosing to name your default branch whatever you’d like, but not having a universal default branch name can complicate...

Tradeoffs and Shifting Complexity


This is a masterclass from Dave: After you hit the wall of unremovable complexity, any “advances” are a shell game, making tradeoffs that get passed down to the user … you get “advances” by shifting where the complexity lives. You don’t get free reductions in complexity. In CSS land...

Shell, Exxon and More Complete ‘Successful’ Blockchain Pilot


Major oil and gas companies could be set to do away with conventional payments systems in favor of blockchain-powered solutions – after a 10-company consortium including energy giants such as Royal Dutch Shell and Exxon successfully piloted oilfield water-handling payments at an American shale...

Detect git Directory with Bash


One interesting aspect of working at Mozilla is that Firefox lives in a mercurial repository while several other projects live on GitHub in a git repository. While most focus on either Firefox or another project, I switch between both, leaving me running git commands inside the mercurial repository...

How to Set a Default Commit Message


Having a default commit message is really useful for a number of reasons: It can formalize your commit messages It serves as a good reminder for the information you should add to your commit message, like issue number If you set it to “Drunk AF, don’t accept this” To set a default...

How to Specify User Agent with cURL


Over the years I’ve shared how to perform a number of actions with cURL: how to send POST data, how to retrieve headers, follow redirects, check GZIP encoding, and more. Another useful cURL directive is sending the user agent, as some servers respond with different content or headers...

View Mac Calendar from Command Line


As someone that loves using UI tools, I do pride myself in learning how to accomplish the same feats from command line. Don’t believe me? Check out my Command Line tutorials section — I guarantee you’ll learn quite a bit. Recently I learned that you can view basic calendars from...

Git Branch Autocompletion


Naming git branches is something most of us have down to a science. My branch naming pattern is usually {issue number}-short-feature-description, though many developers prefer to lead with the description and end with the issue. Regardless of the pattern you use, having a feature like autocomplete...

Validate CSP from Command Line


The content security policy spec has been an amazing front-end security tool to help prevent XSS and other types of attacks. I’d go as far to say that every site should implement as specific CSP as possible. If you aren’t familiar with CSPs, here’s a quick example:...

Is Web Design Easier or Harder Than it was 10 Years Ago?


Is it harder or easier to build a website now than 10 years ago? Has the bar gone up or down? I don't have any data for you, but I can shell out some loosey-goosey opinions. HTML HTML5 was the only big HTML change in the last decade, and it wasn't particularly dramatic. It's cool it's the looser...

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