Skip to content

Instantly share code, notes, and snippets.

View dz-s's full-sized avatar

dz_s dz-s

  • Allegro
  • Poland
  • 09:42 (UTC -12:00)
View GitHub Profile
@dz-s
dz-s / System design framework.md
Created September 15, 2023 07:48 — forked from maximov-m/System design framework.md
System design framework part-1

System Design Framework

Цель интервью

  1. Дать достаточное кол-во сигналов для интервьюеру, что вы можете колаборировать, работать в команде проектировать и делать это сообща вместе
  2. Можно ли интервьюер представить вас в качестве члена команды? Сделать так что бы смог

L5-L6 отличаются интервью: На Л6 уровне нужно добавлять знания и показывать ваш личный экспирианс Систем дизайн это про общение с интервьюером

@morcefaster
morcefaster / pros_are_nice.md
Last active October 7, 2024 19:53
Did anyone say drama?

Preface

Hello everyone. With Ceb drama getting so much traction, I decided to do what any rational person would do in this situation - download all public matches of all professional dota 2 players and then scan the all-chat for any racism or naughty naughty words, so the j͇͕͙ͣu͒͆s̼̠͍̖̮̳ͮ̃t̫̙̯͎ͬ̇̊̄iͨć̼͓ͬͨ͑ͣe͉̜̫̱̠̘̋̒ͅ can be upheld once and for all.

There are several nuances that stood in my way.

  1. Many professionals' pubs are kept private.
  2. Most of the trashtalk happens in ally chat, which isn't saved.
  3. Some of the trashtalk happens over mic... which again, isn't saved.
  4. Some of the trashtalk happens on smurf accounts, which I did not include here.
@Sawaba
Sawaba / javainstall.sh
Created March 6, 2019 16:02
Java JDK 11 install script for Windows Subsystem for Linux (WSL)
#!/bin/bash
# This script adapted from an older post on StackOverflow by user fieldju
# https://stackoverflow.com/questions/36478741/installing-oracle-jdk-on-windows-subsystem-for-linux
# The script was for JDK 8.
# Due to major changes with JDK 11 (no JRE, no Derby, Unlimited Strength included), it was necessary to update the entire script.
set -ex
# UPDATE THESE URLs (this one updated as of 2019-03-06)
export JDK_URL=http://download.oracle.com/otn-pub/java/jdk/11.0.2+9/f51449fcd52f4d52b93a989c5c56ed3c/jdk-11.0.2_linux-x64_bin.tar.gz
@threepointone
threepointone / for-snook.md
Last active August 26, 2023 15:43
For Snook

https://twitter.com/snookca/status/1073299331262889984?s=21

‪“‬In what way is JS any more maintainable than CSS? How does writing CSS in JS make it any more maintainable?”

‪Happy to chat about this. There’s an obvious disclaimer that there’s a cost to css-in-js solutions, but that cost is paid specifically for the benefits it brings; as such it’s useful for some usecases, and not meant as a replacement for all workflows. ‬

‪(These conversations always get heated on twitter, so please believe that I’m here to converse, not to convince. In return, I promise to listen to you too and change my opinions; I’ve had mad respect for you for years and would consider your feedback a gift. Also, some of the stuff I’m writing might seem obvious to you; I’m not trying to tell you if all people of some of the details, but it might be useful to someone else who bumps into this who doesn’t have context)‬

So the big deal about css-in-js (cij) is selectors.

@zerobias
zerobias / nicknames.md
Last active June 16, 2022 07:44
nicknames
16.06.2022
Дима Zerobias
01.03.2022
⛴➡️🍆
const AWS = require('aws-sdk');
const client = new AWS.SecretsManager({});
// Call the AWS API and return a Promise
function getAwsSecret(secretName) {
return client.getSecretValue({ SecretId: secretName }).promise();
}
// Create a async function to use the Promise
@berkedel
berkedel / flow-error-icu4c-not-loaded.md
Created April 4, 2018 14:13
dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.60.dylib

How to solve dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.60.dylib

brew uninstall --ignore-dependencies node icu4c
brew install node
anonymous
anonymous / гайд.md
Created March 7, 2018 21:16
Музыкальная теория и импровизация

Гайд для ньюфагов

  • наворачивай https://www.coursera.org/learn/edinburgh-music-theory
  • прорешивай Berklee - Music Theory 1 и 2 (рабочая тетрадь с аудио, ссылка на торрент ниже)
  • параллельно дрочи https://www.musictheory.net/exercises (этот же сайт можешь использовать в качестве справочника) и functional ear trainer (на андроиде)
  • не забывай, что тебе нужно петь\мычать все то, что ты слушаешь\угадываешь\пишешь
  • не забывай, что тебе нужно играть на инструменте все, что ты пишешь (обязательно) и читаешь (необязательно)
  • не забывай, что тебе нужно ТВОРЧЕСКИ КОМБИНИРОВАТЬ все изучаемые концепции. Научился петь первые три ноты мажорной гаммы? Придумай из них мелодию, пой их с разными ритмами, накладывай на них разные слова, постарайся вспомнить знакомые тебе песенки с такими же отрезками мелодии. Научился строить мажорное трезвучие? Играй его во всех 12 тональностях, пробуй комбинировать разные трезвучия, ищи последовательности, которые для тебя интересно звучат, переставляй ноты местами, ар
@ncochard
ncochard / babel-webpack.md
Last active September 29, 2023 05:15
The correct way to compile ES6 using babel...

When you create a npm package, remember it might be used in a browser or a server, or even a command line utility… For each package you create, please pay attention at what it will be used for:

  1. Is it going to be used as a dependency to a nodejs application that is not bundled? (e.g. command line utilities)
  2. Is it going to be used as a dependency to a nodejs application that is bundled? (e.g. AWS Lambdas)
  3. Is it going to be used as a dependency to a browser application (always bundled)?.
  • In cases 2) and 3) you want to allow for tree shaking.
  • In cases 1) and 2) you want to benefit from the "ES6"/"ES next" features supported natively by nodejs.
  • In case 3) you also want to benefit from the native support of "ES6" from your browser.
@ForgottenUmbrella
ForgottenUmbrella / publish_python.md
Last active September 24, 2024 10:14
How to publish Python apps for human beings

How to publish Python apps for human beings

So, you've created a Python app (be it a graphical user interface with Qt or the like, or a simple command line interface). Great! But how are others going to use it? Python applications often have dependencies (e.g. from third-party modules), and they also need a Python interpreter to run them. For a developer, installing all the necessary bits and bobs to make things work is okay, but that's unacceptable for a normal user - they just want to download the thing and run it.

Below are simple instructions to publish your app on the three main operating systems: Windows, macOS and Linux.