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
| # Tool Forge Development System Prompt | |
| You are an expert Tool Forge developer specializing in creating applications using the Tool Forge framework. Tool Forge is a powerful platform that allows you to build full-stack applications by writing only backend logic - the frontend is automatically generated based on your backend code. | |
| ## Core Principles | |
| **Focus on Backend Logic**: Write clean, efficient backend code using Tool Forge's `Tool` class. The framework handles all frontend rendering, UI generation, and user interactions automatically. | |
| **Leverage the IO System**: Use Tool Forge's `io` object to create rich, interactive user interfaces through code. The `io` system provides methods for forms, inputs, loaders, and other UI components. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <meta http-equiv="X-UA-Compatible" content="ie=edge" /> | |
| <title>Document</title> | |
| <link | |
| href="https://fonts.googleapis.com/css?family=Roboto" | |
| rel="stylesheet" |
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
| {"v":"4.5.9","fr":25,"ip":0,"op":229,"w":500,"h":500,"ddd":0,"assets":[],"layers":[{"ddd":0,"ind":0,"ty":4,"nm":"Beerglass","ks":{"o":{"a":0,"k":10},"r":{"a":0,"k":0},"p":{"a":0,"k":[379.5,270.781,0]},"a":{"a":0,"k":[8191.5,82.75,0]},"s":{"a":0,"k":[100,100,100]}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ks":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.644,"y":0},"n":"0p833_0p833_0p644_0","t":12,"s":[{"i":[[-2.5,0],[0,0],[0.572,-5.313],[2.347,-27.261],[1.586,-18.569],[0.083,-1.081],[3.5,0],[0,0],[0.25,2.5],[2.158,25.715],[1.538,18.342],[0.188,2.154]],"o":[[0,0],[2.75,0],[-0.286,2.656],[-1.723,20.011],[-1.868,21.864],[-0.25,3.25],[0,0],[-3.75,0],[-0.092,-0.92],[-1.51,-17.996],[-2.238,-26.701],[-0.5,-5.75]],"v":[[-58.958,-82.75],[50.792,-82.75],[56.636,-76.5],[52.019,-23.758],[46.792,37.223],[43.435,76.719],[38.542,82.75],[-46.708,82.75],[-51.708,78.25],[-55.673,31.213],[-60.446,-25.724],[-64.708,-76.5]],"c":true}],"e":[{"i":[[-2.5,0],[0,0],[0.572,-5.313],[2.347,-27.261],[1.586,-18.569],[0.083 |
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
| export default class App extends React.Component { | |
| render() { | |
| const INPUT_RANGE = [0, MOVE_STOP, TRANSFORM_STOP, 1]; | |
| const INITIAL_MENU_CONTAINER_OPACITY = 0; | |
| const FINAL_MENU_CONTAINER_OPACITY = 1; | |
| const INITIAL_MENU_CONTAINER_SCALE = 0.95; | |
| const FINAL_MENU_CONTAINER_SCALE = 1; | |
| const menuContainerOpacity = this.animationProgress.interpolate({ |
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
| class FabTransition extends React.Component { | |
| render() { | |
| const INPUT_RANGE = [0, MOVE_STOP, TRANSFORM_STOP, 1]; | |
| const FAB_CONTAINER_PADDING = 8; | |
| const INITIAL_FAB_CONTAINER_WIDTH = FAB_SIZE + FAB_CONTAINER_PADDING; | |
| const INITIAL_FAB_CONTAINER_HEIGHT = FAB_SIZE + FAB_CONTAINER_PADDING; | |
| const INITIAL_FAB_CONTAINER_POSITION_RIGHT = 16; | |
| const INTIAL_FAB_CONTAINER_POSITION_BOTTOM = 16; |
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
| const MOVE_STOP = 0.2; | |
| const TRANSFORM_STOP = 0.6; | |
| const ANIMATION_DURATION = 750; | |
| const ANIMATION_EASING = Easing.bezier(0.4, 0.0, 0.2, 1); | |
| class FabTransition extends React.Component { | |
| animationProgress = new Animated.Value(0); | |
| render() { | |
| const INITIAL_FAB_POSITION_RIGHT = 16; |
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
| import React from 'react'; | |
| import { | |
| StyleSheet, | |
| View, | |
| Platform, | |
| TouchableOpacity, | |
| TouchableNativeFeedback, | |
| } from 'react-native'; | |
| const FAB_SIZE = 56; |
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
| /* | |
| * This software is distributed under BSD 3-clause license (see LICENSE file). | |
| * | |
| * Copyright(C) 2014 Abinash Panda | |
| * Written(W) 2014 Abinash Panda | |
| */ | |
| #include <shogun/features/DotFeatures.h> | |
| #include <shogun/features/SparseFeatures.h> | |
| #include <shogun/lib/Hash.h> |
NewerOlder