This file contains 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
$OutputEncoding='utf-8' | |
netsh wlan show profiles | %{ $_.Split(":")[1]} | ` | |
Where-Object{$_ -ne $null -and ( $_ -notmatch "^\s*$" ) } | ` | |
ForEach-Object{$_.trim()} | ` | |
ForEach-Object{ netsh wlan show profile name="$_" key=clear} | ` | |
Where-Object{ $_ -like "*主要なコンテンツ*" -or ( $_ -like "*SSID 名*" ) } |
This file contains 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
'use strict'; | |
const functions = require('firebase-functions'); // Cloud Functions for Firebase library | |
const DialogflowApp = require('actions-on-google').DialogflowApp; // Google Assistant helper library | |
exports.dialogflowFirebaseFulfillment = functions.https.onRequest((request, response) => { | |
console.log('Dialogflow Request headers: ' + JSON.stringify(request.headers)); | |
console.log('Dialogflow Request body: ' + JSON.stringify(request.body)); | |
if (request.body.result) { | |
processV1Request(request, response); | |
} else if (request.body.queryResult) { |
This file contains 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
APP_NAME = Gogs | |
RUN_USER = git | |
RUN_MODE = prod | |
[database] | |
DB_TYPE = postgres | |
HOST = 127.0.0.1:5432 | |
NAME = gogs | |
USER = user | |
PASSWD = pass |