Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

format

ASP.Net Membership saves changed password as plain text even with Hashed passwordFormat set

August 26, 2022 by Magenaut

I’m using the ASP.Net SqlMembershipProvider to manage my users. Here is my config:

Categories ASP.NET, Q&A Tags asp.net, format, membership, passwords Leave a comment

Date format in RangeValidator

August 25, 2022 by Magenaut

I am using RangeValidator to validate date enter in textbox and its working fine with default date format but now i want the date format in “dd/MM/yyy” but its generating excption with this date format. please provide me solution
my code:

Categories ASP.NET, Q&A Tags asp.net, datetime, format, requiredfieldvalidator Leave a comment

In ASP.NET, how can I force the format of dates in a DropDownList to “DD/MM/YYYY”?

August 25, 2022 by Magenaut

I have to build a DropDownList with the dates of the last 7 days. I would like the DropDownList displays the date as “DD/MM/YYYY”. So I created a list of dates:

Categories ASP.NET, Q&A Tags asp.net, c#, datetime, drop-down-menu, format Leave a comment

How do I print curly-brace characters in a string while using .format?

August 22, 2022 by Magenaut

Non-working example:

Categories Python, Q&A Tags curly-braces, format, python, string, string-formatting Leave a comment

How to print a string at a fixed width?

August 19, 2022 by Magenaut

I have this code (printing the occurrence of the all permutations in a string)

Categories Python, Q&A Tags format, python, python-2.7, python-3.x Leave a comment

Parsing date with timezone from an email?

August 19, 2022 by Magenaut

I am trying to retrieve date from an email. At first it’s easy:

Categories Python, Q&A Tags datetime, format, python, rfc5322, timezone Leave a comment

Python TypeError: not enough arguments for format string

August 17, 2022 by Magenaut

Here’s the output. These are utf-8 strings I believe… some of these can be NoneType but it fails immediately, before ones like that…

Categories Python, Q&A Tags format, python, string, typeerror Leave a comment

How to format date string via multiple formats in python

August 17, 2022 by Magenaut

I have three date formats: YYYY-MM-DD, DD.MM.YYYY, DD/MM/YYYY.

Categories Python, Q&A Tags date, datetime, format, python, strptime Leave a comment

Add ‘decimal-mark’ thousands separators to a number

August 17, 2022 by Magenaut

How do I format 1000000 to 1.000.000 in Python? where the ‘.’ is the decimal-mark thousands separator.

Categories Python, Q&A Tags digit-separator, format, locale, number-formatting, python Leave a comment

Parsing datetime in Python..?

August 14, 2022 by Magenaut

I have a system (developed in Python) that accepts datetime as string in VARIOUS formats and i have to parse them..Currently datetime string formats are :

Categories Python, Q&A Tags datetime, format, python Leave a comment
Older posts
Page1 Page2 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress