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/javascript/controllers/debounce_controller.js | |
import { Controller } from "@hotwired/stimulus" | |
export default class extends Controller { | |
static targets = [ "form" ] | |
connect() { console.log("debounce controller connected") } | |
search() { | |
clearTimeout(this.timeout) |
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
GIT | |
remote: https://github.com/prawnpdf/prawn.git | |
revision: 7d4f6b8998e0627259c1036a2cd6bca65cd53f45 | |
specs: | |
prawn (2.4.0) | |
matrix (~> 0.4) | |
pdf-core (~> 0.9.0) | |
ttfunk (~> 1.7) | |
GEM |
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 'package:anya/models/contracts/contract.dart'; | |
import 'package:anya/repository/anya_repository.dart'; | |
import 'package:bloc/bloc.dart'; | |
import 'package:equatable/equatable.dart'; | |
import 'package:meta/meta.dart'; | |
part 'contract_detail_state.dart'; | |
class ContractDetailCubit extends Cubit<ContractDetailState> { | |
ContractDetailCubit({ |
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 'dart:async'; | |
import 'package:authentication_repository/authentication_repository.dart'; | |
import 'package:bloc/bloc.dart'; | |
import 'package:equatable/equatable.dart'; | |
import 'package:meta/meta.dart'; | |
import 'package:pedantic/pedantic.dart'; | |
part 'authentication_event.dart'; | |
part 'authentication_state.dart'; |
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
<Mutation mutation={SIGN_IN_MUTATION}> | |
{(signIn) => ( | |
<Formik | |
onSubmit={(values, FormikActions) => { | |
signIn({ | |
variables: values | |
}); | |
FormikActions.setSubmitting(false); | |
}} | |
render={form} |
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 React, { Fragment, FunctionComponent } from "react"; | |
import { | |
Formik, | |
Form, | |
Field, | |
ErrorMessage, | |
FormikProps, | |
FormikErrors, | |
FormikActions, | |
FieldProps |
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
, btn btn-dashboard btn-home btn-notifications btn-search check footer label radio row slider stack switch { } |
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
{ | |
"images": [{ | |
"sentids": [0, 1, 2, 3, 4], | |
"imgid": 0, | |
"sentences": [{ | |
"tokens": ["a", "black", "dog", "is", "running", "after", "a", "white", "dog", "in", "the", "snow"], | |
"raw": "A black dog is running after a white dog in the snow .", | |
"imgid": 0, | |
"sentid": 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
, { } small-title text quadruple row btn-inactive btn-orange btn-green btn-red double header btn-active single |