Skip to content

Instantly share code, notes, and snippets.

View 3rn3st0's full-sized avatar
😎
Actualizanding ebrising

Ernesto L. Chapon 3rn3st0

😎
Actualizanding ebrising
View GitHub Profile
@stavrossk
stavrossk / Import CSV file using PDO.php
Created May 11, 2014 13:00
Import a CSV file into a MySQL database using PHP PDO.
<?php
$databasehost = "localhost";
$databasename = "test";
$databasetable = "sample";
$databaseusername="test";
$databasepassword = "";
@sharpmachine
sharpmachine / jetpack.php
Created January 4, 2013 21:18
Get Jetpack to work on localhost: Replace the wp-content/plugins/jetpack/jetpack.php with this:
<?php
/*
* Plugin Name: Jetpack by WordPress.com
* Plugin URI: http://wordpress.org/extend/plugins/jetpack/
* Description: Bring the power of the WordPress.com cloud to your self-hosted WordPress. Jetpack enables you to connect your blog to a WordPress.com account to use the powerful features normally only available to WordPress.com users.
* Author: Automattic
* Version: 2.0.4
* Author URI: http://jetpack.me
* License: GPL2+