final fakeActivities = List<LitterRobotActivity>.from(
LitterRobotUnitStatus.values.map(
(unitStatus) => LitterRobotActivity(
litterRobotId: 'x',
unitStatus: unitStatus,
timestamp: DateTime.now()
.subtract(Duration(seconds: Random().nextInt(60 * 60 * 8))),
This file contains hidden or 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
;; ----------------------------------------------------------------------------- | |
(require '[clojure.spec.alpha :as spec] | |
#_'[clojure.string :as str] | |
#_'[clojure.edn :as edn] | |
#_'[clojure.java.io :as io] | |
;; non-stdlib deps | |
'[clojure.spec.gen.alpha :as spec-gen] ;; org.clojure/test.check 1.1.0 | |
'[clojure.data.json :as json] ;; org.clojure/data.json 2.3.1 | |
#_'[datascript.core :as ds] ;; datascript 1.1.0 | |
#_'[datascript.transit :as dsts]) ;; datascript-transit 0.3.0 |
This file contains hidden or 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
// ---------------------------------- slp header ------------------------------- | |
/* file version 0 0x00 */ 0x32, 0x2e, 0x30, 0x4e, | |
/* shape count 4 0x04 */ 0x00, 0x00, 0x00, 0x00, | |
/* comment 8 0x08 */ 0x74, 0x65, 0x73, 0x74, | |
/* 12 0x0C */ 0x20, 0x73, 0x6C, 0x70, | |
/* 16 0x10 */ 0x20, 0x63, 0x6F, 0x6D, | |
/* 20 0x14 */ 0x6D, 0x65, 0x6E, 0x74, | |
/* 24 0x18 */ 0x2C, 0x20, 0x62, 0x6C, | |
/* 28 0x1C */ 0x61, 0x68, 0x2E, 0x2E, | |
// ---------------------------------- shape 1 header --------------------------- |
This file contains hidden or 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 python3 | |
#### | |
# | |
# Invoke like this: | |
# | |
# $ ./ynab.py ./data.json | |
# | |
# -or- | |
# |
This file contains hidden or 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
openapi: 3.0.0 | |
info: | |
description: Our API uses a REST based design, leverages the JSON data format, and relies | |
upon HTTPS for transport. We respond with meaningful HTTP response codes and | |
if an error occurs, we include error details in the response body. API | |
Documentation is at https://api.youneedabudget.com | |
version: 1.0.0 | |
title: YNAB API Endpoints | |
tags: | |
- name: User |
This file contains hidden or 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
swagger: '2.0' | |
info: | |
description: 'Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.youneedabudget.com' | |
version: 1.0.0 | |
title: YNAB API Endpoints | |
schemes: | |
- https | |
host: api.youneedabudget.com | |
basePath: /v1 | |
tags: |
This file contains hidden or 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 bash | |
##### What / Why / How ##### | |
# | |
# - What | |
# | |
# This script makes it simple to intercept, typically for viewing by a human, | |
# the stdin and stdout of a process, such as a language server binary. | |
# | |
# |
Add aliases by running each of the following commands once:
$ git config --global alias.rel "rev-parse --show-prefix"
$ git config --global alias.root "rev-parse --show-toplevel"
Example usage:
This file contains hidden or 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
[ | |
[ | |
".NET", | |
".NET Core", | |
"ASP.NET", | |
"ASP.NET Core", | |
"C#", | |
"F#", | |
"VB.NET" | |
], |
NewerOlder