Skip to content

Instantly share code, notes, and snippets.

View sanbox-irl's full-sized avatar

Jonathan Spira sanbox-irl

View GitHub Profile
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBGe2DHgBEAC50L86Uj3DHMbf9uCIf3F+qYQ9JDAw+tYWoQQloHwBSK0jPBBE
G7QrK6fp0SeCjUAS4B9z8azOFw7WA6j5ZFgGZ19gr6QRnKDw+99KeKUqnn4aPyJE
wfL9is7HIqCX3qCSV5ywEnXSyeojsT6nWVpG2gvqDF/Bj6VMfWpA8wiZ+KLauPjg
KDJqte94ZTyJ1y/Lz6vzYqtGRDr3hWeDW5aIEcGeqXQAlljne+wiP4LM7+aA4ms3
Bi8ozl/OLxgAgjTKl/rMwno8P9eFQfaWIXqC5SC0IJ9TQN/cfMRPxnKPogkROdQZ
ElbjipRvOQMQMt4uLTw52F90x9j2A5eP2IfFAWB6zau4jr7xNeJ+kSDaTWlELA16
O+txFicU9RFPajgF2l97iwkHWaMcZZO41EJtt9QWnf+7Y2aoTZIf7qrO2oHKGdYP
d5AaLN3hZpekAwSdyZ+zoIb78uGPvoqcA2fJWFiwJfCgA2GhQhg95v2aGvtiePpe
[
// Standard macOS bindings
{
"bindings": {
"up": "menu::SelectPrev",
"pageup": "menu::SelectFirst",
"shift-pageup": "menu::SelectFirst",
"ctrl-p": "menu::SelectPrev",
"down": "menu::SelectNext",
"pagedown": "menu::SelectLast",
// Zed settings
//
// For information on how to configure Zed, see the Zed
// documentation: https://zed.dev/docs/configuring-zed
//
// To see all of Zed's default settings without changing your
// custom settings, run the `open default settings` command
// from the command palette or from `Zed` application menu.
{
"features": {
[
// Standard macOS bindings
{
"bindings": {
"up": "menu::SelectPrev",
"pageup": "menu::SelectFirst",
"shift-pageup": "menu::SelectFirst",
"ctrl-p": "menu::SelectPrev",
"down": "menu::SelectNext",
"pagedown": "menu::SelectLast",
// Zed settings
//
// For information on how to configure Zed, see the Zed
// documentation: https://zed.dev/docs/configuring-zed
//
// To see all of Zed's default settings without changing your
// custom settings, run the open default settings command
// from the command palette or from Zed application menu.
{
"base_keymap": "VSCode",
pub struct PlayerFsm {
default: Default,
special: Special,
current_state: PlayerStateName,
next_state: Option<PlayerStateName>,
pub blackboard: PlayerStateBlackboard,
}
pub struct Default {
{"reason":"compiler-artifact","package_id":"libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)","target":{"kind":["custom-build"],"crate_types":["bin"],"name":"build-script-build","src_path":"/Users/jjspira/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.65/build.rs","edition":"2015","doctest":false},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default","std","use_std"],"filenames":["/Users/jjspira/Documents/Rust/clockwork/target/debug/build/libc-a0a3441023061adc/build-script-build"],"executable":null,"fresh":true}
{"reason":"compiler-artifact","package_id":"autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)","target":{"kind":["lib"],"crate_types":["lib"],"name":"autocfg","src_path":"/Users/jjspira/.cargo/registry/src/github.com-1ecc6299db9ec823/autocfg-0.1.7/src/lib.rs","edition":"2015","doctest":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test"
{"reason":"compiler-artifact","package_id":"libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)","target":{"kind":["custom-build"],"crate_types":["bin"],"name":"build-script-build","src_path":"/Users/jjspira/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.65/build.rs","edition":"2015","doctest":false},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default","std","use_std"],"filenames":["/Users/jjspira/Documents/Rust/clockwork/target/debug/build/libc-a0a3441023061adc/build-script-build"],"executable":null,"fresh":true}
{"reason":"compiler-artifact","package_id":"autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)","target":{"kind":["lib"],"crate_types":["lib"],"name":"autocfg","src_path":"/Users/jjspira/.cargo/registry/src/github.com-1ecc6299db9ec823/autocfg-0.1.7/src/lib.rs","edition":"2015","doctest":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test"
[2020-01-26T18:35:49Z INFO ra_lsp_server] lifecycle: server started
[2020-01-26T18:35:49Z INFO ra_lsp_server] Client 'vscode' 1.41.1
[2020-01-26T18:35:49Z INFO ra_lsp_server::main_loop] server_config: ServerConfig {
publish_decorations: true,
exclude_globs: [],
use_client_watching: true,
lru_capacity: None,
max_inlay_hint_length: Some(
20,
),
use std::io;
fn main() {
println!("Type a temperature followed by \"C\" or \"F\" to convert.");
println!("Example:");
println!("Input: 32F");
println!("Output: 32F is 0C.");
'top: loop {
println!();