Development
Android
8 Great Resources for Learning Android
Mobile App
Patterns for Multiscreen Strategies (to read)
Mobile Game
The Great HTML5 Mobile Gaming Performance Comparison (to read)
SpellJS - HTML5 Game Development
Making a multiplayer 3rd-person shooter in HTML5
Testing
Video - Cube Drone - Automated Testing & Inversion of Control
Javascript
Javascript Fundamentals: Development for Absolute Beginners
AngularJS
Tools
Convert Video to GIF
Monitor the CPU, memory and network usage when running a program
Succeeded and Failed Kickstarter Projects
Other Stuff
Node.js Frameworks Comparison
Top 10 Clever Uses for Dropbox
Coll Stuff
The Evoluton of the Web
Startup Stuff
Pricing Experiments You Might Not Know, But Can Learn From
How to name your startup
Job Stuff
5 Questions Great Job Candidates Ask
Chrome
Things I didn’t know about the WebKit inspector
fourtytwo
Tutorials for Life, the Universe and Everything else.
Wednesday, August 15, 2012
Thursday, August 9, 2012
Scala - Code Snippets
create a list:
val list1 = List("test1", "test2", "test3")
val list2 = "test1"::"test2"::"test3"::Nil
Wednesday, August 8, 2012
Wine - Tips & Tricks
Install msi file with wine:
Use winetricks to quickly install many preconfigured packages like:
(winetricks can be installed with homebrew and with mac ports)
mono
Visual C++
Internet Explorer
MS .Net Framework
Direct X
and many more
wine msiexec -i YourMSIFile.msi
Use winetricks to quickly install many preconfigured packages like:
(winetricks can be installed with homebrew and with mac ports)
mono
Visual C++
Internet Explorer
MS .Net Framework
Direct X
and many more
Tuesday, August 7, 2012
Tutorial - Sencha Touch & ExtJS Code Completion for Aptana & Eclipse
Prerequisites:
Aptana or Eclipse installed
Sencha Touch SDK downloaded and extracted
Quick Installation Guide:
Detailed Installation Guide:
Aptana or Eclipse installed
Sencha Touch SDK downloaded and extracted
Quick Installation Guide:
- Install Spket IDE Plugin
- Start Aptana/Eclipse
- Go to Help => Install New Software...
- Add new Software Site
- Name: Spket IDE
- Location: http://www.agpad.com/update/
- Install all Packages from the new Software Site
- Configure Spket IDE Plugin
- Open Aptana/Eclipse Preferences
- Go to Spket => JavaScript Profiles
- Click "New..."
- Name: SenchaTouch
- Select new Profile (SenchaTouch)
- Click "Default"
- Click Add Library
- Library: ExtJS
- Select "ExtJS" => Click "Add File"
- Find the "touch.jsb3" File in the root Directory of the Sencha Touch SDK and click ok
- Expand the newly added jsb3 file
- Select all available options: e.g: Classes, DOM, Manifest
- Restart Aptana/Eclipse
- Test the Code Completion
- Open a javascript file => type "Ext.a" and press "ctrl+space"
Detailed Installation Guide:
- Install the Spket IDE Eclipse Plugin
- Start Aptana/Eclipse
- Go to Help
- Select Install New Software...
- Click Add...
- Insert the following data in the popup window
- Name: Spket IDE
- Location: http://www.agpad.com/update/
- Click Ok
- Select all the packages under Spket IDE
- Click Next => Next =>
- Accept the License Agreement
- Click Finish
- After the installation has finished => Click Restart Now
- Configure the Spket IDE Plugin
- Open the Preferences (Mac OSX: Aptana Studio 3 => Preferences)
- Go to Spket => JavaScript Profiles
- Click New...
- Name: SenchaTouch
- Select new newly created Profile: SenchaTouch
- Click Default (to make it the default profile for all projects)
- Click Add Library
- Select the newly create Library: ExtJS
- Click AddFile
- Go to your Sencha Touch SDK Folder and select the "touch.jsb3" file in the root directory (of the sdk)
- Expand the newly added jsb3 file
- Select all available options
- Click Ok
- Restart Aptana
- Test the Code Completion
You can check/edit the default javascript editor at:
Preferences => General => Editors => File Associations => and search for "*.js"
"Spket JavaScript Editor" should be marked as default:
Monday, August 6, 2012
Play 2 - Code Snippets & Link List (Playframework Scala)
Link List:
Tutorials:
Play 2.0: Akka, Rest, Json and dependencies
Play 2, Akka, Websockets, Backbone.js and Leaflet – just having fun, really
Play!ing (2.0) with Twitter Bootstrap, WebSockets, Akka and OpenLayers
Getting Started with Play 2, Scala, and Squeryl
Tutorial: Play Framework 2 with Scala, Anorm, JSON, CoffeeScript, jQuery & Heroku
Plugins:
Maven Plugin (Play 2)
Code Snippets:
jsonp support
akka actor usage with promise
Actor
Controller
Tutorials:
Play 2.0: Akka, Rest, Json and dependencies
Play 2, Akka, Websockets, Backbone.js and Leaflet – just having fun, really
Play!ing (2.0) with Twitter Bootstrap, WebSockets, Akka and OpenLayers
Getting Started with Play 2, Scala, and Squeryl
Tutorial: Play Framework 2 with Scala, Anorm, JSON, CoffeeScript, jQuery & Heroku
Plugins:
Maven Plugin (Play 2)
Code Snippets:
jsonp support
// Controller Action def jsonTest = Action { implicit request => // create a json object val json = Json.toJson(Map("test" -> "hallo world")) // look for the callback parameter in the request request.queryString.get("callback").flatMap(_.headOption) match { // return jsonp object case Some(callback) => Ok(Jsonp(callback, json)) // objectreturn a json case None => Ok(json) } }
akka actor usage with promise
Actor
case class Request() case class Response() object MyActor { implicit val timeout = Timeout(20 second) lazy val default = { val actor = Akka.system.actorOf(Props[MyActor]) actor } def test() = { (default ? Request()).asPromise } } class MyActor extends Actor { def receive = { case Request => { sender ! Response } } }
Controller
object Application extends Controller { def test = Action { implicit request => val promise = MyActor.test() Async { promise.map(promise => { promise match { case Response => Ok("Got Response from Actor") } }) } } }
Subscribe to:
Posts (Atom)