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
//just some emmet lines to test it | |
//ul sample | |
ul>li{Item $}*4 | |
//page header sample | |
#page>div.logo+ul#navigation>li*5>a{Item $} | |
//navbar sample | |
.navbar>ul>li*4>a[href=#]{link $} |
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
SELECT CONCAT( 'DROP TABLE ', GROUP_CONCAT(table_name) , ';' ) | |
AS statement FROM information_schema.tables | |
WHERE table_name LIKE 'prefix_%'; |
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
'use strict'; | |
//http://jsfiddle.net/maztch/efccbja5/7/ | |
angular.module('app') | |
.directive('full', function($window) { | |
return({ | |
restrict: 'A', | |
link: function ( $scope, element, attributes ) { |
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
//this directive uses jquery... | |
angular.module('client').directive('readMore', function() { | |
return { | |
restrict: 'A', | |
transclude: true, | |
replace: true, | |
template: '<p></p>', | |
scope: { | |
moreText: '@', | |
lessText: '@', |
NewerOlder