This gist's comment stream is a collection of webdev apps for OS X. Feel free to add links to apps you like, just make sure you add some context to what it does — either from the creator's website or your own thoughts.
— Erik
| <? | |
| class DanskeBank { | |
| private $_magicKey; | |
| private $_curlHandle; | |
| public function __construct() | |
| { | |
| $this->_curlHandle = curl_init(); | |
| $data = array( | |
| 'os' => 'Android', //hmmf tried with php_uname('s') but then the service rejects logins | |
| 'model' => php_uname('m'), |
| [ | |
| { "keys": ["escape"], "command": "exit_insert_mode", | |
| "context": | |
| [ | |
| { "key": "setting.command_mode", "operand": false }, | |
| { "key": "setting.is_widget", "operand": false } | |
| ] | |
| }, | |
| { "keys": ["escape"], "command": "exit_visual_mode", |
| <!DOCTYPE html> | |
| <html> | |
| <head><title>ChamberedTest</title></head> | |
| <script type="text/javascript" src="js/chambered.js"></script> | |
| <style type="text/css"> | |
| canvas, img { | |
| image-rendering: optimizeSpeed; | |
| image-rendering: -moz-crisp-edges; | |
| image-rendering: -webkit-optimize-contrast; |
In your Windows 7/8 VM, go to Control Panel > System > Advanced system settings > Computer Name and click Change. Name this whatever you like, e.g. windows. Restart your VM.
Open CMD or Powershell as administrator. Add a URL ACL entry for your new name on the port of your choice, e.g.
netsh http add urlacl url=http://windows:8080/ user=everyone
Flying Widgets adds CSS3 transitions to your dashboard, allowing you to cycle through multiple widget sets on a single TV without page reloads, using stylish CSS3 transitions. You can even still re-order your widgets and save their locations!
Note that sinatra-cyclist is a potential alternative if the machine you use to display your dashboards is lacking in graphics horsepower.
To use, put this file in assets/javascripts/cycleDashboard.coffee. Then find this line in application.coffee:
$('.gridster ul:first').gridster
| #!/usr/bin/ruby | |
| # Create display override file to force Mac OS X to use RGB mode for Display | |
| # see http://embdev.net/topic/284710 | |
| require 'base64' | |
| data=`ioreg -l -d0 -w 0 -r -c AppleDisplay` | |
| edids=data.scan(/IODisplayEDID.*?<([a-z0-9]+)>/i).flatten | |
| vendorids=data.scan(/DisplayVendorID.*?([0-9]+)/i).flatten |
| # Ported from http://www.a1k0n.net/2011/07/20/donut-math.html | |
| # Run with 'python donut.py' | |
| import math | |
| theta_spacing = 0.07 | |
| phi_spacing = 0.02 | |
| R1 = 1 | |
| R2 = 2 |
Here's what I did to get things working.
Yep, over at: https://developer.apple.com