This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Body ------------------------------------------------------------ */ | |
::-moz-selection, | |
::selection { | |
background-color: #600CAC; | |
color: #fff; | |
} | |
/* this will not work */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Migration_Create_Sessions extends CI_Migration { | |
// The session table structure changed for CI 3.0 | |
public function up() | |
{ | |
$fields = array( | |
'id VARCHAR(40) DEFAULT \'0\' NOT NULL', | |
'ip_address VARCHAR(45) DEFAULT \'0\' NOT NULL', | |
'timestamp INT(10) unsigned DEFAULT 0 NOT NULL', | |
'data blob NOT NULL' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
# $ php -f db-connect-test.php | |
# a quick and easy script for db connectivity | |
$dbname = 'name'; // DB name | |
$dbuser = 'user'; // user name | |
$dbpass = 'pass'; // password | |
$dbhost = 'host'; // host | |
$connect = mysql_connect($dbhost, $dbuser, $dbpass) or die("Unable to Connect to '$dbhost'"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Read more here: | |
https://developer.mozilla.org/en/CSS/@-moz-document | |
For more browser-specific hacks: | |
http://paulirish.com/2009/browser-specific-css-hacks | |
*/ | |
@-moz-document url-prefix() { | |
/* Put your Firefox specific code here. */ |