You may want to use AdGuard's DNS over HTTPS[^2] service if you
- Want to make it harder for your ISP to know what websites you are requesting
- Want to block most traditional ads from your web browsing experience across your entire PC
- Open PowerShell
#!/usr/bin/env bash | |
# | |
# Usage: | |
# transcode filename [filename...] | |
# | |
# File type is determined using: | |
# | |
# file --mime-type filename | |
# | |
# Audio files: |
import { Switch, Route } from 'react-router' | |
import { replace } from 'react-router-redux' | |
@connect(null, { replace }) | |
class PrivateRoute extends React.Component { | |
componentWillMount() { | |
this.props.replace('/foo') | |
} | |
render() { |
Not all random values are created equal - for security-related code, you need a specific kind of random value.
A summary of this article, if you don't want to read the entire thing:
Math.random()
. There are extremely few cases where Math.random()
is the right answer. Don't use it, unless you've read this entire article, and determined that it's necessary for your case.crypto.getRandomBytes
directly. While it's a CSPRNG, it's easy to bias the result when 'transforming' it, such that the output becomes more predictable.uuid
, specifically the uuid.v4()
method. Avoid node-uuid
- it's not the same package, and doesn't produce reliably secure random values.random-number-csprng
.You should seriously consider reading the entire article, though - it's
const I = x => x | |
const K = x => y => x | |
const A = f => x => f (x) | |
const T = x => f => f (x) | |
const W = f => x => f (x) (x) | |
const C = f => y => x => f (x) (y) | |
const B = f => g => x => f (g (x)) | |
const S = f => g => x => f (x) (g (x)) | |
const S_ = f => g => x => f (g (x)) (x) | |
const S2 = f => g => h => x => f (g (x)) (h (x)) |
FROM php:5.6-cli | |
RUN apt-get update \ | |
&& apt-get install -y \ | |
libfreetype6-dev \ | |
&& rm -rf /var/lib/apt/lists/* \ | |
&& docker-php-ext-install iconv \ | |
&& apt-get remove -y \ | |
libfreetype6-dev \ | |
&& apt-get install -y \ |
Currently considering https://github.com/webdriverio/webdrivercss
Core Goals:
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.