Communicating across UDP is useful for peer-to-peer and intermittent connections, where TCP is not practical. Below is an example of communicating via UDP using C#. To use it:
Category: Programming
Ideal Methodology
Agile Is Not Ideal. SCRUM Is Not Ideal. Ideal Methodology picks up where Agile Methodology left off. Its motto is as follows: “Those who can, do. Those who can’t, complain.” Agile and Scrum represent the mindset that complaining and intimidating people are the main methods of achieving project requirements. Agile and Scrum is simply institutionalized …
Family tree genealogical data JSON format template
Below is an open-source JSON format template to store an individual’s genealogical data, for your family tree. { “surname”: “”, “maidenSurname”: “”, “name”: “”, “nickname”: “”, “idNumber”: “”, “gender”: “m/f”, “race”: “”, “ethnicGroup”: “”, “height”: “”, “firstLanguage”: “”, “otherLanguage”: [“”], “birth”: [“Year”, “Month”, “Day”], “birthWhere”: “”, “death”: [“Year”, “Month”, “Day”], “deathWhere”: “”, “deathCause”: “”, “married”: …
Generate a free and valid SAN SSL certificate for multiple domains
So, you want to generate a single, free and valid SSL certificate for all your domains? Well, you’ve come to the right place! A tool that will do exactly that for you, is called letsencrypt-win-simple: A Simple ACME Client for Windows. Download the tool from this link. The tool generates free and valid SSL certificates …
PHP PDO with MySQL, PostgreSQL or SQLite
I use PHP daily, and so should you. The fact that you’re here, says you know it too. PHP is a good language (and web ecosystem) that doesn’t force you to use any flavor of the week framework or design pattern, dreamt up by some self-made benevolent superhero zen guru who understands everything, and who …
How to write an inverse regex that will match when a string is not present
(?=^((?!the text that should not be present).)+$)(^the text that should be present$) Here is a Javascript snippet to check that a string does not contain two dashes (–) directly following each other: var regex = /(?=^((?!–).)+$)(^[a-z\-]{1,10}$)/; true === regex.test(‘abc-def’); true === regex.test(‘-abc-def-‘); false === regex.test(‘abc–def’); false === regex.test(‘abc—def’);
5 minute tutorial on using Azure Table Storage
So, you’ve decided to start using Microsoft Azure Table Storage. Note that you can use any popular programming language with Azure table storage, not just the well-known .NET languages. Behind the scenes, Azure table storage is just a REST/JSON API. That means, even though Azure is made by Microsoft, it doesn’t mean you have to …
Facebook activity history automatic delete script
If you’re not sure how to follow the instructions in this post, don’t worry. Feel free to ask a family member, friend or colleague to help you with it. Warning! Danger! Beware! Watch out! Disclaimer: Be prepared to lose your comments, posts, and other information stored about you, regardless of whether it was added to …
Ternary operator syntax is not sufficient
Programming languages need an extra syntax operator: a “binary truth operator”. We all know the ternary operator: value = if_this_is_true ? do_this : else_do_this; Let’s look at an example of the ternary operator: firstName = “John” surname = “Doe” age = 40 fullName = firstName + ” ” + surname + (age > 0 ? …