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 | |
| /** | |
| * WordPress Query Comprehensive Reference | |
| * Compiled by luetkemj - luetkemj.com | |
| * | |
| * CODEX: http://codex.wordpress.org/Class_Reference/WP_Query#Parameters | |
| * Source: https://core.trac.wordpress.org/browser/tags/3.9/src/wp-includes/query.php | |
| */ | |
| $args = array( |
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
| { | |
| "success": true, | |
| "result": { | |
| "count": 309, | |
| "measurements": { | |
| "salePrice": { | |
| "average": 898348.3836, | |
| "median": 902000, | |
| "low": 332500, | |
| "high": 1780000, |
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
| { | |
| "success": true, | |
| "result": { | |
| "count": 532, | |
| "measurements": { | |
| "salePrice": { | |
| "average": 1076607.2094, | |
| "median": 1055000, | |
| "low": 350000, | |
| "high": 3250000, |
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
| { | |
| "success": true, | |
| "result": { | |
| "count": 412, | |
| "measurements": { | |
| "salePrice": { | |
| "average": 1075667, | |
| "median": 1040000, | |
| "low": 390000, | |
| "high": 2310000, |
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
| { | |
| "success": true, | |
| "result": { | |
| "total": 4, | |
| "schools": [ | |
| { | |
| "id": "A0900540", | |
| "name": "Skylar Hadden School", | |
| "geoType": "school", | |
| "label": "Skylar Hadden School, San Jose, CA", |
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
| $(document).ready(function(){ | |
| var toggleCollapse = function(evt){ | |
| var targetElem = $(evt.currentTarget); | |
| //get sibling | |
| var panel = targetElem.siblings(".panel-heading"); | |
| var iconElem = panel.find("span.glyphicon"); | |
| iconElem.toggleClass("glyphicon-plus"); | |
| iconElem.toggleClass("glyphicon-minus"); | |
| } |
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
| <script type="text/javascript"> | |
| console.log("script rendered"); | |
| var topicSort = { | |
| parentTopics: $(".categories>ul>li>h4"), | |
| initTopicSort: function () { | |
| var topicSort = this; |
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 myFunction(e){ | |
| //pass inital event parameter to access form responses | |
| //use e.values to get whatever form values you want | |
| var userEmail = e.values[1]; | |
| //use MailApp.sendEmail to send email | |
| var subject = "Email Sent from Google Form"; | |
| var body = "Email sent from google forms body"; | |
| MailApp.sendEmail(userEmail, subject, body); |
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 myFunction() { | |
| function calcPercent(totalPts, scoredPts, percentValue) { | |
| return (scoredPts/totalPts)*percentValue; | |
| } | |
| var ss = SpreadsheetApp.getActiveSheet(); | |
| var dataRange = ss.getDataRange(); | |
| var dataValues = dataRange.getValues(); |
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 | |
| /** | |
| * Plugin Name: Abandoned WP Plugin | |
| * Plugin URI: https://gist.github.com/woodwardtw/cf706545a064a02fbd60 | |
| * Description: This plugin finds abandoned WP site (by last update) on a WP MU installation and provides links to WP site and mailto | |
| * Version: 1.0.0 | |
| * Author: Tom Woodward (og script), Jeff Everhart(plugin shell and implementation) | |
| * Author URI: https://gist.github.com/woodwardtw/cf706545a064a02fbd60 | |
| * License: GPL2 | |
| */ |