This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am mverzilli on github. | |
* I am mverzilli (https://keybase.io/mverzilli) on keybase. | |
* I have a public key whose fingerprint is 1A62 F4E8 C9E1 3F5E 913E 60A4 029B 117E D8E9 4948 | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package simurrythmia.ui.util; | |
import java.awt.GridBagConstraints; | |
import java.awt.GridBagLayout; | |
import java.awt.Insets; | |
import javax.swing.BorderFactory; | |
import javax.swing.JComponent; | |
import javax.swing.JPanel; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Html (..) | |
import Html.Attributes (..) | |
import Html.Events (..) | |
import Signal | |
import Graphics.Collage (collage, filled, rect, toForm, move, rotate) | |
import Graphics.Element (Element, image) | |
import Window | |
import Color (..) | |
import Keyboard (arrows) | |
import Text (asText) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import List (..) | |
import Random (pair, float, generate, Seed, initialSeed) | |
import Signal | |
import Time (every, millisecond, Time) | |
import Graphics.Collage (collage, Form, filled, circle, move, toForm) | |
import Graphics.Element (Element) | |
import Color (..) | |
import Window (dimensions) | |
import Text | |
import String |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Facility Operating hours | |
CSDOperatingHours => XXX (*) | |
CSDChildOf => CSDFacility (*) | |
## Open flag (Yes/No field) | |
CSDOpenFlag => '' | |
## Day of the week (Integer, Sunday=0, Monday=1, ...) | |
CSDDayOfTheWeek => '' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Contact points | |
CSDType => "contactPoint" (*) | |
CSDCode => XXX (*) | |
## For each contact point text field (see page 95) | |
CSDContactData => YYY (one of: "equipment", "purpose", "certificate") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Contacts | |
CSDType => contact (*) | |
CSDCode => XXX (*) | |
## Names | |
CSDName => YYY (*) | |
CSDChildOf => CSDContact (*) | |
## Forename | |
CSDForename => '' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Addresses | |
For each address line, a Text Field with this metadata | |
CSDAddress => '' | |
CSDChildOf => CSDFacility | |
CSDCode => XXX (For example, "Legal", see page 89) | |
CSDComponent => YYY (One of: "StreetAddress", "City", "Province", "Country", "PostCode", see page 89) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
La metadata que tiene (*) Tiene que repetirse en todos los campos de ahí para abajo en la jerarquía del modelo. | |
Los entries con value='' admiten cualquier valor, no hace falta que sean empty. | |
## Organization | |
CSDOrganization => XXX (*) | |
## OID (Text) | |
CSDAttributeFor => CSDOrganization | |
CSDAttribute => oid |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Instead of this: | |
require "sdl2/sdl2" | |
SCREEN_WIDTH = 1280 | |
SCREEN_HEIGHT = 720 | |
SDL2.init | |
window = SDL2.create_window("SDL Tutorial", LibSDL2::WINDOWPOS_UNDEFINED, LibSDL2::WINDOWPOS_UNDEFINED, SCREEN_WIDTH, SCREEN_HEIGHT, LibSDL2::WINDOW_SHOWN) |