jq will sort (-S) the whole file (.) and compare STDOUT (<()) with diff
diff <(jq -S . A.json) <(jq -S . B.json)
| SELECT table, | |
| formatReadableSize(sum(bytes)) as size, | |
| min(min_date) as min_date, | |
| max(max_date) as max_date | |
| FROM system.parts | |
| WHERE active | |
| GROUP BY table |
jq will sort (-S) the whole file (.) and compare STDOUT (<()) with diff
diff <(jq -S . A.json) <(jq -S . B.json)
| --============================================================================== | |
| -- conky_orange.lua | |
| -- | |
| -- author : SLK | |
| -- version : v2011062101 | |
| -- license : Distributed under the terms of GNU GPL version 2 or later | |
| -- | |
| -- modified: me | |
| -- version : v20171027 | |
| -- notes : works on 4k screen. uses conky conf newer >v1.1 |
| Install Termux App. | |
| type "apt update" | |
| Then We have to install a text editor to write our code so type "apt install vim" for vim text editor | |
| or u can also use nano text editor for nano type "apt install nano" | |
| Now Clang Installation type "apt install clang" and wait for download completes. | |
| now to create a file simply type vim filename.c or .cpp or nano filename.c or cpp | |
| then u will able to write ur code . | |
| write.....to save ur code simply press esc then type ":wq" | |
| now code is ready to compile | |
| type "clang filename.c -o filename" |
| keycode 94 = underscore Ecircumflex ecircumflex Ecircumflex slash brokenbar slash brokenbar ecircumflex Ecircumflex slash brokenbar ecircumflex Ecircumflex slash brokenbar |
| #!/bin/sh | |
| # i3get | |
| # | |
| # search for windows in i3 tree, return desired information | |
| # if no arguments are passed. con_id of acitve window is returned. | |
| # ctrl+c, ctrl+v by budRich 2017 | |
| # bash to sh by: nimaje | |
| # | |
| # Options: |
You may want a linter plugin to lint your code in Vim but you probably don't need it. At least try the built-in way before jumping on the plugin bandwagon.
autocmd FileType <filetype> setlocal makeprg=<external command>
This autocommand tells Vim to use <external command> when invoking :make % in a <filetype> buffer. You can add as many similar lines as needed for other languages.
If you hate git submodule, then you may want to give git subtree a try.
When you want to use a subtree, you add the subtree to an existing repository where the subtree is a reference to another repository url and branch/tag. This add command adds all the code and files into the main repository locally; it's not just a reference to a remote repo.
When you stage and commit files for the main repo, it will add all of the remote files in the same operation. The subtree checkout will pull all the files in one pass, so there is no need to try and connect to another repo to get the portion of subtree files, because they were already included in the main repo.
Let's say you already have a git repository with at least one commit. You can add another repository into this respository like this: