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
#!/bin/bash | |
# This script builds (a subset of) the AlkuThree-Light font | |
# from source files made public by Opetushallitus (oph.fi). | |
# Whether or not this infringes on copyrights or other rights | |
# is anyone's guess. | |
# | |
# Prerequisites: wget & fontforge | |
# Optionally: fonttools (ttx) for repeatable builds | |
# (sha1 should probably be 5d2eba6728246b7050500b3c8cac4780f99f4728) |
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
{ | |
"rules": { | |
"brace-style": [2, "stroustrup", { "allowSingleLine": true }], | |
"no-this-before-super": [2], | |
"quotes": [2, "single"], | |
"linebreak-style": [2, "unix"], | |
"semi": [2, "always"], | |
"no-console": [0], | |
"no-debugger": [0], | |
"no-unused-vars": [0], |
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
<App Theme="Basic"> | |
<JavaScript File="node_modules/moment/moment.js" ux:Global="moment" /> | |
<JavaScript> | |
var weekdays = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday']; | |
var improvements = [ | |
// Sunday | |
[ | |
{ flagship: ['Maya K2', 'Fubuki K2'], equip: 'T94 AAFD' }, | |
{ flagship: ['Fusou'], equip: '35.6cm' }, |
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
<App Theme="Basic"> | |
<JavaScript File="a.js" ux:Global="Test" /> | |
<JavaScript> | |
var Test = require('Test'); | |
module.exports = { | |
Test: JSON.stringify(Test) | |
} | |
</JavaScript> | |
<Panel> |
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
var Storage = require('FuseJS/Storage'); | |
var Observable = require('FuseJS/Observable'); | |
var shots = Observable(); | |
var readSuccessful; | |
var readFun = function (result) { | |
readSuccessful = true; | |
var parsed = JSON.parse(result); | |
var count = parsed.length; | |
shots.replaceAll(parsed.map(function (it) { return new Shot(it) })); |
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 Collapse exposing (..) | |
import Html exposing (Html, text, div, button) | |
import Html.Attributes exposing (class, style) | |
import Html.Events exposing (onClick) | |
import Maybe exposing (withDefault) | |
-- 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
import { fromJS } from 'immutable'; | |
import { asNumber, formatLineBreaks } from '../primitive'; | |
import { parseMaterialArray, asRecord } from './materials'; | |
export const baseShip = (s) => fromJS({ | |
shipId: asNumber(s.api_id), | |
sortId: asNumber(s.api_sortno), | |
flavorText: formatLineBreaks(s.api_getmes), | |
name: { | |
kanji: s.api_name, |
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
<App Background="#90CAF9"> | |
<ClientPanel> | |
<!-- Huutis component --> | |
<Panel ux:Class="Huutis" TextColor="Black"> | |
<string ux:Property="Level" /> | |
<float4 ux:Property="Color" /> | |
<float4 ux:Property="TextColor" /> | |
<Text Alignment="Center" FontSize="40" Color="{Property TextColor}" Value="{Property Level}" /> | |
</Panel> |
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
var Storage = require('FuseJS/Storage'); | |
function FileNotFoundError(message) { | |
this.name = this.constructor.name; | |
this.message = message || 'file could not be found'; | |
this.stack = (new Error()).stack; | |
} | |
FileNotFoundError.prototype = Object.create(Error.prototype); | |
FileNotFoundError.prototype.constructor = FileNotFoundError; |
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
/** | |
* FuseJS module definitions for Typescript | |
* | |
* @version 0.1.0 | |
*/ | |
declare type ArrayLike<T> = Array<T> | { length: number;[index: number]: T }; | |
declare type ArrayOrIterable<T> = ArrayLike<T>; |