background preloader

ProgrammerTutorials.com

ProgrammerTutorials.com

gotoAndLearn() - Free video tutorials from Lee Brimelow on Adobe Flash Prettify* Nice icons and wallpapers Harddisk Multiset by hezral Nice small set of SSD-like hard disk icons. Skype Replacements by Gianluca75 Six different replacement icons in the style of the FaceTime icon. Safari Set by Michael Flarup Various awesome alternate compass designs to be used as replacements for the Safari icon. Tabs Color by Kevin Andersson Lovely little 40x40 pixel icons, designed for use in iOS tab bars, but they’d work other places as well. Artcore Icons, Part 3 by Nadja Hallfahrt Another set of impressively rendered icons in the Artcore series. Low Level Bit Hacks You Absolutely Must Know I decided to write an article about a thing that is second nature to embedded systems programmers - low level bit hacks. Bit hacks are ingenious little programming tricks that manipulate integers in a smart and efficient manner. Instead of performing some operation (such as counting the 1 bits in an integer) by looping over individual bits, these programming nuggets do the same with one or two carefully chosen bitwise operations. To get things going I'll assume that you know what the two's complement binary representation of an integer is and also that you know all the the bitwise operations. I'll use the following notation for bitwise operations in the article: & - bitwise and | - bitwise or ^ - bitwise xor ~ - bitwise not << - bitwise shift left >> - bitwise shift right The numbers in the article are 8 bit signed integers (though the operations work on arbitrary length signed integers) that are represented as two's complement and they are usually named 'x'. Here we go. Bit Hack #1. 1. 2.

Domain Search - Domain Name Generator - Domain Name Search | Nameboy.com Programming Methodology - Download free content from Stanford Guided Meditation as a Tool for Speaking with Spirit Guides One of the best ways to connect with your spirit guides (or other beings for that matter) is to use guided meditation. Many times during my intuitive readings people tell me they’ve tried meditating to commune with their guides but nothing happens. Invariably they’re making a classic mistake. I ask, “When you do this meditation, are you sitting in silence, quieting and clearing your mind, and being in the now?” You see, when you meditate to the point where your mind is totally silent, you’re actually blocking communication with your guides. There’s nothing wrong with meditating to find your center, in total peace and quiet, with your mind totally blank, but it’s not a good tool for communication with your guides. When you first begin meditating it’s quite common for unwanted thoughts to enter your mind. Guided meditation is the way to achieve this. A guided meditation is usually sort of allegorical. Yes, at first it’s going to feel like you’re talking to yourself.

Optimizing C and C++ Code Embedded software often runs on processors with limited computation power, thus optimizing the code becomes a necessity. In this article we will explore the following optimization techniques for C and C++ code developed for Real-time and Embedded Systems. Many techniques discussed here have roots in the material we covered in the articles dealing with C to Assembly translation. A good understanding of the following articles will help: Premature optimization is the root of all evil Donald Knuth wrote, "Programmers waste enormous amounts of time thinking about, or worrying about, the speed of noncritical parts of their programs, and these attempts at efficiency actually have a strong negative impact when debugging and maintenance are considered. In general, correctness and readability considerations trump code performance issues for most of your code. Adjust structure sizes to power of two Place case labels in narrow range Place frequent case labels first Splitting a switch statement

My Favorite Meditation Here’s a simple but powerful meditation exercise you may enjoy. Teaching you the basics of meditation is beyond the scope of this blog entry (maybe someone can post a comment with a link to a meditation primer for those who’ve never done it), but if you’re already familiar with it, I think you’ll find this one interesting and valuable. I didn’t learn this particular meditation from anyone else — it’s just something I made up at one point and have been doing for around 10 years now. First I get myself totally relaxed and into a peaceful state. Eventually my future self leaves. Then I do one more step and fast-forward time by five years. Then I imagine all three of us in the room together (Steve 2000, Steve 2005, Steve 2010), and I visualize all three of our bodies becoming translucent. As I slowly bring myself out of this meditation, I feel very peaceful and calm. I encourage you to try this meditation at least once to see if you find it as beneficial as I do.

Pointer Basics This document introduces the basics of pointers as they work in several computer languages -- C, C++, Java, and Pascal. This document is the companion document for the Pointer Fun with Binky digital video, or it may be used by itself. This is document 106 in the Stanford CS Education Library. This and other free materials are available at cslibrary.stanford.edu. Some documents that are related to this one include... Section 1 -- Pointer Rules One of the nice things about pointers is that the rules which govern how they work are pretty simple. 1) Pointers and Pointees A pointer stores a reference to something. The above drawing shows a pointer named x pointing to a pointee which is storing the value 42. Allocating a pointer and allocating a pointee for it to point to are two separate steps. 2) Dereferencing The dereference operation starts at the pointer and follows its arrow over to access its pointee. 3) Pointer Assignment Below are versions of this example in C, Java, C++, and Pascal.

Manifest Money with the Money Mantra | Good Vibe Blog Ready to play with a mantra that will help let money manifest in your life? Here’s one that many folks report fabulous results with. This money manifesting method is even more successful when you approach it with a light, easy, carefree attitude, so be sure to have fun with it! (Speaking of light & easy, get more tips on this topic at top 10 ways to manifest money.) Without further ado, here is the money chant (aka abundance mantra): Years ago Yoga Journal had a short column on it, which is still taped to my filing cabinet. Whether it’s more health, wealth, or happiness, you can chant this mantra to the goddess Lakshmi, the Hindu embodiment of good fortune, prosperity, and beauty – 108 times every day for 40 days. Thomas Ashley-Farrand said he’s heard many amazing success stories of how people’s situations have improved by invoking Lakshmi. Chant the mantra and see what happens. Om shrim maha lakshmiyei swaha And here is the money chant by Martha Lopez.

Free Books A lot of people keep asking about a good list of programming books. Hence, we are building this list to save your time and to spread the knowledge. Some of these books will definitely help us to evolve our coding skills and thought processes for developing better solutions. We will do our best to keep updating this list, hope you find this list useful, here we go. Meta-List Graphics Programming Language Agnostic: NerdDinner Walkthrough Assembly Language: Bash Advanced Bash-Scripting Guide See .NET below Django Djangobook.com Emacs The Emacs manual Thanks Emacser (October 17, 2010) Forth Git Haskell Dive Into HTML5 Java JavaScript Linux Advanced Linux Programming Lisp Lua Programming In Lua (for v5 but still largely relevant) Maven Mercurial NoSQL CouchDB: The Definitive Guide Objective-C The Objective-C Programming Language Parrot / Perl 6 Perl 6 (Work in progress) Perl PowerShell Mastering PowerShell Prolog PostgreSQL Practical PostgreSQL Python Learn REBOL Thanks Nick (October 19, 2010) Ruby Scala Scheme Smalltalk Subversion Vim

Related: