Skip to content

Instantly share code, notes, and snippets.

View phunkren's full-sized avatar
🏴󠁧󠁢󠁳󠁣󠁴󠁿
2️⃣0️⃣0️⃣

Andrew James phunkren

🏴󠁧󠁢󠁳󠁣󠁴󠁿
2️⃣0️⃣0️⃣
View GitHub Profile
@phunkren
phunkren / .env
Last active April 25, 2020 12:05
"Segment as a Service" /s
REACT_APP_SEGMENT_WRITE_KEY=dUmmYK3yTh@tisnaeReel
@phunkren
phunkren / Component.jsx
Last active October 29, 2020 22:30
My custom Theme provider for ajames.dev
import React from 'react';
import styled from 'styled-components';
const Container = styled.div(({ theme }) => css`
background-color: ${theme.background};
background-color: ${theme.copyColor};
border-color: ${theme.borderColor};
`);
export const Component = ({ children, ...props }) => {
@phunkren
phunkren / etc-hosts-on-win.md
Created November 5, 2020 12:24 — forked from zenorocha/etc-hosts-on-win.md
/etc/hosts on Windows

1. Get your IP Address

echo `ifconfig $(netstat -nr | grep -e default -e "^0\.0\.0\.0" | head -1 | awk '{print $NF}') | grep -e "inet " | sed -e 's/.*inet //' -e 's/ .*//' -e 's/.*\://'`

2. Modify your hosts file

notepad