background preloader

Programming

Facebook Twitter

Learn python in Y Minutes. Python was created by Guido Van Rossum in the early 90s.

Learn python in Y Minutes

It is now one of the most popular languages in existence. I fell in love with Python for its syntactic clarity. It’s basically executable pseudocode. Feedback would be highly appreciated! You can reach me at @louiedinh or louiedinh [at] [google’s email service] Note: This article applies to Python 2.7 specifically, but should be applicable to Python 2.x. It is also possible to write Python code which is compatible with Python 2.7 and 3.x at the same time, using Python __future__ imports. Free Online Dead Tree Got a suggestion? LED Cube 8x8x8. Another simple effect, effect_planboing(int plane, int speed).

LED Cube 8x8x8

This effect draws a plane along the specified axis then moves it from position 0 to 7 on the axis and back again. This is very simple, but it really brings out the depth of the 3d LED cube :) This function doesn't have an iteration loop. Instead it is called twice for each axis in launch_effect(). Here is what it does: 1) For()-loop i from 0 to 7. 2) Clear the cube with fill(0x00); 3) Call setplane() to draw a plane along the desired axis at position i. 4) Delay for a while. 5) Repeat the same loop with i going from 7 to 0. Very simple, but a very cool effect!

Android

Eclipse Shortcuts. Eclipse Shortcuts - Tutorial Copyright © 2009, 2010, 2011, 2012, 2013 Lars Vogel Eclipse Shortcuts This article lists helpful Eclipse shortcuts.

Eclipse Shortcuts

It is based on Eclipse 4.2 (Juno). 1.1. Using shortcuts make a developer more productive. Eclipse supports of course the typical shortcuts, e.g. This description uses the shortcuts based on Windows and Linux. The Ctrl+3 shortcut allows you to perform all available actions in Eclipse. For example you can open a Preference, a Wizard, a view and a Preference page. You can also use Quick Access to search for an opened editor by typing in the name of the resource which the editor shows. The following screenshot shows how you could use Ctrl+3 to open the Wizard to create a new Java class. 3.1. Eclipse provides shortcuts for opening files or Java artifacts. Table 1. 3.2. If you are working in the Java editor you can also use certain shortcuts for faster navigation.

Creating A Home Media & File Server With Ubuntu. For the past two years, I have used FreeNAS 7.x as a file-server.

Creating A Home Media & File Server With Ubuntu

After the development was bought-out, the home-designed service fell by the wayside. The unfortunate consequence is that all of my data was stored on UFS GPT partitions which is does not have native support by either Windows or Linux kernels. The solution I decided upon was to purchase another 2TB hard-drive to use as a storage buffer to copy UFS data and repartition into EXT4 using Ubuntu 11.10’s terminal with a mount command. After that hiccup, I set out to setup the best server option for my needs.

This HOWTO will give you the BEST home media and file server out there at a cheap (free) cost. Whilst Ubuntu may be installed on all sorts of hardware specifications, I recommend that you have no less than a 1GHZ dualcore machine (old AMD’s work great!) Assumption: this guide assumes that you have had some minor, newbie experiences with Ubuntu or Linux at the least. Let’s start! Install Ubuntu 11.10. Remote Desktop SAMBA Server. How to Control Multiple Computers with a Single Keyboard and Mouse. Become a Command Line Ninja With These Time-Saving Shortcuts.

Serial Port Communication In C# - C# Tutorials. Version control - Git for beginners: The definitive practical guide.