Quantcast
Channel: CodeSection,代码区,Linux操作系统:Ubuntu_Centos_Debian - CodeSec
Browsing all 11063 articles
Browse latest View live

Postmortem of the unexpected blog outage

Straight from the “make work for yourself because there aren’t enough hours in the day already” files. I’ve mentioned before that I am self-hosting this blog rather than using a hosted instance. I...

View Article


Image may be NSFW.
Clik here to view.

LibreELEC 9.0 Beta 1 Linux distro (based on Kodi 18 'Leia' RC3) now available

Kodi is an excellent open source media player, allowing the user to have an immersive experience with both music and video. While the software gets a bad reputation due to people using it for piracy,...

View Article


Linux 4.21将能够读取Hygon Dhyana CPU温度

该 Hygon Dhyana 处理器是中国制造的处理器,当前支持一代AMD Zen / EPYC技术 。在 linux 4.20 中最初添加了 Hygon Dhyana的支持,但是 k10temp CPU 的温度报告显示,其温度并没有达到 4.20要求,在 Linux 4.21中,主要添加了新的 Hygon ID 。 Linux 4.21中对 hwmon 的另一个补充是引入了...

View Article

Vim进阶

Vim是linux和Unix上的编辑器,由Vi升级而来。 已经使用了Vim好多年,但是,水平仅仅停留在修改配置文件的水平。不会把它当做主要的编辑器,更不会用它进行编码开发。最近,童钢老师提醒了我,作为运维人员,Vim需要用得更加熟练一些,最好能把Vim作为默认编辑器使用。 所以,本文决定研究一下更高阶的Vim使用技巧,主要参考 优雅玩转Vim 。 Vimrc Vimrc指的是Vim的配置文件,...

View Article

Image may be NSFW.
Clik here to view.

sed 's/docker/containers/g'

As one of the first container platforms available, Docker quickly racked up enormous market share. Not to knock Docker, but "alternatives are good," says Chris Collins , an automation engineer at Duke...

View Article


Gaming for Linux, Raspberry Pi, and open source: Top reads of the year

It's been a good year for gaming and linux. For one thing, it's become much easier to play proprietary games on Linux in recent years, but open source gaming has also seen many advances, thanks in part...

View Article

Image may be NSFW.
Clik here to view.

Manage and tweak Fedora with Ansible (and apply Korora settings by default)

Korora Project is a linux distro I created over 11 years ago, which takes Fedora and applies dozens of tweaks in an effort to make it more usable “out of the box” for every day users. Even with one or...

View Article

Using different delimiters in sed (2010)

What if, in sed, you have lots of slashes in the pattern and/or replacement? One solution is to escape them all (the so-called toothsaw effect): <strong>sed...

View Article


Image may be NSFW.
Clik here to view.

5 Ubuntu Themes That Will Steal Your Breath Away

When you spend a lot of time on your PC, it’s understandable if you want to add some personal touches. On linux, you can often change the desktop theme without installing additional software or...

View Article


Image may be NSFW.
Clik here to view.

Plasma secrets: Make Kate more productive

Updated: December 26, 2018 The Kate text editor is a nice, versatile piece of program. But it's not without issues. While I do like it, and I do use in the Plasma desktop environment, the reason why...

View Article

Image may be NSFW.
Clik here to view.

C++拾取――Linux下实测布隆过滤器(Bloom filter)和unordered_multiset查询效率

布隆过滤器是一种判定元素是否存在于集合中的方法。其基本原理是使用哈希方法将数据映射到一个很长的向量上。在 维基百科 上,它被称为“空间效率和查询时间都远远超过一般的算法”的方法。由于它只保存散列的数据,所以对于很长的数据有着良好的压缩特性,这个是个不争的事实(可以参见 《布隆过滤器 (Bloom Filter) 详解》 )。但是其查询效率究竟如何,我们还是要实际测试一下。...

View Article

Five Trends Influencing Linux's Growth at the Endpoint

A recent IDC InfoBrief identified linux as the only endpoint operating system growing globally. While windows market share remains flat, at 39%in 2015 and 2017, Linux has grown from 30%in 2015 to...

View Article

Common Way of Resizing Windows/Panes in Vim and Tmux

Vim So in Vim I use the default bindings for resizing buffers. But I’ve tweaked them a bit :smirk:. The only thing I’ve done is to rebind the keys in whatever mode, so just noremap , to increase and...

View Article


Image may be NSFW.
Clik here to view.

MIPI I3C support is now in upstream Linux

Back in August 2017, we wrote in ablog post about the first iteration of the linux kernel subsystem we proposed to support the brand new MIPI I3C bus . Almost a year and half later, there are some...

View Article

Image may be NSFW.
Clik here to view.

JB的Shell之旅-30分钟带你入门

写这篇文章的目的很简单,因为爱并恨过; 前段时间要改个安卓产品的脚本,惊奇发现理论是用shell,虽然实现的功能不复杂,但如果对没了解过shell或懂皮毛的同学,改起来是相当痛苦(如jb),调试半天各种找文档,性价比太低了,恨不得用python重构。。 虽然还是能完成想要的结果,但花费的时间远超一开始想的,目前shell给jb的感觉就如去年正则带来的噩梦一般,...

View Article


Image may be NSFW.
Clik here to view.

Perhaps 2018 was the fabled ‘year of the Linux desktop’

It’s the year of the linux desktop. I swear. I promise. Yes, I know you’re probably jaded from hearing that every year since 1998, but this year it’s true. Would I lie to you? But first, a...

View Article

Node v6.16.0 (LTS)

The 6.15.0 security release introduced some unexpected breakages on the 6.x release line. This is a special release to fix a regression in the HTTP binary upgrade response body and add a missing CLI...

View Article


Image may be NSFW.
Clik here to view.

Set Alarm to Automatically Power On Linux Computer

It’s no secret that you can make your computer “sleep” to considerably save energy or battery on laptops. A battery-powered device can spend many days in standby mode. The power draw in this state is...

View Article

Node v8.15.0 (LTS)

The 8.14.0 security release introduced some unexpected breakages on the 8.x release line. This is a special release to fix a regression in the HTTP binary upgrade response body and add a missing CLI...

View Article

Node v10.15.0 (LTS)

The 10.14.0 security release introduced some unexpected breakages on the 10.x release line. This is a special release to fix a regression in the HTTP binary upgrade response body and add a missing CLI...

View Article
Browsing all 11063 articles
Browse latest View live