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
{"version":1,"resource":"file:///home/digi/code/rails/planpolitik2021/db/migrate/20220408080932_add_name_and_description_to_download.rb","entries":[{"id":"V9jg.rb","timestamp":1649405430550},{"id":"E6A8.rb","source":"renamed.source","timestamp":1649405506500}]} |
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
module Msg exposing (..) | |
import Types exposing (StoryNode, Transition) | |
type Msg | |
= NoOp | |
| Start | |
| TestStory | |
| NewStoryNode StoryNode |
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
module Main exposing (..) | |
import Html exposing (Html, text, div, img) | |
---- MODEL ---- | |
type alias Transition = | |
{ transitionType : String, toStoryNode : Int, text : Maybe 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
module Main exposing (..) | |
import Html exposing (Html, text, div, img) | |
import Html.Attributes exposing (src) | |
---- MODEL ---- | |
type alias Model = |
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
module Main exposing (..) | |
import Html exposing (Html, text, div, img) | |
import Html.Attributes exposing (src) | |
---- MODEL ---- | |
type alias Model = |
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
defmodule Pyramid.Plans do | |
defstruct height: nil, layers: nil | |
end |
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
defmodule Pyramid.Plans do | |
defstruct height: nil, layers: nil | |
end |
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
#!/usr/bin/env ruby | |
#Extracts files to current dir, substitutes url( for font_url( and appends stylesheet to fonts.css.scss | |
completed_files = Array.new | |
current_directory = Dir.getwd | |
File.open('fonts.css.scss', "w") {} | |
Dir.foreach(current_directory) do |file_name| | |
if (file_name.include?(".zip") && !completed_files.include?(file_name)) | |
system("unzip -o #{file_name}") | |
completed_files << file_name | |
style = File.read('stylesheet.css') |