This file contains 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
Key: colortheme | |
Label: Color Theme | |
Description: Choose your desired color theme. | |
Group: Publishers (drop down) | |
Field Type: Selectbox (drop down) |
This file contains 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
1. [[[[*show-sidebar:is=`yes`:then=`$sidebar`:else=`$subpage-content`]]]] | |
Now we tell modx to check if it is true, then parse either sidebar or subpage-content! | |
2.[[[[*back-to-top:is=`yes`:then=`$back-to-top`]]]] | |
3. [[*show-caption:is=`yes`:then=`$caption`]] | |
Chunk named Caption: | |
<p class="flex-caption">[[+caption]]</p> |
This file contains 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
hr { | |
height:14px; /* specify a height for this hr */ | |
overflow:hidden; | |
} | |
hr:after { | |
content:"......................................................................."; | |
letter-spacing: 4px; /* Use letter-spacing to increase space between dots*/ | |
} |
This file contains 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
<select name="theme-menu" id="themes" > | |
<option value="override">Default Theme</option> | |
<option value="penn-theme">Penn Theme</option> | |
<option value="neutral-theme">Neutral Theme</option> | |
</select> |
This file contains 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 | |
/** | |
Parameters: | |
Required: | |
$filePath = specify the path of the stylesheet or js file. | |
Optional: | |
&fileType = css or js | |
&runLocation = (default is head), user can specify ending of body tag |
This file contains 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
Useful Tools | |
http://i.stack.imgur.com/hWRW9.png | |
Tips: | |
1. Start Backwards, What do you need to get this by itself... | |
2. Apply as many rules as possible until you see a noticable pattern. | |
3. Rules of implication will get your proof moving, but you need to use reference rules to set up for implications. | |
4. Understand that the Addition rule is your best friend, you can construct needed parts with it. | |
5. Understand the relationship between DN, DM, and how you can use it in conjunction with simplification rule. |
This file contains 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
//Automatically Add Packages to package.json and add version number | |
npm install express --save |
This file contains 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
WEBP = Better compression then JPEG | |
Use picture element for art direction. | |
Browser checking if it supports a source type | |
<picture> | |
<source type="image/webp"> | |
<!-- fall back --> | |
</picture> |
This file contains 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
module.exports = require('node-slackr'); | |
// Set up server dependencies | |
var express = require('express'), | |
bodyParser = require('body-parser'), | |
app = express(); | |
// App usage | |
app.use(bodyParser.json()); | |
app.use(bodyParser.urlencoded({extended: true})); |
This file contains 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
// TODO: Will like to get back to this if I have time. | |
// Goal would be to iterate through with a instance set containing different days and MostComments and Score. Then suggest the day with greatest probability based on model. | |
// if (model.postList.length > 0) { | |
// var forest = new forestjs.RandomForest(); | |
// var options = {} | |
// options.numTrees = 100; |
OlderNewer