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
| CREATE [UNIQUE|FULLTEXT|SPATIAL] INDEX index_name | |
| [index_type] | |
| ON tbl_name (index_col_name,...) | |
| [index_option] | |
| [algorithm_option | lock_option] ... | |
| //CREATE INDEX idx_foo_column ON tbl_bar (foo_column DESC) |
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
| var a = b = 0; | |
| for (i = 0; i < 100; i++) { | |
| if (Math.round( Math.random()) > 0) { | |
| a++; | |
| } else { | |
| b++; | |
| } | |
| } |
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
| var addFive = function(num){ | |
| if (this.hoge === undefined) { | |
| this.hoge = 1; | |
| } | |
| return num + 5 + this.hoge; | |
| }; | |
| console.log(addFive(4)); //10 | |
| console.log(addFive.apply(null, [4])); //10 |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>JS Bin</title> | |
| </head> | |
| <body> | |
| <script id="jsbin-javascript"> | |
| var add = function(x, y) { |
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
| name: Build and Deploy | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: ubuntu-latest |
OlderNewer