Skip to content

Instantly share code, notes, and snippets.

View silavsale's full-sized avatar
😇
_yo

Sergiy Rudenko silavsale

😇
_yo
  • Canada
  • 00:24 (UTC -04:00)
View GitHub Profile
import { useState, useEffect, useRef } from 'react';
// import { HideUntilLoaded } from 'react-animation';
import PropTypes from 'prop-types';
import Spinner from '../spinner/Spinner';
import ErrorMessage from '../errorMessage/ErrorMessage';
import MarvelServices from '../services/MarvelServices';
import './charlist.scss';
@silavsale
silavsale / .powerlevelrc
Created October 15, 2020 03:14 — forked from cviebrock/.powerlevelrc
PowerLevel9K configuration
# General
POWERLEVEL9K_MODE='nerdfont-complete'
POWERLEVEL9K_COLOR_SCHEME='dark'
# Prompts
if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(context dir virtualenv vcs)
else
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(root_indicator dir virtualenv vcs)
fi
@silavsale
silavsale / multiple-deploy-keys-multiple-private-repos-github-ssh-config.md
Created December 14, 2019 23:30 — forked from gubatron/multiple-deploy-keys-multiple-private-repos-github-ssh-config.md
How to configure multiple deploy keys for different private github repositories on the same computer without using ssh-agent

Let's say alice is a github.com user, with 2 or more private repositories repoN. For this example we'll work with just two repositories named repo1 and repo2

https://github.com/alice/repo1

https://github.com/alice/repo2

You need to be to pull from these repositories without entering a passwords probably on a server, or on multiple servers. You want to perform git pull origin master for example, and you want this to happen without asking for a password.

@silavsale
silavsale / ERRORS.md
Created December 12, 2019 18:35 — forked from desigens/ERRORS.md

Доклад «Снова ошибки»

3 августа 2017, RamblerFront& meetup #2, Москва

В коде начинающих программистов обычно много ошибок. Постепенно мы набираемся опыта, код становится надежнее, покрывается тестами, и нам кажется, что ошибки в нашем коде практически исключены.

Но фронтенд — это неконтролируемая среда и произойти может что угодно. Доклад о том, как начать использовать ошибки в свою пользу.

@silavsale
silavsale / vscode_shortcuts.md
Created November 16, 2019 18:08 — forked from bradtraversy/vscode_shortcuts.md
Helpful shortcuts for VSCode

VSCode Shortcuts

List of helpful shortcuts for faster coding

If you have any other helpful shortcuts, feel free to add in the comments of this gist :)

Official List of all commands

@silavsale
silavsale / gist:51b5622464404bb5e97cd26fc8e6c7fa
Created May 11, 2018 17:36 — forked from andyyou/gist:3052671
C# Controls abbreviation
btn Button chk CheckBox ckl CheckedListBox
cmb ComboBox dtp DateTimePicker lbl Label
llb LinkLabel lst ListBox lvw ListView
mtx MaskedTextBox cdr MonthCalendar icn NotifyIcon
nud NumeircUpDown pic PictureBox prg ProgressBar
rdo RadioButton rtx RichTextBox txt TextBox
tip ToolTip tvw TreeView wbs WebBrowser
容器
flp FlowLayoutPanel grp GroupBox pnl Panel