developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
Selected filter
129
results
Andrew Fletcher
•
It is really simple to switch users in Ubuntu or any other Linux distribution using the terminal, iTerm2 or your go to shell program.
All you need to do is to know the username and its account password and you can switch users with su command:
su another_usernameYou’ll be asked to enter the password of the user you want to switch to.
List all the users on Linux
Let’s say you want to create a sudo user in Linux. Probably, the very first thing to know is how to know what users are in my...
Andrew Fletcher
•
Z shell (Zsh) is a Unix shell built on top of bash (the default shell for...
Andrew Fletcher
•
Steps to get the Solr date range widget working.
Steps
Enable the Facets...
Andrew Fletcher
•
Following is a series of steps to install Tika and have it running for your Solr...
Andrew Fletcher
•
Working on an Azure server I ran a mysqldump command to generate a copy of the...
Andrew Fletcher
•
The migrate process saves the status of each running migration in the database. Any error in the code will abnormally terminate the process so the database won't be updated properly and will keep saying that "something is still running". In Drupal I had a look through the error log and came across the following message:
Migration icon_migrate_species_json is busy with another operation: ImportingHowever, this shouldn't be the situation and I had no scripts running. Now...
Andrew Fletcher
•
When attempting to backup mysql using the mysqldump command
mysqldump -u root...
Andrew Fletcher
•
To remove all the contents from a directory, you need to ask yourself:
Do I want...
Andrew Fletcher
•
How to Create New MySQL User
Before you can create a new MySQL user, you need to...
Andrew Fletcher
•
This short guide explains to you how to extract/unzip .zip archive files to a...
Andrew Fletcher
•
I prefer htop over top on my Linux server. Running a Solr index got me thinking how can I install htop on macOS Big Sur 11.4 based MacBook pro?
If you don't already know htop is comparable to the top command, but it has additional options. The htop allows you to scroll vertically and horizontally, so you can see all the processes running on the system. You can get command lines and args. Common tasks related to processes (killing, renicing) done without entering...
Andrew Fletcher
•
The generally accepted answer to a mysqldump is:
mysqldump -h [host] -u...
Andrew Fletcher
•
Wanting to create a new repository on GitHub, add in a few of the available...
Andrew Fletcher
•
On a git pull from remote dev environment to a staging environment running off...
Andrew Fletcher
•
I needed the check if a file existed in a directory as the migrate script wasn't...