Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
<?php | |
// Database Constants | |
define("DB_SERVER", "127.0.0.1"); | |
define("DB_USER", "root"); | |
define("DB_PASS", "happy"); | |
define("DB_NAME", "folio"); | |
// 1. Create a database connection | |
$connection = mysql_connect(DB_SERVER, DB_USER, DB_PASS); | |
if ( !$connection ) { |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
An introduction to curl
using GitHub's API.
Makes a basic GET request to the specifed URI
curl https://api.github.com/users/caspyin
Includes HTTP-Header information in the output
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "PublicReadGetObject", | |
"Effect": "Allow", | |
"Principal": { | |
"AWS": "*" | |
}, | |
"Action": "s3:GetObject", |