Noodle pork á la Fox

  • 2 Pork Chops
  • Mirin
  • Butter
  • Olive oil
  • Sesame oil
  • Salt and pepper
  • Beef bouillon
  • 1 liter of water
  • Handful of corn kernels
  • Handful of chopped spring onions
  • Long cooking noodles
  • Rice cooker
  1. Chop the meat chops in smaller bits and fry them in a splash of olive oil, a thumb thickness of butter, a splash of mirin and a few drops of sesame oil. Season with pepper and salt.
  2. Fill the rice cooker bowl with a liter of water and the other ingredients. When the meat is done, add that too including the grease.
  3. Start rice cooker
  4. Done when the rice cooker is done (20 minutes)

Loading

How to correct the Themler crash after updating to Joomla 3.9

If you updated to the latest version and the following error appears when you try to launch Themler please follow the instruction below:

Fatal error: require_once(): Failed opening required '[...]/administrator/includes/toolbar.php' (include_path='.:/usr/lib/php7.2') in [...]/templates/[theme_name]/app/index.php on line 25

  1. Open theme folder on the server: www/Joomla_directory/templates;
  2. open /app folder;
  3. open index.php for editing in any html or text editor;
  4. find the line
    require_once JPATH_BASE . DS . 'includes' . DS . 'toolbar.php';
    and replace it with the following line:
    $prefix = version_compare(JVERSION, '3.9', '>=') ? 'sub' : '';
    require_once JPATH_BASE . DS . 'includes' . DS . $prefix . 'toolbar.php';
  5. open /app/start folder;
  6. open data.php file for editing and follow step 4;
  7. open manifest.php file for editing and follow step 4;
  8. start Themler.

Loading

Notepad++ / Adding a character at the beginning or end of each line

STEP 1. Press CTRL-H to bring up the Find/Replace Dialog.

STEP 2. Choose the “Regular expressions” checkbox near the bottom of the dialog.

STEP 3.a To add “test” to the beginning of each line, type `^` in the “Find what” field, and “test” in the “Replace with” field. Then hit “Replace All”.

STEP 3.b To add “test” to the end of each line, type `$` in the “Find what” field, and “test” in the “Replace with” field. Then hit “Replace All”.

Loading

Force a file scan in NextCloud

To force a scan after a manual file transfer, for example, can be done as follows:

sudo -u [USER] php occ files:scan --all

for example:

sudo -u john php occ files:scan --all
Usage:
  files:scan [-p|--path="..."] [-q|--quiet] [-v|vv|vvv --verbose] [--all]
  [user_id1] ... [user_idN]

Arguments:
  user_id               will rescan all files of the given user(s)

Options:
  --path                limit rescan to the user/path given
  --all                 will rescan all files of all known users
  --quiet               suppress any output
  --verbose             files and directories being processed are shown
                        additionally during scanning
  --unscanned           scan only previously unscanned files

Source: https://docs.nextcloud.com/server/15/admin_manual/configuration_server/occ_command.html

Loading