Welcome to the interactive tutorial on how to use side-effect "operators" in MobX! Over the course of the next three samples, you'll learn (and be able to explore) exactly how autorun
, when
and reaction
work, and when/why you would use them when building reactive applications.
import tailwindTypography from '@tailwindcss/typography'; | |
import { Config } from 'tailwindcss'; | |
import typography from './typography'; | |
const fontKeys = { | |
xs: 'xs', | |
sm: 'sm', | |
base: 'base', | |
lg: 'lg', |
div.main | |
div.footer | |
div.bubbles | |
- for (var i = 0; i < 128; i++) //Small numbers looks nice too | |
div.bubble(style=`--size:${2+Math.random()*4}rem; --distance:${6+Math.random()*4}rem; --position:${-5+Math.random()*110}%; --time:${2+Math.random()*2}s; --delay:${-1*(2+Math.random()*2)}s;`) | |
div.content | |
div | |
div | |
b Eldew | |
a(href="#") Secuce |
A non-exhaustive list of WebGL and WebGPU frameworks and libraries. It is mostly for learning purposes as some of the libraries listed are wip/outdated/not maintained anymore.
Name | Stars | Last Commit | Description |
---|---|---|---|
three.js | ![GitHub |
# Linux | |
# add the following to "~/.gitconfig" file | |
[merge] | |
tool = intellij | |
[mergetool "intellij"] | |
cmd = /usr/local/bin/idea merge $(cd $(dirname "$LOCAL") && pwd)/$(basename "$LOCAL") $(cd $(dirname "$REMOTE") && pwd)/$(basename "$REMOTE") $(cd $(dirname "$BASE") && pwd)/$(basename "$BASE") $(cd $(dirname "$MERGED") && pwd)/$(basename "$MERGED") | |
trustExitCode = true | |
[diff] |
This is a list of tweaks to make IntelliJ IDEA work better with OpenJDK 8. Refer to System Properties for Java 2D Technology for the details of the options used below.
Note that the performance boost achieved via the OpenGL-based hardware acceleration pipeline is made possible by using the open-source Radeon driver (for AMD graphics cards) included in the latest stable version (10.3.3 as of now) of the Mesa 3D Graphics Library available in the official Fedora 21 stable repository. Therefore, the gained performance boost might vary based on the types of graphics cards and the versions of the drivers used in your system.
- Fixing Text Anti-aliasing in Fedora (Ubuntu users may skip this step.)
- Fixing text anti-aliasing in IntelliJ IDEA
In $IDEA_HOME/bin/idea64.vmoptions
(or $IDEA_HOME/bin/idea.vmoptions
on a x86 architecture), change
Moved to git repository: https://github.com/denji/jetbrains-cleanup-backup
Quick uninstall
JetBrains settings:
curl -sL https://gist.github.com/denji/9731967/raw/jetbrains-uninstall.sh | bash -s
Quick backup
JetBrains settings:
curl -sL https://gist.github.com/denji/9731967/raw/jetbrains-backup.sh | bash -s
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
# Verifies the connectivity and validity of the objects in the database | |
git fsck —unreachable | |
# Manage reflog information | |
git reflog expire —expire=0 —all | |
# Pack unpacked objects in a repository | |
git repack -a -d -l | |
# Prune all unreachable objects from the object database |