Keep your explainations brief and to the point.
Instead of something like this:
if (someVariable == 42) {
return "the answer";
}
This document serves as some special instructions when working with Convex.
When designing the schema please see this page on built in System fields and data types available: https://docs.convex.dev/database/types
Here are some specifics that are often mishandled:
[ | |
{ | |
"title": "1,000,000 Views!!", | |
"prompt": "Blog Post: Normally when i post a big number like that its followed by the word \"particles\" but surprisingly this time it followed by the word \"views\". Why? Well i have (probably a few days ago now) broken my 1 million plays cherry on 4 flash games.\n\nTo be fair the majority of these have come from my latest game IcySlicy (670k and counting), but im still pretty proud of the number. Im hoping my next game will do over a million by itself, but then again it could just get two plays :P\n\nKeywords: ", | |
"tags": [ | |
"icy slicy free", | |
"icy slicy online", | |
"icy slicy play", | |
"icy slicy puzzle", | |
"icy slicy puzzle game", |
import { BraventCounter, Events } from "./BraventCounter"; | |
import { AnyEvent } from "bravent"; | |
it("updates to the correct state when commands are issued", () => { | |
let counter = BraventCounter.of([]); | |
expect(counter.state()).toBe(0); | |
counter = counter.dispatch({ type: "increment" }); | |
counter = counter.dispatch({ type: "increment" }); |
{ | |
commitId: { | |
type: String, | |
required: true, | |
index: { | |
global: true, | |
name: commitIdIndexName, | |
project: true | |
} | |
}, |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using RSG; | |
using UniRx; | |
namespace PromiseReactiveCommand | |
{ | |
public interface IBasePromiseReactiveCommand | |
{ |
import { MarkdSiteRoot } from "../../MarkdSiteRoot"; | |
import { Signup } from "../../signup/Signup"; | |
import { Homepage } from "../../homepage/Homepage"; | |
import { Router, Route, Link, IndexRoute, browserHistory } from 'react-router'; | |
import * as React from "react"; | |
import * as ReactDOM from "react-dom"; | |
import { FirebaseUsersService } from "../services/UsersService"; | |
import { AggregateLogger, ConsoleLogger } from "../helpers/logging/Logging"; | |
var logger = new AggregateLogger(); |
// --- AutoWire --- | |
// Service Locator pattern is inferior to DI, but that is what we are stuck with in Unity, so lets make our life easier | |
// | |
// Notes: | |
// 1) any persistent state should be a component or belong to a component (no models, services in thin air) | |
// | |
public class Enemy : AutoWire | |
{ | |
[Locate] |
#if UNITY_4_6 | |
// Import extisting border | |
foreach(var existing in importer.spritesheet) | |
if(existing.name==smd.name) | |
smd.border = existing.border; | |
#endif |
public class BaseMediator<TView> : Mediator | |
{ | |
[Inject] | |
public TView View { get; set; } | |
protected List<SignalBinding> signalBindings = new List<SignalBinding>(); | |
override public void OnRegister() | |
{ | |
} |