Ctrl+KB | toggle side bar |
Ctrl+Shift+P | command prompt |
Ctrl+` | python console |
Ctrl+N | new file |
Looking for a client side javascript developer who can use knockout.js to help build the front end of our application. To show off your skills, we would like the html/css and javascript components of Twitter's Bootstrap library turned into templates that would be useful with knockout.js. Things will get much more interesting after that.
Example alert:
<div data-bind="attr: { class: type }">
<button type="button" class="close" data-dismiss="alert">×</button>
<!-- ko data-bind="text: message" -->
<strong>Warning!</strong> Best check yo self, you're not looking too good.
<!-- /ko -->
</div>
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
// Sample grunt-jekyll grunt.js file | |
// https://github.com/dannygarcia/grunt-jekyll | |
/*global module:false*/ | |
module.exports = function(grunt) { | |
// Project configuration. | |
grunt.initConfig({ | |
jekyll: { |
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
<html> | |
<head> | |
<title>For testing javascript</title> | |
<script src="console.js"></script> | |
</head> | |
<body> | |
<p>Run grunt, then open this file at the localhost/server initialized by the gruntfile. You should now see real-time, live updates whenever you edit and save either the HTML or js file.</p> | |
</body> | |
</html> |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Starter Template</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta name="description" content=""> | |
<meta name="author" content=""> | |
<!-- styles --> |
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
<!-- partial --> | |
<div class="container"> | |
<h1>alerts</h1> | |
<!-- ko foreach: alerts --> | |
<br> | |
<div data-bind="attr: { class: alertClass }"> | |
<button type="button" class="close" data-dismiss="alert">×</button> | |
<strong data-bind="text: alertType">Warning!</strong> | |
<!-- ko text: message --> |
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
/*global module:false*/ | |
module.exports = function(grunt) { | |
'use strict'; | |
// Project configuration | |
grunt.initConfig({ | |
// Build HTML docs from .mustache files |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>{{title}}</title><!-- mustache tag for page title, value is specified in gruntfile --> | |
<!-- styles --> | |
<link href="styles.css" rel="stylesheet"> | |
</head> | |
<body> |