Step 1
If any version of postman is installed we need to remove it
sudo rm -rf /opt/Postman
Step 2
sudo apt-get update && sudo apt-get upgrade | |
sudo apt-get install postgresql postgresql-contrib | |
sudo adduser postgres | |
sudo passwd postgres | |
usermod -a -G sudo postgres | |
su - postgres | |
psql -d template1 -c "ALTER USER postgres WITH PASSWORD 'Rtcv39$$';" | |
createuser montanabay --pwprompt |
#!/bin/bash | |
# Determine file extension for Vue.js with TypeScript | |
FILE_EXTENSION=".vue" | |
# Set up the desired project directory structure for Vue | |
DIRECTORIES=( | |
"src/assets/images" | |
"src/assets/styles" | |
"src/components/common" |
#!/bin/bash | |
# Prompt the user for the application name | |
echo "Enter your application name:" | |
read APP_NAME | |
# Determine file extension for Vue.js with TypeScript | |
FILE_EXTENSION=".vue" | |
# Initialize the Vite app using the specified name with the Vue TypeScript template |
Background page is kind of like you own mini server - it is a completely isolated page that has nothing to do with pages a user visits. It is used for controlling the rest of extension components as it is always running in background. | |
Content scripts are pieces of javascript code that are getting injected into actual pages a user visits and can access and modify parent page's DOM. | |
So to get your extension working you need to remove | |
<script src="jquery.min.js"></script> | |
<script src="content.js"></script> | |
from background page, and inject jquery as a content script either through manifest: |
sudo ufw allow from any to any port 3306 proto tcp | |
sudo apt update | |
sudo apt install mysql-server | |
sudo mysql_secure_installation | |
sudo mysql | |
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'Rtcv39$$'; | |
GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost'; | |
CREATE USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY 'Rtcv39$$'; | |
ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY 'Rtcv39$$'; |
PART 1; is what new tenants interact with when they dial our ussd for the first time. is also what existing tenants interact with when applying to new property unit tenancy.
(*) NEW TENANCY MENU
[INPUT] PROPERTY UNIT CODE
[SELECTION] CONFIRMATION
1) CONTINUE -> send to tenant onboarding and property unit assigning action
2) BACK -> send to property unit code input
<?php | |
namespace App\Http\Controllers; | |
use Illuminate\Contracts\Auth\Authenticatable; | |
use Illuminate\Foundation\Auth\Access\AuthorizesRequests; | |
use Illuminate\Foundation\Bus\DispatchesJobs; | |
use Illuminate\Foundation\Validation\ValidatesRequests; | |
use Illuminate\Http\JsonResponse; | |
use Illuminate\Routing\Controller as BaseController; |
git config --global color.ui true | |
git config --global user.name "Wagura Maurice" | |
git config --global user.email "business@waguramaurice.com" | |
git config --global user.signingkey [secret-gpg-key-id] | |
git config --global commit.gpgsign true | |
git config --global gpg.program $(which gpg) | |
ssh-keygen -t rsa -b 4096 -C "business@waguramaurice.com" | |
cat ~/.ssh/id_rsa.pub |
<?php | |
namespace App\Providers; | |
use Illuminate\Support\Collection; | |
use Illuminate\Pagination\LengthAwarePaginator; | |
class AppServiceProvider extends ServiceProvider | |
{ | |
public function boot() |