F13DEV Programming Blog

F13DEV Programming Blog
Using computer systems to solve Sudoku

June 18, 2022 by Jim

Introduction I have been into Sudoku puzzles for a while now and had the idea of trying to teach a PC to play Sudoku. This first start is pretty basic, and you'll have no trouble discovering puzzles it can't solve. Algorithm improvements may be added over time. Try the Sudoku solver Enter the [...]

PHP Loops

October 31, 2021 by Jim

Introduction Loops are used in programming to iterate over an element, either a specified number of times, or an unknown number of times, until a certain standard is reached. You have the choice of writing a single loop and specifying how it ends, and writing the same code over and over again to complete each iteration of […]

Web Accessibility: Improving the Web for All

October 15, 2021 by Jim

Introduction Web Accessibility makes the web accessible to everyone, everyone is completely different. Tools Before we dive into some of the accessibility options available, it's probably worth listing a few tools that can be helpful in finding errors and warnings on your web page. Although useful, they are not considered […]

Programming operations with mathematics

July 13, 2016 by Jim

Introduction An important part of computer programming is the implementation of mathematical operations. Mathematics can be used to implement many features in a utility; whether to integrate performances clearly associated with mathematics or implement functions that might not immediately appear as a mathematical problem to the user; similar to calculating window dimensions to ensure proper […]

OOP: write a category and create objects

July 8, 2016 by Jim

Introduction Classes and objects are a key principle of OOP (object-oriented programming). The idea behind OOP is that lessons are created to symbolize an actual world entity; This real-world entity could be a tangible object, such as a person or a car, or an intangible object, such as a car. B. a place of work or a date. This […]

comment code

July 7, 2016 by Jim

Introduction What is a code comment? Code comments are used to comment on code that constitutes software, a piece of software, or just a single line of code. When source code is compiled or executed, comments are ignored; You have no conclusions about the final product, the result of a technique or what […]

Add Twitter #HashTag and @UserName hyperlinks to plain text

June 29, 2016 by Jim

Github What does it do? This short and simple PHP function takes a plain text content string as input and returns rich HTML text. If #HashTags, Twitter @UserNames or URLs are included in the input string, they will be converted into clickable hyperlinks to their Twitter equivalent. Example Application With getLinksFromTwitterText perform // […]