Code it
4.6K views | +0 today
Follow
Code it
This is a curated resource for programmers and software architects. It is regularly updated with Articles, Hacks, How Tos, Examples and Code.
Curated by nrip
Your new post is loading...
Your new post is loading...
Scooped by nrip
Scoop.it!

Spotify And Ford Hack Together A Way To Stream Music To Your Car

Spotify And Ford Hack Together A Way To Stream Music To Your Car | Code it | Scoop.it
Spotify and Ford teamed up at TechCrunch's Hackathon this weekend to demonstrate how the music service can be integrated into cars too.
It's not an official feature, just a demo showing how easy it is to develop for Ford's voice-activated SYNC system

 

No comment yet.
Scooped by nrip
Scoop.it!

Windmill Testing Framework

Windmill Testing Framework | Code it | Scoop.it
Automated testing for your web site....

 

riginating at the Open Source Applications Foundation Windmill was built to help QA keep up with the rapid release cycles of the Chandler Server Web UI (Cosmo) project. As the Cosmo client is heavy in JavaScript and AJAX functionality, Windmill makes the communication between the service and the client code a priority.

No comment yet.
Scooped by nrip
Scoop.it!

finance | RubyGems.org | your community gem host

finance | RubyGems.org | your community gem host | Code it | Scoop.it

finance 1.1.0

 

The finance library provides a Ruby interface for working with interest rates, mortgage amortization, and cashflows (NPV, IRR, etc.).

No comment yet.
Scooped by nrip
Scoop.it!

Triton Ocean SDK 1.1 Released for Game, Simulation, and Training Developers

Seattle, WA (PRWEB) September 10, 2011 Sundog Software’s Triton ocean simulation technology for game, simulation, and training software developers has received a significant upgrade.
No comment yet.
Scooped by nrip
Scoop.it!

20 git commit messages | Miskatonic University Press

20 git commit messages | Miskatonic University Press | Code it | Scoop.it

how I maintain my GTD lists with the version control system Git.

 

Here are my last twenty commit messages (in chronological order; the final one is from a half an hour ago) on my lists of next actions, waiting fors, projects, and so on:

No comment yet.
Scooped by nrip
Scoop.it!

Archiving old GIT projects on Beanstalk or Github - Red Glasses

Beanstalk and Github are excellent services.

 

Sadly, though, they are both surprisingly antiquated when it comes to “archival” – they ignore the way that real companies have been working for the past 10 years, and provide a very small number of repositories, with no option to “archive” any of them.

 

We use both of them – as paid services. Before signing up, I personally asked each of them how they coped with archiving; both companies responded with, essentially:

 

We don’t; why would anyone archive anything? If you really HAVE TO archive something, just copy/paste it into one repository

No comment yet.
Scooped by nrip
Scoop.it!

.NET to Ruby: Classes » RubySource

In this post we’ll look to compare a fundamental object oriented feature: Classes. Yup that’s it. This post started as classes, methods, and variables, but it grew too big – there’s a lot to cover when discussing classes! So let’s dive in.

No comment yet.
Scooped by nrip
Scoop.it!

C++ and Beyond 2011: Herb Sutter - Why C++? | Channel 9

C++ and Beyond 2011: Herb Sutter - Why C++? | Channel 9 | Code it | Scoop.it

Herb Sutter answers the question "Why C++?" in his usual thoughtful and well-articulated manner. He shares his perspectives on C++11 (yes, the name of the next version of C++ is officially official now!) and the C++ Renaissance as well as why C++ still matters and will continue to matter far into the future. This is a great introduction to the current state of the language, including a glimpse into the future of general purpose, performance-intensive, power-friendly, powerful native programming. As Herb says, C++ has legs and will continue to enable us to run fast into the future.

No comment yet.
Scooped by nrip
Scoop.it!

New Relic blog » Did someone say they wanted New Relic for Python? The public beta is here…

New Relic blog » Did someone say they wanted New Relic for Python? The public beta is here… | Code it | Scoop.it

We’ve been excited about releasing a Python agent for a long time. (Ever since Graham joined New Relic, in fact). Not only does this capability round out our offering, which also includes support for Ruby, PHP, Java, and .NET

No comment yet.
Scooped by nrip
Scoop.it!

Ruby: Links, News and Resources (1)

You know, I’m a programming language geek. These are the links I collected about Ruby (yes, there is an AjRuby out there ;-)

 

Ruby is a dynamic, reflective, general-purpose object-oriented programming language that combines syntax inspired by Perl with Smalltalk-like features. Ruby originated in Japan during the mid-1990s and was first developed and designed by Yukihiro "Matz" Matsumoto. It was influenced primarily by Perl, Smalltalk, Eiffel, and Lisp.

Ruby supports multiple programming paradigms, including functional, object oriented, imperative and reflective. It also has a dynamic type system and automatic memory management; it is therefore similar in varying respects to Smalltalk, Python, Perl, Lisp, Dylan, Pike, and CLU.

The standard 1.8.7 implementation is written in C, as a single-pass interpreted language. There is currently no specification of the Ruby language, so the original implementation is considered to be the de facto reference. As of 2010[update], there are a number of complete or upcoming alternative implementations of the Ruby language, including YARV, JRuby, Rubinius, IronRuby, MacRuby, and HotRuby. Each takes a different approach, with IronRuby, JRuby and MacRuby providing just-in-time compilation and MacRuby also providing ahead-of-time compilation. The official 1.9 branch uses YARV, as will 2.0 (development), and will eventually supersede the slower Ruby MRI.

No comment yet.
Scooped by nrip
Scoop.it!

Python 2 to 3 transition

You can hardly be an astronomer today without knowing how to write code. As with programmers in all disciplines, we are at the mercy of the language we code with.
No comment yet.
Scooped by nrip
Scoop.it!

So I’ve Made the Switch from SVN to Git… | BarryODonovan.com

Now, there’s both a steep learning curve but also a complete change of mindset required from centralised source code management (SCM) with SVN to the distributed model of Git. In the end, most projects will decide on a canonical Git repository anyway which pushes you slightly back towards centralised but there’s still a world of a difference.

 

So, what’s so good about Git? Well, lots. But first and foremost is it’s exceptionally powerful yet simple branching and merging that just works. And works fast – remember, with Git everything is local.

No comment yet.
Scooped by nrip
Scoop.it!

Machine Awakening: In Defense of Java Over C++

Machine Awakening: In Defense of Java Over C++ | Code it | Scoop.it

A while ago Tim Robertson elaborated on his opinion that Java compares rather unfavorably to C++, to the point it's not worth learning. His arguments are well known to the seasoned Java professional: limited features, poorer performance, and a sense of missing out on new developments and becoming more of a legacy platform (the infamous "new COBOL" argument).

 

I beg to disagree. I have worked - and by "work" I mean professional, 8-to-5 programming work - on both C++ and Java projects for years now. They're both very good languages, and when used together can realize great things (hello Android). That said, I do find quite a few advantages to Java over C++:

No comment yet.
Scooped by nrip
Scoop.it!

How to root and hack your Android phone

How to root and hack your Android phone | Code it | Scoop.it

When Google unveiled Android, it hoped it would make good quality, touchscreen smartphones accessible to everyone. To achieve this, it took the unprecedented step of making its new mobile OS open source, encouraging anyone to contribute - users and manufacturers alike

No comment yet.
Scooped by nrip
Scoop.it!

Google Web History Vulnerable to New Firesheep Hack

Google Web History Vulnerable to New Firesheep Hack | Code it | Scoop.it
Two researchers have shown how a modded version of the Firesheep Wi-Fi sniffing tool can be used to access most of a victim's Google Web History, a record of everything an individual has searched for.

 

The core weakness discovered by the proof-of-concept attack devised by Vincent Toubiana and Vincent Verdot lies with what is called a Session ID (SID) cookie, used to identify a user to each service they access while logged in to one of Google's services.

No comment yet.
Scooped by nrip
Scoop.it!

Cleanweb Hackathon, San Francisco: Hacking Continues, Results Soon!

Cleanweb Hackathon, San Francisco: Hacking Continues, Results Soon! | Code it | Scoop.it
The first ever Cleanweb Hackathon opened in San Francisco with over 175 registrants for 100 seats. I call that resounding!!

 

Cleanweb is the idea that information technology can be the most leveraged way to address resource constraints of climate, energy, water, food, and land use.

 

We already see examples in companies like Airbnb, which substitutes people’s homes for hotels and Sungevity, which reduces solar electricity costs through smart application of information technology.
A Hackathon is a gathering of developers and others to develop functioning apps within a short time – in this case a little over 24 hours. This is the first ever hackathon to focus on cleanweb apps.

No comment yet.
Scooped by nrip
Scoop.it!

Tablets Marginalizing Intel's Notebook Processors, Hitting Prices - Forbes

Tablets Marginalizing Intel's Notebook Processors, Hitting Prices - Forbes | Code it | Scoop.it
The average price of Intel's notebook processor is seeing a decline led by the ongoing consumer shift to tablets, e-readers, and smartphones as well as more demand for PCs from emerging markets like India and China.
No comment yet.
Scooped by nrip
Scoop.it!

The Web Application Hacker's Handbook: Discovering and Exploiting Security Flaws - CyberWar: Si Vis Pacem, Para Bellum | CyberWar

The Web Application Hacker's Handbook: Discovering and Exploiting Security Flaws - CyberWar: Si Vis Pacem, Para Bellum | CyberWar | Code it | Scoop.it
This book is a practical guide to discovering and exploiting security flaws in web applications. The authors explain each category of vulnerability using real-world examples, screen shots and code extracts. The book is extremely practical in focus, and describes in detail the steps involved in detecting and exploiting each kind of security weakness found within a variety of applications such as online banking, e-commerce and other web applications.

 

The topics covered include bypassing login mechanisms, injecting code, exploiting logic flaws and compromising other users. Because every web application is different, attacking them entails bringing to bear various general principles, techniques and experience in an imaginative way. The most successful hackers go beyond this, and find ways to automate their bespoke attacks. This handbook describes a proven methodology that combines the virtues of human intelligence and computerized brute force, often with devastating results.

No comment yet.
Scooped by nrip
Scoop.it!

TechLIberty: Stashing Local Changes to a Git Repository When Pulling from Remote Repo

You can update your local repository with the remote by using the command:

$ git pull origin "remote_name"

If you receive an error like this:

error: Your local changes to 'projectFolder/fileName' would be overwritten by merge. Aborting. Please, commit your changes or stash them before you can merge.

No comment yet.
Scooped by nrip
Scoop.it!

Create a "config" file containing variables and integer values?

I was looking for an easy way to define variables for random monster encounters in my game. I'm not sure how to define some without typing out 1000+ lines of code for like 25 monsters.
No comment yet.
Scooped by nrip
Scoop.it!

How to use C++ push_front with classes?

Issue with how to properly use push_front and pop_front.

I have a class named
Account

I am suppose to be able to be able to add new accounts and new balances but I can't find the proper documentation on how to do this.
No comment yet.
Scooped by nrip
Scoop.it!

Windows Azure SDK for PHP - MVP Factor - Site Home - MSDN Blogs

Windows Azure SDK for PHP - MVP Factor - Site Home - MSDN Blogs | Code it | Scoop.it

As part of Microsoft’s commitment to Interoperability, this open source project is an effort bridge PHP developers to Windows Azure. PHPAzure is an open source project to provide software development kit for Windows Azure and Windows Azure Storage – Blobs, Tables & Queues

 

Overview

 

Enables PHP developers to take advantage of the Microsoft Cloud Services Platform – Windows Azure.

Provides consistent programming model for Windows Azure Storage (Blobs, Tables & Queues)

 

Features

 

PHP classes for Windows Azure Blobs, Tables & Queues (for CRUD operations)
Helper Classes for HTTP transport, AuthN/AuthZ, REST & Error Management
Manageability, Instrumentation & Logging support
Support for storing PHP sessions in Azure Table Storage

 

 

No comment yet.
Scooped by nrip
Scoop.it!

Making a Bluetooth Headset into a Wireless Music Streaming Device - Hack a Day

Making a Bluetooth Headset into a Wireless Music Streaming Device - Hack a Day | Code it | Scoop.it
This bluetooth headset hack, although simple, may provide some hacking inspiration. Turning a Bluetooth headset into a wireless input for one's stereo is definitely something that makes one think "why didn't I think of that?
No comment yet.
Scooped by nrip
Scoop.it!

A successful Git branching model » nvie.com

A successful Git branching model » nvie.com | Code it | Scoop.it

In this post I present the development model that I’ve introduced for all of my projects (both at work and private) about a year ago, and which has turned out to be very successful. I’ve been meaning to write about it for a while now, but I’ve never really found the time to do so thoroughly, until now. I won’t talk about any of the projects’ details, merely about the branching strategy and release management.

No comment yet.
Scooped by nrip
Scoop.it!

Virtual Machine for microcontrollers lets you run Python on AVR chips - Hack a Day

Virtual Machine for microcontrollers lets you run Python on AVR chips - Hack a Day | Code it | Scoop.it
[Clifford Wolf] wrote in to let us know about a project he recently completed called EmbedVM. It's a virtual machine for AVR microcontrollers. The package has a relatively small overhead, taking up about 3kB of program memory.
No comment yet.