Install phantomJs
Run:
[sudo] npm install --global phantomjsRun:
Run:
[sudo] npm install --global phantomjsRun:
| <?php | |
| $summer_months = array(4,5,6,7,8,9); | |
| if(in_array(date('n'), $summer_months)) { | |
| $season = 'Summer'; | |
| } else { | |
| $season = 'Winter'; | |
| } |
| html {} | |
| body {} | |
| a {} | |
| p {} | |
| h1, | |
| h2, |
| # http://editorconfig.org | |
| root = true | |
| [*] | |
| indent_style = space | |
| indent_size = 2 | |
| end_of_line = lf | |
| charset = utf-8 | |
| trim_trailing_whitespace = true | |
| insert_final_newline = true |
| <style id="jsbin-css"> | |
| #TABLE_1 { | |
| cursor: move; | |
| height: 82px; | |
| text-align: left; | |
| width: 470px; | |
| perspective-origin: 235px 41px; | |
| transform-origin: 235px 41px; | |
| border-spacing: 0px 0px; | |
| font: normal normal normal normal 16px/normal Helvetica, Arial, sans-serif; |
| { | |
| "preset": "google", | |
| "validateLineBreaks": "LF", | |
| "validateIndentation": 2, | |
| "requireCurlyBraces": true, | |
| "requireSemicolons": true, | |
| "maximumLineLength": false, | |
| "disallowTrailingComma": true, | |
| "disallowTrailingWhitespace": true, | |
| "validateParameterSeparator": ", ", |
| // hide keyboard on iOS | |
| document.activeElement.blur(); | |
| jQuery('input').blur(); |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <opml version="1.0"> | |
| <head> | |
| <title>Sasha subscriptions in feedly Cloud</title> | |
| </head> | |
| <body> | |
| <outline text="Linux" title="Linux"> | |
| <outline type="rss" text="Web Upd8 - Ubuntu / Linux blog" title="Web Upd8 - Ubuntu / Linux blog" xmlUrl="http://feeds.feedburner.com/webupd8" htmlUrl="http://www.webupd8.org/"/> | |
| <outline type="rss" text="Arch Linux: Recent news updates" title="Arch Linux: Recent news updates" xmlUrl="http://www.archlinux.org/feeds/news" htmlUrl="https://www.archlinux.org/news/"/> |
| // String.prototype.repeat | |
| // http://jsbin.com/sifesep/edit?js,console,output | |
| Object.defineProperty(String.prototype, 'repeat', { | |
| value: function debug_repeat(times, returnArray) { | |
| var res = []; | |
| var i = 0; | |
| for (i; i < times; i++) { | |
| res.push(this); | |
| } | |
| if (returnArray) { |