Skip to content

Instantly share code, notes, and snippets.

View tjharrop's full-sized avatar
👾
Currently: Making an @openfisca instance for NSW

TJ Harrop tjharrop

👾
Currently: Making an @openfisca instance for NSW
View GitHub Profile
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Mixed Layouts',
theme: ThemeData(primarySwatch: Colors.blue),
[
{
"url": "https://docs.chromadesignsystem.com/145e8394a/p/79cd8c-before-you-begin",
"text": "BEFORE YOU BEGIN",
"content": "## BEFORE YOU BEGINFeaturesTypeScriptTo provide a better application development experience for developers in IAG we migrated our Chroma Bit Component library from React with Javascript to React and Typescript. Typescript prevents many of the bugs in your app. It detects common bugs at the compile stage, it makes the code more predictable and you get autocompletion in your React components. It is also like a self documentation for your codewe build chroma based on latest stable version of Typecsript (>=4.0.0) so please make sure your project dependency matches itTailwindcssChroma has a core set of React components that can be used to build applications and can be optionally extended with Tailwindcss to enable easy rapid development of layouts and custom patterns. VersionsChroma Bit releases are announced in our #chroma-dev channel on Slack.Get started developingIf you're
@tjharrop
tjharrop / index.html
Created September 14, 2020 13:53
TEEJBLOBS
<div class="page-title" data-state="HELLO">
<h1 class="editor-indicator-text">TJ Harrop</h1>
<svg class="icon" viewBox="50 50 200 200">
<path transform="translate(150 150)"></path>
</svg>
</div>
@tjharrop
tjharrop / postman
Last active November 18, 2019 06:01
Paintball openfisca format
POST /calculate HTTP/1.1
Host: openfisca-nsw-dev.herokuapp.com
Content-Type: application/json
User-Agent: PostmanRuntime/7.19.0
Accept: */*
Cache-Control: no-cache
Postman-Token: cd38733c-5cd1-4bfa-8ef7-a547fdb76e1d,bb81e50c-381e-46a7-a5d7-40ab949ce132
Host: openfisca-nsw-dev.herokuapp.com
Accept-Encoding: gzip, deflate
Content-Length: 871
<!--ysh-->
/*
* Disclaimer
* ----------
* This knowledge-base is developed for use with AustLII's DataLex software,
* is intended only for educational and testing purposes, and to demonstrate
* features of the software. It has been developed by AustLII personnel,
* not by electoral and constitutional law experts. It should not be relied
* upon until it is developed further and this disclaimer is removed or
* modified. Suggestions for improvements to the knowledge base or the