Assyd974 (assydcrypto)

Assyd974

Now sharing dev notes along my web3 journey Crypto nerd, gamer, guitarist, 20+ years FS dev, bank executiv, IT project manager and web3 dev

10 Followers

Recent casts

Top casts

Tip of the day #21 - Python get the trace ! Do you know that you can get the type and the trace of an exception you caught ? That’s quite useful when you don’t know yet the exact typology of exception you might have to handle. Just like this : import traceback try: something() except Exception as ex: print(‘Exception type=‘ + str(type(ex))) traceback.print_exc() # or traceback.print_exception(*sys.exc_info()) Have fun, stay safe and be nice until next time, cheers ! 🤘🏼🍻 #Python #pythonprogramming

  • 0 replies
  • 0 recasts
  • 11 reactions

Tip of the day #19 - CSS Zoom zoom zoom ! Do you know you can simply zoom on elements when « mousing hover » ? Can be nice in some UI, for auto zoom an images for example, simply do that : img:hover { transform: scale(1.2); } #CSS #html

  • 0 replies
  • 0 recasts
  • 9 reactions

Tip of the day #22 - ReactJS display HTML Do you know that in ReactJS you can super easily render HTML code stored in a variable ? I found a magic package for that : html-react-parser. Just « import parse from 'html-react-parser’; » And « parse(any_variable_containing_html) » in your react code, that's it ! Have fun, stay safe and be nice until next time, cheers ! 🤘🏼🍻 #javascript #Node #reactjs #CSS #html

  • 0 replies
  • 0 recasts
  • 11 reactions

Tip of the day #22 - ReactJS display HTML Do you know that in ReactJS you can super easily render HTML code stored in a variable ? I found a magic package for that : html-react-parser. Just « import parse from 'html-react-parser’; » And « parse(any_variable_containing_html) » in your react code, that's it ! Have fun, stay safe and be nice until next time, cheers ! 🤘🏼🍻 #javascript #Node #reactjs #CSS #html

  • 0 replies
  • 0 recasts
  • 9 reactions

Onchain profile

Ethereum addresses