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
{ | |
"$schema": "https://raw.githubusercontent.com/LuaLS/vscode-lua/master/setting/schema.json", | |
"Lua.runtime.version": "LuaJIT", | |
"Lua.diagnostics.globals": [ | |
"vim" | |
], | |
"Lua.workspace.userThirdParty": [ | |
"${workspaceFolder}/types" | |
], | |
"Lua.workspace.library": [ |
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
-- Main vimrc module (replacement for autoload/vimrc.vim) | |
local list_util = require('utils.list') | |
local msg_util = require('utils.message') | |
local M = {} | |
-- Allows to reuse `self`. | |
-- Params: | |
-- self: A |
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
// ==UserScript== | |
// @name Override CSS Styles | |
// @namespace https://gist.github.com/aiya000/0514d3b7994d9c13bf8a75075ddea82c | |
// @version 0.1 | |
// @description Override CSS Styles (Disable all existing styles of elements matching a CSS selector and apply new styles) | |
// @author aiya000 | |
// @match *://*/* | |
// @grant none | |
// ==/UserScript== |
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
/* ==UserStyle== | |
@name Hide TechFeed count numbers | |
@namespace github.com/aiya000 | |
@version 1.0.0 | |
@description As the name suggests | |
@author aiya000 | |
==/UserStyle== */ | |
@-moz-document url-prefix("http") { | |
/** |
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
// ==UserScript== | |
// @name Remove Twitter Follower Count | |
// @namespace https://gist.github.com/aiya000/9c5a16c3a96f0b14576923128fe261b4 | |
// @version 2025-04-09 | |
// @description Remove Twitter(X)'s follower count at profile. This solves the problem of the 'Control Panel for Twitter' extension not being able to hide the number of followers of a Twitter account. | |
// @author aiya000 | |
// @match https://x.com/* | |
// @match https://twitter.com/* | |
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== | |
// @grant none |
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
import { toRaw } from 'vue' | |
import { z } from 'zod' | |
/** | |
* ```typescript | |
* import { ref } from 'vue' | |
* const x = ref({ a: { b: 42 } }) | |
* // const y = structureClone(toRaw(x.value)) // 深いProxy(x.value.a.b)を除去できずに例外が出る | |
* const y = structureClone(toRawDeep(x.value)) // OK | |
* ``` |
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
#!/bin/bash | |
# Shows GitHub issues in interactive filter and opens selected issue with gh issue view. | |
# | |
# ```shell-session | |
# $ gh-issue-view-select | |
# # Shows interactive filter with issues | |
# # Opens selected issue with gh issue view | |
# ``` |
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
#!/bin/bash | |
# This respects the following original script: | |
# - Original: https://gist.github.com/nemasu/9d89d2998822980a07284bf442342482 | |
# | |
# I'm also developing the newer version at here: | |
# - Support: https://github.com/aiya000/bash-toys | |
if [[ $# -eq 0 ]] ; then |
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
The MIT License (MIT) | |
Copyright (c) 2021 aiya000 | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
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
call plug#('Shougo/pum.vim') | |
call plug#('Shougo/ddc.vim') | |
call plug#('Shougo/ddc-around') | |
call plug#('Shougo/ddc-matcher_head') | |
call plug#('Shougo/ddc-sorter_rank') | |
call plug#('Shougo/ddc-converter_remove_overlap') | |
call plug#('vim-denops/denops.vim') | |
call ddc#custom#patch_global('completionMenu', 'pum.vim') | |
call ddc#custom#patch_global('sources', ['around']) |
NewerOlder