// dayjs.ext.ts
import dayjs from 'dayjs';
declare module 'dayjs' {
interface Dayjs {
toISODate(): string;
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
package io.ionic.starter.plugins | |
import android.Manifest | |
import android.content.Context | |
import android.content.Intent | |
import android.content.ServiceConnection | |
import android.content.pm.PackageManager | |
import com.getcapacitor.NativePlugin | |
import com.getcapacitor.Plugin | |
import com.getcapacitor.PluginCall |
https://www.rust-lang.org/tools/install
# .bash_profile
[ -f "$HOME/.cargo/env" ] && source "$HOME/.cargo/env"
- 輪読会発表資料
- 教材
所有権はRustの最も特徴的な機能であり、これによってGCなしで自動メモリ管理が可能になっています。
全てのプログラムは、実行中にメモリを管理する必要があります。プログラミング言語によってメモリ管理の方法が違いますが、大まかには自動で管理するGCタイプ(SwiftのARCも実行時OHを考慮してGCとする)と、手動でメモリを確保、解放するタイプがあります。Rustでは第3の選択肢を取っています。メモリは、コンパイラがコンパイル時にチェックする一定の規則とともに所有権システムを通じて管理されています。どの所有権機能も、実行中にプログラムの動作を遅くすることはありません。
Use homebrew formula of emacs head.
https://github.com/d12frosted/homebrew-emacs-plus
brew tap d12frosted/emacs-plus
brew install emacs-plus@28 # Change the 28 part to different version you want to install.