Skip to content

Instantly share code, notes, and snippets.

@kotenev
kotenev / Privychka_delat_seychas.md
Created December 19, 2025 14:06 — forked from jigi-33/Privychka_delat_seychas.md
ПРИВЫЧКА ДЕЛАТЬ СЕЙЧАС - практическая методика как эффективно справляться с рутиными делами

"ПРИВЫЧКА ДЕЛАТЬ СЕЙЧАС"

(легкий способ победить прокрастинацию)

основные тезисы


«Привычка делать сейчас» Нила Фиоре - это самоучитель о понимании процесса непрерывного развития и о преодолении прокрастинации.

Прокрастинация - это механизм борьбы с боязнью начала или завершения задачи. Никто не ленив во всем: можно быть неспособным начать

@kotenev
kotenev / Шпаргалка по Markdown.md
Created December 19, 2025 13:40 — forked from fomvasss/Шпаргалка по Markdown.md
Шпаргалка по Markdown

There's a workaround that might be useful for some people - use the Shadowsocks app for Android TV. Because that app only accepts a JSON configuration file, you need to convert the Outline key to JSON.

  1. Take the following JSON file template:
    {
        "server":"YOUR-SERVER",
        "server_port":12345,
        "local_port":1080,
        "password":"YOUR-PASSWORD",
        "method":"chacha20-ietf-poly1305",
@kotenev
kotenev / System Design.md
Created August 10, 2023 13:40 — forked from vasanthk/System Design.md
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
@kotenev
kotenev / build.cmd
Created June 3, 2023 11:23 — forked from mmozeiko/build.cmd
download & build llvm+clang on Windows
@echo off
setlocal enabledelayedexpansion
rem !!! build requirements !!!
rem Visual Studio 2019 or 2022
rem 7-Zip - https://www.7-zip.org/download.html
rem Python - https://www.python.org/downloads/
rem CMake - http://www.cmake.org/download/
rem ninja.exe - https://github.com/ninja-build/ninja/releases/latest
@kotenev
kotenev / vnc_install.sh
Created June 3, 2023 10:05 — forked from x43x61x69/vnc_install.sh
Steam Deck VNC Installation
#!/bin/bash
#
# Script for installing x11vnc on Steam Deck.
#
# Install:
#
# sh -c "$(curl -fsSL https://gist.githubusercontent.com/x43x61x69/9a5a231a25426e8a2cc0f7c24cfdaed9/raw/vnc_install.sh?$RANDOM)"
#
# This will modify root filesystem so it will probably get
# overwrite on system updates but is totally ok executing
@kotenev
kotenev / build.gradle
Created March 12, 2023 18:52 — forked from quidryan/build.gradle
Code to use ssh-agent when using JGit. Running in Gradle with the gradle-git plugin.
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'org.ajoberstar:gradle-git:0.5.0' // not used in this example, but it's what brings in JGit
classpath 'com.jcraft:jsch.agentproxy.jsch:0.0.5'
classpath 'com.jcraft:jsch.agentproxy.usocket-jna:0.0.5'
classpath 'com.jcraft:jsch.agentproxy.sshagent:0.0.5'
}
@kotenev
kotenev / gtd.md
Created January 18, 2023 09:59 — forked from omgreenfield/gtd.md
Getting things done (GTD)

Getting Things Done (GTD)

Since I could remember, I've been obsessed with structure and organization that facilitate clarity and efficiency. I'm always trying to find the perfect way to leverage Jira, Confluence, Trello, and a thousand other tools to make work and life easier. It's gotten better, but it's far from perfect.

Recently, I started listening to the David Allen's audio book, "Getting Things Done: The Art of Stress-Free Productivity". In only a few chapters, this audio book has inspired me to completely revamp how I "get things done".

While I haven't heard the entire GTD system or even fully grasped everything I've heard, here are a few concepts that have already helped me become more productive at work and helped my family become more productive at home.

Get it out of your head

import json
import requests
from bs4 import BeautifulSoup
def fetch_coingecko_html():
# make a request to the target website
r = requests.get("https://www.coingecko.com")
if r.status_code == 200:
# if the request is successful return the HTML content