Each pixel represents approximately one byte.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Weathergraph shows: | |
| 🕑 Time, of course :) | |
| 🏃 Daily steps | |
| ❤️ Current heart rate | |
| ⛅️ Precise forecast from Yr.no (Dark Sky/Forecast.io coming soon!) | |
| 🌡 Hour-by-hour temperature (orange chart at the bottom) | |
| 🌧 Hour-by-hour precipitation - rain and snow (blue chart overlay) | |
| ☁️ Hour-by-hour ☁️ cloudiness (cloud cover) and ☀️ sunshine (clouds on top + sun rays) | |
| 🌤 Daily minimum and maximum (overlaid above chart) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| if [ -z "$1" ]; then | |
| echo "Usage: bash apifier-get-results <execution_id>" | |
| exit 1 | |
| fi | |
| FORMAT="csv" | |
| EXECUTION_ID="$1" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| cat ./build/pebble-app.map | | |
| # pick important part of file | |
| sed -n -e "/^ \*(\.text\.\*)/,/^ \*(\.rodata)/p" | | |
| # remove first and last line | |
| sed -e "1d" -e "\$d" | | |
| # ensure every function is on single line: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| The MIT License (MIT) | |
| Copyright (c) 2014 Tomas Kafka | |
| 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: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <head> | |
| <meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
| <meta name="viewport" content="width=device-width, user-scalable=no" /> | |
| <title>scroll and touchmove - jsFiddle demo</title> | |
| <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/zepto/1.0rc1/zepto.min.js"></script> | |
| <script type="text/javascript" src="//cdn.jsdelivr.net/velocity/1.1.0/velocity.min.js"></script> | |
| <!-- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function($) { | |
| // Add inner and outer width to zepto (adapted from https://gist.github.com/alanhogan/3935463) | |
| var ioDim = function(dimension, includeBorder) { | |
| return function (includeMargin) { | |
| var sides, size, elem; | |
| if (this) { | |
| elem = this; | |
| size = elem[dimension](); | |
| sides = { | |
| width: ["left", "right"], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdlib.h> | |
| #include <memory.h> | |
| #include <malloc.h> | |
| #ifndef _ringbuffer_h | |
| #define _ringbuffer_h | |
| // semantics: buffer goes from start to end-1, start == end -> empty or full, see 'full' flag | |
| #define ringBuffer_typedef(T, NAME) \ | |
| typedef struct { \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var UI_FACES = [ | |
| "http://uifaces.com/faces/_twitter/ShaunMoynihan_120.jpg", | |
| "http://uifaces.com/faces/_twitter/blakesimkins_120.jpg", | |
| "http://uifaces.com/faces/_twitter/nckjrvs_120.jpg", | |
| "http://uifaces.com/faces/_twitter/cameronmoll_120.jpg", | |
| "http://uifaces.com/faces/_twitter/timothycd_120.jpg", | |
| "http://uifaces.com/faces/_twitter/jayrobinson_120.jpg", | |
| "http://uifaces.com/faces/_twitter/damenleeturks_120.jpg", | |
| "http://uifaces.com/faces/_twitter/danielhaim_120.jpg", | |
| "http://uifaces.com/faces/_twitter/motherfuton_120.jpg", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fuxcamp.cz%2Fleden2013%2Fchangethis&send=false&layout=standard&width=450&show_faces=true&font&colorscheme=light&action=like&height=80&appId=203153213159064" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe> |