This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Technical and architectural audit of a system. This is an evolving documentation vault, not a codebase.
| /* | |
| * Paste in the developer's console | |
| */ | |
| var i = 0; | |
| function scroll(){ | |
| var scrollingElement = (document.scrollingElement || document.body); | |
| scrollingElement.scrollTop = scrollingElement.scrollHeight; | |
| console.log('Scroll', i++); | |
| } |
Это краткая памятка, которая подходит во время вспышки любого респираторного вирусного заболевания. Я ее пишу не для того, чтобы вы срочно начинали все это делать - никакого повода нет. Но, если вы хотите снизить вероятность получения или распространения вирусов - прочитайте.
| ==> https://blog.sitedd.ru/archives/109 | |
| Linux. Монтирование Яндекс.Диск по WebDAV в локальную файловую систему | |
| Ubuntu 16.04 | |
| davfs2 | |
| Установка davfs2 |
| # If you come from bash you might have to change your $PATH. | |
| # export PATH=$HOME/bin:/usr/local/bin:$PATH | |
| # Path to your oh-my-zsh installation. | |
| export ZSH=$HOME/.oh-my-zsh | |
| # Set name of the theme to load. Optionally, if you set this to "random" | |
| # it'll load a random theme each time that oh-my-zsh is loaded. | |
| # See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes | |
| POWERLEVEL9K_MODE="nerdfont-complete" |
| 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 |
You must use the magic method %save:
In [1]: %save?
Type: Magic function
String Form:<bound method CodeMagics.save of <IPython.core.magics.code.CodeMagics object at 0x7fb5d25bb1d0>>
Namespace: IPython internal
File: /usr/lib/python2.7/dist-packages/IPython/core/magics/code.py
| #define WIN32_LEAN_AND_MEAN // just say no to MFC | |
| #define INIT_GUID | |
| #include "hge.h" | |
| #include <hgesprite.h> | |
| #include <hgefont.h> | |
| #include <hgecolor.h> |
| #!/bin/bash | |
| mkdir -p ~/.ssh | |
| # generate new personal ed25519 ssh keys | |
| ssh-keygen -o -a 100 -t ed25519 -f ~/.ssh/id_ed25519 -C "rob thijssen <rthijssen@gmail.com>" | |
| ssh-keygen -o -a 100 -t ed25519 -f ~/.ssh/id_robtn -C "rob thijssen <rob@rob.tn>" | |
| # generate new host cert authority (host_ca) ed25519 ssh key | |
| # used for signing host keys and creating host certs |