Create your own Discord bot with Python

Gunnard/ November 16, 2021/ Development, Learning/ 0 comments

What is the best way to develop a Discord bot? You’ve always wondered about this, and we’re here to walk you through the process of creating your own Discord bot. You may make a Discord bot on any platform, including smartphones, tablets, and computers. We’ll use repl.it to run the bot in this tutorial, but you may also run it

Read More

Bootstrap breakpoint show / hide cheatsheet

Gunnard/ June 11, 2021/ css, Development/ 0 comments

I have been working on a project for a little while now and I have kept a tab open to this list the ENTIRE time. This has helped with every situation I have come across when it involves Bootstrap 5 breakpoints and how to show or hide elements easily. This list shows how to hide elements at a certain point “and down” i.e. show at large but hide at anything medium and down. Also the reverse is listed — show from extra small to medium and then hide.

How to Autosign git commits

Gunnard/ April 7, 2021/ PHP/ 0 comments

In the light of the recent PHP Git server situation, teams are double-downing on signing commits. Signing your commit with your GPG key lets your team know that this code came from the person whose name is on the commit and the code has not been tampered with. Normally you would just use: git commit -S -m’My Git message‘ This

Read More

JetBrains software Teamcity possibly used in Solarwinds hack

Gunnard/ January 7, 2021/ Development, hacking, PHP, Security/ 0 comments

In a New York Times article released on January 6, 2021, JetBrains and their Continuous Integration / Continuous Deployment (CI/C) application Teamcity were confirmed to be used by recently hacked software company SolarWinds.

How can I prevent SQL injection in PHP?

Gunnard/ November 4, 2020/ Development, hacking, PHP, Security/ 0 comments

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 meant to be used as a generalization for any database

Read More

PHP filter functions

Gunnard/ October 26, 2020/ Development, PHP/ 0 comments

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 the code below to see how these functions work and

Read More

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

Gunnard/ October 12, 2020/ Development, Full Stack, Learning/ 0 comments

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 there is a very basic questions like this one “What

Read More

Free PHP Malware and Security scanners [Part 1]

Gunnard/ October 8, 2020/ Development, Devops, PHP, Security/ 0 comments

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 testing or in this case security vulnerabilities and malware infestations.

Read More

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

Gunnard/ October 8, 2020/ Development, Devops/ 0 comments

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 over QUIC. Why do we need this? Blame the xennials.

Read More

Practice typing by typing a book

Gunnard/ October 6, 2020/ Fun, Learning, Random/ 0 comments

TypeLit.io is a fantastic idea. This site will let you improve your typing skills by typing actual books. No more typing about foxes and jumping. Typelit will let you choose from 1984, Alice in Wonderland and even the King James Bible.