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
# mkdir -p slim_bloggin_app/{app/{routes,views},public/{css,js,img}} && cd slim_bloggin_app && touch app/bootstrap.php app/routes.php public/index.php public/.htaccess | |
# tree -a | |
. | |
├── .DS_Store | |
├── app | |
│ ├── bootstrap.php | |
│ ├── routes | |
│ ├── routes.php | |
│ └── views |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> | |
<meta name="description" content=""> | |
<meta name="author" content="Umanda Jayobandara"> | |
<link rel="shortcut icon" href="assets/images/ico/favicon.ico"> |
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
SELECT TABLE_NAME | |
FROM INFORMATION_SCHEMA.TABLES | |
WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_SCHEMA='dbName' |
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
/* ---------------------------------------------------------- */ | |
/* */ | |
/* A Less mixine bundle */ | |
/* */ | |
/* http://umandajayobandara.com/ */ | |
/* */ | |
/* */ | |
/* ---------------------------------------------------------- */ | |
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
/** | |
<div class="arrow-up"></div> | |
<div class="arrow-down"></div> | |
<div class="arrow-left"></div> | |
<div class="arrow-right"></div> | |
The idea is a box with zero width and height. | |
The actual width and height of the arrow is determined by the width of the border. | |
In an up arrow, for example, the bottom border is colored while the left and right are transparent, which forms the triangle. |
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
# Composer | |
vendor | |
vendor/* | |
!public/assets/js/vendor | |
!public/assets/js/vendor/* | |
!public/assets/css/vendor | |
!public/assets/css/vendor/* | |
composer.phar | |
composer.lock |
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
$("#input").autocomplete({ | |
open: function(event, ui) { | |
$('.ui-autocomplete').off('menufocus hover mouseover mouseenter'); | |
} | |
}); |
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
$("#input").autocomplete({ | |
open: function(event, ui) { | |
$('.ui-autocomplete').off('menufocus hover mouseover mouseenter'); | |
} | |
}); |
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
.htaccess.sample | |
.modgit/ | |
.modman/ | |
app/code/community/Phoenix/ | |
app/code/community/Cm/ | |
app/code/core/ | |
app/design/adminhtml/default/default/ | |
app/design/frontend/base/ | |
app/design/frontend/rwd/ | |
app/design/frontend/default/blank/ |