Skip to content

Instantly share code, notes, and snippets.

View softmarshmallow's full-sized avatar
putting a dent in the universe

Universe softmarshmallow

putting a dent in the universe
View GitHub Profile
softmarshmallow / sketch-typings.v3.ts
Created April 11, 2021 17:20
this is a copy of sketch typings
* UUID string.
export declare type Uuid = string;
* Collection of global document objects
export declare type AssetCollection = {
_class: 'assetCollection';
do_objectID: Uuid;
// from
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
import React from "react";
import { useRecoilBridgeAcrossReactRoots_UNSTABLE, useRecoilState } from "recoil";
function accessGlobalStateUnderKonvaCanvas(){
const RecoilBridge = useRecoilBridgeAcrossReactRoots_UNSTABLE()
return (
softmarshmallow / p5-nextjs.tsx
Created November 19, 2020 06:58
p5 + nextjs + typescript configuration (simple exmaple)
import React, { Component } from "react"
type P5 = import("p5");
import dynamic from "next/dynamic"
const Sketch = dynamic(import("react-p5"), { ssr: false });
const imageurl = ''
interface ComponentProps {
//Your component props
softmarshmallow /
Last active May 10, 2021 02:08 individual contributor license agreement

Bridged Peojects Limited Licensing CLA

The License of opensource projects under, the organization Bridged can change the License explicitly at any curcumstances. We Guarantee that all opensource started project will remain open for read (clone) and write (via PR) forever, but the license can be changed, and we will notify all contributors.

We offer anyone to make profits by "using" the products / software / technology. But we do not allow other profit company to re distribute the products / services as-is in the same market posision. You can learn more about this on contributing-and-license

This license aggreement is applied to all bridged's opensource projects, and by contributing to it, the contributor admits this agreement. and cannot file a legal issue.

import 'package:flutter/material.dart';
var rad = 16.0;
var borderWidth = 2.0;
var errorColor =;
// ignore: must_be_immutable
class ElevatedTextField extends StatelessWidget {
final TextInputType keyboardType;
final FocusNode focusNode;