A timeline of the last four years of detecting good old window.localStorage
.
October 2009: 5059daa
A timeline of the last four years of detecting good old window.localStorage
.
October 2009: 5059daa
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
brew install bash | |
echo "/usr/local/bin/bash" | sudo tee -a /etc/shells | |
chsh -s /usr/local/bin/bash |
update
I've created a little repository that simply exposes the final utility as npm
module.
It's called html-escaper
there is basically one rule only: do not ever replace one char after another if you are transforming a string into another.
Ref: https://gist.github.com/vertexclique/9839383
Please use built-in Terminal.app (of Mac OS X) to type and rune the command, do not use another tool (like iTerm2).
Common step after enter run the patch command:
$ ffmpeg -i input.mp4 -vcodec h264 -acodec mp2 output.mp4 |
import React from "react"; | |
import useMutableReducer from "./useMutableReducer"; | |
const reducer = (draft, action, state) => { | |
switch (action) { | |
case "increment": | |
draft.count++; | |
break; | |
case "decrement": | |
draft.count--; |