npmのgoogleapisパッケージを利用します。 https://github.com/googleapis/google-api-nodejs-client
const { google } = require('googleapis');googleapisパッケージのauthは、いくつかの認証方法を提供してくれます。
| -- Collision-resistant ids optimized for horizontal scaling and performance, for PL/PgSQL. | |
| -- Based on https://github.com/ericelliott/cuid | |
| -- Version 1.0.0 | |
| -- Usage: SELECT cuid(); | |
| -- BEGIN CONFIG --- | |
| -- Put a unique host ID (int) here per server instance. | |
| -- Once set, this value should not be changed. |
npmのgoogleapisパッケージを利用します。 https://github.com/googleapis/google-api-nodejs-client
const { google } = require('googleapis');googleapisパッケージのauthは、いくつかの認証方法を提供してくれます。
| // 宛名印刷&住所録 テスト用データ | |
| /* | |
| 1000001 ◯◯県◯◯市◯◯◯◯◯,1丁目2−3 ◯山 ◯太郎 様,◯子 様 2000001 ◯◯県◯◯市◯◯ 1丁目2−3,◯◯アパート◯◯◯号室 ◯村 ◯郎 | |
| 1000002 ◯◯◯県◯◯◯市◯◯◯,2丁目3−4 ◯木 ◯男 様 2000001 ◯◯県◯◯市◯◯ 1丁目2−3,◯◯アパート◯◯◯号室 ◯村 ◯郎 | |
| 1000003 ◯◯県◯◯◯郡◯◯◯◯,3丁目4−5 ◯村 ◯一 様,◯◯美 様 2000001 ◯◯県◯◯市◯◯ 1丁目2−3,◯◯アパート◯◯◯号室 ◯村 ◯郎 | |
| */ | |
| // はがきのシートの設定 | |
| function setHagakiSheet(){ | |
| var margin_left = 1; // 左側の余白 |
https://marketplace.visualstudio.com/items?itemName=James-Yu.latex-workshop に書いてあったbibのコンパイルを日本語に対応.
ファイル > 基本設定 > 設定, Mac: Code > 基本設定 > 設定)の[ ]の間に以下を追加 "latex-workshop.latex.tools": [
{
"command": "ptex2pdf",
"args": [| "google": { | |
| "name": "google", | |
| "debug": true, | |
| "connector": "rest", | |
| "operations": [ | |
| { | |
| "template": { | |
| "doc": "The Google Time Zone API", | |
| "method": "GET", | |
| "url": "https://maps.googleapis.com/maps/api/timezone/{format=json}", |
| (function () { | |
| 'use strict'; | |
| angular | |
| .module('admin-lte', []) | |
| .directive('adminLteLayout', adminLteLayoutDirective) | |
| .directive('adminLteTree', adminLteTreeDirective) | |
| .directive('adminLteSidebarToggle', adminLteSidebarToggleDirective) | |
| .directive('adminLteSidebarToggleSwipe', adminLteSidebarToggleSwipeDirective) | |
| .directive('adminLteBoxWidget', adminLteBoxWidgetDirective); |
| var underscore = angular.module('underscore', []); | |
| underscore.factory('_', function() { | |
| return window._; // assumes underscore has already been loaded on the page | |
| }); | |
| //angular.module('webApp', ['underscore','ui.bootstrap']) | |
| //.controller('calDenki', function ($scope, $http, $filter, _) { | |
| angular.module('webApp', ['ui.bootstrap']) | |
| .controller('calDenki', function ($scope, $http, $filter) { | |
| $scope.powerCompanies = [ |
| // preserve Twitter's style of JSON string encoding... | |
| // escape higher value unicode (lowercase hex) | |
| // escape < and > (uppercase hex) | |
| // escape / in strings (\/) | |
| // hugs! https://gist.github.com/1306986 | |
| // http://stackoverflow.com/questions/4901133/json-and-escaping-characters | |
| function escapedStringify(s, emit_unicode) { | |
| var json = JSON.stringify(s); | |
| return emit_unicode ? json : json.replace(/\//g, | |
| function(c) { |