Skip to content

u/mithrenithil

In this archive from Apr 2019 to Aug 2020

0
posts
13
comments
0
media
57
score

Top comments

Somewhat outside of the box in regards to your request, but one thing you could do is convert it to virtual machine (P2V).

That way you can move it around easily and make multiple copies of it (well depends on how much data you have...).

You would keep your laptop and desktop really simple and clean with just the virtualisation software on on (I like KVM, but VirtualBox is good and free too).

Keep the complexity on the VM which can easily be backed up, and you can take snapshots before doing anything dodgy.

9 points

Discovery, automation and all that stuff should just be tools to make our lives easier.

When people design things to replace us it becomes an issue.

A good sign of a system designed to replace us is something that does things for us in a black box because it assumes we are too stupid to understand otherwise.

5 points

Just a tip, for doing CUDA and other stuff like that. Don't manually move bins as its a pain in the butt to remember for future updates/maint. Instead symlink them, or use your environment path variables.

Remember that the paths closest to the left are used before those on the right so you can have multiple versions of something, for example if you have ~/bin/foo and that will be used before /bin/foo (for a default PATH)

This is especially useful to know for CUDA or any resource where there are multiple versions. You don't want to get into the situation of needing to install/uninstall different versions for different projects (especially on multi-user environments).

I recommend install all the different versions required and using modules to set the required environment.

3 points

Whoops sorry to cause confusion.

The file command is a utility native to most Linux installs. So if you have WP running on a Linux box, you should be able run the command file <blah> from a shell (or terminal).

It just lets you check what the file actually is. You can change the extension of the file, but most well programmed applications will ignore what's in the file name and check the "electronic file extension".

So the things to check are:

  1. Make sure that the files is actually a swf file and not something else that has its extension changed.
  2. Sometimes if a file type has different versions (see the above example is version 9), the mime type might not be correctly setup. For MediaWiki I had to add the extension to the correct section in the mime.types file. This might be a red herring as they are different applications.

Are you uploading it to allow people to download it, or to include it into a page?

​

EDIT

There seems to be plugins that allow you to upload unsafe file types. If you check out this post:

https://www.interserver.net/tips/kb/fix-wordpress-error-sorry-file-type-not-permitted-security-reasons/

/EDIT

3 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.