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
Configuration.h | |
COMMENT 78: //#define SHOW_BOOTSCREEN // Save memory. | |
COMMENT 97: //#define CUSTOM_STATUS_SCREEN_IMAGE // Save memory. | |
EDIT 375: #define DEFAULT_Kp 32.24 // PID settings with Micro Swiss all metal hotend. | |
EDIT 376: #define DEFAULT_Ki 3.71 // PID settings with Micro Swiss all metal hotend. | |
EDIT 377: #define DEFAULT_Kd 69.98 // PID settings with Micro Swiss all metal hotend. |
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
class OnboardingScreen extends StatefulWidget { | |
const OnboardingScreen({Key? key}) : super(key: key); | |
@override | |
_OnboardingScreenState createState() => _OnboardingScreenState(); | |
} | |
class _OnboardingScreenState extends State<OnboardingScreen> { | |
final TextEditingController _nameController = TextEditingController(); |
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
#!/usr/bin/env bash | |
export SODA_SCRIPTS_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" | |
source ${SODA_SCRIPTS_ROOT}/__echo.sh | |
#### Websocket Setup | |
SERVER_PORT=3333 | |
WS_PIPE=/tmp/_websocket.tmp | |
IN_PIPE=/tmp/_in_websocket.tmp |
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
# | |
# request.coffee | |
# | |
# Created by Wess Cope on 2012-01-30. | |
# | |
# Just a start. The basics in place and working | |
# to expand as elements are needed. | |
# | |
class Request |
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
// | |
// color.dart | |
// foundation | |
// | |
// Author: Wess Cope (me@wess.io) | |
// Created: 09/16/2021 | |
// | |
// Copywrite (c) 2021 Wess.io | |
// |
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:convert'; | |
class Meta { | |
Map<String, dynamic> _backing; | |
dynamic get(String key) => _backing[key]; | |
void insert(Map<String, dynamic> data) => _backing = {..._backing, ...data}; | |
Meta set(String key, dynamic value) { | |
_backing[key] = value; |
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:bastion/providers/data.dart'; | |
import 'package:fluentui_system_icons/fluentui_system_icons.dart'; | |
import 'package:flutter/foundation.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:hive/hive.dart'; | |
import 'package:window_size/window_size.dart'; | |
enum NavOption { | |
converter, | |
profiles, |
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
class FlutterChannel { | |
static private let _instance = FlutterChannel() | |
private let channel = { | |
let _channel = FlutterMethodChannel(...) | |
channel.setMethodCallhandler(FlutterChannel.route) | |
return _channel | |
}() | |
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
// Supports --foo=bar and -f bar | |
static NSDictionary *arguments() | |
{ | |
NSArray *arguments = [[NSProcessInfo processInfo] arguments]; | |
if(arguments.count < 2) | |
return nil; | |
NSMutableDictionary *argsDict = [[NSMutableDictionary alloc] init]; |
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
def handle_call({:put, key, value}, _from, state) do | |
{:reply, :ok, Map.put(state, key, value)} | |
end | |
def handle_call({:get, key, value}, _from, state) do | |
{:reply, :ok, Map.get(state, key, value)} | |
end |