Answer of ES6 Quiz
- 2
"func"
see: [9.2.12 SetFunctionName][9.2.12], [12.14.4 Runtime Semantics of AssignmentExpression][12.14.4]
| ' ="SELECT ..... FROM ... WHERE column_A in ("&join(A1:A10,",","'")&")" などと式に使うことを想定 | |
| ' SQLインジェクション可能だが知らん。 | |
| Function join(r As Range, Optional delimiter As String = ",", Optional wrap As String = "'") As String | |
| Dim i As Integer | |
| Dim result = As String | |
| result = wrap & r.Cells(1, 1).Value & wrap | |
| For i = 2 To r.rows.Count |
| $ file HOGEHOGE.zip | |
| HOGEHOGE.zip: Bourne-Again shell script text executable | |
| $ strings HOGEHOGE.zip | |
| #!/bin/bash | |
| sed -e '1,/BIGIN HOGEHOGE/d' $0 |sed -e '1,/BIGIN HOGEHOGE/d' > ./test.tar.gz | |
| tar zxvf test.tar.gz >/dev/null; | |
| chown root aFile bFile cFile | |
| chmod 4755 aFile bFile cFile | |
| exit 0 | |
| #BIGIN HOGEHOGE |
Answer of ES6 Quiz
"func"see: [9.2.12 SetFunctionName][9.2.12], [12.14.4 Runtime Semantics of AssignmentExpression][12.14.4]
| var wm = new WeakMap; | |
| mappings.addUserMap([modes.NORMAL], ["<Leader>/"], "Search forward for a pattern", function () { openPrompt(modes.SEARCH_FORWARD); }); | |
| commands.addUserCommand(['foundlist', 'fl'], 'show found list', | |
| function (args) { | |
| var index = parseInt(args.literalArg, 10); | |
| if (Number.isNaN(index)) | |
| return; |
| # HG changeset patch | |
| # Parent 573ef29c7a9f67205f71527db56d7f32500feffc | |
| diff -r 573ef29c7a9f toolkit/mozapps/extensions/internal/PluginProvider.jsm | |
| --- a/toolkit/mozapps/extensions/internal/PluginProvider.jsm Sat Mar 22 08:07:42 2014 -0700 | |
| +++ b/toolkit/mozapps/extensions/internal/PluginProvider.jsm Sun Mar 23 09:19:00 2014 +0900 | |
| @@ -408,7 +408,7 @@ | |
| for (let i = 0; i < mimeTypes.length; i++) { | |
| let type = {}; | |
| type.type = mimeTypes[i]; |
| @if(0)==(0) ECHO OFF | |
| CScript //NoLogo //E:JScript "%~f0" %* | |
| GOTO :EOF | |
| @end | |
| var COLUMN_INFOs = { | |
| k: { | |
| drive: { width: 5, align: "left" }, | |
| type: { width: 4, align: "left" }, | |
| total: { width: 14, align: "right" }, |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Serial Experimental proceed</title> | |
| <style> | |
| #out { line-height: 1.5; } | |
| #out > p { margin: 0; } | |
| </style> | |
| </head> |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>__proto__ test</title> | |
| </head> | |
| <body> | |
| <h1>__proto__ test</h1> | |
| <div id="out"></div> |