Showing posts with label free stuff. Show all posts
Showing posts with label free stuff. Show all posts

Tuesday, December 13, 2011

Call Free with Gmail for Another Year

Google has extended free Gmail calling for one more year instead of ending it this year as intended.

Gmail lets desktop users call anyone in Canada and the United States for free. This free calling period was supposed to last for one year but has been extended for another year.

The reason for this extension is unknown. Google hasn't given a reason yet.

I think Gmail calling has been doing very well and Google thought it would be best to attract even more customers and then stop free calling. This way they will have more customers hooked on Gmail calling which will earn more profit when you have to pay to call when 2013 begins.

Friday, September 2, 2011

Great Collection of Programming, Hacking, and Math Books

Just wanted to share a great collection of ebooks I found on a great forum called Hack Talk.

Hack Talk is an ethical hacking forum, with the expressed purpose of educating the general public about hacking techniques, programming, network security, and many other areas.

Here are the current books that they have available, books from programming, hacking and mathematics. 
The following books are:


Many great books to read. Hope you enjoy them and maybe join their forum too!

Monday, August 29, 2011

Programming languages and web technology cheat sheets

Recently found some handy cheat sheets for programming languages and web technologies at AddedBytes. Here's a link to them.

Here's a list:

Python
Subversion
Regular Expressions
mod_rewrite
PHP
CSS
SQL Server
HTML
Microformats
World of Warcraft
Ruby on Rails
ASP / VBScript
HTML Character Entities
JavaScript
MySQL
RGB Hex Colour Chart

Source: http://www.addedbytes.com/cheat-sheets/

Monday, July 18, 2011

Knowntowns free game code

I have posted this php/mysql simcity-like game for you guys to download! It is free and very simple. I never took a lot of time to work on it so I am giving it to others for your enjoyment. This is only the code of the game and there is nothing else but that.

Game concept:

Build buildings to make money. Need 1 residential and 1 entertainment to make 1 industry which makes 100 money. 1 commercial = 2 entertainment.

1 residential + 1 entertainment = 1 industry
1 commercial = 2 entertainment

Game can be found here: Click me

Thanks for viewing this! Share!

Saturday, July 16, 2011

C++ code disassemble 1

Feel like starting a little series when I post basic C++ code and I disassemble it to easily understand. Enjoy.

The Guessing Game
I will be explaining how this code works. It is a basic number guessing game.
Code:


#include <iostream>
#include <cmath>
#include <cstdlib>
#include <ctime>
using namespace std;


int main()
{
srand(time(0));
int x, y = (rand() % 10) + 1;


do
{


cout << "Guess a number between 1 and 10." << endl;
cin >> x;


if (x == y)
cout << "You are right!" << endl;
else if (x>y)
cout << "Too high! Guess again." << endl;
else if (x<y)
cout << "Too low! Guess again." << endl;


}


while (x!=y)


;system("PAUSE");
  return 0;
;}


Now this is a poorly coded game but that isn't the point. Also to note this code will only work on Windows machines because of the system("PAUSE") code. Now time to disassemble the code!



#include <iostream>
#include <cmath>
#include <cstdlib>              Get the required libraries. 
#include <ctime>                

using namespace std;       Declare you are using namespace std.

int main()                           States main is an integer.
{
srand(time(0));                              \
int x, y = (rand() % 10) + 1;            -> Create a randomly generated number to guess.                                          
                                                              
do

{

cout << "Guess a number between 1 and 10." << endl;     Output the following.
cin >> x;                                                                                    Let the user input a guessing number.

if (x == y)                                                                                  Compare x and y.
cout << "You are right!" << endl;                                           Output the following.
else if (x>y)                                                                               If x > y do the following.
cout << "Too high! Guess again." << endl;                          Output the following.
else if (x<y)                                                                               If x< y do the following.
cout << "Too low! Guess again." << endl;                            Output the following.

}  Closing bracket for do statement.

while (x!=y)      While x doesn't equal y pause.

;system("PAUSE");    Pause code.
  return 0;                      Return 0.
;} Closing bracket for do while statement.


Hope you can use this code as a review. Thanks for reading!