Maxy.fr

All our articles

Neurascapes: Your New Source for Free and Inspiring Images for Your Projects

In an era where computer development and technology guide our creations, the quest for relevant images to illustrate our ideas can sometimes seem like a daunting challenge. This is where Neurascapes comes into play, a groundbreaking platform offering a treasury of free and original images entirely generated by artificial intelligence. A Wealth of Free AI Images, Sorted and Cohesive Under the guidance of Aman, the creator of Neurascapes, this site stands out with its impressive collection of...

Automatically Disable Tapo Cameras When Returning Home Using iPhone Shortcuts

Nowadays, home automation is becoming increasingly prevalent in our households. From smart lights and temperature sensors to motion detectors and cameras, these devices work together to simplify our daily lives and secure our homes. However, with all these connected devices, maintaining a certain level of privacy is crucial. In this article, discover how to use your iPhone, which you always have with you, to automatically deactivate a Tapo brand camera upon your return home and vice...

Ideogram: Finally, a good free alternative to Midjourney

In the ever-evolving world of Artificial Intelligence (AI) and image generation, Midjourney has long been considered the undisputed leader. This amazing AI could create stunning images from simple textual descriptions. However, over time, several alternatives have emerged, but none have managed to dethrone Midjourney. Until now. Ideogram, the new sensation in AI, is emerging as an impressive free alternative to Midjourney. If you are looking for an AI-based image creation solution, Ideogram is...

How to resolve the Possible attack detected message in ISPConfig ?

If you are managing a web server with ISPConfig, you may encounter the warning message "Possible attack detected. This action has been logged." on the web interface, making access impossible. This alert can be triggered for various reasons, but its resolution is simple. Here's how to resolve it: Step 1: SSH Connection First, connect to your server via SSH: ssh your_username@your_ip_address Step 2: Modify the Configuration File Once connected to your server via SSH, you'll need to modify the...

How to Access the Web Interface of Your Starlink from a Computer

If you own Starlink equipment, including a router and a satellite dish, you probably know that managing them requires the Starlink app on your smartphone. While this is convenient and functional, there may be times when you want to access the settings from a computer. Although not officially promoted by Starlink, it is still accessible, although with limited functionality. Accessing the Starlink Web Interface from a Computer To access your Starlink's interface from a computer, you need to be...

How to Reactivate the Mini Video Player in the Arc Browser ?

If you've been using the new Arc browser, recently made available for Mac, you've probably noticed the very interesting Mini Player feature. This feature allows you to continue watching a video while browsing other pages, appearing as a small floating video player. In the latest version, you can minimize the Mini Player to listen to audio only, which can be handy in certain situations, such as when listening to music on YouTube. However, it can sometimes be challenging to figure out how to...

How to Execute a Function in the Main View from a View Presented Modally with Swift

In some cases, it can be useful to execute a function that resides in the code of the main view of an application from a view presented modally. For example, this might be necessary in a search system where you have a simple search field in the main view and several advanced search fields in the second view. In such a scenario, since the results are displayed in the main view, you need a way to send the search between the two views.   Here's how to achieve this using a protocol and a...

Unlocking a Tesla with a Completely Drained Battery

If you own a Tesla and push the limits a bit too far by driving with a 0% battery, you may find yourself in a situation where the car's battery is so drained that it remains locked, depleted, and inaccessible. This occurs when the high-voltage battery of the vehicle is so empty that the low-voltage battery also becomes discharged.   The Low-Voltage Battery: The low-voltage battery, located just below the windshield under the front hood, powers auxiliary components of the vehicle, such as...

How to easily reset all structured values with Struct in Swift ?

If you're programming in Swift, it's likely that you're using structured variables with the Struct tool. You may have already wondered how to easily reset all the values of these structured variables without having to manually change each value in your code. Using a Mutation Function in Struct One of the most convenient methods is creating a function directly within the structure itself, like this: struct Recherche { var titre: String? var age: Int? mutating func reset()...

How to use Internet Explorer mode in Edge to open incompatible pages ?

Since Microsoft abandoned Internet Explorer, many users have encountered compatibility issues with certain web pages using their current browser. This can be particularly inconvenient when you need to access a web interface of an older device that is only compatible with Internet Explorer. Fortunately, Edge, Microsoft's web browser that replaced Internet Explorer, offers a feature to load web pages in Internet Explorer mode. In this article, we'll explain how to use it.   Opening a Page...

Easily add a dual-slider to your HTML forms

When designing HTML forms, you may quickly find yourself limited by the basic form elements provided. For example, if you use sliders with the <input type="range"> element, they only allow the use of a single slider per element. However, there may be times when you need a field with two sliders to select a minimum and maximum value, such as for choosing a price range in a search form. Double Slider Field This is a problem I faced and for which I developed a solution to easily create a...

Postfix : Fixing email sending issues to Gmail due to IPv6

If you are unable to send emails to Gmail addresses from your server and you encounter the following error, it is likely a configuration issue if you have both IPv4 and IPv6: Our system has detected that this message does 550-5.7.1 not meet IPv6 sending guidelines regarding PTR records and 550-5.7.1 authentication. To resolve this issue, it's quite simple. 1 - Connect to your server via SSH and use the following command to check the connection protocol used by Postfix: postconf...

How to install Magic Lantern on a Canon camera

If you have a Canon DSLR camera, you may be tempted to install Magic Lantern, a small software that adds many interesting options to your camera in addition to the built-in features. Magic Lantern allows you to do things like simulate an intervalometer for automatic time-lapse photography, record videos in RAW format instead of the default H.264 compression, and more. It's important to note that installing Magic Lantern is not an official process, and there's no guarantee that it won't cause...

Avoiding slowdowns of a JavaScript counter on an inactive tab

If you're trying to create a Javascript counter that increments every second, you may notice that it works correctly when you're on the active tab but experiences slowness when the tab is not active. This can lead to a desynchronization between the counted seconds and real-time. Here's a simple method to address this issue You can use Date.now() to get the number of milliseconds elapsed since January 1, 1970. Here's an example code snippet: var tsDepart = Date.now(); var secondes = 0; var...

Finding and Stopping a Lingering Node.js Instance

If you've been playing around with Node.js, you've probably run a Node.js file and left it running in the background. You may be accustomed to using the shortcut ctrl + c (cmd + c) or ctrl + z (cmd + z) to suspend or stop its process. However, if you've closed the terminal with your SSH connection in the meantime, you won't find your session where you had launched your Node.js file. Nevertheless, it remains active. To find and stop the corresponding process, here are the commands to use: ps...

How to indicate exceptional closing days for your business on Google

If you've registered your business on Google My Business to appear in Google search results, set up weekly opening hours, and everything is working correctly. However, when you exceptionally close your establishment for one or more days, it still appears as open in Google search results. This can be frustrating, so to avoid dissatisfaction from customers who find your doors closed despite checking Google's opening hours before coming, here's how to indicate exceptional closure days on Google. I...

Automatically Start Node.js on Server Boot

If you've ever created programs using Node.js, you've probably encountered this issue: Node.js scripts don't automatically restart when you reboot your server. Therefore, you need to manually reconnect to restart them, which can be quite inconvenient. Here's a small shell script that allows you to execute your scripts and start them every time the server starts. The Shell Script You'll need to create a file, which you can name as you like, and save it in the /etc/init.d/ directory on your...

Playing an H264 video using VLC

If you're trying to play an H264 file using VLC, you may encounter an error or at least a video that won't start. To play this type of file, you'll need to make a small adjustment to the software. First, launch VLC if you haven't already. Now, go to "Tools" and then "Preferences": (If you're using a Mac, it's VLC, then Preferences) Show advanced preferences by clicking "All" in the "Show settings" menu at the bottom left of the window: (If you're using a Mac, it's "Show All" at the...

How to configure an IPFailOver on Debian and ISPConfig 3

If you have a Debian server with ISPConfig 3 installed, here is how to configure one or more IP FailOver addresses. Debian Configuration First, you need to configure Debian to add your new IP address. Connect to your server and edit the file /etc/network/interfaces. If you have a Debian version higher than 6 (which is usually the case), you will need to add the following two lines for each new IP address you want to add: post-up /sbin/ifconfig eth0:X IPFailOver netmask 255.255.255.255...

Scheduling a Cron task from a Synology NAS

If you are using a Synology NAS as a local web server and want to automatically execute PHP scripts at regular intervals, here's the procedure to follow: - First, log in to the web interface of your NAS and open the control panel. - Click on "Task Scheduler" and then "Create" > "User-defined script": - Next, you will need to choose a name for this new task, the user to be used for execution (default is root), and the command to execute. Here, if you want to run a PHP script, you will...

How to obtain the ID of a YouTube channel ?

If you are using the YouTube API and need to find the ID (ChannelID) of a specific YouTube channel, you can follow these simple steps: Access the page of the channel in question from your web browser (the page's address will be in the form of https://www.youtube.com/user/ChannelName). Display the page's source code (right-click and select "View Page Source"). Search for the following in the page's source code: "browse_id" (you can use the browser's search function by pressing Ctrl + F or...

Raspberry Pi: Scheduling Regular Automatic Reboots

Sometimes, you may need to make your Raspberry Pi automatically reboot regularly, for example, once a day at midnight. To achieve this, we'll use a Unix program called "Cron" that allows for the automatic execution of commands. Adding a Cron Task: First, you need to be connected to your Raspberry Pi via SSH. If you're not already connected, please do so. Enter the following command: "sudo nano /etc/crontab -e". This command allows you to edit the file containing the list of tasks. The...

Enabling Port 465 on a Postfix Mail Server

Configuring a mail server can become more challenging due to the default port used for mail delivery (port 25), which is increasingly blocked by internet service providers. To overcome this issue and enable both sending and receiving emails using IMAP/POP/SMTP, you can activate port 465 (smtps) in Postfix. To do this, edit the file « /etc/postfix/master.cf »  Remove the # at the beginning of the following line: #smtps inet n - - - - ...