Shortcut | Description |
---|---|
ranger |
Start Ranger |
Q |
Quit Ranger |
R |
Reload current directory |
? |
Ranger Manpages / Shortcuts |
This file contains 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
function getCaller(context) { | |
return DebugSymbol.fromAddress(Thread.backtrace(context, Backtracer.ACCURATE)[0]); | |
} |
- coldgreen
- chlordane
- understated
- SweetCandy
- preto
- sean
- smarties
- space-vim-dark
This file contains 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#begin('~/.vim/plugged') | |
Plug 'sheerun/vim-polyglot' | |
Plug 'scrooloose/nerdtree', {'on': 'NERDTreeToggle'} | |
Plug 'iamcco/markdown-preview.nvim', { 'do': { -> mkdp#util#install() }, 'for': ['markdown', 'vim-plug']} | |
Plug 'plasticboy/vim-markdown' | |
Plug 'flazz/vim-colorschemes' | |
Plug 'xolox/vim-colorscheme-switcher' |
This file contains 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
for i in range(33333, 55555+1): | |
sum_del = 0 | |
for d1 in range(2, int(i**0.5)+1): | |
if i%d1 == 0: | |
d1_norm = True | |
for j in range(2, int(d1**0.5)+1): | |
if d1%j == 0: | |
d1_norm = False | |
d2 = i//d1 | |
d2_norm = True |
This file contains 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
from math import * | |
for i in range(174457, 174505+1): | |
count_d = 0 # Кол-во делителей числа | |
delit = 0 # Один из делителей нужного числа | |
for d in range(2, round(sqrt(i))+1): | |
if i % d == 0: # Если i делится на d | |
count_d += 2 | |
delit = d # Сохраняем меньший делитель |
This file contains 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
<color name="background">#282a36</color> | |
<color name="currentLine">#44475a</color> | |
<color name="selection">#44475a</color> | |
<color name="foreground">#f8f8f2</color> | |
<color name="comment">#6272a4</color> | |
<color name="cyan">#8be9fd</color> | |
<color name="green">#50fa7b</color> | |
<color name="orange">#ffb86c</color> | |
<color name="pink">#ff79c6</color> | |
<color name="purple">#bd93f9</color> |
-
Делаем бекап старого .bashrc файла:
mv .bashrc .bashrc.old
-
Откатываем .bashrc:
cp /etc/skel/.bashrc ./
This file contains 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#begin('~/.vim/plugged') | |
Plug 'scrooloose/nerdtree', {'on': 'NERDTreeToggle'} | |
Plug 'itchyny/lightline.vim' | |
Plug 'dracula/vim', { 'as': 'dracula' } | |
call plug#end() | |
syntax on |
This file contains 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
@Component | |
public class WebSocketEventListener { | |
private static final Logger logger = LoggerFactory.getLogger(WebSocketEventListener.class); | |
@Autowired | |
private SimpMessageSendingOperations messagingTemplate; | |
@EventListener | |
public void handleWebSocketConnectListener(SessionConnectedEvent event) { |
NewerOlder