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!

The Art of Designing Embedded Systems, Second Edition Download eBook | Medarch.Net

The Art of Designing Embedded Systems, Second Edition...
No comment yet.
Scooped by nrip
Scoop.it!

Windows Azure Remote Desktop Connectivity for PHP Applications - Windows Azure's Silver Lining - Site Home - MSDN Blogs

Windows Azure Remote Desktop Connectivity for PHP Applications - Windows Azure's Silver Lining - Site Home - MSDN Blogs | Code it | Scoop.it

If you are someone who is experimenting with PHP on Azure (or even if you have some experience in this area), it is often helpful to have remote access to your running deployments. Remotely accessing deployments can be helpful in debugging problems that might otherwise be very difficult to figure out. In this article, I’ll show you how to configure, deploy, and remotely access a PHP application in Windows Azure.

No comment yet.
Scooped by nrip
Scoop.it!

Women Who Code hack night | Composite

Women Who Code hack night | Composite | Code it | Scoop.it

It was a lot of fun and even if it stays such a short event I recommend it. I think it will inevitably spawn some all day hackmeets though since no one wanted to leave or stop working on their projects 1 hour into it!! Actually, I would like to invite all the Women Who Code and CodeChix people to Noisebridge, which is a fantastic hackerspace open 24/7 (with an accessible bathroom and an elevator) and to the upcoming Hackmeet unconference.

No comment yet.
Scooped by nrip
Scoop.it!

Back to Basics: The Key to Mastering Software Development

Back to Basics: The Key to Mastering Software Development | Code it | Scoop.it
With his book review of C# How-To, Michael Campbell argues for why software developers must master the basics of software development.

 

In a recent discussion with my oldest daughter about the importance of basics and piano practice, I found myself reaching for a beginner-to-Intermediate C# 4.0 book with Post-it Flags "flagging" a large number of pages. What I hoped to communicate to my daughter (who was bored with the basics of piano) was that even though I've been professionally developing for over a decade, I'm still constantly focusing on the basics—because I'm convinced that mastery of anything only comes from a solid understanding of the basics.

No comment yet.
Scooped by nrip
Scoop.it!

Netduino Plus book from MAKE: Getting Started with the Internet of Things- Maker List

Netduino Plus book from MAKE: Getting Started with the Internet of Things- Maker List | Code it | Scoop.it

What is the Internet of Things? It’s countless embedded computers, sensors, and actuators all connected online. If you have basic programming skills, you can use these powerful little devices to create a variety of useful systems—such as devices that react to real-world events and take action. This hands-on guide shows you how to start building your own fun and fascinating projects.
Learn to program embedded devices using the .NET Micro Framework and the Netduino Plus board. Then connect your devices to the Internet with Pachube, a cloud platform for sharing real-time sensor data. All you need is a Netduino Plus, a USB cable, a couple of sensors, an Ethernet connection to the Internet—and your imagination.

No comment yet.
Scooped by nrip
Scoop.it!

Twitter api, android and phonegap : Distorted Perception

Twitter api, android and phonegap : Distorted Perception | Code it | Scoop.it
No comment yet.
Scooped by nrip
Scoop.it!

PHP Pre-commit Hook | Craft It Online!

I am commenting the code for a pre-commit I found in php here. The idea is that we would like to embed these type of pre-commits or other type of hooks in a way that is automatized through a DevelopmentBundle as described in an earlier post here.

No comment yet.
Scooped by nrip
Scoop.it!

Is Your Hired Php Programmer Nicely Acquainted With The Newest Technological Developments? - Urban Teruel Blog

It is not to say that going surfing has change into a must for the businesses. Everyone knows that developing a website is an important task for sure. And we try to get the most effective improvement from the people we hire. It is a indisputable fact that greatest web improvement will be achieved with PHP. So the second we resolve to develop a website we have to hire PHP programmers who’re greatest at their service.

 

It’s again indisputable fact that PHP is ever within the advancement making its overall use extra powerful for web improvement purposes. There are many enhancements or developments in it. And it is not potential to discuss all of them here. But we could have a look at a number of of them. Hope while you hire PHP programmer, you’ll positively discover out if they’re conscious of the latest technological developments to include in your website, if and when required.

No comment yet.
Scooped by nrip
Scoop.it!

Did Kevin Mitnick do a disservice to the security community?

Some say famed hacker Kevin Mitnick is blowing a golden opportunity to cast the hacker community in a more positive light as he pushes his book "Ghost in the Wires."

 

I'm not sure that's the case, though.

 

I have not yet read "Ghost in the Wires," though I plan to after I finish a memoir from Aerosmith singer-songwriter Stephen Tyler. I wasn't interested at first, since I know Mitnick's story well.

For those who aren't as familiar, Mitnick was once the most-wanted hacker in the United States. He was an undisputed master at social engineering and broke into dozens of networks as a fugitive. He went on to serve five years in prison and has since built a successful consultancy.

No comment yet.
Scooped by nrip
Scoop.it!

When hacking could turn deadly | Tuwitter Lifestyle

When hacking could turn deadly | Tuwitter Lifestyle | Code it | Scoop.it
Hundreds of cyber-security geeks watched recently as Jay Radcliffe stood on a Las Vegas stage and hacked into his own insulin pump, disabling its life-saving therapy.

 

The 33-year-old cyber-security researcher said the pump had “pretty much no security on it” — a vulnerability it shares with pacemakers, implantable heart defibrillators and other medical devices.

 

His presentation at the annual Black Hat computer security conference this month highlighted a risk the medical-device industry has downplayed, arguing that only someone with advanced skills could hack the devices.

No comment yet.
Scooped by nrip
Scoop.it!

timeout decorator (with multiprocessing) « Python recipes « ActiveState Code

Given that threads shouldn't be killed, multiprocessing is one mechanism for limiting time on a potentially long running computation.

No comment yet.
Scooped by nrip
Scoop.it!

RankMyHack.com Rewards Hackers With World Ranking, Bounties

RankMyHack.com Rewards Hackers With World Ranking, Bounties | Code it | Scoop.it

A new Web site, Rankmyhack.com, lets hackers submit and rate each others' hacks in order to determine the world's best hacker.


"[By] using an official RankMyHack forum signature banner, online reputation becomes less about a peer-assessed popularity contest and more about the hackers raw ability to compromise Web sites and servers," wrote UK hacker and Rankmyhack.com founder "s0lar" in the site's intro page. According to the New York Times, the site has picked up at least 700 members since it launched at the end of July.

No comment yet.
Scooped by nrip
Scoop.it!

Apple Seeks to Curb Tracking Feature After Privacy Concerns

Apple is advising software developers to stop using a feature in software for its iPhones and iPads that has been linked to privacy concerns, a move that would also take away a widely used tool for tracking users and their behavior.
No comment yet.
Scooped by nrip
Scoop.it!

Git Tip of the Day – recover lost commits

Today's tip will be a little different. I found an interesting information about recovering lost commits in the Pro Git book. And because this book is under CC BY-NC-SA licence, I'll copy the who...

 

At some point in your Git journey, you may accidentally lose a commit. Generally, this happens because you force-delete a branch that had work on it, and it turns out you wanted the branch after all; or you hard-reset a branch, thus abandoning commits that you wanted something from. Assuming this happens, how can you get your commits back?

 

Here’s an example that hard-resets the master branch in your test repository to an older commit and then recovers the lost commits. First, let’s review where your repository is at this point:

$ git log --pretty=oneline
ab1afef80fac8e34258ff41fc1b867c702daa24b modified repo a bit
484a59275031909e19aadb7c92262719cfcdf19a added repo.rb
1a410efbd13591db07496601ebc7a059dd55cfe9 third commit
cac0cab538b970a37ea1e769cbbde608743bc96d second commit
fdf4fc3344e67ab068f836878b6c4951e3b15f3d first commit

No comment yet.
Scooped by nrip
Scoop.it!

Robust wireless DSLR control over Bluetooth - Hack a Day

Robust wireless DSLR control over Bluetooth - Hack a Day | Code it | Scoop.it
[Manishi] wrote in to share his latest project, a Bluetooth DSLR controller that works with Android.

 

His “YaNis” control system was built using an Arduino Pro Mini, along with a USB host shield and a Bluetooth module he picked up from SparkFun. Obviously any other Arduino and SPP compatible Bluetooth board can be used, though component size is definitely a consideration for this project, and his selections are pretty well-suited to the job. The Arduino half of the software relies heavily on [Oleg Maruzov’s] PTP/USB libraries to get things done, but the free Android control app is all [Manishi’s] creation

No comment yet.
Scooped by nrip
Scoop.it!

How PHP is Broken and How It Can Be Fixed « Epixa – Court Ewing, Web Developer

How PHP is Broken and How It Can Be Fixed « Epixa – Court Ewing, Web Developer | Code it | Scoop.it
PHP’s development process has been broken for a long time, and the failures of that process have swelled since the first ripples began to appear many years ago.

 

The process didn't necessarily take a downward turn at any point; rather, it seems there was never really a sufficient or sustainable workflow from the start. This is no surprise given the very fluid history of PHP though, and the lack of any sustainable processes may have even been one of the key things that allowed PHP to evolve so quickly into one of the most used programming languages in the world. But that early success doesn't make the PHP development process any less broken.

No comment yet.
Scooped by nrip
Scoop.it!

Facebook, Stack Overflow launch new developer forum | ZDNet

Facebook, Stack Overflow launch new developer forum | ZDNet | Code it | Scoop.it
Facebook and Stack Overflow have partnered to launch facebook.stackoverflow.com. Facebook will be phasing out its old Developer Forum in September.
No comment yet.
Scooped by nrip
Scoop.it!

How to build ScipPy with Python 2.7.2 on CentOS5 | shocksolution.com

If you are going to install iPython (which I highly recommend) you will also need to install:.

 

sqlite-devel

 

Installing the “-devel” packages is critical! The basic packages install libraries that end in *.so.3, which cannot be used to link newly built applications. The -devel packages include libraries that end in *.so that are required for building Scipy.

 

Now, without superuser privileges, download Python 2.7.2, NumPy 1.6.1, and SciPy 0.9.0 to your home directory.

No comment yet.
Scooped by nrip
Scoop.it!

How we use git at Shopify - Shopify

Git is an incredibly powerful tool that can be used in many different ways. I don't believe there is a 'correct' workflow for using git, just many different options that work for particular situations and people. The workflow that I am going to describe won't work for everyone, and not everyone at Shopify uses git in the same way - you have to modify and massage it to shape your needs and the way you work. I don't consider myself an expert with git, but am comfortable enough with the tool to handle just about everything I might need to do. If there's anything I can't figure out, James MacAulay is our resident git expert in the office and always willing to help out.

 

Okay, lets get down to business.

No comment yet.
Scooped by nrip
Scoop.it!

Penrose Tiling in Obfuscated Python

Penrose Tiling in Obfuscated Python | Code it | Scoop.it

Who says you can’t write obfuscated Python?


Here’s a Python script which renders some Penrose tiling. Yes, this is valid Python code:

No comment yet.
Scooped by nrip
Scoop.it!

How to setup multiple PHP versions on Apache

How to setup multiple PHP versions on Apache | Code it | Scoop.it

here are several reasons you might need to run multiple versions of PHP on the same server. Maybe you have a PHP 5.2 application running on your server and you need to start working on another application based on a new framework like Symfony2 or Lithium? Perhaps you haver a client with a legacy site that runs PHP 5.2, or maybe you simply want to test some of the new functionality? This post is going to explain how to setup a server to run multiple versions of PHP.

No comment yet.
Scooped by nrip
Scoop.it!

Google Enables Developers to Connect C Code to HTML5

Google Enables Developers to Connect C Code to HTML5 | Code it | Scoop.it
Google has just added native client (NaCl) support in Chrome 14 beta, which enables developers to leverage C and C++ interfaces for their web applications.

 

NaCl is integrated as a sandboxing technology, which allows the browser to safely execute platform independent and untrusted code without being a threat to the browser itself, even if the software may be harmful.

 

NaCl was integrated for the first time in Chrome 5 behind a flag and is enabled via Pepper, a collection of APIs that can connect C and C++ code to modern websites that run HTML5 technologies. "This means that once you’ve ported your code to Native Client, it will work across different operating systems, and you only need to maintain one code base," Google said.

No comment yet.
Scooped by nrip
Scoop.it!

Cloud computing: If hackers want access, they'll get it

Security and servers are the stumbling blocks to cloud computing. 

 

Cloud providers that store client data on shared or virtual servers must ensure that private customer information cannot be accessed in the event of a cyber attack or a server being hacked, according to search specialists, Simplexo.

No comment yet.
Scooped by nrip
Scoop.it!

Bash completed man and info pages generation « Python recipes « ActiveState Code

The script it self is very self explaining - the task is simple. *NIX only unless with cygwin perhaps?

To start this open a terminal and strike the "Tab" key to get all possibilities (strike y, and strike the space key alot). Select all then Copy and save in "comms.txt" Modify the file so ONLY the possiblities consume a line; no prompts or extra newlines. (first line must be a command, the last line must be a command)

No comment yet.
Scooped by nrip
Scoop.it!

Kingpin: How One Hacker Took Over the Billion-Dollar Cybercrime Underground

Kingpin: How One Hacker Took Over the Billion-Dollar Cybercrime Underground | Code it | Scoop.it

Readers of a certain age might remember the “phone phreaks” of the 1960s and ’70s who deviously manipulated telephone technology in order to make free long distance calls, disclose American Telephone and Telegraph secrets and, in general, drive AT&T crazy.

 

In retrospect, those characters seem almost ingenuous and amusing, more interested in relishing their naughty exploits than with mayhem. But there’s nothing childlike or amusing about today’s version of phone phreaks: criminals who, for plunder (lots of it) and other more sinister reasons, ruthlessly and zealously inflict havoc on and through cyber networks.

 

Kevin Poulsen’s new book, Kingpin:

How One Hacker Took Over the Billion-Dollar Cybercrime Underground, is a flawed but fraught overview of our current digital underworld, where such vile hoodlums thrive.

No comment yet.