Prashant Kumar Sahu

Welcome to my corner in the internet.

View on GitHub

Python Day Today hacks

  • Convert binary to decimal

                          int(b,2)
                          This takes as input 'b', a binary string and returns int.
                      
  • Convert decimal to binary

                        bin(x)
                        This takes as input decimal number x , and returns binary string as '0b...'
                        If we give bin(10) , we have '0b1010'
                      
  • Get Ascii value of a character.

                      ord(x)
                      Given a character as input ord() returns the ASCII Code
                      chr(num)
                      To compliment we have, chr(),which takes as input a number and returns the mapped character in ASCII table
                    

Designer Templates

We've crafted some handsome templates for you to use. Go ahead and continue to layouts to browse through them. You can easily go back to edit your page before publishing. After publishing your page, you can revisit the page generator and switch to another theme. Your Page content will be preserved if it remained markdown format.

Rather Drive Stick?

If you prefer to not use the automatic generator, push a branch named gh-pages to your repository to create a page manually. In addition to supporting regular HTML content, GitHub Pages support Jekyll, a simple, blog aware static site generator written by our own Tom Preston-Werner. Jekyll makes it easy to create site-wide headers and footers without having to copy them across every page. It also offers intelligent blog support and other advanced templating features.

Authors and Contributors

You can @mention a GitHub username to generate a link to their profile. The resulting <a> element will link to the contributor's GitHub Profile. For example: In 2007, Chris Wanstrath (@defunkt), PJ Hyett (@pjhyett), and Tom Preston-Werner (@mojombo) founded GitHub.

Support or Contact

Having trouble with Pages? Check out the documentation at https://help.github.com/pages or contact support@github.com and we’ll help you sort it out.