<%* const title = await tp.system.prompt("Enter title"); if (!title) { return; } const inbox = "Inbox/Inbox.md"; const inboxFile = this.app.vault.getAbstractFileByPath(inbox); const inboxContent = await this.app.vault.read(inboxFile); const nextNo = String(Number(inboxContent) + 1).padStart(4, "0");
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
// Place your key bindings in this file to override the defaults | |
[ | |
{ | |
"key": "shift+cmd+k", | |
"command": "-composer.openAsBar" | |
}, | |
{ | |
"key": "shift+cmd+k", | |
"command": "-aipopup.action.modal.generate", | |
"when": "editorFocus && !composerBarIsVisible" |
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
aa |
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
aa |
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
|
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 main | |
import ( | |
"fmt" | |
"strings" | |
) | |
type Pair struct { | |
x, y int | |
} |
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 main | |
import ( | |
"fmt" | |
) | |
type Hoges []struct { | |
value 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 main | |
import "fmt" | |
func main() { | |
var n int | |
fmt.Scan(&n) | |
a := make([]int, n) | |
for i := 0; i < n; i++ { | |
fmt.Scan(&a[i]) |
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
# ------------------- Jenkins ReplicationController ------------------- # | |
apiVersion: v1 | |
kind: ReplicationController | |
metadata: | |
name: jenkins | |
spec: | |
replicas: 1 | |
selector: | |
app: jenkins-app |
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
## Git-Prompt | |
if [ -f $HOME/rc/git-completion.bash ] && [ -f $HOME/rc/git-prompt.sh ]; then | |
source $HOME/rc/bash/git-completion.bash | |
source $HOME/rc/bash/git-prompt.sh | |
GIT_PS1_SHOWDIRTYSTATE=true | |
GIT_PS1_SHOWUNTRACKEDFILES=true | |
GIT_PS1_SHOWSTASHSTATE=true | |
GIT_PS1_SHOWUPSTREAM=auto | |
fi |
NewerOlder