Recent Questions

متن مرتبط با «ubuntu set hostname command line» در سایت Recent Questions نوشته شده است

How to disable Laravel console commands

  • نیلوبلاگ

    Suppose you find yourself in a situation where you need to disable or intercept a console command in Laravel. This tutorial will primarily focus on how to intercept the php artisan migrate command. We'll delve into the command method app/Console/Keel.php and explore how to prevent the migrate command from executing any actions. Inside the command method of app/Console/Keel.php In Laravel 11 use routes/console.php Intercept command You can intercept php artisan migrate and, instead, catch it an...

    ادامه مطلب
  • My PhpStorm Setup

  • نیلوبلاگ

    I've documented my PhpStorm setup, what theme I use, plugins, and keybindings. Theme I use the New UI which is located at Appearance & Behaviour -> New UI Once tued on I use the Light Theme: I like to keep things minimal, in fact, I tu off the toolbars and status bars by toggling distraction-free mode Plugins .env file support Environment variables completion based on .env, Dockerfile and docker-compose.yml files. Go to declaration(in .env ...

    ادامه مطلب
  • How to Prevent Two or More Words from Being Split into Separate Lines (HTML/CSS)

  • نیلوبلاگ

    Sometimes you may want to keep a group of words on a web page together on a single line, rather than allowing the web browser to break them up and place them on separate lines if there's no space. This article shows you the HTML and CSS to accomplish this....

    ادامه مطلب
  • How to Draw a Horizontal Line on a Web Page with Expression Web

  • نیلوبلاگ

    This article shows you 2 different methods to draw horizontal lines on your web page (whether as a decoration or to separate content) using the free Expression Web editor....

    ادامه مطلب
  • How to Set the Height of a DIV Relative to a Browser Window (CSS)

  • نیلوبلاگ

    This article answers a visitor's question on how to set the height of a DIV (or even other elements) so that it is a percentage of the browser window/viewport. And no, using the percent unit (ie, "%") won't work the way you think....

    ادامه مطلب
  • Laravel how to set app environment during tests

  • نیلوبلاگ

    If you need to set an environment to be a specific one such as staging you can override the environment by changing the config value app_env config(['app.env' => 'staging']); Then doing a dd on config(‘app.env’) will retu that environment you’ve just set. I haven’t found a way to set environments with app()->environment() so instead, I recommend using this in_array function and passing in the config(‘app.env’) and then specifically defining the environments.  in_a...

    ادامه مطلب
  • San Diego California SEO Digital Marketing Online Courses

  • نیلوبلاگ

    On-page SEO is a digital marketing practice of optimizing each web page on your website to get a higher rank in the search engine results page (SERP) as well as to gain relevant traffic. The process a...

    ادامه مطلب
  • Is it possible to customize Windows 8.1 colors similarly to how it was since Win95 in the "Advanced Appearance Settings"?

  • نیلوبلاگ

    For the first time since Windows 95, Windows 8/8.1 ceased to offer the "Advanced Appearance Settings", which enabled the following customizations: screenshot of the "Window Color and Appearance" window That is a shame, not only because users lost customization power, but specifically because it made much more difficult for an user to set its own dark-theme version of the system. Is there any way to change such colors in Windows 8.1? Notice that I am not talking about merely doing this and I also...

    ادامه مطلب
  • Offline Program to convert Images from PNG to WEBP for MacOS

  • نیلوبلاگ

    Is there an offline program that let's me convert my png files to webp? I'm running MacOS X 10.11 El Capitan. Searching on google I was only able to find online converters that shrink the size of the Image and do not let me upload more than one file at once. This is a problem since I have around 800 pngs to convert. Let's block ads! بخوانید...

    ادامه مطلب
  • using command prompt how can i change my gmail username on my local account back to microsoft

  • نیلوبلاگ

    Using command prompt, how can I change my Gmail address useame on my local account back to Microsoft. It doesn't let me sign in. You see my Gmail address but when I put my password in, it said to change my Microsoft password to sign in. But it's not a Microsoft account. Somehow I ended up with my Gmail address as my sign in local account. I also don't see the option of changing my useame. I can only sign in as a built-in administrative. Let's block ads! بخوانید...

    ادامه مطلب
  • How to find the 'Run' command that opens a specific process on Windows?

  • نیلوبلاگ

    I am using Windows 10 (well, the version is irrelevant I believe) and I would like to execute my programs through 'Run' just for convenience. My problem is, where do I look for each software's Run keyword ? For example, to open paint, you can run 'mspaint', to open Notepad++ I luckily figured out you can run notepad++ but what about other processes ? For example, I have no clue how to open Sublime text 3 with Run or paint.net and many other software. If you are willing to help, please also provi...

    ادامه مطلب
  • How to get MS Word to use footnote citations instead of inline citations?

  • نیلوبلاگ

    I am preparing a sizable document in Microsoft Word 2013, and I want to use the MS Word functionality for references. Imagine I have a book that the bibliography, Chicago Style, looks like this: Fletch, Fletch F. 1985. *Important Quotes.* Los Angeles: Fake Publisher. I want to do a footnote citation automatically with MS word. It should look like this one that I entered manually: However, when I click "Insert Footnote" then "Insert Citation", it just sticks an inline-citation in the footnote...

    ادامه مطلب
  • Sublime line Character Count

  • نیلوبلاگ

    I would like to create a Regular Expression String that counts the number of characters in each line. If it's longer than say 10, 12 or 15 characters it would take the number of characters in the line and divide it by two. Next have it jump to the beginning of the word that starts before the half way point and select the space, then replace it with the "|" character at this spot. I've tried several things based on what I have found on this SuperUser Site but I'm fairly new to Regular Expressions...

    ادامه مطلب
  • Command executed differently from terminal or in bash script

  • نیلوبلاگ

    I'm trying to automate a backup script with attic, but I'm stuck on this issue: the actual attic command performs differently when executed from the script and when executed directly in the terminal. The script builds and executes the command: /usr/bin/attic create --stats --verbose --exclude '/home/.cache' /media/attic-backup/paolo.attic::2016-08-27 /home the command outputs the files backuped up from attic: /home /home/.attic /home/.attic/keys /home/.cache /home/git /home/git/.bash_history...

    ادامه مطلب
  • During Ping command what kind of packet they are going to send?

  • نیلوبلاگ

    During Ping command what kind of packet they are going to send ? I got output like this: 19 packets transmitted, 19 received, 0% packet loss, time 18006ms so what is strategy behind this . also I want to know how I come to know that my packet is receiving at remote destination. Let's block ads! بخوانید...

    ادامه مطلب
  • FirstLogonCommands only works on 32bit architecture

  • نیلوبلاگ

    I've got 2 Windows installations which are identical, the same settings, the same programs. The only difference is that the Windows architecture is different, the one is 32bit and the other one is 64bit. When having sysprepped my 32bit installation with the following answer file: <?xml version="1.0" encoding="utf-8"?> <unattend xmlns="u:schemas-microsoft-com:unattend"> <settings pass="oobeSystem"> <component name="Microsoft-Windows-Shell-Setup" processorArchitec...

    ادامه مطلب
  • How to set automatic time for Quiet hours in Windows 10?

  • نیلوبلاگ

    I wanted to set automatic rules for Quiet hours features in Windows 10. I want quiet hours to automatically activate during specific time. In Windows 10 Mobile I have done the same by going to Cortana->Notebook->Quiet Hours. However I cannot do the same on Windows 10 PC. There is no quiet hour page in Cortana's notebook on PC. Is the setting located somewhere else or is it not implemented yet? Any solution such as registry edits is also welcome. Let's block ads! بخوانید...

    ادامه مطلب
  • What is the command to cd to a removable media (usb)?

  • نیلوبلاگ

    I want to cd to USB without specifying it because it changes its letter on every other computer. ...

    ادامه مطلب
  • How to setup a working chroot in OS X?

  • نیلوبلاگ

    I am making several websites on a single workstation, so I want to test them in more or less isolated environment. Having some Linux background, I decided to make a chroot for each of these web apps. To be able to launch my app handlers from inside the chroot, I wanted to forward the visibility of /usr/local/bin to the chrooted container, but I fail to see a direct equivalent of mount --bind. Is it at all possible to have a chroot with vanilla OS X, without FUSE or other keel extensions? Let's b...

    ادامه مطلب
  • Windows 10 Command Prompt Stuck in Legacy Mode and Won't Start

  • نیلوبلاگ

    That "legacy console" option should only be available on a shortcut to cmd.exe, not on cmd.exe itself. So hopefully something is wrong with your shortcut and not with the actual cmd.exe. Try browsing to c:windowssystem32 (or whatever your system dir is), then running cmd.exe directly from there. Alteatively, press WIN+R and run c:windowssystem32cmd.exe directly. If that works like normal, then just delete the existing shortcut that's giving you the problems and create a new shortcut, that should...

    ادامه مطلب