Skip to content

Instantly share code, notes, and snippets.

View thedvlprs's full-sized avatar
⌨️
One mistake—and you’re wrong.

Sophie thedvlprs

⌨️
One mistake—and you’re wrong.
View GitHub Profile
@thedvlprs
thedvlprs / my_vision_of_oop.md
Created November 27, 2020 06:22 — forked from Student-Java/my_vision_of_oop.md
My vision of OOP(Russian lang)

Про ООП

Disclaimer - все ниже написанное это мое понимание ООП, не факт что все это канонически верно ;), плюс я не спец в JS, но я постараюсь описать свое виденье применительно к нему. Проблема с ООП в том, что его не надо заучивать - его надо использовать и понять в процессе, после чего все станет простым и понятным. В инете полно объяснений на эту тему, не думаю, что мое будет чем-то лучше, но я все же попробую

ООП придумали для упрощения написания и понимания кода(особенно при командной разработке) и последующей его поддержки. Человек мыслит, воспринимает и запоминает информацию образами или объектами. У себя в голове мы можем сколько угодно "разговаривать", но, когда надо думать быстро, мы не используем слова, а мыслеобразы. До ООП активно использовалось императивное/процедурное программирование, но они хороши когда кодовая база маленькая и код пишет один человек (C/Pascal/Assembler/etc). Когда стало понятно, что код программ начинает превышать разумные пределы которыми человек может оперироват

@thedvlprs
thedvlprs / nvmCommands.js
Created November 7, 2020 08:35 — forked from chranderson/nvmCommands.js
Useful NVM commands
// check version
node -v || node --version
// list installed versions of node (via nvm)
nvm ls
// install specific version of node
nvm install 6.9.2
// set default version of node
@thedvlprs
thedvlprs / random_color_array.js
Created September 26, 2020 16:48 — forked from mucar/random_color_array.js
Javascript Random Color Array
var colorArray = ['#FF6633', '#FFB399', '#FF33FF', '#FFFF99', '#00B3E6',
'#E6B333', '#3366E6', '#999966', '#99FF99', '#B34D4D',
'#80B300', '#809900', '#E6B3B3', '#6680B3', '#66991A',
'#FF99E6', '#CCFF1A', '#FF1A66', '#E6331A', '#33FFCC',
'#66994D', '#B366CC', '#4D8000', '#B33300', '#CC80CC',
'#66664D', '#991AFF', '#E666FF', '#4DB3FF', '#1AB399',
'#E666B3', '#33991A', '#CC9999', '#B3B31A', '#00E680',
'#4D8066', '#809980', '#E6FF80', '#1AFF33', '#999933',
'#FF3380', '#CCCC00', '#66E64D', '#4D80CC', '#9900B3',
'#E64D66', '#4DB380', '#FF4D4D', '#99E6E6', '#6666FF'];
@thedvlprs
thedvlprs / ngrok-installation.md
Created April 13, 2020 17:24 — forked from wosephjeber/ngrok-installation.md
Installing ngrok on Mac

Installing ngrok on OSX

brew cask install ngrok

Using ngrok

The easiest way to use ngrok to tunnel into your localhost is if your local project is running on a specific port (e.g. not using named vhosts). You just run ngrok http [port number].

You can quickly boot up a local webserver using ruby. cd into the project's root directory and run ruby -run -e httpd . -p [port number].

@thedvlprs
thedvlprs / modern_js.md
Created March 17, 2020 15:10 — forked from gaearon/modern_js.md
Modern JavaScript in React Documentation

If you haven’t worked with JavaScript in the last few years, these three points should give you enough knowledge to feel comfortable reading the React documentation:

  • We define variables with let and const statements. For the purposes of the React documentation, you can consider them equivalent to var.
  • We use the class keyword to define JavaScript classes. There are two things worth remembering about them. Firstly, unlike with objects, you don't need to put commas between class method definitions. Secondly, unlike many other languages with classes, in JavaScript the value of this in a method [depends on how it is called](https://developer.mozilla.org/en-US/docs/Web/Jav

Keybase proof

I hereby claim:

  • I am teksavyy on github.
  • I am glitchie (https://keybase.io/glitchie) on keybase.
  • I have a public key ASC5S3ZsdLPkOhz9UhUvZc898aOp2UhOp1OTkGaA7LRXLgo

To claim this, I am signing this object:

@thedvlprs
thedvlprs / education_path.md
Created December 22, 2019 06:43 — forked from ilyar/education_path.md
Маршруты обучения STEM (Science, Technology, Engineering, Mathematics)

Education STEM (Science, Technology, Engineering, Mathematics) path

STEM-навыки жизненно необходимы в современном мире, но технология сама по себе, как утверждал когда-то Стив Джобс — это не всё, а Google это доказал https://ru.hexlet.io/blog/posts/stem-or-humanity

Основы

Курсы и практики без настроек локального окружения, тебуется только браузер.

@thedvlprs
thedvlprs / vscode_shortcuts.md
Created November 1, 2019 18:46 — forked from bradtraversy/vscode_shortcuts.md
Helpful shortcuts for VSCode

VSCode Shortcuts

List of helpful shortcuts for faster coding

Official List of all commands

Open/View

@thedvlprs
thedvlprs / pipenv_cheat_sheet.md
Created October 13, 2019 17:10 — forked from bradtraversy/pipenv_cheat_sheet.md
Pipenv cheat sheet for common commands

Pipenv Cheat Sheet

Install pipenv

pip3 install pipenv

Activate

pipenv shell
@thedvlprs
thedvlprs / docker-help.md
Created October 12, 2019 06:39 — forked from bradtraversy/docker-help.md
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info