Samsung SDK Setup

These are some notes that I took when starting to develop Smart TV apps for Samsung TVs. The apps are HTML5 based, but do have some limitations and feature gaps from standard, desktop web browsers. The steps below outline how to setup the SDK and the emulator to test your apps. # Prereqs Installing SDK and Emulator v3.5.2 from Samsung’s download archive. The SDK requires C++ 2010 Redistributable. If you get a warning stating you have a different version, just uninstall the current version and proceed with the SDK setup. DirecX End-User Runtime - must have this installed prior to starting the SDK installation. Install the SDK and Emulator. You will be prompted to install Apache server, which you will need to serve your apps. # Launching Apps All applications are loaded from the path C:\Program Files\Samsung\Samsung TV SDK(3.5.2)\apps Place your application directories here. For example, C:\Program Files\Samsung\Samsung TV SDK(3.5.2)\apps\myApp The myApp dir structure will contain your index.html and other sub-directories. Launch the applicable emulator (2010 - 2012), and select “Open App”. Here you will see a list of available applications.

January 14, 2014 · 1 min · BC

Adding to your PATH in Mac OS X

# TL;DR Adding a path to your PATH in Mac OS X (Mavericks as tested here). Edit the paths file. sudo vim /etc/paths Add your path, then save the file. Test the path: echo $PATH

January 13, 2014 · 1 min · BC

Jekyll Bootstrap

# TL;DR All instructions are based on Mac OS X Mavericks (10.9.1) and assumes you already have Ruby installed. See further reading for more details. Install Jekyll: gem install jekyll Setup Jekyll-Bootstrap From scratch: git clone https://github.com/plusjade/jekyll-bootstrap.git USERNAME.github.com cd USERNAME.github.com git remote set-url origin git@github.com:USERNAME/USERNAME.github.com.git git push origin master From existing Github repo: git clone https://github.com/myaccount/jekyll-bootstrap.git cd jekyll-bootstrap jekyll serve --watch Test your pages before pushing any changes to Github. cd /mypath/jekyll-bootstrap jekyll serve --watch ...

January 13, 2014 · 1 min · BC

Symbolic Links and Apache on OS X

# TL;DR Create a link to your development environment in your web server path. Create the link sudo ln -s /Users/bciuca/dev/MyTestApp/ /Library/WebServer/Documents/testapp Set directory permissions chmod o+x ~/dev/MyTestApp # Background I have a webapp project that I need to run in a browser locally on my develoment machine. My options to test the webapp is to either set my apache config to point to my development dir, or make a build sctipt to copy and paste the code to a test path in my existing web server root. ...

January 2, 2014 · 1 min · BC

FreeNAS AFP Share for Macs

FreeNAS Hosted AFP Share I have an older Acer netbook laying around that I wanted to turn into a NAS server to host my Time Machine backups for my Macs. I had a similar setup running on a Windows machine in VirtualBox that worked very well. My intentions with the netbook NAS were purely to decrease power consumption. When trying to recreate my Virtual Box setup on my netbook, I did run into an issue that prevented me from using the AFP FreeNAS share as a valid Time Machine drive. Even though I was able to connect to the share and write files, Time Machine did not like something about the setup. ...

April 12, 2013 · 4 min · BC

Hello Mars

Hello Mars! This is a test page. Yay.

April 10, 2013 · 1 min · BC

Using Multiple GitHub Accounts

# Why would you need more than one GitHub account? Ideally, having a single GitHub account with contributions to multiple organizations would be the simplest way. As it turns out, my current job came with a separate GitHub account. So now I have two GitHub accounts, one for personal projects and another for work. The problem I was running into was trying to keep my commits tied with the right GitHub ssh key. Luckily, git and ssh are configurable enough to get this sorted out. ...

April 10, 2013 · 2 min · BC