OMG my friend is being featured for this HCG dieting product!!!!
She dropped 30 pounds in one month! I am so jealous!!!
Ugh im getting some of this stuff before spring break gets here.
Ruby!!!
Ruby is a programming language. The first thing you will need to know about ruby would be data types. Data types are the basics of many programming languages. Data types have different names in different programming languages, but in ruby they are (Stings, Integers, Floats, Arrays, Hashes, Booleans and Symbols.)
We will start off with strings. Strings are words, phrases or anything that you want. Strings are made by putting quotes around the text you want (“this is a string”). Strings are used to store text, numbers, etc.
The second data types are integers. Integers are numbers, but just whole numbers, no decimals.
The third data types are floats. Floats are numbers with decimals such as 1.5 or 2.75 etc.
Another important data type is an Array. An array is used to list string, integers, floats or whatever you need to be listed in one place. To make an array you use brackets to start and close what you want to be listed. If you want to list more then one thing you use a comma to separate them. example [“This is a string”, 1, 33.5].
Next are hashes. Hashes are like dictionary (the book version of a dictionary) in a way. You have the word, text or whatever, the “key” thing you want to define. Then you have the “value” of the key. To make a hash you open it with a brace { then you put your key such as “firstname” (The key has to be a date type such as a string, integer, etc) then to make the value of the key you use => then your value such as “Daniel” (Don’t forget the value has to be a data type like a string, integer, etc). After your value you close the hash with the ending brace }.
Now we have Booleans. Booleans are pretty basic, all they are is TRUE or FALSE.
The last data type I will be going over is a Symbol. Symbols are used instead of strings. You would use a symbol mainly because they take up less data. Symbols are made simply by a colon : then the text you want the symbol to be.
Here is an example of all the data types.
string = “This is a string”
integer = 12
float = 3.14
array = [“Daniel”,24,31.44]
hash = {:firstname => “Bob”}
boolean = True
symbol = :coolbeans
Learning CSS!!!
I’m learning CSS in my open source class. We are learning about in-line, blocks, id, classes, floats ex. In-line is when the text is on the same line. Blocks are when the text is on a new line. An id is when you name a certin tag so you can call apon it later, these are realy spesific and are usaly only used once. Classes are like id’s but they can be used more then once and can be used by more then one tag. Float is a tag used to posstion images text or whatever.
HTML
The things you will need to know about html… First you need to know about things called tags. Tags always have Openings and Closings; such as <html> for the opening and </html> for the closing. All tags you open have to be closed. There are three tags that you will need for all pages. They are (html, head, body). All Tags are put in <> to close a tag it will be the same tag but with a slash / before the tag name. To start your html script you need to start it with the <html> tag so when your browser runs your script it knows its an html file. The second tag you need to have will be the <head> tag this will be used later to put a <title> tag and for css use. The third tag you will need in your html script will be the <body> tag, this will be used for all your content on your page. All of the tags we just started need to be closed. It should look a little like this -
<html>
<head></head>
<body></body>
</html>
In the <head> you can use the <title> tag, this will make a title for your page (note: the title shows in your tab not on the content of your page). Don’t forget to close the <title> tag with its closing tag </title>. Inside the opening and closing of the two <title> tags you can put what you want the title to be example-
<html>
<head><title> This is a web page </title></head>
<body></body>
</html>
The <title> tag is all we will be using in the <head> tag. Later you can import your css into your html, and you will do that in the <head> tag.
In the <body> tag you can use tags like <h1>, <p>, <a> and others.
The <h1> tag is to make a title for the CONTENT of your page. You can also have more then one “h” tag; such as <h2>, <h3> to a max of six. To use the tag just write the text you want to be shown in between the <h1> and </h1>. The text you write will be shown as a title or header on your page. Don’t forget to close the tag!
The <p> tag is the paragraph tag. This is used the same way as the <h1> tag. The difference is the text you write will be shown as a paragraph on your page. Do Not forget to close the tag!
The <a> tag is to put links into your webpage. The <a> tag is the anchor tag. To use the <a> tag you will need to start the tag <a and use href=”link goes here”> then close the tag with </a>. To have the tag show up as text such as “Link to my page.” Then after you finish the link you need > Link to my page</a>. “”Shown below”“.
examples of all these tags.
<html>
<head>
<title>This will show in your tab</title>
</head>
<body>
<h1>First header</h1>
<a href=”file:///home/bavc/Desktop/movie_library/index.html”>This is a link to my page</a>
<p>This is the first Paragraph</p>
</body>
</html>
Teens in Tech Conference!!!
Didn’t get there till have way through, but when i did it was pretty crazy. Lost of free stuff and free food. The speakers were not what i expected, but they were good none the less. I think they should have talked more about tech then making money, but the free stuff made up for it.
Free stuff list - Biodegradable water bottle, Speaker, Manual charge flashlight, psp game, and a bag that it all came in.

