You Tube

Saturday 6 April 2024

How to Shrink Database Log File

 1st find out the logical name of the Database. using this
SELECT name FROM sys.master_files WHERE database_id = DB_ID('DataBaseName')


Now Execute this query with logical name of the Database.
DBCC SHRINKFILE('LogFile Name', 50);

now log file is 51MB or somthing

Saturday 2 March 2024

Fill Dropdown with times in 15 Minutes Difference in JS.

 Fill Dropdown with times in 15 Minutes Difference in JS.


Try this


    <div class="input-group time">

         <asp:DropDownList ID="ddl_time" CssClass="form-select tts_textBox" runat="server">                   </asp:DropDownList>

  </div>

 <script type="text/javascript">

        function generateTimeSlots() {

            var times = ['']; // Start with an empty option

            for (var hour = 0; hour < 24; hour++) {

                for (var minute = 0; minute < 60; minute += 15) {

                    var hh = String(hour).padStart(2, '0');

                    var mm = String(minute).padStart(2, '0');

                    times.push(hh + ':' + mm);

                }

            }

            return times;

        }


        var timeSlots = generateTimeSlots();


        var dropdown = document.getElementById("<%=ddl_time.ClientID%>");


        dropdown.innerHTML = "";


        timeSlots.forEach(function (time) {

            var option = document.createElement("option");

            option.text = time;

            option.value = time;

            dropdown.add(option);

        });


    </script>

Saturday 3 February 2024

Various Popular web hosting providers in India

 Plesk hosting services can be purchased from various web hosting providers in India. However, specific options may change over time, so it's recommended to check with popular hosting providers in India to see if they offer Plesk hosting. Some well-known hosting providers globally that often provide Plesk hosting include:


  1. Bluehost
  2. HostGator
  3. SiteGround
  4. GoDaddy
  5. ResellerClub



Please note that the availability of Plesk hosting may vary among different hosting plans offered by these providers, so it's important to review the features of each plan to ensure that it meets your requirements. Additionally, new hosting providers may have entered the market since my last update, so it's a good idea to explore recent reviews and recommendations to find the best fit for your needs.


Remember to check the most recent information from these providers and verify if they offer Plesk hosting plans in India.


Sunday 17 December 2023

Rewrite redirect code for Https to Http

 <rewrite>

<rules>

<rule name="ForceHTTP" stopProcessing="true">

<match url="(.*)" />

<conditions>

<add input="{HTTPS}" pattern="on" />

</conditions>

<action type="Redirect" url="http://{HTTP_HOST}/{R:1}" redirectType="Permanent" />

</rule>

</rules>

</rewrite>

Sunday 3 September 2023

List of the planets in astrology along with their meanings and associations

 

  1. Sun (Surya):

    • Meaning: The Sun represents the core essence of your identity, ego, self-expression, and life force. It symbolizes your vitality, individuality, and the central purpose of your life.
  2. Moon (Chandra):

    • Meaning: The Moon signifies your emotions, feelings, intuition, and inner world. It represents your emotional responses, instincts, and how you nurture yourself and others.
  3. Mercury (Budh):

    • Meaning: Mercury is associated with communication, intellect, learning, and adaptability. It governs how you express yourself verbally, think, and process information.
  4. Venus (Shukra):

    • Meaning: Venus represents love, beauty, harmony, aesthetics, and creativity. It influences your relationships, values, and your appreciation for art and pleasure.
  5. Mars (Mangal):

    • Meaning: Mars symbolizes energy, action, ambition, and assertiveness. It governs your drive, courage, and how you pursue your goals and desires.
  6. Jupiter (Guru):

    • Meaning: Jupiter is associated with expansion, wisdom, knowledge, and abundance. It signifies growth, spirituality, and your capacity for understanding broader life principles.
  7. Saturn (Shani or L):

    • Meaning: Saturn represents discipline, responsibility, structure, and limitations. It governs your sense of duty, self-discipline, and lessons learned through challenges.
  8. Rahu (North Node):

    • Meaning: Rahu is considered a shadow planet that signifies desires, obsessions, and worldly pursuits. It represents unfulfilled desires and karmic challenges.
  9. Ketu (South Node):

    • Meaning: Ketu is another shadow planet associated with spiritual evolution, detachment, and liberation. It represents past-life experiences and lessons learned.
  10. Uranus (Varuna):

    • Meaning: Uranus is a modern planet associated with innovation, revolution, individuality, and sudden changes. It brings unpredictability and a desire for freedom.
  11. Neptune (Neptune):

    • Meaning: Neptune is associated with dreams, intuition, spirituality, and illusions. It governs creativity, mysticism, and a connection to the collective unconscious.
  12. Pluto (Yama):

    • Meaning: Pluto represents transformation, regeneration, power, and deep psychological processes. It signifies profound changes and rebirth.

These planetary meanings and associations are fundamental in astrology and are used to analyze and interpret birth charts. The specific positions of these planets in the zodiac signs and houses, as well as their aspects (angular relationships) to each other, provide deeper insights into an individual's personality, life events, and potential paths of growth and development.


Alok Singh
Alok Singh


Houses Meaning in Astrology

 In astrology, each of the 12 houses in a birth chart represents specific areas of a person's life and experiences. Here is a brief overview of what each house signifies:

  1. 1st House (Ascendant or Rising Sign): This house represents the self, personality, appearance, and the way you present yourself to the world. It's associated with your identity and how others perceive you.

  2. 2nd House: The 2nd house is associated with personal finances, material possessions, values, self-worth, and what you value in life, including your earning capacity.

  3. 3rd House: This house relates to communication, siblings, short trips, local environment, and intellectual pursuits. It's associated with how you express yourself verbally and your immediate surroundings.

  4. 4th House (IC): The 4th house represents home, family, roots, and emotional foundation. It's associated with your upbringing, family dynamics, and your sense of security and belonging.

  5. 5th House: This house is about creativity, self-expression, romance, hobbies, children, and pleasure. It's linked to your artistic talents, love affairs, and how you enjoy life.

  6. 6th House: The 6th house is connected to health, daily routines, work, service, and responsibilities. It's associated with your attitude toward work and how you maintain your well-being.

  7. 7th House (Descendant): This house governs partnerships, marriage, relationships, and open enemies. It's associated with your one-on-one interactions, including romantic and business partnerships.

  8. 8th House: This house deals with transformation, shared resources, intimacy, death, rebirth, and inheritances. It's linked to your attitude toward shared assets and deep psychological processes.

  9. 9th House: The 9th house represents higher education, philosophy, travel, spirituality, and belief systems. It's associated with your quest for meaning and understanding of the world.

  10. 10th House (MC or Midheaven): This house is about career, public life, reputation, and ambition. It's associated with your professional goals, achievements, and how you are perceived in society.

  11. 11th House: This house governs friendships, groups, social networks, aspirations, and humanitarian ideals. It's linked to your hopes, dreams, and your involvement in collective causes.

  12. 12th House: The 12th house represents the subconscious, hidden matters, solitude, endings, and spiritual growth. It's associated with your inner world, secrets, and karmic patterns.

Keep in mind that the interpretation of each house can be influenced by the zodiac sign on its cusp, any planets within the house, and aspects (angular relationships) that planets make to the house. A complete birth chart analysis considers the interplay of these factors to provide a more comprehensive understanding of an individual's life and experiences. Consulting with a professional astrologer can provide personalized insights based on your unique birth chart.


Alok Singh
Alok Singh


Key differences between Lagna, Mavamansh, Chandra and Chalit charts

 In Vedic astrology, different types of charts and chart divisions are used to provide more detailed and specific insights into various aspects of a person's life and personality. Here are the key differences between Lagna (ascendant), Navamsha (Navamsa), Chandra (Moon), and Chalit charts:

  1. Lagna (Ascendant) Chart:

    • Purpose: The Lagna chart, also known as the birth chart or Rasi chart, is the primary chart used in Vedic astrology. It represents the overall personality, life path, and general events in a person's life.
    • House Division: It divides the zodiac into 12 equal parts, with each house representing different areas of life.
    • Key Focus: The Lagna chart emphasizes the influence of planets in the signs and houses, providing a comprehensive view of one's life and character.
  2. Navamsha (Navamsa) Chart:

    • Purpose: The Navamsha chart, also known as the D-9 chart, focuses on marriage, relationships, and the qualities of a life partner. It's used for compatibility analysis and assessing the strength of one's marriage.
    • House Division: The Navamsha chart divides each zodiac sign into nine equal parts (Navamshas), resulting in a 108-part division of the entire zodiac.
    • Key Focus: The Navamsha chart provides deeper insights into marriage and relationships, including the characteristics and compatibility of a spouse.
  3. Chandra (Moon) Chart:

    • Purpose: The Chandra chart is derived from the position of the Moon in the Lagna chart. It emphasizes the emotional and mental aspects of one's personality.
    • House Division: The Chandra chart uses the same house division as the Lagna chart, but it specifically focuses on the influence of the Moon.
    • Key Focus: The Chandra chart highlights emotional responses, instincts, and the inner self, helping astrologers understand one's mental and emotional well-being.
  4. Chalit Chart:

    • Purpose: The Chalit chart is a house division system used in Vedic astrology to calculate the positions of planets within the birth chart.
    • House Division: Unlike the traditional Lagna chart, which uses equal house divisions, the Chalit chart divides houses differently and can lead to variations in planetary positions.
    • Key Focus: The Chalit chart is used by some astrologers for specific types of predictions and analyses, particularly related to the influence of planets in houses. It offers an alternative perspective on planetary placements.

In summary, these different charts and chart divisions in Vedic astrology serve specific purposes and provide insights into various aspects of a person's life. The Lagna chart is the foundational chart, while the Navamsha chart focuses on marriage and relationships, the Chandra chart emphasizes emotions and the inner self, and the Chalit chart offers an alternative house division system for analyzing planetary placements. Each chart contributes to a more comprehensive understanding of an individual's astrological profile.


Alok Singh
Alok Singh