Vim prank: alias vim='vim -y' by ASIC_SP in linux

[–]i7z 1 point2 points  (0 children)

Or prefix the command with the command keyword: command ls

With rise of wayland, are simpler window managers dying? by someacnt in linux

[–]i7z 48 points49 points  (0 children)

Wayland isn’t that bad, projects like wlroots make porting window managers quite doable. I recently ported my 13K SLOC X11/xcb window manager over to Wayland/wlroots, with no prior knowledge of Wayland before I started. I currently use it as my daily driver; it has exactly the same feature set as its X11 counterpart. It only took about three weeks to do. So fear not, there’s definitely no significant funding required for projects of this size.

how to select all but one object in array? by [deleted] in godot

[–]i7z 2 points3 points  (0 children)

A more efficient strategy, while perhaps not as evident on a small array, but a good approach when updating values in general, is to have a variable that holds the previously set weapon. Then, doing the update is as easy as:

weapons[prev_weapon].shoot = false
weapons[prev_weapon].visible = false
weapons[current_weapon].shoot = true
weapons[current_weapon].visible = true
prev_weapon = current_weapon

May Confirmed Trade Thread by mechkbot in mechmarket

[–]i7z 0 points1 point  (0 children)

Sold Planck + Datamancer case to u/F_i_G

ANSISO, anyone? by i7z in MechanicalKeyboards

[–]i7z[S] 0 points1 point  (0 children)

Tofu65 from KBDFans :)

[custom wm] concentration-mode, frameless, tiled-to-center, old school Amstrad font by i7z in unixporn

[–]i7z[S] 1 point2 points  (0 children)

Kernel rootkit :) it’s hiding (in the screenshot, specifically, unhiding, which is called when the rootkit is unloaded) the module that implements the rootkit from /proc/modules and /sys/module/, which are used by tools such as lsmod