In Defense of Windows Aero
Windows Vista was controversial for a lot of reasons, but the most transparent one was the strange hate for Windows Aero—the biggest visual revamp for Windows since Windows XP.
Windows Vista was controversial for a lot of reasons, but the most transparent one was the strange hate for Windows Aero—the biggest visual revamp for Windows since Windows XP.
The Simpsons is, believe it or not, one of the most important TV shows in history. While it's become a shadow of its former self, during the golden age of the Simpsons, its cultural impact was immense, and can still be felt today.
There's no shortage of films from the pre-CG era that still hold up well today, and even early films containing CG (such as Terminator 2) that still look amazing thanks to smart and limited use of the primitive effects of the day.
Technology and how we use it has changed a lot over the years. However, despite the rapid advancements, traces of older tech still linger in our modern devices in the form of icons. Whether it's your smartphone, video game console, laptop, or desktop PC, or even your smart TV, the digital world is filled with visual callbacks to the past.
Video games have always been my favorite way to have fun, but more games offer something beyond just a temporary distraction. They are turning into powerful tools for creating deep historical experiences, letting players step right into the past.
Computer-generated graphics (CG) have revolutionized what filmmakers can do these days. It seems the only limit is your imagination (and budget), because there are no practical challenges you need to overcome.
Some of the best movies are remakes. Think of Carpenter's The Thing, Cronenberg's the Fly or Pacino's Scarface. These movies are amazing, and many people don't even realize they are remakes of older films from a previous era.
The first time I ever laid eyes on id Software's Quake was in the pages of a magazine. Not a gaming magazine—I was 10 years old, my parents weren't going to buy me any—no this was a "family" magazine that loads of people in my country buy, and there, laid out in an article, were the most amazing screenshots I'd ever seen.
Game monetization is a dicey subject. Developers and publishers need to make money and recoup their investments, but how they go about it varies wildly. Some methods are fair and widely accepted. Others fall into a much grayer, more exploitative area.
How long have you had your email address? I was wondering the same thing the other day, so I checked my Gmail creation date using Google Takeout—18 years!
I love Star Trek (not you, Lower Decks) but even the best shows have their fair share of silly, dumb, or downright baffling episodes. Sometimes the writers seem to have pulled their plots out of a hat full of words, and then somehow the episode makes it all the way to broadcast.
在像 bash
这样的 Linux shell 环境中,命令前加一个空格可能会影响该命令是否被保存到命令历史中。
这个小技巧在处理敏感数据时非常有用,或者当你不希望某个命令被记录下来时也能派上用场。
这种行为是由一个叫做 HISTCONTROL
的 shell 环境变量控制的。
查看当前设置的方法如下:
echo $HISTCONTROL
例如,你可能会看到:
ignoredups:ignorespace
选项 | 描述 |
---|---|
ignoredups |
防止连续重复的命令被保存到历史中。 |
ignorespace |
防止以空格开头的命令被保存到历史中。 |
ignoreboth |
ignoredups:ignorespace 的简写形式。 |
假设你想导出一个密钥,但又不希望它出现在历史记录中:
export AWS_SECRET_ACCESS_KEY="super-secret"
命令前加的空格(注意前面的空格)可以阻止它被写入 ~/.bash_history
文件(前提是 ignorespace
设置生效)。
HISTCONTROL
包含 ignorespace
时,此行为才生效。ignorespace
,前导空格将没有任何特殊作用。要确保每次打开终端都启用此功能,请在你的 ~/.bashrc
或 ~/.bash_profile
文件中加入如下内容:
export HISTCONTROL=ignoredups:ignorespace
然后刷新 shell 配置:
source ~/.bashrc
在 Linux Shell 中命令前加一个空格,是一个简单却强大的技巧。它能防止敏感或临时命令被记录到历史中。对于开发者、系统管理员,或任何频繁使用终端的人来说,这都是一个非常实用的功能。
英文:Why a Leading Space in Linux Shell Commands Can Matter?
本文一共 438 个汉字, 你数一下对不对.