QR(Quick Response) Codes

qrwikimessThis is an image of the first paragraph on QR Codes on Wikipedia embedded in a QR code. I made it using this page: http://qrcode.kaywa.com/

“A QR Code is a matrix code (or two-dimensional bar code) created by Japanese corporation Denso-Wave in 1994. The “QR” is derived from “Quick Response”, as the creator intended the code to allow its contents to be decoded at high speed. QR Codes are common in Japan where they are currently the most popular type of two dimensional code.” – Wikipedia

QR Codes are basically our standard bar codes, but super amp’d up so they can hold a lot more information.

Here are some examples: Continue reading “QR(Quick Response) Codes”

SSH/SCP/SFTP I love them all.

ssh_binary_packet_alt_sm.jpg
I pretty much use ssh for everything. I use it mostly to connect to my home/web/this server and use it as an interface. The best program to use alongside ssh is screen.

To install both ssh and screen, you may do this:

  1. sudo apt-get install ssh
  2. sudo apt-get install screen

If I were good with words, I would write a poem for ssh. But alas, I am not. So, you get the first page from the Wikipedia Entry.

Secure Shell or SSH is a network protocol that allows data to be exchanged over a secure channel between two computers. Encryption provides confidentiality and integrity of data. SSH uses public-key cryptography to authenticate the remote computer and allow the remote computer to authenticate the user, if necessary.

Here are a few of the best SSH/SCP commands EVER:

  1. ssh server.com
  1. scp server.com:./ /home/local/downloadhere/
    Popular/Best SSH/SCP/Clients (mostly for windows, because linux usually already has tools built in.):

  • WinSCP
  • Putty
  • gFTP
  • the normal commands that come with Linux(ssh, scp)

Facebot – My Facebook Robot

facebot

I have written a new program. It’s called facebot. This program takes the public RSS feed from many people and converts it into a visual display of the relationships on facebook.

Go here to check it out.

Py2Html

Python-Command Line Python-To-Html Converter. Makes posting Python to blogs quick.

by: Daniel Folkes

This is Licensed under GPLv3. Give Back.

Py2Html

    Download Source

  1. print “”” This is a simple program that takes a python file and replaces the
  2. plain text punctuation with the easily postable html code.
  3. written by :    Daniel Folkes
  4.         danfolkes @t gm@il d0t c0m
  5.         http://danfolkes.com
    Continue reading “Py2Html”

JSP Crystal Reports

This is my working sample of running a crystal report through a jsp. It turns out to be very pretty and gives you many options. As I suggested in a comment. I would really advise on downloading Eclipse IDE + the Business Objects Plugin. This will give you most, if not all the utilities you need to put you in the right direction.

LET ME KNOW IF THIS HELPED YOU IN THE COMMENTS! Enjoy!

If you have any questions, please post in the comments.

Thanks,
Daniel


Author: Dan Folkes
Description: JSP Crystal Reports
Language: java
Pasted on: 08:44:23 Friday 18th January 2008

JSP Crystal Reports helper sample image

This is Licensed under GPLv3. Give Back.

    Download Source

  1. <%@ page language=”java”
  2. import=”logic.*,com.businessobjects.samples.JRCHelperSample,
  3. com.crystaldecisions.report.web.viewer.CrystalReportViewer,
  4. Continue reading “JSP Crystal Reports”

Python Torrent Search and Download (TPB)

This python command line utility will search the pirate bay for a specific search string and pull out the torrent files and download them to your current directory.

by: Daniel Folkes

This is Licensed under GPLv3. Give Back.

tpb.jpg

    Download Source

  1. print “””Pirate Bay Torrent Downloader – Command Line Interface
  2. Program Written by: Daniel Folkes
  3. website: http://danfolkes.com
  4. email: danfolkes @t gmail dot c0m
    Continue reading “Python Torrent Search and Download (TPB)”

GNU

I was reading the book Open Source Development with CVS (here) and found a excellent rationale for open source software on page 23 :

“Traditional capitalism is based on the idea of limited supply; however, information has become a commodity in itself and is never in short supply. In fact, the ubiquity of computers and the Internet has made it possible to replicate any information effortlessly and without bounds. Even so, we still treat software as if it were a tangible object in short supply. If you copy software from somebody, you’re legally stealing it. The software industry has attempted to extend this metaphor into the information economy, artificially re-creating the economics of limited supply by creating software licenses.
There’s nothing wrong with making a living as a programmer or as a software company employee or executive. The authors of this book get part of their incomes as programmers. However, it’s nonsensical to use this profit-model. Imagine a science-fiction device that allows any sort of food or physical object to be infinitely duplicated. If somebody then tried to sell you a tire for your car, why in the world would you buy it? You could just throw your friend’s tire into the duplicator! However, you might want to pay somebody to design a new tire for you or perhaps to install the tire on your car. Or to help you when some other part of your car breaks, you might want to buy a warranty for future support. Or maybe just hire a personal mechanic.”

I tend to agree with what he is saying.

Learning Python

I just checked UPS tracking for a book I ordered. IT HAS ARRIVED!!!

Learning Python, I hope, will be the first stepping stone to me becoming a more well rounded programmer. I have started to have interest in Python(cool name) because of Ubuntu and OLPC(One Laptop Per Child). Both of these projects aim to help the world, and they depend on Python. I would love to be able to write a great application that would easily work for kids of developing countries , and/or on my operating system of choice, Ubuntu(or any Linux).

I decided to choose Python over Perl (I bought “Learning Perl” about a year ago). Creating GUIs in Python seems more intuitive, and I prefer object oriented programming(I don’t think Perl is) .

Python over Java : I wanted something more nerdy and that could integrate with UNIX better.

Python over C++: C++ is much to hard. Just compare the list structure in both languages. Also, DB work will be easier (I hope :))

So, while I’m stuck away from home until tomorrow, my book will sit on my front porch. I can not wait to get home and rip it open. :)~

Comments about “Learning Perl”

The Perl book was excellently written, and the authors deserve awards for how easy it was to read. I got through most of the book in 2 days. It just so happens that the two days had about 11 months in-between. Because the book was so good, it almost makes me feel bad about deserting Perl, but it must happen.