Skip to content

Instantly share code, notes, and snippets.

@SaraJo
SaraJo / calc.html
Created March 13, 2020 20:33
Baby Calculator
<html>
<head>
<style>
button{
width: 50px;
height: 50px;
font-weight: bold;
}
input{
border: 1px solid green;
@SaraJo
SaraJo / gist:388be4781819922c5c8f44abd1b92a6a
Created July 5, 2018 20:17
this is a demo gist -- here are my links
https://www.etsy.com/listing/584596991/100-better-together-personalized-printed?ref=related-1
https://www.etsy.com/cart/thanks/1335573789?ulsfg=true
sample link
sample link
@SaraJo
SaraJo / fb-open-graph.liquid
Last active September 15, 2017 16:42 — forked from chrisjhoughton/fb-open-graph.liquid
Facebook Open Graph meta tags and Twitter card tags for Shopify. Add this as a snippet called "twitter-and-fb-graph.liquid" in your theme, and then add {% include 'twitter-and-fb-graph' %} to your theme.liquid file. Make sure to update with your fb appId and your Twitter handle.
<meta property="fb:app_id" content="xxxxx">
<meta name="twitter:site" content="@your-handle-here" />
<meta name="twitter:card" content="summary" />
{% if template contains 'product' %}
<meta property="og:type" content="product">
<meta name="twitter:title" content="{{ product.title | strip_html | escape }}" />
<meta property="og:title" content="{{ product.title | strip_html | escape }}">
<meta property="og:category" content="{{ product.type }}" />
/*
* Copyright (c) 2017 Jewelbots
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
#include "LED.h"
#include "led_sequence.h"
#ifdef __cplusplus
extern "C"{
#endif // __cplusplus
uint8_t color_values[];
@SaraJo
SaraJo / LED.h
Created November 14, 2016 02:23
#ifndef __LED_H__
#define __LED_H__
#ifdef __cplusplus
extern "C"{
#endif // __cplusplus
/*
This sketch demonstrates how to send data from a Device
to a Host in a Gazell network.
When Button A on the Device is pressed and released,
the green led on the host will toggle.
*/
#include <RFduinoGZLL.h>
#include "Timer.h"
void RFduinoBLE_onReceive(char *data, int len)
{
Adafruit_NeoPixel strip = Adafruit_NeoPixel(12, 2, NEO_GRB + NEO_KHZ800);
strip.begin();
//now set the color
if(data[4] == '1'){
### Keybase proof
I hereby claim:
* I am sarajo on github.
* I am sara (https://keybase.io/sara) on keybase.
* I have a public key whose fingerprint is 00C9 1312 DCA3 A128 9169 9722 5635 BBA2 3F40 6AFF
To claim this, I am signing this object: