Menu Home

Stop spammers commenting on WordPress media files

man wearing brown suit jacket mocking on white telephone

A website I worked on last year, recently had a wave of media spam comments hit my inbox. There is no easy way within WordPress to turn off commenting for media items, especially if you have >100 items and just want it DONE! The solution I found was a quick SQL query:

British court rejects extradition to U.S. of Julian Assange

Julian Assange

The U.S. government has been waiting the British court’s ruling for some time now and on Monday (1/4/21) the court made their announcement. No extradition for Julian Assange on charges pertaining to illegally obtaining and sharing classified material related to national security.

Bitcoin Faucets, too good to be true? 2021 edition

pexels-photo-5980879.jpeg

Starting Friday 1/1/2021 I will be tracking my faucet activity on Coinpot and the affiliated Moon[coin] faucets. Crypto faucets are a way of gaining ad revinue for the host in exchange of micro crypto coins mainly satoshis. Named for the elusive creator of Bitcoin Satoshi Nakamori. A satoshi is equal […]

Linux One-liners

black screen with code

Who doesn’t love a good Linux one-liner? To me they are the epitome of skill. They represent the ability to not only know what command needs to happen but how to initiate this in a very efficient way. For example one of my favorite commands I am telling people all […]

How can I prevent SQL injection in PHP?

code projected over woman

Preventing SQL injections is a popular topic. #1 on stackoverflow (for php) and also listed on the OWASP top 10. So what is an SQL Injection? The first part “SQL” refers to Sequential Query Language which is used in querying databases like Mysql, Postgres SQL or mariaDB. The term is […]

Twitter Alternatives

Believe it or not, Twitter is not the only way to share your thoughts on the internet. Well, in light of recent behavior we’ve come to understand that Twitter is the adult and we all are the teenagers living under their roof. But just like a teenager, there are ways […]

PHP filter functions

man in grey sweater holding yellow sticky note

Filtering in PHP is super easy with the built in filter_var() function. Filtering is essential when taking in form input or applying logic to any set of data. This is especially crucial when sanitizing user input in order to prevent XSS and Sql injection attacks. filter_var ( mixed$variable [, int $filter = FILTER_DEFAULT [, mixed$options ]] ) : mixed Grab […]

What is the difference between GET and POST? {Developer Interview Questions}

Interview questions for developers are by nature “trick questions”. I say this because I have seen it too many times. On one hand, the question will be a complex narrative with multiple variables and things to consider, yet the answer is clear and straight forward. And on the other hand […]

Free PHP Malware and Security scanners [Part 1]

Exakat Exakat is a tool for analyzing, reporting and assessing PHP code source efficiently and systematically. Exakat processes PHP 5.2 to 7.4 and 8.0 code, as well as reporting on security, performance, code quality, migration. –Exakat docs Static analysis of code is a great tool to use whether for unit […]

HTTP/3 and IETF QUIC coming to a chrome near you

But first…. Are we really at http/3? and what the heck is IETF QUIC? QUIC is a new networking transport protocol that combines the features of TCP, TLS, and more. HTTP/3 is the latest version of HTTP, the protocol that carries the vast majority of Web traffic. HTTP/3 only runs […]