One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| <?xml version="1.0" encoding="utf-8"?> | |
| <!-- | |
| This configuration file is required if iisnode is used to run node processes behind | |
| IIS or IIS Express. For more information, visit: | |
| https://github.com/tjanczuk/iisnode/blob/master/src/samples/configuration/web.config | |
| --> | |
| <configuration> | |
| <system.webServer> |
| Valid Cards | |
| 4242424242424242 Visa | |
| 4012888888881881 Visa | |
| 5555555555554444 MasterCard | |
| 5105105105105100 MasterCard | |
| 378282246310005 American Express | |
| 371449635398431 American Express | |
| 6011111111111117 Discover | |
| 6011000990139424 Discover | |
| 30569309025904 Diner's Club |
| var express = require('express'); | |
| var http = require('http'); | |
| var app = express(); | |
| // Simple user controller implementation. | |
| var users = [ | |
| { username: 'jamsesso', age: 20, gender: 'M' }, | |
| { username: 'bettycrocker', age: 20, gender: 'F' } | |
| ]; |
A list of the most common functionalities in Jekyll (Liquid). You can use Jekyll with GitHub Pages, just make sure you are using the proper version.
Running a local server for testing purposes:
| // Prefix mixins | |
| // ============= | |
| // | |
| // A set of SASS mixins for abstracting vendor prefixes. | |
| @mixin background-size($parameters) | |
| -webkit-background-size : $parameters | |
| -moz-background-size : $parameters | |
| -o-background-size : $parameters | |
| background-size : $parameters |
| // Returns an array of dates between the two dates | |
| function getDates (startDate, endDate) { | |
| const dates = [] | |
| let currentDate = startDate | |
| const addDays = function (days) { | |
| const date = new Date(this.valueOf()) | |
| date.setDate(date.getDate() + days) | |
| return date | |
| } | |
| while (currentDate <= endDate) { |
| <?php | |
| //set up pods::find parameters to limit to 5 items | |
| $param = array( | |
| 'limit' => 5, | |
| ); | |
| //create pods object | |
| $pods = pods('pod_name', $params ); | |
| //check that total values (given limit) returned is greater than zero | |
| if ( $pods->total() > 0 ) { |