Raspberry Pi Setup

Getting an error after installation:

Refer: link

$ lxsession-edit

Opens Desktop Session Settings dialog box and uncheck LXPolKit. Click OK. then reboot

The following may or may not be of any use, wait until your next re-installation.

Wi-fi Dongle Kept Disconnected, actually this is not true, it automatically kept re-connecting

The Wireless Dongle Kept Disconnecting

Refer: link

Started after installing ice weasel but it might be something else instead, here's what a recommended solution would be in order to turn off power saving.

This gets it back:

$ sudo /etc/init.d/dbus restart

This might be a permanent fix:

Refer: link

pi@raspberrypi:~$ cat /etc/network/interfaces
+ expand sourceview plain
auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf

Ended up adding scan_ssid=1, and that might have fixed it

pi@raspberrypi:~$ sudo cat /etc/wpa_supplicant/wpa_supplicant.conf
+ expand sourceview plain
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="enter-ssid-here"
scan_ssid=1
psk="enter-key-here"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP
auth_alg=OPEN
}

Create and edit a new file in /etc/modprobe.d/8192cu.conf
sudo nano /etc/modprobe.d/8192cu.conf

and paste the following in
# Disable power saving
options 8192cu rtw_power_mgnt=0 rtw_enusbss=1 rtw_ips_mode=1

Then reboot with sudo reboot

Installing Ice Weasel

$ sudo apt-get update
$ sudo apt-get install iceweasel

Making Sure Timezone is Set Properly

Before going into startx, you can re-run the configuration:

$ dpkg-reconfigure tzdata

Perl and SQLite Example along with MongoDB

Within Ubuntu using:SQLiteman

You'll need the DBI package, if not installed do the following within Ubuntu
sudo perl -MCPAN -e shell
cpan> install DBI
cpan> install DBD::SQLite module

Simple Perl script example, creating and inserting into a table: example1.pl

Installing Driver for MongoDB is just as easy, but be warned, it takes a long time to install.

sudo perl -MCPAN -e shell
cpan> install MongoDB::Connection

 

Use Mac for Personal WiFi Hotspot

Refer: http://stackoverflow.com/questions/21184567/make-mac-into-a-personal-wifi-hotspot-for-the-local-mamp-based-server

I'll post my partial answer here - it will hopefully benefit somebody in the future.

In the end it was pretty easy:

  • Go to the Sharing panel in System Preferences, click on the Edit button by the first Computer Name edit box and then change the Local Hostname to something short, nice and readable (like for example web.local)
  • Click on the WiFi icon on you'r Mac's status bar menu and select Create Network... on the bottom of the menu, give your new WiFi network a name (+ other option if you'd like) and click create
  • Don't forget to fire-up MAMP (or any other server you might be using)
  • Voila - you can now see the new WiFi network from your iOS/Mac devices, connect to it and use the previously created address (i.e. http://web.local) to access your MAMP server (my mistake previously was that I wanted to take the harder/universal way with local DHCP/DNS servers and IP addresses - but this is much easier and the OSX does everything for you)

Its unfortunately partial because it works only with Apple's Mac/iOS devices - other devices (have tried it with Android) will simply not see the personal network you've created (I assume details are being transmitted via Apple's Bonjour anyway so thats why). But better something than nothing.  But its still pretty cool - I can now connect my iPhone and iPad to the MAMP running on my Mac even without being connected to the Internet or having a DHCP-enabled AP taking care of the networking details.

Drools Guides

This should suffice what you need to build. Please don’t hesitate to discuss this with me if you have any doubts. We have spring in our application so we should look into integrating directly with Spring and try to keep it very light weight.

http://www.drools.org/learn/documentation.html

http://www.javacodegeeks.com/2012/02/jboss-drools-getting-started.html

http://toomuchcoding.blogspot.com/2013/01/drools-integration-with-spring-vs.html

http://mytechnorage.blogspot.com/2014/10/drools-6-integration-with-spring-mvc-4.html

UI Media Tools

Original article sent by Therron
http://mediatemple.net/blog/news/five-essential-apps-for-ux-design/?utm_source=linkedin&utm_medium=social&utm_content=5apps&utm_campaign=febads

Perfect Pixel - Onion Skin Software for Browser
http://www.welldonecode.com/perfectpixel/

CodePen - Online Browser Editor
http://codepen.io

UXPin - Paid Site with Trial
https://www.uxpin.com/

Sketch for Mac - Paid Software
http://www.bohemiancoding.com/sketch/

Forklift Pinwheel of Death

On Feb 14, 2015, at 1:26 AM, BinaryNights Support wrote:

Hi,

Yes, there is a known issue with 'Group by Date added’ listing on Yosemite that makes ForkLift not responding. We will fix it in the upcoming update.

Please restore your ForkLift favorites first:
1) Look up ForkLift's preference file on your backup at ~/Library/Preferences/com.binarynights.ForkLift2.plist
2) Since Mavericks, the OS caches the preferences so you need to force-kill 'cfprefsd' process in Activity Monitor before pasting the plist file.
3) Copy com.binarynights.ForkLift2.plist from backup to ~/Library/Preferences/

Then close it and paste the following command into Terminal (Applications > Utilities > Terminal.app):

defaults delete com.binarynights.ForkLift2 ViewSettings

kind regards,
Bam

Oracle SQLDeveloper problem

Editor not working, enter key / backspace / delete button not working – quick fix

To resolve the problem you have to go to:
Tools -> Preferences -> Accelerators -> Load Preset -> Default -> OK