Skip to content

Instantly share code, notes, and snippets.

View codyaverett's full-sized avatar
🎯
Focusing

Cody Averett codyaverett

🎯
Focusing
View GitHub Profile
@codyaverett
codyaverett / Gatsby_docker.yml
Last active January 24, 2019 14:53
Short Ansible playbook to make sure my blog is running on a server
---
- hosts: localhost
gather_facts: True
tasks:
- name: Ensure blog container is running
docker_container:
name: codyaverett-blog
state: started
image: codyaverett/blog:latest
restart: yes
@codyaverett
codyaverett / .block
Created October 7, 2018 07:03 — forked from baramuyu/.block
D3.js v4 Gantt Chart, example 3
license: mit
@codyaverett
codyaverett / README.md
Created July 25, 2018 11:08 — forked from roachhd/README.md
EMOJI cheatsheet 😛😳😗😓🙉😸🙈🙊😽💀💢💥✨💏👫👄👃👀👛👛🗼🔮🔮🎄🎅👻

EMOJI CHEAT SHEET

Emoji emoticons listed on this page are supported on Campfire, GitHub, Basecamp, Redbooth, Trac, Flowdock, Sprint.ly, Kandan, Textbox.io, Kippt, Redmine, JabbR, Trello, Hall, plug.dj, Qiita, Zendesk, Ruby China, Grove, Idobata, NodeBB Forums, Slack, Streamup, OrganisedMinds, Hackpad, Cryptbin, Kato, Reportedly, Cheerful Ghost, IRCCloud, Dashcube, MyVideoGameList, Subrosa, Sococo, Quip, And Bang, Bonusly, Discourse, Ello, and Twemoji Awesome. However some of the emoji codes are not super easy to remember, so here is a little cheat sheet. ✈ Got flash enabled? Click the emoji code and it will be copied to your clipboard.

People

:bowtie: 😄

class EssayForm extends React.Component {
constructor(props) {
super(props);
this.state = {
value: 'Please write an essay about your favorite DOM element.'
};
this.handleChange = this.handleChange.bind(this);
this.handleSubmit = this.handleSubmit.bind(this);
}
@codyaverett
codyaverett / react-typescript.md
Created January 5, 2018 04:25 — forked from juhaelee/react-typescript.md
React + Typescript Cheatsheet

React + Typescript Cheatsheet

Setup

If you use atom... download & install the following packages:

What are Typescript type definition files? (*.d.ts)

@codyaverett
codyaverett / wallaby.js
Created December 12, 2017 06:32
Typescript Wallaby Config
module.exports = function(wallaby) {
// Babel, jest-cli and some other modules may be located under
// react-scripts/node_modules, so need to let node.js know about it
var path = require("path");
process.env.NODE_PATH +=
path.delimiter +
path.join(__dirname, "node_modules") +
path.delimiter +
path.join(__dirname, "node_modules/react-scripts/node_modules");
require("module").Module._initPaths();
abstract class command {
constructor() {
}
abstract execute();
abstract undo();
// Node.js CheatSheet.
// Download the Node.js source code or a pre-built installer for your platform, and start developing today.
// Download: http://nodejs.org/download/
// More: http://nodejs.org/api/all.html
// 0. Synopsis.
// http://nodejs.org/api/synopsis.html