This file contains hidden or 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
bun build index.ts --compile --outfile ~/bin/testing-mcp |
This file contains hidden or 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
def safe_extract(expr: str, globals: typing.Dict[str, typing.Any]): | |
tree = ast.parse(expr, mode="eval") | |
code = compile(tree, filename="<ast>", mode="eval") | |
return eval(code, globals=globals) |
This file contains hidden or 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
[alias] | |
c = !git add -A && git commit -m | |
s = status |
This file contains hidden or 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
""" Map leader to space --------------------- | |
let mapleader=" " | |
""" Plugins -------------------------------- | |
set surround | |
set multiple-cursors | |
set commentary | |
set argtextobj | |
set easymotion | |
set textobj-entire |
This file contains hidden or 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
func Reduce[TAcc any, T any](list []T, reducer func(TAcc, T) TAcc, init TAcc) TAcc { | |
acc := init | |
for _, t := range list { | |
acc = reducer(acc, t) | |
} | |
return acc | |
} |
This file contains hidden or 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
{ | |
"security.workspace.trust.untrustedFiles": "open", | |
"explorer.confirmDelete": false, | |
"workbench.colorTheme": "Night Owl", | |
"editor.fontSize": 13, | |
"editor.formatOnSave": true, | |
"files.autoSave": "onFocusChange", | |
"editor.rulers": [ | |
100, | |
120 |
This file contains hidden or 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
@mixin snackbar-colors($color, $on-color: 'on-' + $color) { | |
--mdc-snackbar-container-color: #{mat.get-theme-color($my-theme, $color)}; | |
--mdc-snackbar-supporting-text-color: #{mat.get-theme-color($my-theme, $on-color)}; | |
--mat-snack-bar-button-color: #{mat.get-theme-color($my-theme, $on-color)}; | |
} |
This file contains hidden or 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
#write { | |
max-width: 914px; | |
} | |
body { | |
font-family: "Open Sans" !important; | |
} | |
.cm-s-inner { | |
font-family: "JetBrains Mono" !important; |
This file contains hidden or 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
(require 'package) | |
(cond | |
((string-equal system-type "windows-nt") | |
(progn | |
(setq | |
ispell-program-name "C:\\ProgramData\\chocolatey\\bin\\hunspell.exe" | |
ispell-current-dictionary "en_US" | |
ispell-dictionary "en_US" | |
ispell-hunspell-dict-paths-alist |
This file contains hidden or 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
const axios = require('axios'); | |
async function run() { | |
try { | |
const handler = require('./calls/' + process.argv[process.argv.length - 1]).handler | |
await handler(); | |
} catch (error) { | |
console.error(error); | |
} | |
} |
NewerOlder