Skip to content

Instantly share code, notes, and snippets.

View Munaa8805's full-sized avatar
๐Ÿ˜ƒ
I may be slow to respond.

Munaa Munaa8805

๐Ÿ˜ƒ
I may be slow to respond.
View GitHub Profile
@Munaa8805
Munaa8805 / pdocrash.php
Created January 31, 2025 15:50 — forked from bradtraversy/pdocrash.php
PDO & Prepared Statements Snippets
<?php
$host = 'localhost';
$user = 'root';
$password = '123456';
$dbname = 'pdoposts';
// Set DSN
$dsn = 'mysql:host='. $host .';dbname='. $dbname;
// Create a PDO instance
@Munaa8805
Munaa8805 / terminal-commands.md
Created September 19, 2022 13:24 — forked from bradtraversy/terminal-commands.md
Common Terminal Commands

Common Terminal Commands

Key Commands & Navigation

Before we look at some common commands, I just want to note a few keyboard commands that are very helpful:

  • Up Arrow: Will show your last command
  • Down Arrow: Will show your next command
  • Tab: Will auto-complete your command
  • Ctrl + L: Will clear the screen
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.