Please note that I've only tested this on Ubuntu 20.04 and WSL 2
-
Install WSL 2 and install Linux dist following Microsoft's guide
-
Install ZSH on Linux dist following oh-my-zsh's guide:
sudo apt update && sudo apt upgrade -y
Please note that I've only tested this on Ubuntu 20.04 and WSL 2
Install WSL 2 and install Linux dist following Microsoft's guide
Install ZSH on Linux dist following oh-my-zsh's guide:
sudo apt update && sudo apt upgrade -y
let isRefreshing = false; | |
let refreshSubscribers = []; | |
const instance = axios.create({ | |
baseURL: Config.API_URL, | |
}); | |
instance.interceptors.response.use(response => { | |
return response; | |
}, error => { |
import React from 'react'; | |
import Bacon from 'baconjs'; | |
/** | |
* Create a factory of higher order components that render the specified inner | |
* component using the specified mapping of property names to the streams that | |
* feed them values and the specified mapping of callback property names to | |
* the buses onto which the callbacks' first parameter is pushed when called. | |
* | |
* This is similar in concept to react-redux's connect() function, but for |
This is my build documentation for an ASUS Z170-A setup with an NVIDIA GTX960 and the Intel i5 6500, most of this came from Storks asus rog maximus build, his audio instructions didn't work for me so it differs substantially there. This build also doesn't have NVRAM. Nearest I can tell everything is running as expected, including all USB and audio ports.
Disclaimer: This piece is written anonymously. The names of a few particular companies are mentioned, but as common examples only.
This is a short write-up on things that I wish I'd known and considered before joining a private company (aka startup, aka unicorn in some cases). I'm not trying to make the case that you should never join a private company, but the power imbalance between founder and employee is extreme, and that potential candidates would
100+ different js counter apps... |
/* | |
* Динамическая сетка | |
* Внедряется подмешиванием DOM-узлу поведенческих классов: grid_col_3, grid_cell... | |
*/ | |
.grid | |
box-sizing border-box | |
/* | |
* Генерирует стили для сетки |
By @dmvaldman
Functional Reactive Programming (FRP) is generating buzz as an alternative to Object Oriented Programming (OOP) for certain use cases. However, an internet search quickly leads a curious and optimistic reader into the rabbit-hole of monads, functors, and other technical jargon. I’ve since emerged from this dark and lonely place with the realization that these words are mere implementation details, and that the core concepts are far more universal. In fact, the groundwork was laid down many centuries before the first computer, and has more to do with interpretations of reality, than structuring programs. Allow me to explain.
There’s an old thought experiment that goes like this:
The MIT License (MIT) | |
Copyright (c) 2015 Justin Perry | |
Permission is hereby granted, free of charge, to any person obtaining a copy of | |
this software and associated documentation files (the "Software"), to deal in | |
the Software without restriction, including without limitation the rights to | |
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | |
the Software, and to permit persons to whom the Software is furnished to do so, | |
subject to the following conditions: |