Skip to content

Instantly share code, notes, and snippets.

@koderhun
Last active November 1, 2025 06:57
Show Gist options
  • Select an option

  • Save koderhun/2b1a68566e116b95da644ad364949ca6 to your computer and use it in GitHub Desktop.

Select an option

Save koderhun/2b1a68566e116b95da644ad364949ca6 to your computer and use it in GitHub Desktop.

Revisions

  1. koderhun revised this gist Nov 1, 2025. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions readme.md
    Original file line number Diff line number Diff line change
    @@ -75,4 +75,5 @@ sudo snap install figma-linux gimp libreoffice
    ### Обновление папок по умолчанию
    ```
    mkdir downloads templeats documents desktop pictures musics videos share
    rm -rf Downloads/ Documents/ Desktop/ Pictures/ Videos/ Music/ Templates/ Public/
    ```
  2. koderhun revised this gist Oct 2, 2025. 1 changed file with 11 additions and 2 deletions.
    13 changes: 11 additions & 2 deletions readme.md
    Original file line number Diff line number Diff line change
    @@ -45,6 +45,15 @@ alias pd='pnpm dev'
    #system alias
    alias up='sudo aptitude update && sudo aptitude upgrade'

    # SSH configuration
    unset SSH_ASKPASS
    export GIT_ASKPASS=

    # Auto-add GitHub to known_hosts if not present
    if [ ! -f ~/.ssh/known_hosts ] || ! grep -q "github.com" ~/.ssh/known_hosts; then
    ssh-keyscan github.com >> ~/.ssh/known_hosts 2>/dev/null
    fi

    ```
    ### Так же заменить строку
    ```bash
    @@ -59,9 +68,9 @@ PS1='\[\033[01;34m\]\w\[\033[00m\] $ '

    ### Пакеты которые необходимо установить
    ```
    sudo apt install aptitude android-tools-adb git wget fastboot audacious preload -y &&
    sudo apt install aptitude android-tools-adb git wget fastboot preload -y &&
    flatpak install flathub org.telegram.desktop -y &&
    sudo snap install mattermost-desktop figma-linux gimp libreoffice
    sudo snap install figma-linux gimp libreoffice
    ```
    ### Обновление папок по умолчанию
    ```
  3. koderhun revised this gist Jul 3, 2025. 1 changed file with 0 additions and 4 deletions.
    4 changes: 0 additions & 4 deletions readme.md
    Original file line number Diff line number Diff line change
    @@ -67,7 +67,3 @@ sudo snap install mattermost-desktop figma-linux gimp libreoffice
    ```
    mkdir downloads templeats documents desktop pictures musics videos share
    ```
    ### Установка v2rayA
    [https://v2raya.org/en/docs/prologue/installation/](https://v2raya.org/en/docs/prologue/installation/)

    И выбрать в настройках vpn не "разделять трафик"
  4. koderhun revised this gist Jul 3, 2025. No changes.
  5. koderhun revised this gist Jul 3, 2025. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion readme.md
    Original file line number Diff line number Diff line change
    @@ -68,4 +68,6 @@ sudo snap install mattermost-desktop figma-linux gimp libreoffice
    mkdir downloads templeats documents desktop pictures musics videos share
    ```
    ### Установка v2rayA
    [https://v2raya.org/en/docs/prologue/installation/](https://v2raya.org/en/docs/prologue/installation/)
    [https://v2raya.org/en/docs/prologue/installation/](https://v2raya.org/en/docs/prologue/installation/)

    И выбрать в настройках vpn не "разделять трафик"
  6. koderhun revised this gist Jul 3, 2025. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions readme.md
    Original file line number Diff line number Diff line change
    @@ -67,3 +67,5 @@ sudo snap install mattermost-desktop figma-linux gimp libreoffice
    ```
    mkdir downloads templeats documents desktop pictures musics videos share
    ```
    ### Установка v2rayA
    [https://v2raya.org/en/docs/prologue/installation/](https://v2raya.org/en/docs/prologue/installation/)
  7. koderhun renamed this gist Feb 5, 2025. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  8. koderhun revised this gist Feb 5, 2025. 1 changed file with 9 additions and 0 deletions.
    9 changes: 9 additions & 0 deletions .prettierrc
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    {
    "printWidth": 80,
    "singleQuote": true,
    "trailingComma": "all",
    "bracketSpacing": false,
    "jsxBracketSameLine": true,
    "tabWidth": 2,
    "semi": false
    }
  9. koderhun revised this gist Feb 5, 2025. 1 changed file with 13 additions and 0 deletions.
    13 changes: 13 additions & 0 deletions .editorconfig
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    # EditorConfig файл
    root = true

    [*]
    indent_style = space
    indent_size = 2
    end_of_line = lf
    charset = utf-8
    trim_trailing_whitespace = true
    insert_final_newline = true

    [*.{js,jsx,ts,tsx,css,scss,html}]
    max_line_length = 80
  10. koderhun revised this gist Dec 15, 2024. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion readme.md
    Original file line number Diff line number Diff line change
    @@ -11,7 +11,7 @@

    ### Добавить alias в `.bashrc`

    ```bash
    ```sh

    # git aliases
    alias gss='git status '
  11. koderhun revised this gist Dec 15, 2024. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions readme.md
    Original file line number Diff line number Diff line change
    @@ -47,13 +47,13 @@ alias up='sudo aptitude update && sudo aptitude upgrade'

    ```
    ### Так же заменить строку
    `
    ```bash
    PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
    `
    ```
    на
    `
    ```bash
    PS1='\[\033[01;34m\]\w\[\033[00m\] $ '
    `
    ```
    Это для того чтобы длинна приветственной строки была меньше


  12. koderhun revised this gist Dec 15, 2024. 1 changed file with 10 additions and 0 deletions.
    10 changes: 10 additions & 0 deletions readme.md
    Original file line number Diff line number Diff line change
    @@ -46,6 +46,16 @@ alias pd='pnpm dev'
    alias up='sudo aptitude update && sudo aptitude upgrade'

    ```
    ### Так же заменить строку
    `
    PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
    `
    на
    `
    PS1='\[\033[01;34m\]\w\[\033[00m\] $ '
    `
    Это для того чтобы длинна приветственной строки была меньше


    ### Пакеты которые необходимо установить
    ```
  13. koderhun revised this gist Dec 15, 2024. 1 changed file with 12 additions and 1 deletion.
    13 changes: 12 additions & 1 deletion readme.md
    Original file line number Diff line number Diff line change
    @@ -45,4 +45,15 @@ alias pd='pnpm dev'
    #system alias
    alias up='sudo aptitude update && sudo aptitude upgrade'

    ```
    ```

    ### Пакеты которые необходимо установить
    ```
    sudo apt install aptitude android-tools-adb git wget fastboot audacious preload -y &&
    flatpak install flathub org.telegram.desktop -y &&
    sudo snap install mattermost-desktop figma-linux gimp libreoffice
    ```
    ### Обновление папок по умолчанию
    ```
    mkdir downloads templeats documents desktop pictures musics videos share
    ```
  14. koderhun created this gist Dec 12, 2024.
    48 changes: 48 additions & 0 deletions readme.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,48 @@
    ## Настройка окружения для локальной разработаки

    Настройки у этих ребят могут поменяться так что лучше копировать ссылки прямо из их документации
    ### NVM
    [https://github.com/nvm-sh/nvm?tab=readme-ov-file#install--update-script](https://github.com/nvm-sh/nvm?tab=readme-ov-file#install--update-script)
    #### Если понадобится `.nvmrc`
    [https://github.com/nvm-sh/nvm?tab=readme-ov-file#bash](https://github.com/nvm-sh/nvm?tab=readme-ov-file#bash)

    ### PNPM
    [https://pnpm.io/installation#on-posix-systems](https://pnpm.io/installation#on-posix-systems)

    ### Добавить alias в `.bashrc`

    ```bash

    # git aliases
    alias gss='git status '
    alias ga='git add '
    alias gb='git branch '
    alias gc='git commit'
    alias gcm='git commit -am '
    alias gd='git diff'
    alias gco='git checkout '
    alias gk='gitk --all&'
    alias gx='gitx --all'
    alias gf='git fetch --prune '
    alias gp='gf && git pull '
    alias gm='git merge origin/master '
    alias gpm='gp && gm'
    alias gpo='gf && git push origin '

    alias got='git '
    alias get='git '

    #npm aliases
    alias ni='npm install '
    alias ns='npm start '
    alias nd='npm run dev '
    alias nb='npm run build '

    #pnpm
    alias pi='pnpm install'
    alias pd='pnpm dev'

    #system alias
    alias up='sudo aptitude update && sudo aptitude upgrade'

    ```