Recent Questions

متن مرتبط با «how to find percentage» در سایت Recent Questions نوشته شده است

Fiverizer: convert a website from XHTML 1.0 to HTML5

  • نیلوبلاگ

    If you have one or more websites written in XHTML 1.0, this program (which may be downloaded and used free of charge) lets you convert them to HTML5 without having to muck around with rewriting HTML and adding CSS....

    ادامه مطلب
  • How to Convert Your Website from XHTML 1.0 to HTML5 the Quick and Easy Way

  • نیلوبلاگ

    This guide takes you through the process of converting a website from XHTML 1.0 to HTML5 using the Fiverizer software. (Fiverizer is a program that I wrote to convert my own websites, all of which were also in XHTML 1.0. It may be downloaded and used free of charge.) ...

    ادامه مطلب
  • 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...

    ادامه مطلب
  • Vue show and hide form elements

  • نیلوبلاگ

    Introduction When working with forms, it is common to display or conceal various fields based on the options selected. I'll use Vue to conditionally show or hide form elements. In this example, I'm going to use an SFC (Single File Component) for ease of us. You'll see this in full in the putting it all together section below. For this to work it does not need to use a SFC, the HTML and JS will work when used in traditional setups i.e. having JS in javascript blocks and the HTML in a page's b...

    ادامه مطلب
  • Extracting a time into select menus with PHP

  • نیلوبلاگ

    That begs the question how do you separate the time into seperate elements? Making use of explode can work. Exploding where there a : so: $parts = explode(':', '14:25:00'); This would result in an array: [ "14", "25", "00", ] To use an element you can refer to its index for example $parts[0] would contain 14 Using them by their index is fine to do but kinda messy. I prefer to give each element a name using the list function li...

    ادامه مطلب
  • Running HTTP requests in PhpStorm

  • نیلوبلاگ

    Running API tests you may be tempted to open PostMan or another API client, did you know, you can run HTTP requests from inside PhpStorm directly? When developing a new API, you will want to run the API endpoints. Being able to run them without leaving PhpStorm speeds up your workflow. To start a request file, you can either select a HTTP Request file when using the new file or create a new scratch file. For a scratch file select the HTTP Request type. In either case ...

    ادامه مطلب
  • 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 ...

    ادامه مطلب
  • Laravel Extract Language to lang files

  • نیلوبلاگ

    If you've already used JSON lang in your views, here's a handy package to extract all lang keys to language files. The package exports all your __(‘some text’) calls to language files. https://github.com/kkomelin/laravel-translatable-string-exporter Here's a video demo. [embedded content] بخوانید...

    ادامه مطلب
  • Upload images in Ckeditor 5 with Laravel

  • نیلوبلاگ

    CKeditor 5 out of the box does not come with upload capabilities. Uploading is supported with its plugins, some are official paid plugins that require subscriptions. There are a few free options. Base64 upload adapter This plugin allows uploads that will convert an uploaded image into base64 data. Very easy to use but will require you to save the complete base64 code with the post, this can be get long. Docs Simple image adapter An image upload tool. It allows uploading images to an applica...

    ادامه مطلب
  • Use PHP to generate table of contents from heading tags

  • نیلوبلاگ

    I wanted to create a table of contents from the post's heading tags automatically without having to change the headings like adding an id or anchor. I started to look at existing solutions and came across this custom function on Stackoverflow by sjaak-wish function generateIndex($html) { preg_match_all('/<h([1-6])*[^>]*>(.*?)</h[1-6]>/',$html,$matches); $index = "<ul>"; $prev = 2; foreach ($matches[0] as $i => $match){ $curr = ...

    ادامه مطلب
  • Expression Web Tutorial: How to Design a Website with Microsoft Expression Web

  • نیلوبلاگ

    Microsoft's free web editor is a sophisticated WYSIWYG web editor with many features usually only found in commercial offerings (and no wonder, since it was previously something you had to buy). This tutorial series takes you through the process of designing a fully functional multi-page website with Expression Web....

    ادامه مطلب
  • How to Create a Blog

  • نیلوبلاگ

    This guide takes you through the steps of setting up your own blog. (Note that the article deals specifically with making a blog. If you want some other type of site, you should read How to Create a Website instead.)...

    ادامه مطلب
  • [Updated] BlueGriffon Tutorial: Design a website using the open source BlueGriffon web editor

  • نیلوبلاگ

    The entire BlueGriffon Tutorial has been updated for the version 3 series of BlueGriffon. Those thinking of using it to create a website can find the complete series online....

    ادامه مطلب
  • What To Do If You Do Not Own Your Website's Domain Name

  • نیلوبلاگ

    What if someone else owns the domain on which your website sits? For example, as it was in the case of one of my visitors, someone may have bought the domain for you, and retained ownership of it. Or perhaps your website is on a free web host, or a blog host, and you are using the web address given to you by them. This article deals with how you can solve that problem (or potential problem)....

    ادامه مطلب
  • How to Create a Website (Updated)

  • نیلوبلاگ

    If you are thinking of designing a website, whether a business or hobby site, read How to Create a Website. The article has been updated with the latest developments on the Inteet. ...

    ادامه مطلب
  • How to Insert a Bullet Point (Unordered) List with BlueGriffon

  • نیلوبلاگ

    This article shows you how to insert a bullet point list (where each item on the list is marked with a solid black circle rather than numbered) into a web page using the BlueGriffon web editor....

    ادامه مطلب
  • How to Draw a Rectangular Box Around Your Content in BlueGriffon

  • نیلوبلاگ

    This article deals with how to use the BlueGriffon web editor to draw lines around text and/or images on a web page, so as to put them into a box, setting them apart from their surrounding content. ...

    ادامه مطلب
  • How to Add an Audio or Music File to a Web Page with BlueGriffon

  • نیلوبلاگ

    BlueGriffon has built-in facilities for you to insert an audio clip or music file into your web page. This article shows you how to use it....

    ادامه مطلب
  • 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....

    ادامه مطلب
  • Why Can't I Make Up Any Domain I Want? Is There a Way to Do Away with a Registrar Altogether?

  • نیلوبلاگ

    I was asked by a visitor why he couldn't dispense with a registrar and just make up any domain name he wanted. You may be surprised to hear that you can actually do that. But it won't do you any good....

    ادامه مطلب