- Capital letters do the opposite of small letters in command (Press shift to trigger capital letters)
_
(underscore) to move the cursor at the beginning of line (doesn't switch to insert mode)0
(zero) moves the cursor to the zeroth position of the line (doesn't switch to insert mode)
$
(dollar) to move the cursor at the end of line (doesn't switch to insert mode)d$
will delete from wherever your cursor is till the end of the linef<character>
to move cursor to the first occurrence of<character>
f(
to move cursor to first occurence of(
t<character>
to move cursor to upto but not on the first occurrence of<character>
t(
to move cursor to first occurence of(
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "🚀 Memulai proses instalasi PHP, MariaDB, dan Web Server di Arch Linux..." | |
# Update sistem terlebih dahulu | |
echo "🔄 Memperbarui sistem..." | |
sudo pacman -Syu --noconfirm | |
# 1. Instal PHP dan ekstensi penting | |
echo "📦 Menginstal PHP dan ekstensi umum..." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "🚨 Mulai proses penghapusan PHP, Web Server, dan MySQL dari sistem Anda..." | |
# Fungsi bantu hapus paket jika ditemukan | |
remove_pkg() { | |
local pattern="$1" | |
local pkgs=$(pacman -Qq | grep -E "$pattern") | |
if [[ -n "$pkgs" ]]; then | |
echo "🧹 Menghapus paket: $pattern ..." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "🚨 Mulai proses penghapusan PHP, Web Server, dan MySQL dari sistem Anda..." | |
# 1. Hapus PHP dari pacman (repo resmi) | |
echo "🧹 Menghapus PHP dari pacman..." | |
sudo pacman -Rns --noconfirm $(pacman -Qsq php) 2>/dev/null | |
# 2. Hapus Web Server: Apache & Nginx | |
echo "🧹 Menghapus Web Server (Apache dan Nginx)..." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Http\Livewire\Stats; | |
use Illuminate\Support\Facades\DB; | |
use Livewire\Component; | |
class DistanceByYear extends Component | |
{ | |
public $chartId; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div> | |
<section class="mt-10"> | |
<div class="mx-auto max-w-screen-xl px-4 lg:px-12"> | |
<!-- Start coding here --> | |
<div class="bg-white dark:bg-gray-800 relative shadow-md sm:rounded-lg overflow-hidden"> | |
<div class="flex items-center justify-between d p-4"> | |
<div class="flex"> | |
<div class="relative w-full"> | |
<div class="absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"> | |
<svg aria-hidden="true" class="w-5 h-5 text-gray-500 dark:text-gray-400" |
NewerOlder