Defend against Brute Force Attack with Fail2ban
Daily we hear some news related to cybercrime just, like, some malicious users or bots has successfully defaced some publicly accessible website or some services. As we always try to explain through...
View ArticleLinux containers, what even are they?
I see a lot of people say a lot of things about containers which either are just completely false or show a clear misunderstanding of the technology, so I figured I would write this to point people...
View ArticleHow to check if your processor supports Virtualization Technology on Ubuntu
What is VT and why is it required? The Virtualization Technology enables your processor to act as a number of independent computer systems. This enables several operating systems to be running on the...
View ArticleStaff Picademy and the sacrificial Babbage
Refill the coffee machine, unpack the sacrificial Babbages, and refresh the micro SD cards ― it’s staff Picademytime! Staff Picademy Once a year, when one of our all-staff meeting brings together...
View ArticleKees Cook: security things in Linux v4.20
Previously:v4.19. linux kernel v4.20 has been released today! Looking through the changes, here are some security-related things I found interesting: stackleak plugin Alexander Popov’s work to port...
View ArticleLinux Kernel 4.20: Crocodiles, STIBP, and Hugs
Linus Torvalds unleashed kernel 4.20, dubbed Shy Crocodile , on the world this past Sunday. There was speculation whether Torvalds would make the jump from 4.19 to 5.0, as he did when he skipped 3.20...
View ArticleBash & ldquo; Set -e & rdquo; And negative fee ...
I have a shell script which checks for windows line endings. set -e (! git ls-files | xargs grep -I $'\r') I am using the "!" character to negate the return code of the command. Grep will return code 0...
View ArticleDebian 10 正在进行桌面壁纸调查投票
Debian 目前正在进行一项桌面壁纸调查投票,为即将到来的 Debian GNU/linux 10 "Buster" 版本选择默认壁纸。 该调查在本周公布,1月6日结束。该调查针对11个背景图片和艺术作品进行投票,最终确定 Debian 下一个版本的默认壁纸。 上面的图片为一部分艺术品的提案。考虑到 Buster 代号跟玩具总动员中的一只狗的名字而来,所以特意选择了一只狗的背景图片。...
View ArticleSplit windows in VIM
In this post I’ll provide an overview of how to split windows in VIM. Split a window Splitting an existing VIM window can be performed either horizontally or vertically. Horizontal window splitting :sp...
View ArticleReview: Pixel Slate for Linux and Web Development
The Pixel Slate (i7 model) can be a decent computer for web development, including Docker, Node, and Android development. My workplace recently got me one so I decided to review it for anyone curious...
View Article圣诞快乐!Linux Kernel 4.20 正式发布
linux Kernel 4.20 RC6 发布 Linux Kernel 4.20 RC6 发布了。 Linus 在邮件中指出该版本看起来极其普通,只有不到一半的补丁是关于驱动程序的,包括 gpu、网络、nvdimm、block 和媒体等,其它的是核心网络工具(主要是 ... h4cd 12/11 0 【一周热点】微软抢了锤子风头 | Linus 又双S
View ArticleMake Linux Boot Faster by Disabling Unnecessary Services
More and more operating systems become bloated with lots of services that run in the background. While they may not use much CPU time, they increase boot time and RAM usage. Some linux distributions...
View ArticleCopying someone else's performance tweak
This all started as a issue in the Rust bug tracker . Actually, as far as it concerns me, it all started with a thread regarding CI being too slow , but I digress. The story goes like this: some LLVM...
View ArticleAdding a Swap File to CentOS
Memory on desktop PC has been a solved problem for a while now. You have certain quantity of it and you rarely really run out of it. Even when you do, there is a virtual memory to soften the blow at...
View ArticleA Survey of $RANDOM
Most Bourne shell clones support a special RANDOM environment variable that evaluates to a random value between 0 and 32,767 (e.g. 15 bits). Assigment to the variable seeds the generator. This...
View ArticleWindows 成“弃子”,Linux 终上位?
“linux 是一种毒瘤!” 时光倒退二十年,彼时不可一世的微软将开源软件视为眼中钉肉中刺,甚至吐槽其是知识产权的癌症。如今,从“爱 Linux“到豪掷 75 亿美元收购 GitHub,微软无时无刻不在向外界宣告他们正在竭尽所能地拥抱开源。 而正是在这种局面之下,面对日薄西山的 windows,有人预测新一代桌面版的 Linux 操作系统即将取而代之,对此,你怎么看? 作者 |Steven J....
View ArticleNotes on how systemd's Job engine is structured, and other related bits
Dec 24, 2018 Introduction systemd (PID1 and associated auxillary daemons) is the defeault initialization system on majority of GNU/linux systems. As such, learning to make use of it is key to...
View Article如何在Ubuntu中编译VLC-Android开源项目
环境介绍 在开始之前先介绍我编译所需要的一些环境版本 Ubuntu 18.04.1 Android SDK: Android NDK:android ndk-r8b android studio:android-studio-ide-181.5014246-linux jdk:1.8.0_191 … VLC介绍...
View ArticleBuild Your Own Robots With These Starter Raspberry Pi Kits
Stay on target 11 Stellar Gift Ideas for Space Enthusiasts Finally Cut The Cord (And Save Over 50 Percent Off) With This HDTV Antenna The Raspberry Pi is renowned for its small size, powerful specs,...
View ArticleGrep Command in Linux/UNIX
In linux and Unix Systems Grep, short for “global regular expression print”, is a command used in searching and matching text files contained in the regular expressions. Furthermore, the command comes...
View Article