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
| > webpack-dev-server --port 8080 --json --progress | |
| module.js:472 | |
| throw err; | |
| ^ | |
| Error: Cannot find module 'webpack' | |
| at Function.Module._resolveFilename (module.js:470:15) | |
| at Function.Module._load (module.js:418:25) | |
| at Module.require (module.js:498:17) |
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
| <html> | |
| <head> | |
| <title>Look at WebSQL</title> | |
| <script> | |
| // Through the code below remember essentialy there are just 3 core methods we tend to use | |
| // openDatabase | |
| // transaction | |
| // executeSql | |
| // Opening a connection | |
| // window.openDatabase( database name , version , database description, estimated size ); |
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
| { | |
| "title": "this is a title", | |
| "content": "this is a body", | |
| "date": "2009-01-01", | |
| "url":"http://oldsite.com/123/test", | |
| "image": "test.jpg", | |
| "id": 1 | |
| } |
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
| import React, {PropTypes} from 'react'; | |
| import classNames from 'classnames'; | |
| class BatchDropZone extends React.Component { | |
| static propTypes = { | |
| // function that recieves an array of files | |
| receiveFiles: PropTypes.func.isRequired, |
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 | |
| // API access key from Google API's Console | |
| define( 'API_ACCESS_KEY', 'YOUR-API-ACCESS-KEY-GOES-HERE' ); | |
| $registrationIds = array( $_GET['id'] ); | |
| // prep the bundle | |
| $msg = array |
NewerOlder