Install phantomJS:
[sudo] npm install -g phantom
Create a /tests folder into your Meteor app:
cd [app folder] && mkdir tests && cd tests
/* ------------------------------------------------------------- | |
Sass CSS3 Mixins! The Cross-Browser CSS3 Sass Library | |
By: Matthieu Aussaguel, http://www.mynameismatthieu.com, @matthieu_tweets | |
List of CSS3 Sass Mixins File to be @imported and @included as you need | |
The purpose of this library is to facilitate the use of CSS3 on different browsers avoiding HARD TO READ and NEVER | |
ENDING css files | |
note: All CSS3 Properties are being supported by Safari 5 |
('Abkhazia', 'Abkhazian', 'Abkhazians'); | |
('Afghanistan', 'Afghan', 'Afghans'); | |
('Albania', 'Albanian', 'Albanians'); | |
('Algeria', 'Algerian', 'Algerians'); | |
('American Samoa', 'American Samoan', 'American Samoans'); | |
('Andorra', 'Andorran', 'Andorrans'); | |
('Angola', 'Angolan', 'Angolans'); | |
('Anguilla', 'Anguillan', 'Anguillans'); | |
('Antigua and Barbuda', 'Antiguan', 'Antiguans'); | |
('Argentina', 'Argentinian', 'Argentinians'); |
#!/bin/bash | |
# ================ | |
# Injection checks | |
# ================ | |
notices[0]=".php files in /uploads" | |
checks[0]="find ./wp-content/uploads -type f -name \"*.php\"" | |
notices[1]="'bin/perl'" |
@mixin tooltip($background, $borderColor) { | |
position: relative; | |
background: $background; | |
border: 1px solid $borderColor; | |
&:after { | |
content: ""; | |
display: block; | |
position: absolute; | |
left: 50%; |
rivets.binders.text = (function() { | |
var handler = function(e) { | |
return rivets.config.adapter.publish(e.data.model, e.data.keypath, $(e.currentTarget).text()); | |
} | |
var binding = { | |
publishes: true, | |
bind: function(el) { | |
return $(el).on("blur", null, this, handler); | |
}, |
(function($) { | |
$.extend($.expr[":"], { | |
data: function(current, index, match, stack) { | |
for (var i = 0, attrs = current.attributes, l = attrs.length; i < l; i++) { | |
if((/\bdata-/g).test(attrs.item(i).nodeName)) return true; | |
} | |
return false; | |
} | |
}) |