I just can’t use some tools in Kali

I’m doing an information security course, but one the main tools isn’t working, I can’t learn how to clone a site like this, look… It keeps asking me to copy all the content inside www directory to the folder html in itself, and, when I do it, I find myself with the same error message, is Kali having some issues or something? Btw, I’m new using Kali.enter image description here

Adding a favicon in magento 2.3.0 manuelly – it just appears in firefox

According to devdocs of magento 2.3.0 I tried to add a favicon manuelly.(https://devdocs.magento.com/guides/v2.3/frontend-dev-guide/themes/favicon.html)

Attempt 1:

/magento2/app/design/frontend/Magento GJ/theme-GJ/Magento_Theme/layout => here goes the default_head_blocks.xml file

<?xml version="1.0"?>  <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">     <head>         <link src="Magento_Theme::favicon_32x32.png" rel="icon" type="image/x-icon" sizes="32x32"/>     </head> </page> 

/magento2/app/design/frontend/Magento GJ/theme-GJ/Magento_Theme/web => here goes the favicon_32x32.png file

=> This works only in Firefox!

Attempt 2:

Then I tried just for fun to add in the root directory my own favicon.ico. /magento2/app/design/frontend/Magento GJ/theme-GJ/Magento_Theme/

=> This works for Safari, Chrome and Edge. The IE does not work.

Attempt 3:

According to the magento 2.3.0 bug to add a favicon over the backend I solved this issue also:

Magento 2.3 favicon and logo upload does not take hold

Then I tried to upload my favicon. => All browsers can handle the favicon.

I want to know why the first attempt does not work for all browsers? – I am at a loss :/

How to disable core JS aggregation and AdvAgg just for admin paths

I help look after a site which uses $ settings['file_public_base_url'] to serve files from a different subdomain on the frontend, but on the backend (admin paths like node/add and node/edit) this causes our JS to be loaded with absolute rather than relative URLs which seems to cause an issue with JS loaded via AJAX not executing correctly. There are no JS errors in my devtools console, but I suspect the cause is that the JS is being loaded from differing subdomains, as turning AdvAgg and core’s JS aggregation off makes the JS files load via relative paths and function as intended.

Without any errors showing in my console or server logs I’m not sure I’m going to be able to get to the bottom of the AJAX issue, so for now a compromise seems to be to turn off aggregation for admin and content editing routes.

What would be the best way to do that? I know I can set $ config['system.performance']['js']['preprocess'] = FALSE; and presumably a similar config key for AdvAgg’s own setting (we have AdvAgg set to optimise/compress JS, so even with system.performance.js.preprocess turned off AdvAgg will still manage the files and use absolute paths to include them. Can config settings be altered on a per route/path basis?

I just finished working on a personal project, it needs cleaning

I just finished working on a personal project, it is a sort of email type program where you create an account and you can message people, the code works(as far as i’m aware) but it is not clean, different areas have different indents, i add more variable than i need, i print things that dont need to be printed and probably way more than that.

( I realise that it will say import getpass ,and have nothing for it in the code , that is because i forgot to change the password inputs to getpass inputs before putting it on my drive. )

If anyone is willing to help or give advice that would be gratefully appreciated…

Thanks, King

Link to code and files : https://drive.google.com/drive/folders/1XJIdSHMjrL-lDmXo1SwZgKP14lXzXVO3?usp=sharing

import time     while True:      print('Thank you')      time.sleep(0.01) 

How to output just an image in Drupal 8

Yes,

I have worked out how to use dynamic routing and JsonResponse() in a custom controller to output pure Json, with no HTML at all. I would like to do the same with an image — for the page to output an image header and the image itself to the browser, with no HTML, as though the address were simply a filepath to an image.

Is this possible?

Thank you

Just installed drupal-7.65 and getting JIT compilation error

Brand new to drupal and website building in general, just set up a local server and installed drupal 7.65. Before doing anything, I am getting a long list of errors whenever I navigate to a new page, each starting with the following:

Warning: preg_match(): JIT compilation failed: no more memory in *

Along with this error: Your PHP max upload size is bigger than your max post size. This is known to cause issues in some installations.

Seems like something I should fix? Anyone know how?

No Gui, just black screen

I recently installed Ubuntu 18.10 The other night, while looking at my display settings, I could see something about X something or other, and GL something or other. For some reason I decided to click on the GL option. Right away my screen was corrupted and I was unable to click on anything. So I launched the terminal and typed reboot or sudo reboot actually. I was able to get back into the Gui, but when I went to check my display properties again the screen again went silly on me, splitting the display in half and not letting me cleck on anything. All I could do was launch a terminal, ctrl alt t, and once again choose to reboot. Now lubuntu starts to load up, but once the splaxh screen with the progress dots goes away, I’m left at a black screen, my cursor, and nothing else. Won’t launch the Gui. What can I do to set things straight again.? Thanks in advance..

New with MS Flow. Just can’t get it to work

Hei. I need a very simple flow that sends a recurring email at a given interval. Say i want to generate a ticket every third month for some recurring task.

I’m testing right now tht it sends an email every 5 minutes to see if it works.

I created a flow with trigger on recurrence- schedule. Gave my utc+1 timezone. Gave a start time (say 5 minutes from now).

Then i added an action, Send an email (Office 365 Outlook), specified the email to out ticketing system in “To”, wrote testing in subject and body and SAVE.

It doesn’t send any email automatically. It sends it if i manually run the flow or test the flow. But it doesn’t send any emails by itself.

After i click save, it prompts me with this message, next to +New step; Ready to create your flow? When you are done adding steps, make sure your flow has a name and choose “create flow”. I’m not sure if this msg just doesn’t make sense to me or it doesn’t make sense at all. Where do i name my flow? I see only that i can rename the different steps which then change the name of the flow. and why would i create flow again at this point? any relevance?

Another thing that is happening is that when i go in to edit the flow, the timezone and start time have always disappeared and i have to add these again.

WHAT AM I DOING WRONG. eeeeeeeeeh