This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
| ּ_בּ | |
| בּ_בּ | |
| טּ_טּ | |
| כּ‗כּ | |
| לּ_לּ | |
| מּ_מּ | |
| סּ_סּ | |
| תּ_תּ | |
| ٩(×̯×)۶ | |
| ٩(̾●̮̮̃̾•̃̾)۶ |
| /*jshint asi:true, forin:true, noarg:true, noempty:true, eqeqeq:false, bitwise:true, undef:true, curly:true, browser:true, devel:true, smarttabs:true, maxerr:50 */ | |
| /****************************************************************************** | |
| * | |
| * SOAP | |
| * Author: Kerri Shotts | |
| * | |
| * This library includes simple SOAP functions. MIT license. | |
| * | |
| * | |
| * Usage is pretty straightforward: |
| import sys | |
| import subprocess | |
| import tempfile | |
| import urllib | |
| text = sys.stdin.read() | |
| chart_url_template = ('http://chart.apis.google.com/chart?' | |
| 'cht=qr&chs=300x300&chl={data}&chld=H|0') | |
| chart_url = chart_url_template.format(data=urllib.quote(text)) |
| None of the workflow examples given in the Google Authentication OAuth2 documentation | |
| (https://developers.google.com/accounts/docs/OAuth2) handle what's needed for Pebble. I | |
| basically had to mix the needs of a client-side application with an offline web application | |
| to get what's needed and work within the restrictions of the Pebble JS toolkit. | |
| The steps are as follows: | |
| 1. Setup a Client ID for Web Application on the Google Developer Console | |
| 2. On the configuration web pages, with SSL: | |
| * In the configuration page, use JavaScript to retrieve a authorization code, which |
| #define FONT_KEY_FONT_FALLBACK "RESOURCE_ID_FONT_FALLBACK" | |
| #define FONT_KEY_GOTHIC_14 "RESOURCE_ID_GOTHIC_14" | |
| #define FONT_KEY_GOTHIC_14_BOLD "RESOURCE_ID_GOTHIC_14_BOLD" | |
| #define FONT_KEY_GOTHIC_18 "RESOURCE_ID_GOTHIC_18" | |
| #define FONT_KEY_GOTHIC_18_BOLD "RESOURCE_ID_GOTHIC_18_BOLD" | |
| #define FONT_KEY_GOTHIC_24 "RESOURCE_ID_GOTHIC_24" | |
| #define FONT_KEY_GOTHIC_24_BOLD "RESOURCE_ID_GOTHIC_24_BOLD" | |
| #define FONT_KEY_GOTHIC_28 "RESOURCE_ID_GOTHIC_28" | |
| #define FONT_KEY_GOTHIC_28_BOLD "RESOURCE_ID_GOTHIC_28_BOLD" | |
| #define FONT_KEY_BITHAM_30_BLACK "RESOURCE_ID_BITHAM_30_BLACK" |
| #run this script from Product page in your project Derived Data folder | |
| framework_name="${$(basename $(find ./Debug-iphoneos -type d -name '*.framework' -maxdepth 1))%.*}" && \ | |
| cp -R Debug-iphoneos/$framework_name.framework ./$framework_name.framework && \ | |
| lipo -create -output "$framework_name.framework/$framework_name" \ | |
| "Debug-iphonesimulator/$framework_name.framework/$framework_name" \ | |
| "Debug-iphoneos/$framework_name.framework/$framework_name" |
| #!/bin/bash | |
| # The MIT License (MIT) | |
| # | |
| # Copyright (c) 2015 Maciej Stankiewicz | |
| # | |
| # 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 |
This information applies to the PICO-8 0.1.6 release.
This document is here to help folks with a proficiency in Lua understand the limitations and discrepencies between Lua and PICO-8's Lua.
You can always view the manual or yellowafterlife's extended 0.1.1 manual.
print(function() end) outputs the string function instead of the string function: 0x0000000.| // book keeping so that we can easily animate the two hands for the watchface | |
| // .scale/.angle are updated by tween/event handler (see below) | |
| var renderState = { | |
| minute: {style: 'white', scale: 0.80, angle: 0}, | |
| hour: {style: 'red', scale: 0.51, angle: 0} | |
| }; | |
| // helper function for the draw function (see below) | |
| // extracted as a standalone function to satisfy common believe in efficient JS code | |
| // TODO: verify that this has actually any effect on byte code level |