Skip to content

Instantly share code, notes, and snippets.

Gboard の設定

インストールするたびに元の設定に戻せなくて発狂してしまうのでスクショを取っておく

2022 年 10 月 10 日のバージョン (12.2.05.469624536-release-arm64-v8a)

言語 > 日本語 設定 テキストの修正
日本語 設定 テキストの修正
@xl1
xl1 / gist:0a47f940702485984e121b56b5add820
Created June 6, 2021 05:06
Windows Terminal が起動しなくなった・フォントがなくなったとき

Windows Terminal

  • 起動しなくなった
  • 起動するが、Cascadia Mono/Code フォントが消えてしまった

ときの対処法

1. 最新版へアップデート

Microsoft Store からアップデートする

@xl1
xl1 / setup.ps1
Last active April 3, 2021 07:23
wip
choco install microsoftazurestorageexplorer
choco install dotnetcore-sdk
choco install keepass.install
choco install rapidee
choco install vscode
# requies restart
Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
@xl1
xl1 / .gitconfig
Last active August 30, 2020 11:28
.gitconfig
[user]
name = xl1
email = shiba200712@gmail.com
[core]
autocrlf = input
[init]
templatedir = ~/.git_template
[gui]
encoding = utf-8
[push]
@xl1
xl1 / gist:0b24fb2e61c39448a38d3c90b6c6fe3b
Last active January 14, 2023 02:24
binary string, ArrayBuffer, Blob, base64 string の相互変換
const convert = {
binary: {
toArrayBuffer(binary) {
return Uint8Array.from(binary, s => s.charCodeAt(0)).buffer;
},
toBlob(binary, mimeType) {
return new Blob([binary], { type: mimeType });
},
toBase64: binary => btoa(binary)
},
@xl1
xl1 / gist:9943bf6f1b0b8fa357d0
Created February 28, 2015 09:12
byte[], string, Stream の相互変換
using System;
using System.IO;
using System.Text;
namespace Sample
{
public static class ByteArrayExtension
{
public static string ConvertToString(this byte[] bytes)
{