Development

Why is .gitignore not ignoring my files?

data codes through eyeglasses

.gitignore only ignores files that are not part of the repository yet. If you already git added some files, their changes will still be tracked. To remove those files from your repository (but not from your file system) use git rm –cached on them.

Create a Discord Bot Using Asynchronous PHP in 4 steps

Intro The landscape right now for Discord bots is filled with python and javascript. These work well but what about our beloved PHP? There is a project named Discord-PHP which bridges the gap for us using asynchronous PHP to keep our bot alive. Prerequisites PHP 7.2 or higher Composer ext-json ext-zlib 1. Create a new …

Create your own Discord bot with Python

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 …

Bootstrap breakpoint show / hide cheatsheet

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

internet screen security protection

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 …

JetBrains software Teamcity possibly used in Solarwinds hack

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.