Step 1
If any version of postman is installed we need to remove it
sudo rm -rf /opt/PostmanStep 2
| 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: |
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; |
| <?php | |
| namespace App\Providers; | |
| use Illuminate\Support\Collection; | |
| use Illuminate\Pagination\LengthAwarePaginator; | |
| class AppServiceProvider extends ServiceProvider | |
| { | |
| public function boot() |
| [ | |
| { | |
| "id": 1, | |
| "pid": "0001", | |
| "name": "door to door", | |
| "description": null, | |
| "deleted_at": null, | |
| "created_at": "2022-05-12T15:06:38.000000Z", | |
| "updated_at": null | |
| }, |
| <?php | |
| /** | |
| * A simple PHP function that calculates an estimation cost for car importation into kenya. | |
| * | |
| * @param int $cif This is the customs value of the vehicle i.e. the Cost, Insurance & Freight paid for the vehicle. | |
| * @param int $clearance This is the clearing Agent's sum fee together with some other port handling charges. | |
| * @param int $import_duty This is 25% of the CIF value of the vehicle. | |
| * @param int $excise_duty This is 20% of the (CIF value + Import Duty). | |
| * @param int $vat This is 16% of the (CIF value + Import Duty + Excise Duty). |
| sudo apt-get install libpangox-1.0.0 libcanberra-gtk-module -y | |
| https://vpn.nic.in/resources/software/anyconnect-linux64-4.10.01075-k9.tar.gz | |
| sudo ./vpn_install.sh |
| <?php | |
| namespace App\Console\Commands; | |
| use App\Sms; | |
| use App\Traits\AT; | |
| use Illuminate\Console\Command; | |
| class SmsCron extends Command | |
| { |
| 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$$'; |