Skip to content

Instantly share code, notes, and snippets.

View BroderickCarlin's full-sized avatar

Broderick Carlin BroderickCarlin

  • Minneapolis, MN
View GitHub Profile
from cairosvg import svg2png
import os
asset_path = "compiled_assets"
pfp_template = """
<?xml version="1.0" encoding="UTF-8"?>
<svg width="555px" height="555px" viewBox="0 0 555 555" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>{name}</title>
<g id="{name}" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<rect fill="#{background}" x="0" y="0" width="555" height="555"></rect>
struct MyFut;
impl Future for MyFut {
type Output = ();
fn poll(self: Pin<&mut Self>, cx: &mut Context) -> Poll<Self::Output> {
unsafe {
MULTIPLE_OF_1 = Some(cx.waker().clone());
}

Keybase proof

I hereby claim:

  • I am broderickcarlin on github.
  • I am broderickcarlin (https://keybase.io/broderickcarlin) on keybase.
  • I have a public key ASAMlgP-GbHmGdjaJACyWuS_NYg5j_OD89RoyDGQO39CLQo

To claim this, I am signing this object: