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
@mixin double-prefix ($prop, $val...) { | |
-webkit-#{$prop}:-webkit-#{$val}; | |
-moz-#{$prop}: -moz-#{$val}; | |
#{$prop}: #{$val}; | |
} |
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
@mixin prefix ($prop, $val...){ | |
-webkit-#{$prop}:#{$val}; | |
-moz-#{$prop}:#{$val}; | |
#{$prop}:#{$val}; | |
} |
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
@mixin gradient ($type, $val...) { | |
background: -webkit-#{$type}-gradient(#{$val}); | |
background: -moz-#{$type}-gradient(#{$val}); | |
background: -ms-#{$type}-gradient(#{$val}); | |
background: -o-#{$type}-gradient(#{$val}); | |
background: #{$type}-gradient(#{$val}); | |
} |
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 toggleClass() { | |
document.getElementById('itemId').classList.toggle('itemClass'); | |
} |
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
// Window Dimensions | |
window.onload = function() { | |
makeDiv(); | |
showWin(); | |
}; | |
window.onresize = showWin; | |
function makeDiv() { | |
var d = document.createElement('div'); |
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
## Old Roman Style | |
def old_roman num | |
m = ( num ) / 1000 | |
d = ( num % 1000 ) / 500 | |
c = ( num % 500 ) / 100 | |
l = ( num % 100 ) / 50 | |
x = ( num % 50 ) / 10 | |
v = ( num % 10 ) / 5 | |
i = ( num % 5 ) | |
puts 'Old Roman Stlye: ' + |
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
while true | |
puts 'Start Year:' | |
yearOne = gets.chomp.to_i | |
puts 'End Year:' | |
yearTwo = gets.chomp.to_i | |
if yearOne > yearTwo | |
startYear = yearTwo | |
endYear = yearOne | |
else |
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
<?php include('tw-api.php'); /* Your TeamworkPM API Info */ | |
/* Set ?userid=YOURID to select the person's time to display or uncomment and redecalre below */ | |
/* $userid = YOURID; */ | |
?> | |
<html> | |
<head> | |
<style> | |
body { color:#fff; font-family: "Roadgeek 2005 Series C"; font-weight:normal; text-align:center; } | |
h1 { margin:0; font-size:90px; } | |
p { margin:40px 0 30px; color:rgb(100, 112, 118); text-transform:uppercase } |
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
window.jumpingBuses = -> | |
"awesome!" |
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
window.jumpingBuses = -> | |
"awesome!" |
OlderNewer