Clark Sell
Unspecified, https://unspecified.io
THAT Conference, https://thatconference.com, https://that.us
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
| const autoprefixer = require('autoprefixer'); | |
| const cssnano = require('cssnano'); | |
| const mode = process.env.NODE_ENV; | |
| const dev = mode === 'development'; | |
| const config = { | |
| plugins: [ | |
| autoprefixer(), | |
| !dev && |
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
| { | |
| "editor.rulers": [80], | |
| "editor.formatOnSave": true, | |
| "prettier.tabWidth": 2, | |
| "editor.insertSpaces": false, | |
| "editor.tabSize": 2, | |
| "editor.snippetSuggestions": "top", | |
| "editor.codeActionsOnSave": { | |
| "source.fixAll": true | |
| }, |
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
| { | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "name": "Launch Chrome", | |
| "request": "launch", | |
| "type": "pwa-chrome", | |
| "url": "http://localhost:3000", | |
| "webRoot": "${workspaceFolder}" | |
| }, |
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
| const fetchMachine = Machine( | |
| { | |
| id: 'pagingMachine', | |
| initial: 'init', | |
| context: { | |
| items: [], | |
| cursor: null, | |
| hasMore: false, | |
| }, |
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
| const fetchMachine = Machine( | |
| { | |
| id: 'community', | |
| type: 'parallel', | |
| context: { | |
| slug: '1234', | |
| community: undefined, | |
| followMachineServices: undefined, |
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
| body { | |
| } | |
| @media screen and (-ms-view-state: fullscreen-landscape) { | |
| } | |
| @media screen and (-ms-view-state: filled) { | |
| } | |
| @media screen and (-ms-view-state: snapped) { |
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
| { | |
| "u": "http://net.tutsplus.com/tutorials/javascript-ajax/the-10-javascript-mistakes-youre-making/", | |
| "d": "The 10 JavaScript Mistakes you2019re Making", | |
| "t": [ | |
| "javascript", | |
| "ajax", | |
| "eval", | |
| "via:zite" | |
| ], | |
| "dt": "2011-06-06T16:13:50Z", |
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> | |
| var something = "something else"; | |
| "use strict"; // wasn't first statement | |
| foo = "foo"; // will not fail | |
| (function() { | |
| "use strict"; | |
| bar = "bar"; // will fail | |
| })(); |
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
| @functions { | |
| public static IList<dynamic> GetRecentShow() | |
| { | |
| return OData.Get(@"http://developersmackdown.com/services/odata/Shows?$orderby=ShowId%20desc&$top=1"); | |
| } | |
| } | |
| @helper GetLatestShow() { | |
| var show = DeveloperSmackdown.GetRecentShow(); |
NewerOlder