This document briefly describes guidelines for writing code for the MobileFrontend MediaWiki extension.
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> | |
| <head> | |
| <title>Google Chart: Scatter Chart with a line</title> | |
| <meta charset="UTF-8" /> | |
| <script type="text/javascript" src="https://www.google.com/jsapi"></script> | |
| <script type="text/javascript"> | |
| google.load("visualization", "1", { packages: ["corechart"] }); | |
| google.setOnLoadCallback(drawChart); | |
| function drawChart() { |
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
| <?php | |
| # This file was automatically generated by the MediaWiki 1.21alpha | |
| # installer. If you make manual changes, please keep track in case you | |
| # need to recreate them later. | |
| # | |
| # See includes/DefaultSettings.php for all configurable settings | |
| # and their default values, but don't forget to make changes in _this_ | |
| # file, not there. | |
| # | |
| # Further documentation for configuration settings may be found at: |
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
| function has3d(){ | |
| var el = $('<p>')[0], $iframe = $('<iframe>'), has3d, t, | |
| transforms = { | |
| 'webkitTransform': '-webkit-transform', | |
| 'OTransform': '-o-transform', | |
| 'msTransform': '-ms-transform', | |
| 'transform': 'transform' | |
| }; | |
| // Add it to the body to get the computed style |
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
| -- show users that uploaded at least twice | |
| select | |
| event_userName, | |
| count(*) as count | |
| from MobileWebUploads_5383883 | |
| where | |
| event_action = 'success' | |
| and wiki != 'testwiki' | |
| group by event_userName | |
| having |
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
| \curl -sSL https://get.rvm.io | bash -s stable | |
| rvm install 2.1.0 | |
| *** | |
| $ git clone https://github.com/jgonera/qa-playground.git | |
| $ cd qa-playground | |
| $ bundle install | |
| *** |
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> | |
| <head> | |
| <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> | |
| </head> | |
| <body> | |
| <h1>EDIT WARZ!!!11!1</h1> | |
| <ul></ul> |
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> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <title>Animated responsive bar chart</title> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <style> | |
| body { | |
| background: #2e232b; |
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
| Update Homebrew: | |
| > brew update | |
| Install osxfuse: | |
| > brew cask install osxfuse | |
| Install ntfs-3g: | |
| > brew install ntfs-3g | |
| Link mount_ntfs: |
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
| upstream app { | |
| server 127.0.0.1:3000; | |
| } | |
| server { | |
| listen 80; | |
| server_name localhost; | |
| location / { | |
| proxy_read_timeout 600; |