Programming

611 Articles 12 Followers


Python | Password Generator

2 Mar 2023 6 minute read 0 comments Casper_x

Password Generator   Secure your accounts with strong passwords using our fast and efficient Python script, which can generate unique passwords in just a few seconds.             What is random library ?   The ‘random’ module is a Python library that...

Rotate Array @ Dcoder

2 Mar 2023 1 minute read 0 comments Lochard

Problem: You are given an array of N length. You have to rotate the array rightwards by K rotations, that is, shift each element to the right by K positions. Print the rotated array. Input: First line contains N and K. Second line contains N integers...

What’s New in C#

24 Feb 2023 8 minute read 0 comments Shalapyyy

Think about the new features in C# 11 as organized around a small set of themes: improved developer productivity, object initialization and creation, generic math support, and runtime performance. You'll benefit from all these features, even if you'l...

Writing Clean, Maintainable Code: Tips and Best Practices

23 Feb 2023 5 minute read 0 comments Corey

Writing clean, maintainable code can be a difficult process, especially when up against time-constraints. However, taking the time to make sure you write clean, quality code that is well tested will save you headaches in the long run and will increas...

Building a Website for Sending Shiba Inu Cryptocurrency and Downloading Files: A Step-by-Step Guide with Code Examples and Error Handling

22 Feb 2023 6 minute read 0 comments -Justin

  Keep in mind this is untested code, written by AI, and may have flaws. Have fun with it and make it your own! #SHIBARMY   Give me example files for a website that allows users to send shiba inu cryptocurrency to a dead wallet and in return be gi...

Sure, here’s a full-featured NFT contract that includes some common features

20 Feb 2023 6 minute read 0 comments -Justin

The entire ChatGPT conversation has been broken down into this article. To read the full conversation with more detail and examples scroll to the end. Please note, these are untested code examples. If you speak the language, let me know in the commen...

Double the Number @ Dcoder

15 Feb 2023 1 minute read 0 comments Lochard

Problem: Given an array A of size N and K. count all the number of elements such that A[i] * 2 = K. Input: The first line of the input contains a single integer T denoting the number of test cases. The first line of each test case contains two space...

Bitwise for Dummies @ Dcoder

13 Feb 2023 1 minute read 0 comments Lochard

Problem: This is to provide you with an introductory experience of bit-wise operations. There are basically six bit-wise operations in any programming language : - AND(&), OR(|), XOR(^), NOT(~), left-shift operator(). You will be given 2 numbers a an...

Advent of Code 2022 Day 3

27 Jan 2023 1 minute read 0 comments Lochard

Sorry that I am blogging via my phone and I don't want to type too much. I will just share the finished code. You can see all of them on GitHub. --- Advent of Code 2022 Day 3 **Part 1** inputs

Advent of Code 2022 Day 2

25 Jan 2023 1 minute read 0 comments Lochard

Sorry that I am blogging via my phone and I don't want to type too much. I will just share the finished code. You can see all of them on [GitHub](https://github.com/locharp/code-snippets/tree/main/AdventOfCode). --- Advent of Code 2022 Day 2 **Part 1...