Skip to content

Instantly share code, notes, and snippets.

View Hodzinek's full-sized avatar

Ing. David Horsák Hodzinek

View GitHub Profile
@shak18
shak18 / MySQL.php
Last active September 16, 2023 14:42
Simple PHP MYSQLi Class
<?php
class MySQL {
private $link = null;
private $info = array(
'last_query' => null,
'num_rows' => null,
'insert_id' => null
);
private $connection_info = array();
@irazasyed
irazasyed / homebrew-permissions-issue.md
Last active June 14, 2024 17:01
Homebrew: Permissions Denied Issue Fix (OS X / macOS)

Homebrew Permissions Denied Issues Solution

sudo chown -R $(whoami) $(brew --prefix)/*

@mloberg
mloberg / mysql.php
Created August 30, 2011 18:00
Simple PHP MySQL Class
<?php
class Mysql{
static private $link = null;
static private $info = array(
'last_query' => null,
'num_rows' => null,
'insert_id' => null
);