When you SSH into a remote server, sometimes you might get the following error when you try to run certain commands -bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8) Fixing this is easy. Just perform the following steps Make sure the correct locale is available. vi /etc/locale.gen find the line that says #en_US.UTF-8 UTF-8 and uncomment it by removing the leading #. Save and quit the file. Execute sudo locale-gen to generate the locales.
Once there was this game called Uplink: Hacker Elite which let you play as a hacker working for a worldwide company providing work for hackers. You gain money to improve your software, hardware, skills and you can either get involved in the storyline or ignore it completely. The game is reminiscent of Hollywood style hacking like those in Hackers or Swordfish. Overall it was a fun game. If you’re interested, you can purchase Uplink: Hacker Elite directly from GOG or Steam.
If you’re a Mac user, chances are you might be using Homebrew to install packages that Apple didn’t provide. While it’s a great platform, it tends to keep older copies of the package you’ve installed when you run brew update && brew upgrade which does take up unnecessary space. To see how much space the older versions of the packages are using, run brew cleanup -n which lists how much space you’ll recover.
Windows 10, irrespective of the versions comes with the Remote Desktop Client allowing you to connect to other windows. The Remote Desktop Server on the other hand, is restricted to Windows 10 Professional or Enterprise only. This post gives a guide on how to enable Remote Desktop Server on any versions of Windows 10. This method should also work for all previous versions of Windows (8.1,8,7,Vista) as well but I don’t have them to try it out.
Got your attention didn’t it ;). Hahaha. I do work with Windows 10 occasionally, especially when I’m guiding my interns with their tasks. Seeing them suffer with the default Windows Command Prompt made me wonder if there was a better replacement and after a little bit of Googling, the interns and myself found a nice little replacement. The benefit of this replacement is that it lets you run some Linux commands on Windows i.
Any Linux user or administrator will have had files they need to delete that are no longer needed after a certain amount of time has elapsed. I’ve certainly had to delete various files and logs that are taking up unnecessary space on my servers so I found a way to remove them. I run this every day via a cron job to do the necessary cleanup. Below is the command that I use to delete files older than X days
My previous site was running on Tumblr for these past few months and it worked well for the most part. Recently, I was given space on another hosted server and figured why not just move my site over. My initial requirements were that whichever platform I chose MUST support Markdown. I REALLY love Markdown as it simplifies the creation of contents with the necessary formatting without needing to remember complex parameters.