-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7677130
commit 555255a
Showing
40 changed files
with
941 additions
and
109 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -110,4 +110,4 @@ | |
|
||
[credential] | ||
helper = "" | ||
helper = manager-core | ||
helper = manager-core |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
# Sensitive data | ||
.zshrc-secrets | ||
local.properties | ||
.dotsecrets | ||
# *secret* | ||
# *credential* | ||
# *password* | ||
|
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
#!/usr/bin/env bash --norc --noprofile | ||
|
||
# Required parameters: | ||
# @raycast.schemaVersion 1 | ||
# @raycast.title Jump to... | ||
# @raycast.mode silent | ||
|
||
# Optional parameters: | ||
# @raycast.icon images/slack-logo.png | ||
# @raycast.packageName Slack | ||
# @raycast.argument1 { "type": "text", "placeholder": "Channel / DM / File / Misc" } | ||
|
||
# Documentation: | ||
# @raycast.author Jakub Lanski | ||
# @raycast.authorURL https://github.com/jaklan | ||
|
||
main() { | ||
local query="$1" | ||
|
||
bash "${HOME}/dotfiles/raycast/slack.sh" | ||
|
||
local code | ||
set +e | ||
read -r -d '' code <<EOF | ||
set inputDelay to 0.5 | ||
set enterDelay to 0.5 | ||
tell application "System Events" | ||
keystroke "k" using command down | ||
delay inputDelay | ||
keystroke "$query" | ||
delay enterDelay | ||
key code 36 | ||
end tell | ||
EOF | ||
set -e | ||
|
||
osascript -e "$code" | ||
} | ||
|
||
main "$@" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,12 @@ | ||
console.log(42) | ||
import { Db } from "./db" | ||
|
||
const txt = `TODO` | ||
|
||
const db = new Db(txt) | ||
|
||
const files = db.data.fs.files; | ||
files.forEach(file => { | ||
const id = file.id | ||
const path = db.fsFileFullPath(id) | ||
console.log(`${path};${id};${file.kb};${file.date}`) | ||
}) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
module.exports = { | ||
devtool: 'inline-source-map', | ||
entry: './src/main.ts', | ||
output: { | ||
filename: 'bundle.js', | ||
path: `${__dirname}/dist`, | ||
}, | ||
resolve: { | ||
extensions: ['.ts', '.js'] | ||
}, | ||
module: { | ||
rules: [ | ||
{ test: /\.ts?$/, loader: 'awesome-typescript-loader' }, | ||
], | ||
}, | ||
plugins: [ | ||
], | ||
devtool: 'inline-source-map', | ||
entry: './src/main.ts', | ||
output: { | ||
filename: 'bundle.js', | ||
path: `${__dirname}/dist`, | ||
}, | ||
resolve: { | ||
extensions: ['.ts', '.js'] | ||
}, | ||
module: { | ||
rules: [ | ||
{ test: /\.ts?$/, loader: 'awesome-typescript-loader' }, | ||
], | ||
}, | ||
plugins: [ | ||
] | ||
}; |
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
Oops, something went wrong.