The configured user limit (8192) on the number of inotify watches has been reached
Go to Control Panel > Task Scheduler.
Create a New Task > Triggered Task > User-defined script.
In General Settings tab: give it a name (e.g. “sysctl inotify fix”) and Event = Boot-up.
In the Task Settings tab: enter this in the Run Command box:
sh -c '(sleep 90 && echo 204800 > /proc/sys/fs/inotify/max_user_watches)&'This file contains various prompts and ideas for hacking/jailbreaking LLMs. This database is a work in progress. Feel free to contribute.
This probably only applies to people who use a Mac to manage files to their Switch's SD card. Doing this could change the files' archive bit, causing problems on the Switch OS.
One way to fix the contents of your SD card, is to use Windows to uncheck the "Folder is ready for archiving" option for every file and folder on the SD card, except for all the files and folders under "/Nintendo/Contents/registered/". After doing this, all of your games and homebrew should work, and your pictures and videos should reappear. (Instructions below.)
(In other words, the archive bit must be set for items inside the "registered" folder, and unset for everything else (including the "registered" folder itself)).
SD Card Related Issues:
- Unlocking the console: "Error Code: 2017-0247 Unable to access microSD card" or
"Data on this microSD card is corrupted and cannot be used. The corrupted data will be deleted." - Launching software: "The software was closed because an error occurred."
- Missing screenshots and videos / "Could not save".
- Missing / no homebrew in hbmenu
- Homebrew not recognising SD files / not working.
Disclaimer Regarding the Nintendo Folder:
If all your games are already "corrupted" then this shouldn't affect you, and you can proceed with the guide.
This should work fine for everyone as it had for me and the others, but something might still happen. If changing the archive bit on the Nintendo folder corrupts games that were previously uncorrupted instead of fixing them (which is unlikely), do make a post below.
Step-By-Step Instructions:
- You will need a Windows computer/ VM for this.
- This guide aims to fix the entire SD card. You may do it differently to fix specific files and folders.
- You can also use Hekate to fix just the switch folder, or all files (excluding the Nintendo folder).
-
Select all items at the root of your SD card.
-
Right click the items and select "Properties".
-
Select "Advanced...". Untick the "Folder is ready for archiving" checkbox, then click "OK".
(Note: If the checkbox is already unticked, do steps 3-4 twice, ticking it on the first time and unticking it on the second time.) -
Click "Apply". When the confirmation dialog comes up, select "Apply changes to this folder, subfolders and files", and click "OK".
-
Navigate to "/Nintendo/Contents/registered/".
-
Select all items inside the "registered" folder.
(/Nintendo/Contents/registered/<select all items in here>) -
Right click the items and select "Properties".
(Note: Steps 8-9 are the same as above, but this time we want the checkbox to end up being ticked.) -
Select "Advanced...". Tick the "Folder is ready for archiving" checkbox, then click "OK".
(Note: if the checkbox is already ticked, do steps 8-9 twice, unticking it on the first time and ticking it on the second time). -
Click "Apply". When the confirmation dialog comes up, select "Apply changes to this folder, subfolders and files", and click "OK".
-
All your files should now be fixed.
Tips for downloading from Google Drive
There are a few things you can do to make it easier for yourself when downloading stuff from Google Drive.
- There is a quota for files that are shared publicly. If you try to download a file from someone elses Google Drive and it says that the file is unavailable, this quota has been reached.
- To work around this quota, you can always make a copy of the file to your own Google Drive. Right-click the file and select "Make a copy": This will create a copy of the file in your own Google Drive with the prefix "Copy of"
- You can't make a copy of a folder, only individual files. What you can do is to select all the files in a folder and make a copy of those.
- "Add to My Drive" is not the same as "Make a Copy". If you select this, all you are doing is creating a "shortcut" to the file to its original location. This will not help with download-quotas and stuff like that.
- If you have the free version of Google Drive, you will only be able to store 15 gigs on it.
- Even if you have a paid for Google Drive account with unlimited storage, you still have a quota of 750GB of file transfers per day. So if you try to "Make a copy" of all the XCI-files for example, the process will fail when it has copied about 750GB of them. To make a copy of the rest, you'll have to wait 24 hours, or use another Google-account.
- If you have a Google-account through your school or university, you most likely have unlimited storage. Log on to Google Drive and check the left sidebar. If the Storage-indicator doesn't have a limit, you have unlimited storage.
- If you you have a Google-account through school, university or work, the admin can see all your files without you knowing. Google won't care what you store on your Google-drive as long as you don't share it.
- ssh-add -K ~/.ssh/[your-private-key]
- .ssh/config
Host * UseKeychain yes AddKeysToAgent yes IdentityFile ~/.ssh/id_rsa
mklink Link Target
Use /D when you want to create a soft link pointing to a directory. like so:
mklink /D Link Target
Use /H when you want to create a hard link pointing to a file:
mklink /H Link Target
Use /J to create a hard link pointing to a directory, also known as a directory junction:
mklink /J Link Target
Local user:
%appdata%\Microsoft\Windows\Start Menu\Programs\Startup
All users:
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp
Be it at a conference, or during a company meeting, or in your car trying to persuade the cop not to ticket you for going three times the speed limit while streaming an episode of The Maury Povich Show on your iPad, talking in front of other people can be an intimidating experience.
getfacl -R /var/www/myweb > permissions.acl
and
setfacl --restore=permissions.acl
Name a folder "GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}"