Skip to content

Instantly share code, notes, and snippets.

View dw2's full-sized avatar
💭
Frontend React Developer

Douglas Waltman II dw2

💭
Frontend React Developer
View GitHub Profile
@dw2
dw2 / masked-textarea.js
Created November 7, 2018 23:56
Example of React Components for Masking Offensive Input
import React from 'react';
import styled from 'styled-components';
const Wrapper = styled.div`
overflow: hidden;
position: relative;
`;
const Textarea = styled.textarea`
background: transparent;
Pegasus ~ ∴ npm -v
3.3.12
Pegasus ~ ∴ node -v
v5.5.0
Pegasus ~ ∴ sudo npm install zuul -g
Password:
npm WARN deprecated lodash@2.4.2: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0
npm WARN deprecated lodash@2.1.0: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0
@dw2
dw2 / gist:59ce6fe559c04b2fdf3f
Created October 14, 2015 22:41
Derived Props
// -------------
// templates/body.jade
// -------------
body
nav.navbar.navbar-default
div.container-fluid
div.navbar-header
a.navbar-brand(href='/') VibraGenix
ul.nav.navbar-nav
@dw2
dw2 / Keybase Verification
Last active August 29, 2015 14:07
Keybase Verification
### Keybase proof
I hereby claim:
* I am dw2 on github.
* I am dw2 (https://keybase.io/dw2) on keybase.
* I have a public key whose fingerprint is EDFD 228B 7B7B C28D 56EF 0890 82A0 D273 9F42 6907
To claim this, I am signing this object: