Download parrott.sh and put it somewhere on your computer. eg Desktop.
In terminal, run:
sh parrott.sh folderA folderB
| <html> | |
| <head> | |
| <style> | |
| /* Sakura.css v1.4.1 | |
| * ================ | |
| * Minimal css theme. | |
| * Project: https://github.com/oxalorg/sakura/ | |
| */ | |
| body { |
| #!/bin/bash | |
| # Example usage | |
| # -- | |
| # | |
| # ./db-backup.sh -u username -p password -t /target/ | |
| while getopts u:p:t: option | |
| do | |
| case "${option}" |
| <?php | |
| /*** mysql hostname ***/ | |
| $hostname = 'localhost'; | |
| $dbname = 'dbname'; | |
| /*** mysql username ***/ | |
| $username = 'username'; |
| <?php | |
| preg_replace('/(\?|\&)?utm_[a-z]+=[^\&]+/', '', 'http://mashable.com/2010/12/14/android-quick-start-guide/?utm_source=twitterfeed&utm_medium=twitter&utm_campaign=Feed%3A+Mashable+%28Mashable%29'); | |
| // Returns http://mashable.com/2010/12/14/android-quick-start-guide/ | |
| # 100 urls to test against | |
| # ======================== | |
| # | |
| # http://activeinboxhq.com/?utm_medium=Argyle+Social&utm_source=TweetDeck&utm_content=http=//activeinboxhq.com/ |
| SF.channel_selector = { | |
| init: function($channel_selector) { | |
| var self = this; | |
| if ($channel_selector.length > 0) { | |
| self.channel_selector = $channel_selector.addClass('selector'); | |
| self.channel_tabs = self.channel_selector.find('.channel-tabs a'); | |
| self.channel_strip = self.channel_selector.find('.channel-strip'); | |
| self.channel_strip.css('width', (self.channel_tabs.length * 100) + '%' ); |
| /\[accordion\]([^\[]+)\[\/accordion\]/ |
| <table><?php | |
| $css_file = 'foo/bar.css'; | |
| $css = file_get_contents($css_file); | |
| preg_match_all('/([a-zA-Z-]+)\:(.+)\;/', $css, $matches); | |
| $totals = array(); | |
| foreach ($matches[0] as $match) | |
| { |
| SELECT post_type, COUNT(*) AS total | |
| FROM wp_posts GROUP BY post_type; |