This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if true | |
puts "this is true" | |
else | |
puts "this is false" | |
end | |
if (5+5==10) | |
puts "this is true" | |
else | |
puts "this is false" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
puts 'Hi there!' | |
p 'Hi now also returning this string not only printing' | |
def say_hi | |
p 'I say hi to you!' | |
end | |
say_hi | |
def say_hi(nickname) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var works = [ | |
{ | |
title: "Formentera, Spain", | |
pic: "img/1.jpg", | |
url: "https://c2.staticflickr.com/6/5061/5898445045_e94e0c4338_b.jpg" | |
}, | |
{ | |
title: "Wienerwald, Austria", | |
pic: "img/3.jpg", | |
url: "https://c2.staticflickr.com/4/3340/4631011939_d6f27e0136_b.jpg" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var works = [ | |
"img/1.jpg", | |
"img/3.jpg", | |
"img/a5.jpg", | |
"img/a6.jpg" | |
]; | |
for(var i = 0; i < works.length; ++i ) { | |
$("#photos").append("\ | |
<div class='col-sm-6 col-md-2'>\ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs'); | |
window.fbAsyncInit = function() { | |
FB.init({ | |
appId : 'your-app-id', | |
xfbml : true, | |
version : 'v2.6' | |
}); | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* { box-sizing: border-box; } | |
.bottom_bg { | |
height:100%; | |
width:100%; | |
margin:0 0 10px; | |
background-image: url("http://nelantone.bitballoon.com/img/albufer_bg.jpg"); | |
background-position: 50% 70%; | |
background-color: black; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* { box-sizing: border-box; } | |
/*****navigation bar*****/ | |
.nav { | |
display: inline-block; | |
background-color: black; | |
opacity: 0.8; | |
filter: alpha(opacity=80); /* For IE8 and earlier */ | |
z-index: 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* { box-sizing: border-box; } | |
.bottom_bg { | |
height:100%; | |
width:100%; | |
/* min-height:500px;*/ | |
margin:0 0 10px; | |
background-image: url("https://assets.about.me/background/users/a/n/t/antonioserna_1411265393_7.jpg"); | |
background-position: 50% 70%; | |
background-color: black; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* { box-sizing: border-box; } | |
.bottom_bg { | |
height:100%; | |
width:100%; | |
/* min-height:500px;*/ | |
margin:0 0 10px; | |
background-image: url("https://assets.about.me/background/users/a/n/t/antonioserna_1411265393_7.jpg"); | |
background-position: 50% 70%; | |
background-color: black; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* { box-sizing: border-box; } | |
.bottom_bg { | |
height:100%; | |
width:100%; | |
min-height:500px; | |
margin:0 0 10px; | |
background-image: url("https://assets.about.me/background/users/a/n/t/antonioserna_1411265393_7.jpg"); | |
background-position: 50% 70%; | |
background-color: black; |