Posts

Login or Signup to Create a Post

Dev Dojo

1 day ago

View Post

DevDojo Weekly Winners Week 4 Feb 2021

The results are in, and another five awesome people are winning $20 smackaroos πŸ’° for writing on the DevDojo! If you want a chance to win $20 next week, write an article or a tutorial related to development or design, and you'll automatically be entered. Read the full details here. Without further ado, here are the weekly winner...
DevDojo Weekly Winners Week 4 Feb 2021
4
Select One:

Temani Afif

2 days ago

View Post

When will we have CSS4?

Never! There will be no V4 release of CSS. Saying it like that sounds a bit strange but don't worry, CSS will keep evolving. We need to understand how versioning works with CSS. To be more accurate, we talk about Levels. Let's refer to the official Specification: Cascading Style Sheets does not have versions in the traditional...
When will we have CSS4?
5
Select One:

Bobby Iliev

2 days ago

View Post

How to get the Laravel Query Builder to Output the Raw SQL Query?

Introduction The Eloquent ORM included with Laravel provides you with an easy way of interacting with your database. This simplifies all CRUD (Create, read, update, and delete) operations and any other database queries. When troubleshooting problems with the Laravel query builder, you might want to see the actual SQL query that...
How to get the Laravel Query Builder to Output the Raw SQL Query?
3
Select One:

Tony Lea

2 days ago

View Post

Converting Markdown to HTML in Laravel

In the latest version of Laravel, converting your markdown into HTML couldn't be easier. All you need to do is reach for the handy Str helper method and you can accomplish this in one line. Converting Markdown to HTML You can simply run the new Str::markdown() helper to convert markdown text into clean HTML, like so: {!! Str::ma...
Converting Markdown to HTML in Laravel
2
Select One:

Ruan Bekker

2 days ago

View Post

Gitlab CICD Pipeline to Deploy your Python Flask API with Postgres on Heroku

Today we will build a Restful API using Python Flask, SQLAlchemy using Postgres as our Database, testing using Python Unittest, a CI/CD Pipeline on Gitlab, and Deployment to Heroku. Should you be interested in setting up a Custom Gitlab Runner on Your Own Server for Gitlab CI have a look at the embedded post. Heroku If you don'...
Gitlab CICD Pipeline to Deploy your Python Flask API with Postgres on Heroku
1
Select One:

Ruan Bekker

2 days ago

View Post

Capturing 54 Million Passwords with a Docker SSH Honeypot

The last couple of days I observed thousands of SSH Brute Force Attacks, so I decided I will just revisit my SSH Server configuration, and change my SSH port to something else for the interim. The dashboard that showed me the results at that point in time: Then I decided I actually would like to set up an SSH Honeypot to listen...
Capturing 54 Million Passwords with a Docker SSH Honeypot
2
Select One:

Ruan Bekker

2 days ago

View Post

Encryption using PyCrypto in Python

While I'm learning a lot about encryption at the moment, I wanted to test out encryption with the PyCrypto module in Python using the Advanced Encryption Standard (AES) Symmetric Block Cipher. Installing PyCrypto: $ pip install pycrypto --user PyCrypto Example: Our AES Key needs to be either 16, 24 or 32 bytes long and our Init...
Encryption using PyCrypto in Python
1
Select One:

Joshua Arulsamy

3 days ago

View Post

How Do You start Your Journey as an Ethical Hacker?

I am currently a security researcher. I am still learning every day and would still consider myself a newbie in cybersecurity. I am writing this based on my experience so far. These are my viewpoints and may vary from person to person. If you are serious about becoming an ethical hacker, this is worth reading. I don't want to wa...
How Do You start Your Journey as an Ethical Hacker?
2
Select One:

Maya Mishra

4 days ago

View Post

10 Questions To Ask Wordpress Developer Before Closing The Deal

Hiring the right WordPress developer who meets all your requirements is indeed challenging, especially if you are doing this job for the first time. The wrong hiring will not only cost you financially, but it will delay your project as well as impact your reputation. In order to make sure you hire WordPress developers that are...
10 Questions To Ask Wordpress Developer Before Closing The Deal
3
Select One:

Petre Popescu

5 days ago

View Post

Building a form in Play Framework

Almost all websites require a form in one way or another. It can be as simple as a search field or a more complex form with many inputs and validation mechanisms. Either way, the main principles are the same and in this post, I will show you how to build a simple user registration form using Play Framework Java. We will cover al...
Building a form in Play Framework
5
Select One:

Bobby Iliev

5 days ago

View Post

How to Quickly Change the Password for a User in Laravel?

Introduction In some cases, you might want to reset the password for your Laravel user quickly. Another reason might be that you could be having problems with your emails, and the reset password email is not being delivered. However, unlike WordPress, for example, where you could simply use MD5 to encrypt your password and updat...
How to Quickly Change the Password for a User in Laravel?
4
Select One:

Bryan Borgesano

5 days ago

View Post

Adding Google Cloud Credentials to Heroku

THE PROBLEM If your project is using a package that loads credentials from a file instead of an environmental variable, configuration with Heroku can be confusing. I ran into this issue when adding @google-cloud/storage to my project. The solution I found that kept my credentials hidden and secure was using this build pack from...
Adding Google Cloud Credentials to Heroku
1
Select One:

Carter Brooksby

5 days ago

View Post

Transactional Replication on SQL Server: How it Works

One day at work, when I was still learning about replication, we set up a game: I would create a transactional replication on a dummy database and make a job that inserts and updates entries into it. The DBA and my manager would at random intervals break the replication setup in a different manner of ways, based on real life...
Transactional Replication on SQL Server: How it Works
1
Select One:

Boyan Iliev

6 days ago

View Post

JavaScript Loops And How To Use Them

Introduction When most people get asked if they know all the loops in JavaScript, the usual answer is 'The while and for loop. I know them all!'. Well, what if I told you that these aren't the only ones. There are five in total JS loops. In this post we are going to see every one of these loops in action and when you are going t...
JavaScript Loops And How To Use Them
2
Select One:

Alex Georgiev

6 days ago

View Post

Do you use Linux?

Introduction A lot of people love Linux due to its ease of use, great compatibility with almost any hardware and because it's free and open-source! Linux is not only powering almost 90% of all cloud infrastructure but more people decide to use Linux over Windows or macOS to power their desktop setups or laptops. If you're a deve...
Do you use Linux?
3
Select One:

Piyush Sinha

1 week ago

View Post

Image Editor using CamanJS

Introduction CamanJS is used for doing (ca)nvas (man)ipulation in JavaScript(JS). It is very easy to extend with new filters and plugins, and it comes with a wide array of image editing functionality, which continues to grow. It's completely library independent and works both in NodeJS and the browser. Getting Started Before we...
Image Editor using CamanJS
3
Select One:

krissanawat101

1 week ago

View Post

Submit Data to FakestoreAPI With React Form

In previous tutorial articles, we learned about adding React Table with multiple functionalities, adding React Modal, and React Form to React ecosystem. Now, this tutorial article will feature the combination of all three tutorials. The main goal of this article is to bring all of the previous stuff that we have learned together...
Submit Data to FakestoreAPI With React Form
2
Select One:

Kevin Gardner

1 week ago

View Post

8 Tips for Launching a Coding Career

As the world becomes increasingly digital, demand for skilled IT professionals continues to boom. Whether you are a career changer or a new graduate looking for your first job, these six tips can help you launch your coding career. Learn How To Sell Yourself Even if you are relatively new to the world of coding, you probably hav...
8 Tips for Launching a Coding Career
2
Select One:

Bello Noah

1 week ago

View Post

What is React?

This article is sponsored by Flutterwave - Flutterwave is the easiest way to make and accept payments both online and offline from customers anywhere in the world. It is absolutely free! React happens to be the most popular JavaScript framework sourced from Stack Overflow Developer Survey (2020). It is the best alternative to...
What is React?
2
Select One:

Dev Dojo

1 week ago

View Post

DevDojo Weekly Winners Week 3 Feb 2021

Wow! We're blown away by the number of tutorials we received last week πŸš€ I posted an article announcing that we will select 3 tutorials/articles every week to be featured and win $20 each πŸ’° Results The results are in! However, we're not going to select only 3 winners. We're going to select 5. Without any particular order here a...
DevDojo Weekly Winners Week 3 Feb 2021
7
Select One:

Riccardo Battiato

1 week ago

View Post

Tailwind CSS - all you need to know to get started

Tailwind CSS is a relatively new CSS framework that can be easily seen as the next big revolution of the way we style our HTML elements. Tailwind encourages and facilitates a utility-first approach where you write as few custom styles as possible and use hundreds of small, low-level utility (or helper) classes instead. For this...
Tailwind CSS - all you need to know to get started
2
Select One:

Sam

1 week ago

View Post

How to convert an Array into a Comma-Separated List in JavaScript

In this article, we'll cover how to convert an array into a comma-separated list in Javascript using either the toString() or join() methods. Let's get it started! toString() We'll go over the toString() method first, which will result in the formation of a string concatenated by commas. Here's what the code looks like: const ar...
How to convert an Array into a Comma-Separated List in JavaScript
2
Select One:

Temani Afif

1 week ago

View Post

Wrapping text inside a circular shape

Yes, we are going to make a text wrap perfectly inside a circular shape. No JS, no SVG, no external plugin. Only few lines of CSS and a basic HTML structure. {% codepen https://codepen.io/t_afif/pen/dyOWVrr %} Explanation <div class="box"> <i></i> Lorem ipsum .. </div> div.box { --s:450p...
Wrapping text inside a circular shape
3
Select One:

Petre Popescu

1 week ago

View Post

You should always do server-side validation! Always!

Original article with another example on my personal website Web technologies have evolved a lot in the past few years, both on the server-side as well as on the client’s side. There are many web frameworks, UI kits, JavaScript libraries and everything you need to easily and rapidly develop a website or web application. JavaScri...
You should always do server-side validation! Always!
4
Select One:

Piyush Sinha

1 week ago

View Post

Unit Testing with Mocha & Chai

Developers are responsible for the consistency and stability of a product. But they can’t accomplish it without testing. In this article, we will learn how to set up the Mocha unit testing framework along with Chai which is an assertion library and write some simple tests. Getting Started Let's start by creating our project fold...
Unit Testing with Mocha & Chai
2
Select One:

krissanawat101

1 week ago

View Post

Getting a Start in React Hook Form

We know that forms are an essential component in web apps. They are specially used to interact with the end-users. It helps to collect data from the end-users and perform operations accordingly. They are widely used in Sign-up and Sign-in processes or registering any query. It is a primary component that enables text-based inter...
Getting a Start in React Hook Form
2
Select One:

Vlad Pasca

1 week ago

View Post

5 things you need to do when learning how to code

If you found value in this thread you will most likely enjoy my tweets too so make sure you follow me on Twitter for more information about web development and how to improve as a developer. 1. You need to be consistent Coding is something new for your brain and it needs to get used to that. How you do this? By exposing it to...
5 things you need to do when learning how to code
4
Select One:

Ruan Bekker

1 week ago

View Post

Improve MySQL Write Performance Using Batch Writes

I am no DBA, but I got curious when I noticed sluggish write performance on a mysql database, and I remembered somewhere that you should always use batch writes over sequential writes. So I decided to test it out, using a python script and a mysql server. What will we be doing I wrote a python script that writes 100,000 records...
Improve MySQL Write Performance Using Batch Writes
2
Select One:

Ruan Bekker

1 week ago

View Post

Setup a Hugo Blog with the Kiera Theme

In this tutorial we will setup a Hugo Blog with the Kiera theme on Linux and will be using Ubuntu for this demonstration, but since Hugo runs on Go, you can run this on Windows, Linux or Mac. Dependencies We require git to download the theme from github, so first update your package managers indexes, and install git: $ apt updat...
Setup a Hugo Blog with the Kiera Theme
1
Select One:

Ruan Bekker

1 week ago

View Post

Setup AWS S3 Cross Account Access

In this tutorial, I will demonstrate how to set up cross-account access for S3, from using two AWS Accounts. Scenario We will have 2 AWS Accounts: a Green AWS Account which will host the IAM Users, this account will only be used for our IAM Accounts. a Blue AWS Account which will be the account that hosts our AWS Resources,...
Setup AWS S3 Cross Account Access
1
Select One:

Loading More Content

Back to DevDojo