Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

[package]
name = "dioxus-hmr"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
dioxus = "0.3.2"
dioxus-desktop = "0.3.0"

Keybase proof

I hereby claim:

  • I am frondeus on github.
  • I am frondeus (https://keybase.io/frondeus) on keybase.
  • I have a public key ASBkbDvrZXLo8NEY0N6CnnADrar0_8PThh6GQaeX19qkVQo

To claim this, I am signing this object:

@frondeus
frondeus / logs.txt
Created March 18, 2020 10:06
Lapin 0.33.0 connection error logs
Running `target/debug/examples/simple`
[2020-03-18T09:55:50Z TRACE amqp_client::client] connect(amqp://127.0.0.1:5672/%2f)
[2020-03-18T09:55:50Z INFO amqp_client::client] Connecting to AMQP server 'amqp://127.0.0.1:5672/%2f' ...
[2020-03-18T09:55:50Z TRACE amq_protocol_tcp] Connecting to 127.0.0.1:5672
[2020-03-18T09:55:50Z TRACE amq_protocol_tcp] Registering for mio events
[2020-03-18T09:55:50Z TRACE mio::poll] registering event source with poller: token=Token(1), interests=READABLE | WRITABLE
[2020-03-18T09:55:50Z DEBUG lapin::channels] create channel with id 0
[2020-03-18T09:55:50Z TRACE lapin::connection] connection send_frame; channel_id=0
[2020-03-18T09:55:50Z TRACE lapin::connection] connection wake
[2020-03-18T09:55:50Z TRACE mio::poll] reregistering event source with poller: token=Token(1), interests=READABLE | WRITABLE
We couldn’t find that file to show.
use self::problem::{DeadEnd, Problem, Context};
mod problem {
use std::fmt::Debug;
pub trait Problem: Debug {}
pub trait Context: Debug {}
#[derive(Debug)]
pub struct DeadEnd<P, C> { problem: P, context: Vec<C> }
@frondeus
frondeus / init.el
Created September 6, 2018 12:38
Rust language on Emacs
(use-package eglot) ; It's polygot client for Language Server Protocol. It supports RLS Out of Box.
(use-package rust-mode
:mode ("\\.rs\\'" . rust-mode)
:config
(eldoc-mode)
(company-mode)
(eglot-ensure))
(use-package cargo
@frondeus
frondeus / Init-dotnet.el
Created May 5, 2018 13:32
Omnisharp n dotnet config
;;; init-dotnet.el --- konfiguracja dotnet
;;; Commentary:
;;; Code:
(use-package csharp-mode
:mode ("\\.cs\\'" . csharp-mode)
:config
(setq indent-tabs-mode nil
c-syntactic-indentation t
c-basic-offset 4

Tangle init.org to init.el my way

To see tags usage please click Raw button.

Why?

I like Emacs. I like working using Emacs. And I have many workstations. I have my personal Macbook, and I have Dell with Windows 10 at work with cyngwin and with linux inside virtualbox.

And I was sick of juggling different versions of init.el / init.org.

How?

@frondeus
frondeus / framework.js
Created April 25, 2016 16:49
WebGL tutorial
Game = {
initGl: function() {
var canvas = document.getElementById("glCanvas");
this.width = canvas.width;
this.height = canvas.height;
this.gl = null;
try {