Skip to content

Instantly share code, notes, and snippets.

# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
@calebhsu
calebhsu / index.xml
Last active October 30, 2015 21:22
Royal totem head using CraftML tags
<craft>
<info>
<title>Totem Piece Head</title>
</info>
<style>
.base { color: sandybrown; }
.crown { color: goldenrod; }
.eyebrows { color: brown; }
.eyes { color: maroon; }
@calebhsu
calebhsu / index.xml
Last active November 6, 2015 07:00
Layout collection for CraftML
<collection name="layouts">
<info>
<title> Layouts </title>
</info>
<craft name="Circle Layout" module="circle-layout"></craft>
<craft name="Star Layout" module="star-layout"></craft>
<craft name="Sun Layout" module="sun-layout"></craft>
<craft name="Grow / Shrink Layout" module="grow-layout"></craft>
<craft name="Diagonal Layout" module="diagonal-layout"></craft>
@calebhsu
calebhsu / index.xml
Last active November 6, 2015 07:01
Stool using CraftML tags
<craft>
<info>
<title> Stool </title>
</info>
<stack l="">
<cylinder radius="20" height="5"></cylinder>
<g>
<sun-layout module="sun-layout" radius="20">
<repeat n="4">
@calebhsu
calebhsu / index.xml
Last active September 26, 2015 22:33
Noah's Ark 7 (simplified) using CraftML tags
<craft>
<info>
<title> Noah's Ark 7 (Simplified) </title>
</info>
<craft name="frame" module="frame"/>
<craft name="page7">
<craft name="page" module="craft-page"/>
<craft name="ark" module="Ekn9Q"/>
@calebhsu
calebhsu / index.xml
Last active September 26, 2015 22:29
Noah's Ark 5 (simplified) using CraftML tags
<craft>
<info>
<title>Noah's Ark 5 (Simplified) </title>
</info>
<craft name="frame" module="frame"/>
<craft name="page5">
<craft name="diagonal-layout" module="diagonal-layout"/>
<craft name="page" module="craft-page"/>
@calebhsu
calebhsu / index.xml
Last active September 26, 2015 22:29
Noah's Ark 4 (simplified) using CraftML tags
<craft>
<info>
<title> Noah's Ark 4 (Simplified) </title>
</info>
<style>
wave { color: steelblue; }
.wave { color: steelblue; }
</style>
@calebhsu
calebhsu / index.xml
Last active September 26, 2015 22:29
Noah's Ark key (simplified) using CraftML tags
<craft>
<info>
<title> Noah's Ark Key (Simplified) </title>
</info>
<style>
rain { color: skyblue; }
page { color: white; }
</style>
@calebhsu
calebhsu / index.xml
Last active November 6, 2015 07:01
Button using CraftML tags
<craft name="button">
<info>
<title> Shirt Button </title>
</info>
<style>
* { color: teal; }
</style>
<param name="width" type="int" default="6"/>
@calebhsu
calebhsu / index.xml
Last active September 26, 2015 22:28
Simplified ark using CraftML tags
<craft>
<info>
<title>Simplified Ark</title>
</info>
<style>
* { color: saddlebrown; }
</style>
<row spacing="-10" t="cropZ(0 30%) cropY(70%) rotateX(-90)">