Skip to content

Instantly share code, notes, and snippets.

View YeudaWitman's full-sized avatar
🖥️
Working...

Yehuda Witman YeudaWitman

🖥️
Working...
View GitHub Profile
public List<List<Integer>> combinationSum(int[] candidates, int target) {
}
@YeudaWitman
YeudaWitman / pdocrash.php
Created February 23, 2018 13:29 — 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