filetype is "eruby" when I open file "test.erb"
I checked in the following steps.
- type
nvim -N -u .test_vimrc -i NONE test.erb - move cursor to
=of<%= 'Hello, World!' %> - execute
:Switchcommand.
| diff <(jq --sort-keys . <<< ${current_json}) <(jq --sort-keys . <<< ${new_json}) || { | |
| echo "Found diff." | |
| } |
| // ==UserScript== | |
| // @name ChatGPT Prompt Width | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description try to take over the world! | |
| // @author You | |
| // @match https://chat.openai.com/* | |
| // @grant none | |
| // ==/UserScript== |
| from IPython.display import HTML | |
| # セルがmax-height 200pxなので広くする | |
| # 参考 https://stackoverflow.com/questions/65921736/how-to-resize-the-scrolling-output-height-in-jupyterlab-notebook | |
| display(HTML("<style>.jp-CodeCell.jp-mod-outputsScrolled .jp-Cell-outputArea { max-height: 4000px; }</style>")) |
| import requests | |
| import logging | |
| # These two lines enable debugging at httplib level (requests->urllib3->http.client) | |
| # You will see the REQUEST, including HEADERS and DATA, and RESPONSE with HEADERS but without DATA. | |
| # The only thing missing will be the response.body which is not logged. | |
| try: | |
| import http.client as http_client | |
| except ImportError: | |
| # Python 2 |
| package main | |
| import ( | |
| "fmt" | |
| "sync" | |
| "time" | |
| ) | |
| func main() { | |
| list := []string{"foo", "bar", "buzz", "one", "three", "two", "seven"} |
| sed -i -e "/foo/d" -e "/bar/d" $YOUR_FILE_NAME |
| hoge |
| alias rvgp='rbenv global "$(rbenv versions | egrep -o "[0-9].*[0-9]|system" | peco)";rbenv rehash; rbenv version;' |