| 更新: | 2026-06-08 |
|---|---|
| 作者: | @voluntas |
| バージョン: | 2026.1 |
| URL: | https://voluntas.github.io/ |
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
| JapaneseUtil = function() { | |
| const charMode = { | |
| none: null, | |
| ascii: "ascii", | |
| alphaNumMark: "alphaNumMark", | |
| surroundMark: "surroundMark", // "'{} etc. | |
| alphaNum: "alphaNum", | |
| alpha: "alpha", |
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
| package main | |
| import ( | |
| "testing" | |
| "golang.org/x/crypto/bcrypt" | |
| ) | |
| func BenchmarkBcrypt4(b *testing.B) { | |
| benchBcrypt(b, 4) |
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
| /** | |
| * Retrieves all the rows in the active spreadsheet that contain data and logs the | |
| * values for each row. | |
| * For more information on using the Spreadsheet API, see | |
| * https://developers.google.com/apps-script/service_spreadsheet | |
| */ | |
| function readRows() { | |
| var sheet = SpreadsheetApp.getActiveSheet(); | |
| var rows = sheet.getDataRange(); | |
| var numRows = rows.getNumRows(); |
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
| /* | |
| * This work is free. You can redistribute it and/or modify it under the | |
| * terms of the Do What The Fuck You Want To Public License, Version 2, | |
| * as published by Sam Hocevar. See the COPYING file for more details. | |
| */ | |
| /* | |
| * Easing Functions - inspired from http://gizma.com/easing/ | |
| * only considering the t value for the range [0, 1] => [0, 1] | |
| */ | |
| EasingFunctions = { |
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
| DBQuery.prototype.p = function() { | |
| var args = arguments | |
| this.forEach(function(e) { | |
| var result = {} | |
| if(args.length == 0) { | |
| result = e | |
| } else { | |
| for(var i = 0; i < args.length; i++) { | |
| var target = e | |
| var keys = args[i].split('.') |
