This file contains 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
/* -- BAD -- */ | |
#identifier { | |
key: value; | |
} | |
#identifier{ | |
key:value; | |
} | |
#identifier |
This file contains 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
/* -- BAD -- */ | |
#identifier { | |
key: value; | |
#anotheridentifier { | |
key: value; | |
} | |
} | |
#identifier { | |
key: value; |
This file contains 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
/* -- COMMENTING -- */ | |
/* -- 1linecomment -- */ or /* comment */ | |
/* ============================================================================= | |
sectionname | |
========================================================================== */ | |
/* -- SHORT HAND CSS -- */ | |
/* -- BAD -- */ |
This file contains 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
/* -- LESS VARIABLE NAMES -- */ | |
@color_red: #F00; | |
@color_green: #0F0; | |
/* -- LESS MIXINS -- */ | |
.ownmixin(@par: 10px) { | |
margin: 2px @par; | |
} | |
/* -- SUGESTED ORDENING -- */ |
This file contains 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
function uri_parameters(){ | |
var prmstr = window.location.search.substr(1); | |
var prmarr = prmstr.split ("&"); | |
var params = {}; | |
for ( var i = 0; i < prmarr.length; i++) { | |
var tmparr = prmarr[i].split("="); | |
params[tmparr[0]] = tmparr[1]; | |
} | |
return params; |
This file contains 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 | |
namespace Fuel\Migrations; | |
class refactor_created_at_and_updated_at { | |
public function up() { | |
$tables = \DB::list_tables(); | |
foreach ($tables as $table) { | |
\Cli::write($table); | |
if(\DBUtil::field_exists($table, array('created_at', 'updated_at'))) { |
This file contains 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
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
# SVN # |
This file contains 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
<!-- copy this to YOUR_THEME.tmTheme--> | |
<dict> | |
<key>name</key> | |
<string>diff: deleted</string> | |
<key>scope</key> | |
<string>markup.deleted</string> | |
<key>settings</key> | |
<dict> | |
<key>background</key> | |
<string>#EAE3CA</string> |
This file contains 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 | |
/** | |
* The development database settings. | |
*/ | |
return array( | |
'default' => array( | |
'type' => 'mysqli', | |
'connection' => array( | |
'hostname' => '127.0.0.1', |
OlderNewer