Raspberry Pi Week : Start learning Python with this free tutorial.

May 20

“There is an app for that ! “. How many times have you heard that phrase, probably uttered by some smartphone waving geek who instantly shows you how to fix problem Xyz in your life using a pre-packaged app. And there is nothing wrong with that.. as long as there IS an app. But what if there is not ? What if you spend hours online looking for an app that doesn’t exist or doesn’t quite do what you want it to do ? Wouldn’t your wish to be able to TELL your computer exactly what to do ? Well there is ! It’s called programming. Don’t worry if it sounds weird but before the time of beard-sporting iphone hipsters with 5997 apps on their smartphones we used to PROGRAM our machines to work for us.

python code

A great way to start to learn how to program is by using a raspberry pi. The inexpensive mini computer is a great place to start when you want to learn how to program. The Pi is geared heavily towards the Python language and offers great tools which you can use when you want to learn how to code (or teach your kid on how to code). But where do you start ?

The Full Circle magazine has been running a series on “how to program in python” for quite some time. They have collected all these articles into 3 PDF Issues of their magazine that you can download for free. Its a great way to start your first baby steps into Python scripting and discovering you don’t always need an “app for that”. Even with a few basic programming skills you can upstage those app-jockeys by saying ” I WROTE a script for that !”. So download the tutorial, grow a beard, put on sandals and start screaming profanities towards closed source software, because you’re on your way to becoming a Python Programmer !

Links :

Related Posts

Server week : Why not “roll your own private little cloud”.

Mar 10

Cloud services. We love them ! All you need to do is hand over your email address, use the same password you have everywhere and sito presto : Before you know it you are using yet another free service that does whatever you require. From handling your email, to storing your documents, from chatting with your friends to keeping track of all the Care-Bear stuff you track on line .. there is a cloud service for everything.

Screenshot-9

We are not always the customer, sometimes we are the product.

What most of us forget is that, unless you are paying for said service, you are not a customer, but a product. If your free cloud service has any plans about staying in business and paying that giant hosting bill for that ‘free storage’, it’ll better have a business plan. Most cloud services make money by selling you adds that you click on. The people who PLACE the adds are the actual customers of the service ..  YOU .. are the product. This might not be true with a paid service ( Another way of working for a cloud service might be to get you hooked with a free account and then make you UPGRADE into a subscription plan). So if you are using that favourite cloud service of yours, ask yourself : Am I ok with being “The Product” ?

Just “Who IS” the cloud ?

Behind every fancy logo or snazzy name is a company. That company can be  a multi brazillian dollar company who buys up instant messaging clients for sixteen billion the way you buy new socks. It might also be two crummy guys sitting in their moms basement remote controlling their servers somewhere else. You  only see the flashy logo,  you never read the terms of service (just click agree-agree-agree) and have no idea of who might be looking at your data. Who knows you may have signed over the creative rights of your summer snapshots to the cloud company that turns it into a “Free online picture-slideshow”.. because you never read the terms of service.  And for the sake of argument : What if there is a problem you can’t fix ? Who are you gonna call … Chances are you will probably get to talk to the REAL Ghostbusters before you get a living person on the other end of the line at your “free cloud service”.  So are you safe ? Is the data yours ? What happens if the bubble bursts and the service goes away  ? 

So what if you rolled your own ?

If you make it really simple you can say that cloud services are just servers running on applications. ( But they are actually spread out on servers all over the world and are optimised for coping with a LOT of simultaneous users). But what if you don’t need that ? What if its just you and your dog using them ? Then you could basically run them yourself right ?  The answer is : YES. It takes some tinkering and having at least one machine that is online for most of the time to make sure your “private cloud” is accessible but aside from a little patience, a spare machine and an internet connection, its about ALL you need.

I don’t trust cloudy skies.

This week we boldly choose to chose “DISAGREE” on the terms of service of the cloud providers, we decide NOT to trust their free business model and we venture out on our own little geeky adventure : Rolling our own private cloud. The luxury of a cloud service, but being run on your own hardware, in your own home (or on YOUR webspace) with YOU in control. We will try to show you some great examples of just how much fun you can have while being your personal cloud provider. Most if not all services we will setup can be hosted on a Linux virtual machine and are accessible from any operating system (or device) that is capable of connecting to the internet.

Enjoy.

Related Posts

Google Hacking week : Plunder a site’s MP3’s, PDF’s and more.

Feb 26

In day two of our Google Hacking Week we are going to combine an interesting Google search query (or Google Dork) with a command line command to find AND download any file type you want.

Find the storage room in the back of the store.

Websites on the net consist of more then just webpages with information. They also links to files and folders containting interesting information like PDF’s MP3’s and more. Most of the time these files aren’t ‘visible’ when you visit a specific site but our little friends, the Google Search Bots, DO index them. All you need is the right string to find them.

  • intitle: “index of” <filetypehere> <title/genre/artist>

This search query will tell Google to go look for pages with the title “index of”. These pages usually don’t contain a lot of text, but instead contain links to folders and files.   Since you are looking for a specific type of file (like for example mp3’s, Pdf’s or something else) you also can add this to the query. Finally you might be looking for mp3’s of Hanna Montana or Tango’s (I don’t know what you like) : That can also be added to the search string. In the end it will look something like this.

  • intitle: “index of” mp3 acdc
  • intitle: “index of” pdf bookkeeping
  • intitle: “index of” epub scott sigler

So using these queries you might find a real treasure-trove of files and info to download. Some of them might even be behind a login/password page (or even a pay wall) but when the web masters don’t do their homework right .. you can find the ‘good stuff’ this way. 

Download

So download them one by one ? 

If you are just looking for one specific file you can use your browser to find and download it. If you want to download the ENTIRE collection of files on that page .. you need the power of a command line tool called WGET. 

Wget can be found on the command line of both Linux, Mac and even Windows machines. Not all the advanced ‘switches’ we give you in this command below might work on Windows, but you can give it a try. The command is

  • wget -r -l1 -H -t1 -nd -N -np -A.<.filetype> -erobots=off <url of website>

Replace <filetype> with the type of file you want to download ( .mp3, .pdf, .epub) and <url of website> with the website’s url you found using the Google search. Completed the command might look something like this.

  • wget -r -l1 -H -t1 -nd -N -np -A.<.mp3> -erobots=off http://tiobiloute59.free.fr/tiesto/

The download is RECURSIVE, so it “deep dives” into all the folders. Beware : This can get you a LOT of data. So make sure you have the bandwidth and the storage capacity before you start sucking down the internet. Good Luck ! 

Related Posts

Game Week : “Frag the Axis” on “Return to Castle Wolfenstein”.

Jan 29

Loooos Looos Loooooossss !!!! We used to shout it across the office at lunch break. Our boss didn’t even notice anymore and our cleaning lady tended to leave the building whenever we were playing. I am of course referring to the endless lunch breaks at my old job, spent playing “Castle Wolfenstein” in multiplayer mode. Forming small teams of German or Allied soldiers and trying to invade bunkers, steal documents or liberate prisoners. I LOVED Castle Wolfenstein, both in its Single player mode (Fighting Nazi’s and Zombies) or in online multiplayer mode. Ok : Nazi’s and Zombies does make it sound like Wolfenstein was a mix between “The Walking Dead” and “Allo Allo”… but it is nothing like that.

enemyterritoryfeature

In multiplayer game mode every teammember in our office-battalion had a specific function. Engineer, Medic, Soldier … and “That guy with the bazooka”. That guy would be me. From a tactical viewpoint you used the bazooka to gain entrance to a bunker. Once inside you would dispose of the Bazooka and respawn as a medic or a soldier .. Not me : I used the Bazooka everywhere. I was lethal in close quarters, both for my enemies, my teammates and my own health. This strategy turned me into a “loose canon” on the battlefield, terrifying both my teammates and my enemies equally. I built up quite a reputation that way 🙂 Good times , Good times indeed.

Now YOU can have a crack at Zombies, Nazi”s and Allied forces. Fire away on your Mac, your Linux machine or your Windows desktop. Download Castle Wolfenstein Enemy Territory here … LOOSSS LOOSSS LOSSSS !!!!

Related Posts

Game week : “Open Arena” Cross platform Quake3 Fun !

Jan 28

If I say the word “Rocketjump” and you have no idea what it is  ? … Then you seriously need to read the next post. In day two of our cross-platform gaming week we point you toward the reincarnation of one of the best first person shooters ever created. We are talking about Quake 3. A fantastic, high speed, fast moving, addictive, life-eating, relationship-destroying, girlfriend-infuriating game that kept us ALL up till dawn back in the year 2000. Quake is one of those “shoot anyone that moves” games that had a massive online following. No matter what part of the world you were at, there was always a server where you could log into and fire frag and respawn to your hearts desire.

I remember fondly how I would “get rid of my girlfriend” by taking her home at ten .. coming back to my apartment and start playing Quake 3 till 4am while eating Nacho’s and drinking coke.  Quake is fun, addictive and has eaten a big part of my life I can never get back.  And i had such a good time… I don’t even care 🙂 

open_arena

Now you (and your cross platform buddies) can have a go with “Open Arena” a free, open-source and cross platform friendly port of the old Quake game. It might not be as fancy as your newest Xbox one game, but EVERY first person shooter is in some way or form a descendant ( I feel the urge to say “Derivative”) of the original Quake 3.

Feed your dog for the next three weeks and kiss your job goodbye. Download and play Open Arena .. for free HERE.

Related Posts