Skip to content

u/bahua

In this archive from Nov 2020 to Feb 2023

0
posts
10
comments
0
media
139
score

Top comments

Create an ad-hoc ramdisk, create a steam library on it, move a game to it, play.

EDIT: Obviously, move the game back to the old library when you're done, as the ramdisk will disappear on a reboot.

EDIT AGAIN: You can easily create a ramdisk with this function in your shell config(assuming bash)

function mkrd { sudo mount -t tmpfs -o size=${1}G ramdisk /mnt/ram; df -h /mnt/ram; }
export -f mkrd

So you can just run mkrd 10 to create a ten gigabyte ramdisk mounted on /mnt/ram.

55 points

There is nothing wrong with sourcing your shell config. It's just reestablishing variables and running any commands you've configured into it. The only exception would be if you've put something potentially dangerous into it, in which case: 1) you would know that, and 2) why?

I do it so often that I have these aliases set:

alias conf="$EDITOR ~/.bash_profile"

alias go='. ~/.bash_profile'
5 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.