Shortcuts start with Ctrl
+b
- Pane: sub-window on the current "screen"
- Window: different "screen"
Get-Content jsonfile.json | ConvertFrom-Json | ConvertTo-Json -Depth 100 | Set-Content -Path newfile.json |
# List of plugins | |
set -g @plugin 'tmux-plugins/tpm' | |
set -g @plugin 'tmux-plugins/tmux-sensible' | |
# Other examples: | |
# set -g @plugin 'github_username/plugin_name' | |
# set -g @plugin '[email protected]:user/plugin' | |
# set -g @plugin '[email protected]:user/plugin' | |
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) |
" Precondition | |
" * python3 -m pip install pynvim | |
" * Install latest nodejs | |
set nocompatible " disable compatibility to old-time vi | |
set showmatch " show matching | |
set ignorecase " case insensitive | |
set mouse=v " middle-click paste with | |
set hlsearch " highlight search | |
set incsearch " incremental search |
import os | |
import sys | |
import requests | |
import asyncio | |
import aiohttp | |
import aiofile | |
from bs4 import BeautifulSoup | |
HOST = "https://huggingface.co" |
#!/bin/bash | |
printf "%-10s%-15s%-15s%s\n" "PID" "OWNER" "MEMORY" "COMMAND" | |
function sysmon_main() { | |
RAWIN=$(ps -o pid,user,%mem,command ax | grep -v PID | awk '/[0-9]*/{print $1 ":" $2 ":" $4}') | |
for i in $RAWIN | |
do | |
PID=$(echo $i | cut -d: -f1) |
" Plug-ins | |
" ========== | |
" * https://github.com/preservim/nerdtree | |
" * https://github.com/vim-airline/vim-airline | |
" ----------------------------------------------- | |
" Powerline font for https://github.com/vim-airline/vim-airline | |
let g:airline_powerline_fonts = 1 |
wrk.method = "POST" | |
local f = io.open("batch_4.json", "r") | |
wrk.body = f:read("*all") | |
wrk.headers["Content-Type"] = "application/json" | |
wrk.headers["Authorization"] = "Bearer <token>" | |
local threads = {} | |
function percentile(data, p) | |
local sortedData = { } |
#!/bin/bash | |
curl -X PUT -T ./gpu_tests.tgz -H "x-ms-date: $(date -u)" -H "x-ms-blob-type: BlockBlob" "https://bohudata.blob.core.windows.net/temp/gpu_tests.tgz?<sas_token_to_folder>" |
objcopy --only-keep-debug "${tostripfile}" "${debugdir}/${debugfile}" | |
strip --strip-debug --strip-unneeded "${tostripfile}" | |
objcopy --add-gnu-debuglink="${debugdir}/${debugfile}" "${tostripfile}" |