There is a sublime text theme I want to introduce to you guys. It’s called Cobalt2, it not only colour scheme for editor window, but also it includes all sublime theme(e.g. sidebar, search, tabs, etc…). You can get it from github cobalt2.
The call() function is a fantastic method in javascript. It makes some people confusion some times, like me. Here let us to make it clear.
Syntax
call([thisObj[,arg1[, arg2[, [,.argN]]]]])
- thisObj (optional): it’s object which can be act as currently
thisobject. - arg1, arg2, argN (optional) : the parameters which can be passed to the method.
The call method can be used to instead of another object to invoke a method. It can change the object context of a function to a new object which thisObj referenced.
Ha, Confusion? Don’t, it’s true. Let me introduce to you how to destroy the website you want.
Click the below button:
Use the Arrow key to move the rocket, and press the Space key to fire. And also Press and hold B to find targets which can be destroy.
Editor
| Keypress | Command |
|---|---|
| ⌘ + X | Cut line |
| ⌘ + ↩ | Insert line after |
| ⌘ + ⇧ + ↩ | Insert line before |
| ⌘ + ⌃ + ↑ | Move line/selection up |
| ⌘ + ⌃ + ↓ | Move line/selection down |
| ⌘ + L | Select line - Repeat to select next lines |
| ⌘ + D | Select word - Repeat to select next occurrence |
| ⌃ + ⌘ + G | Select all occurrences of current selection |
| ⌃ + ⇧ + ↑ | Extra cursor on the line above |
| ⌃ + ⇧ + ↓ | Extra cursor on the line below |
| ⌃ + M | Jump to closing parentheses Repeat to jump to opening parentheses |
| ⌃ + ⇧ + M | Select all contents of the current parentheses |
| ⌃ + A | Move to beginning of line |
| ⌃ + E | Move to end of line |
| ⌘ + K, ⌘ + K | Delete from cursor to end of line |
| ⌘ + K + ⌫ | Delete from cursor to start of line |
| ⌘ + ] | Indent current line(s) |
| ⌘ + [ | Un-indent current line(s) |
| ⌘ + ⇧ + D | Duplicate line(s) |
| ⌘ + J | Join line below to the end of the current line |
| ⌘ + / | Comment/un-comment current line |
| ⌘ + ⌥ + / | Block comment current selection |
| ⌘ + Y | Redo, or repeat last keyboard shortcut command |
| ⌘ + ⇧ + V | Paste and indent correctly |
| ⌃ + Space | Select next auto-complete suggestion |
| ⌃ + U | Soft undo; jumps to your last change before undoing change when repeated |
| ⌃ + ⇧ + Up | Column selection up |
| ⌃ + ⇧ + Down | Column selection down |
| ⌃ + ⇧ + W | Wrap Selection in html tag |
| ⌃ + ⇧ + K | Delete current line of cursor |
As we know, we can use jdbc to access database in java programming. And now let us use jdbc in spring. The spring framework reduces developer handlers any accessing database exception, because it deal with them internally. The spring framework integrated the jdbctemplate, they are org.springframework.jdbc.datasource.DriverManagerDataSource and org.springframework.jdbc.core.JdbcTemplate.
And here we use the hsqldb to act as our memory database. You can go to here to look at it. we use the Maven tools to management our project. the dependencies is:
is programming language, which is built on top of `JavaScript`. CoffeeScript compiles into JavaScript that is efficient and consistent with many best practices. And it offers a clean syntax that should appeal to anyone who likes `Python` or `Ruby`.
Actually, The CoffeeScript is just a JavaScript. So you can use any exsiting JavaScript library seamlessly from CoffeeScript. And both client-side and server-side can be written by CoffeeScript. So CoffeeScript can write entire web application completely, not like JavaScript only write client-side.
In HTML5, It adds a mount of elements, these elements are more easier to present the document in browser.
###Structure element
Before HTML5, we just use div tag to act as the Document Structure Element, but now the HTML5 supports more elements like section, article, nav, aside, header, footer and so on.
HTML5 adds new common attributes for original HTML Tag, and these attributes enhances the HTML elements’s function.
contentEditable
The contentEditable attribute supports most tags. The browser allows user edits the content of element if this attribute is set to true. These elements is not like input or textarea tags. They are not support editable content like table, div, span and so on these tags.
Bracket is open source web design text editor, it focus with visual tools and preprocesssor support. It is easy to design web page in the browser, we can get the page layout in time when we change the html, css, javascript. We don’t need to save the file and refresh the browser. That’s so convenience.