Programming

620 Articles 12 Followers

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

  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...

-Justin 6 minute read 22 Feb 2023 0 comments $0.12

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

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...

-Justin 6 minute read 20 Feb 2023 0 comments $0.05

Double the Number @ Dcoder

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...

Lochard 1 minute read 15 Feb 2023 0 comments $0.02

Bitwise for Dummies @ Dcoder

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...

Lochard 1 minute read 13 Feb 2023 0 comments $0.01

Advent of Code 2022 Day 3

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

Lochard 1 minute read 27 Jan 2023 0 comments $0.02

Advent of Code 2022 Day 2

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...

Lochard 1 minute read 25 Jan 2023 0 comments $0.01

Advent of Code 2022 Day 1

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 1 **Part 1** inputs

Lochard 1 minute read 24 Jan 2023 0 comments $0.07

1. Introduction to web development

This series of blog posts is going to teach you how to create a fully interactive website. We'll start with the basics of HTML, then add some CSS. After introducing you to CSS, we'll then go back over both HTML and CSS in a bit more detail, so that y...

Jadders 3 minute read 16 Jan 2023 0 comments $0.02

Kivy Python canvas

Today, we will look at canvas. You can operate with canvas in .py file using with self.canvas:; or in .kv file using canvas:. What is canvas Canvas is a place which contains some objects. For example: Rectangle RoundedRectangle Color Ellipse We'll...

Sthappened 2 minute read 22 Dec 2022 1 comment $0.02

Perl - Using conditionals (first part)

We finally come to the use of conditionals in Perl (the famous if and else). If conditional The basic if structure is like this: if (condition) { say "The condition is true"; } This code means that, if the expression in the condition is true, the...

lingy 2 minute read 15 Dec 2022 0 comments $0.13