RESTful CRUD with AngularJS
Jul 28, 2013
This post will show how to perform typical CRUD (create, read, update and delete) operations in AngularJS when consuming a RESTful web service.
A prerequisite for this demo is a working RESTful web service.
...
➦
Unit testing RESTful services
Jul 19, 2013
In my two previous posts I gave an introduction on how to consume a RESTful web service with AngularJS created by a Java backend and use Guice in the Java backend.
...
➦
Guice in Java Web Application
Jul 18, 2013
Google’s Guice framework promises to be a lightweight(!) Inversion-of-Control (IoC) container.
Advantages compared to Spring:
Spring is much more than an IoC container, and therefore overkill for many projects. Configuration by code.
...
➦
AngularJS example using a Java RESTful web service
Jul 13, 2013
AngularJS is the current MVV-Whatever JavaScript framework by Google. Among other things, it provides bidirectional data binding.
Although I’m neither a Java nor a JavaScript expert, I choose the following scenario for my ‘Hello-World’ example:
...
➦
Listing environment variables (Linux)
Jul 05, 2013
Just a note to self: Get a list of all linux environment variables and their values using the export command.
Here is an example:
pi@rpidev ~ $ export declare -x HOME="/home/pi" declare -x JAVA_HOME="/opt/java/jdk1.
...
➦
ReorderList demo for AjaxControlToolkit
May 30, 2013
AjaxControlToolkit’s ReorderList provides drag and drop functionality within a list.
<div class="CssReorderList"> <!-- ClientMode="AutoID" is required for certain versions of AjaxControlToolkit --> <ajaxToolkit:ReorderList ID="MyReorderList" runat="server" DataKeyField="MyId" SortOrderField="MyPosition" PostBackOnReorder="False" ClientIDMode="AutoID" DragHandleAlignment="Left" ItemInsertLocation="Beginning" AllowReorder="true" > <ItemTemplate> <div style="background-color: yellow;" class="CssItemArea"> <asp:HiddenField runat="server" ID="hdfMyId" Value="<%# ((DummyViewModel)Container.
...
➦
Setting up a network printer using Raspberry Pi
May 30, 2013
This post by Lynsay describes in detail how to convert a non-network printer into a network printer.
You will have to install CUPS and SAMBA on your Raspberry Pi.
Once your done you can access the printer from any OS (windows, linux, mac) within your network.
...
➦
RPi/XBMC: Keeping content in sync
May 25, 2013
If you have multiple Rasperry Pi/XBMC clients and want to
keep your “history” in sync (watch a movie in room1, stop, start the same movie in room2 and resume) do not want to individually update every RPi/XBMC client if the content of your data storage changes then this post might be for you.
...
➦
Mapping missing context menu in OpenELEC with Remote Control HAMA MCE
May 24, 2013
The IR remote control HAMA MCE works out of the box with XBMC. Except that XBMC’s context menu is not mapped to any key.
An alternative solution to the one provided here is using your smart phone or tablet as a remote control with the excellent Yatse app.
...
➦
Pygments and Python
May 24, 2013
Frameworks like Octopress and Jekyll use the Python library Pygments for syntax highlighting.
Currenty (2013-05-23) Pygments does not work flawlessly with Python3 (see this post and this issue on pygment’s issue tracker).
...
➦
IT book recommendations
Dec 15, 2012
I now have a list of IT book recommendations at GitHub.
Why I switched from Ubuntu to Arch Linux
Oct 16, 2012
Ubuntu is a great GNU/Linux distribution. I have been using it since 2004, and except for one LTS (long term support) upgrade a couple years back everything was fine. That LTS upgrade a couple years back screwed up the X system, leaving me with the bash shell.
...
➦
Impressions during developing my first application with Mono and Gtk# (GtkSharp)
Sep 30, 2012
Why Mono? Why Gtk? Over the past couple of years I have been developing C# ASP.NET enterprise applications. So I am quite comfortable with the Microsoft stack.
That answers the first question: Mono gives me C# and the .
...
➦
PS1 prompt
Aug 20, 2012
Here’s my current PS1 prompt for bash with optional git support: https://gist.github.com/3324534
GNU/Emacs: Desktop Save with "Lazy Loading"
Mar 27, 2012
When using desktop-save-mode using desktop-restore-eager is a must:
(custom-set-variables '(desktop-save-mode t) '(desktop-restore-eager 5)) desktop-save-mode will load your last session. Setting desktop-restore-eager to 5 will only try to load and render the last 5 buffers while loading your saved buffers.
...
➦