Archive for November, 2008
Should You Trust Facebook?
I just received an email from Facebook saying:
Unfortunately, the settings that control which email notifications get sent to you were lost. We’re sorry for the inconvenience.
To reset your email notification settings, go to:
[A link to facebook]Thanks,
The Facebook Team
Easily Create Code Snippets with Bonetree Box
Update: Looks like the link is not valid anymore
Anyhow, one always can use http://pastebin.com
Have you ever needed to show a code to a friend? If yes, I have no doubt that you will love Bonetree Box.
This web tool has a very simple and well-designed interface, and working with it is with no doubt a pleasant experience.
The tool has support for a set of popular programming languages, such as C, C++, Bash and more (I believe that this set will be extended over time), and allows you to create a syntax highlighted code snippets with zero effort.
How to Declare an Array of Strings in C
Ok, I know this is not a big deal, I just hate to deal with strings in C, so I’ll put the code here so I can copy-paste-modify whenever I need to do such things.
Purpose: declare an array of strings.
There are two cases here:
Collapse of Evolution (Video)
A scientific discussion by Haroun Yahya about (the collapse of) evolution theory.
Twitter from the Command Line
This simple but not perfect script will let you twit easily from the command line.
Open a new file with your favorite text editor, and add this:
1
2
3 #!/bin/bash
curl --basic --user USERNAME:PASSWORD \
--data status="$*" http://twitter.com/statuses/update.xml -o /dev/null;
Save the file as twit (or any other name you choose).
Of course, we don’t like our password inside an accessible plain text file. So this is what I did:
Take Screenshots in Linux with “scrot”
I have found this tool recently, and I have no idea how I was able to manage without it before.
This tool allows you to capture any region of your screen, by selecting it with your mouse, clicking on the title-bar of a window and other methods. It’s very flexible and contains many options.
To download the program in Ubuntu:
sudo apt-get install scrot
Now, open a new text file and type this
About Me
Tags
Categories
- Algorithms
- Bash
- BlackBerry
- Collaboration
- Command Line
- Cool Tricks
- Easter Eggs
- Ebooks
- Firefox
- Hardware
- Humor
- iPhone
- Linux
- Linux Development
- Linux Kernel
- Networks
- Open Knowledge
- Other
- Productivity
- Programming
- Regular Expressions
- Science
- Security
- Shell Scripts
- Short Posts
- Social Networks
- Thoughts
- Tools
- Vim
- Web Development
- Websites
Popular Posts
Calendar
Archives
- September 2010 (2)
- August 2010 (2)
- July 2010 (5)
- June 2010 (1)
- May 2010 (1)
- April 2010 (3)
- March 2010 (1)
- January 2010 (1)
- December 2009 (2)
- September 2009 (13)
- July 2009 (1)
- June 2009 (6)
- May 2009 (4)
- March 2009 (18)
- February 2009 (10)
- January 2009 (10)
- December 2008 (7)
- November 2008 (8)
- October 2008 (1)
- August 2008 (1)
- July 2008 (1)
- June 2008 (1)
