Skip to content

Instantly share code, notes, and snippets.

View Ronaldho80's full-sized avatar

Ronny Herzog Ronaldho80

  • Lipotype GmbH
  • Dresden / Germany
View GitHub Profile
@Ronaldho80
Ronaldho80 / borrow_checker.rs
Created November 30, 2016 13:42
Question to the borrow checker
pub struct One<'a> {
foo: &'a f64,
bar: f64,
}
pub struct Two {
oof: f64,
rab: f64,
}
@Ronaldho80
Ronaldho80 / gui.glade
Created January 17, 2017 12:47
Glade file example
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.3 -->
<interface>
<requires lib="gtk+" version="3.12"/>
<object class="GtkEntryCompletion" id="entrycompletion1"/>
<object class="GtkWindow" id="window">
<property name="can_focus">False</property>
<property name="default_width">440</property>
<property name="default_height">250</property>
<child>
@Ronaldho80
Ronaldho80 / bash
Last active August 25, 2017 11:23
Import of Json not working
$ rustup show
Default host: x86_64-unknown-linux-gnu
installed toolchains
--------------------
stable-x86_64-unknown-linux-gnu
nightly-x86_64-unknown-linux-gnu (default)
active toolchain