Windows Subsystem 2 for Linux, Hyper, ZSH + Oh My Zsh + Powerlevel9k + plugins, FNM + VSCode (+ext) and Nerd Font
To setup native Linux, see this gist
Windows Subsystem 2 for Linux, Hyper, ZSH + Oh My Zsh + Powerlevel9k + plugins, FNM + VSCode (+ext) and Nerd Font
To setup native Linux, see this gist
updateHeight(isOpen) { | |
this.lastRAF && cancelAnimationFrame(this.lastRAF); | |
if (isOpen) { | |
this.lastRAF = requestAnimationFrame(() => { | |
// read: | |
const height =`${this.contentEl.scrollHeight}px`; | |
this.lastRAF = requestAnimationFrame(() => { | |
// write in a different frame: | |
this.containerEl.style.height = height; | |
this.lastRAF = null; |
import React, { Component } from 'react' | |
import { Redirect } from 'react-router' | |
export default class ContactForm extends Component { | |
constructor () { | |
super(); | |
this.state = { | |
fireRedirect: false | |
} | |
} |
in OS X 10.4 to macOS sierra 10.12 and maybe higher!
Copy this entire code block and paste it into your terminal and push Return to create this file for you with correct permissions. It will (probably) ask for your password:
You can still play with the content of the screen
A Pen by Lucas Bebber on CodePen.
This tweaks the darcula IntelliJ theme to better match the solarized color scheme found here https://github.com/jkaving/intellij-colors-solarized
To enable, after installing the color scheme linked above set your theme to darcula.
Preferences -> Appearance -> Theme -> Darcula
Exit IntelliJ then add the tweaked darcula properties file to the idea.jar file with the following command
jar -ufv idea.jar com/intellij/ide/ui/laf/darcula/darcula.properties