Skip to content

Instantly share code, notes, and snippets.

View suda's full-sized avatar
🍃

Wojtek Siudzinski suda

🍃
View GitHub Profile

Particle Libraries v2

Abstract

Current user libraries architecture wasn't updated since its conception. Since then we added new tools (CLI and Dev), new boards and welcomed 3rd party module vendors in our ecosystem. All not anticipated when designing them. We want to revisit this with next version of our libraries.

Tools created for this purpose can be used outside our ecosystem i.e. with Arduino, Raspberry Pi.

Goals

@suda
suda / blink.ino
Last active April 28, 2016 12:47 — forked from brooksware2000/blink.ino
Example blink sketch
diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h
index 3afd71b..c7c5a7d 100644
--- a/bfd/bfd-in.h
+++ b/bfd/bfd-in.h
@@ -292,9 +292,6 @@ typedef struct bfd_section *sec_ptr;
#define bfd_is_com_section(ptr) (((ptr)->flags & SEC_IS_COMMON) != 0)
-#define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE)
-#define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power = (val)),TRUE)
From 1ffb381737b9c5b4c1177608aa4f3edb99cac98b Mon Sep 17 00:00:00 2001
From: Nick Clifton <nickc@redhat.com>
Date: Mon, 22 Dec 2014 22:52:06 +1030
Subject: [PATCH] Replace bfd_xxx_set with static inline functions
Following up on Tom's suggestion I am checking in a patch to replace the
various bfd_xxx_set macros with static inline functions, so that we can avoid
compile time warnings about comma expressions with unused values.
* bfd-in.h (bfd_set_section_vma): Delete.
From aee7bc26393d4535df76d84029a0d0fc92724dfa Mon Sep 17 00:00:00 2001
From: Nick Clifton <nickc@redhat.com>
Date: Mon, 22 Dec 2014 22:59:03 +1030
Subject: [PATCH] Pass proper `bfd' argument to bfd_get_xxx functions
* bfd-in.h (bfd_get_section_name, bfd_get_section_vma,
bfd_get_section_lma, bfd_get_section_alignment,
bfd_get_section_flags, bfd_get_section_userdata): Rewrite macros
in order to use the `bfd' argument.
* bfd-in2.h: Regenerate.

Chords

dm em Esus E
F G C/G E/G#
am C/A dm/A D/A
A B/A C D
#!/bin/bash
if [[ -z $ACCESS_TOKEN ]]; then
echo "Please set ACCESS_TOKEN env variable"
exit -1
fi
if [[ -z $PARTICLE_VERSION ]]; then
PARTICLE_VERSION=0.6.1
echo "Defaulted to version 0.6.1"
fi
<html>
<HEAD>
<META HTTP-EQUIV="content-type" CONTENT="text/html;charset=UTF-8">
<TITLE>App Store Pricing Matrix</TITLE>
<style type="text/css">
body {
font-family: "Lucida Grande", Arial;
}
table {

Touristy things

  • Big Ben / Parlament
  • Westminster Abby
  • London Eye
  • Tower / Tower Bridge
  • Buckingham Palace
  • St James Park
  • Oxford Street
  • Trafalgar Square

Keybase proof

I hereby claim:

  • I am suda on github.
  • I am suda (https://keybase.io/suda) on keybase.
  • I have a public key ASA5pFrAqddzxEsU4F-ohh0TB3yhQQNnzHangzdoAx4wpgo

To claim this, I am signing this object: