Skip to content

Instantly share code, notes, and snippets.

😇
_yo

Sergiy Rudenko silavsale

😇
_yo
Block or report user

Report or block silavsale

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@silavsale
silavsale / 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
View multiple-deploy-keys-multiple-private-repos-github-ssh-config.md

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.

View ERRORS.md

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

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

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

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

@silavsale
silavsale / vscode_shortcuts.md
Created Nov 16, 2019 — forked from bradtraversy/vscode_shortcuts.md
Helpful shortcuts for VSCode
View vscode_shortcuts.md

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

View eslintrc.json
{
"env": {
"browser": true,
"es6": true
},
"extends": [
"airbnb"
],
"globals": {
"Atomics": "readonly",
View node.js
const express = require('express');
const morgan = require('morgan');
const fs = require("fs");
const {Pool, Client} = require('pg');
const bodyParser = require('body-parser');
const contents = fs.readFileSync("user.json");
const jsonContent = JSON.parse(contents);
const app = express();
View gist:51b5622464404bb5e97cd26fc8e6c7fa
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
@silavsale
silavsale / TypeConvert
Created Oct 25, 2016
TypeConvert перетворення типів даних
View TypeConvert
public class TypeConvert {
public static void main(String[] args) {
System.out.println("Значення byte Від " + Byte.MIN_VALUE + " До " +Byte.MAX_VALUE);
System.out.println("Значення short Від " + Short.MIN_VALUE + " До " + Short.MAX_VALUE);
System.out.println("Значення int Від " + Integer.MIN_VALUE + " До " + Integer.MAX_VALUE);
System.out.println("Значення long Від " + Long.MIN_VALUE + " До " + Long.MAX_VALUE);
System.out.println("---------------------------------------------------------------");
View UmovnyiOperator
import java.util.Scanner;
public class UmovnyiOperator {
//тернарний
public static void main(String[]args)
{
System.out.println("Введіть свій номер:");
Scanner scan = new Scanner(System.in);
int id = scan.nextInt();
View UmovnyiOperator_01
import java.util.Scanner;
public class UmovnyiOperator {
public static void main(String[]args)
{
System.out.println("Введіть свій номер:");
Scanner scan = new Scanner(System.in);
int id = scan.nextInt();
double tsina = 0.0;
You can’t perform that action at this time.