Skip to content

Instantly share code, notes, and snippets.

View janzenfaidiban's full-sized avatar
🏠
Working from everywhere

Janzen Faidiban janzenfaidiban

🏠
Working from everywhere
View GitHub Profile
<?php
namespace App\Http\Controllers;
use App\Models\Country;
class CountryController extends Controller
{
/*
| INDEX
| showing table data of published records or "status=publish"
Title Message
Created Success! Your new entry has been created and added to the system
Updated Your data has been successfully updated and saved
Moved to Trash Your data has been moved to the trash. It can be recovered if needed
Restored Your data has been successfully restored from the trash. It is now available for use again
Deleted permanently Your data has been permanently deleted from the system. This action cannot be undone
Action Failed An error occurred while performing the action. Please try again later or

Tutorial Video

| https://www.youtube.com/watch?v=IcZ6HteoI3A

Install Laravel 8

composer create-project --prefer-dist laravel/laravel join_table_laravel_8

Change the .env file configuration

DB_DATABASE=join_table_laravel_8

Create new project via composer

composer create-project --prefer-dist laravel/laravel project_name 8 

Adding laravel breeze dev

composer require laravel/breeze --dev
@janzenfaidiban
janzenfaidiban / python-django-install.md
Last active August 28, 2020 06:30
Python Django Install - Command Line

Python Django Install - Command Line

sudo apt-get install python3

sudo apt-get install python3-pip

sudo apt install python3-venv

pip3 install Django

@janzenfaidiban
janzenfaidiban / install-vscode.md
Last active August 24, 2020 02:48
Install Visal Studio Code

Install Visal Studio Code

sudo apt-get update

GIT Commands

Menginstal git

upt-get update atau upt-get install git-core

Menampilkan versi git

git --version

Menampilkan file ".gitconfig"

cat ~/.gitconfig atau git config --list

Ubuntu Commands

Reboot atau merestart komputer

sudo reboot

Mematikan komputer

shutdown atau shutdown now

Membuka File Manager

nautilus --browser

Instal Laravel di Ubuntu

Update Ubuntu System

sudo apt-get update

Instal PHP

sudo apt-get install php7.2-cli

Instal CURL(Client URL)

sudo apt-get install curl