Skip to content

Instantly share code, notes, and snippets.

View rocifier's full-sized avatar

Ryan O'Connor rocifier

View GitHub Profile
--destroying and mining rocks yields ore -- load as last module
local math_random = math.random
local max_spill = 48
local rock_yield = {
["rock-big"] = 1,
["rock-huge"] = 2,
["sand-rock-big"] = 1
}
@rocifier
rocifier / App.js
Last active December 9, 2018 04:06
import React, { Component } from 'react';
import TeacherIntroductions from './components/TeacherIntroductions';
import './App.css';
class App extends Component {
render() {
return (
<div className="App">
<TeacherIntroductions />
</div>
import React, { Component } from 'react';
const TeacherIntroductions = ({ teachers }) => (
<ul className="teacher-introductions">
{teachers.map((teacher, index) => {
return <TeacherIntroduction key={`teacher-${teacher.id}`} teacher={teacher} />;
})}
</ul>
)