Skip to content

Instantly share code, notes, and snippets.

FROM centos:6
# Update packages
RUN yum update -y && yum upgrade -y
# Install packages
RUN yum install -y gcc gcc-g++ git
# Install RVM
RUN gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
class @MeaveCss
constructor: () ->
@content = ''
add: (selector, prop, value) ->
@content += selector + "{" + prop + ":" + value + "}"
render: () ->
@content
@myun2
myun2 / denim.css
Last active February 14, 2018 19:43
* { margin: 0; padding: 0; }
body {
font-family: -apple-system, BlinkMacSystemFont,
"Helvetica Neue", "Segoe UI", sans-serif;
letter-spacing: 0.01em;
background-color: #fefefe;
}
header { background-color: #080808; }
header.fixed { position: fixed; width: 100%; }
@myun2
myun2 / pilot.html
Last active February 25, 2018 09:05
<!DOCTYPE html><html><head><title>Pilot</title>
<link href="pilot.css" rel="stylesheet" type="text/css">
<style type="text/css">
* { margin: 0; padding: 0; }
body {
/*font-family: -apple-system, BlinkMacSystemFont,*/
font-family: "Helvetica Neue", "Segoe UI", sans-serif;
letter-spacing: 0.01em;
background-color: #170f0f;
# まだ静的HTMLで疲弊してるの?
# TL;DR
* **`React` 良いよ。**
* 大規模プロジェクトじゃなくても導入して利点があるよ。
* **むしろ小さいプロジェクトで導入してみるのが、個人的にはオススメだよ。**
* 大規模プロジェクトだと `Redux` とか使った方が良さそうだけど、意外となくてもなんとかなるよ。
# 何故Reactか?

hello.c

#include <stdio.h>

int main() {
  printf("Hello world!\n");
  return 0;
}
@myun2
myun2 / .gitignore
Last active August 8, 2018 10:01
Event Store Serverless
# package directories
node_modules
jspm_packages
# Serverless directories
.serverless

カードの種類

  • Controller Card
  • Model Card
  • View Card
  • (Routing card)

×

  • User
  • def
  • class

Syntaxが通ったらOKみたいなゲーム?