This file contains 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
/* Calculate your age | |
* Created 2014-2015 Caleb Ely | |
* <http://CodeTriangle.me/> | |
* <https://wp.me/p1V5ge-1tM> | |
*/ | |
/** | |
* Calculate and display the year difference between two dates. | |
* @param {Object.<number>} date The starting date to calculate from. |
This file contains 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
0 ~Moved to LS01 | |
0 Name: LS00.dat | |
0 Author: [Willy Tschager] | |
0 !LDRAW_ORG Unofficial_Part | |
0 !LICENSE Redistributable under CCAL version 2.0 : see CAreadme.txt | |
0 BFC CERTIFY CCW | |
0 !HISTORY 2007-06-27 [Willy Tschager] Initial version |
This file contains 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
0 LSynth Constraint Part - Type 3 - "Hose" | |
0 Name: LS03.dat | |
0 Author: John VanZwieten, Steve Bliss, Kevin Clague, Paul Easter, Don Heyse | |
0 !LDRAW_ORG Unofficial_Part | |
0 !LICENSE Redistributable under CCAL version 2.0 : see CAreadme.txt | |
0 BFC CERTIFY CW | |
0 !KEYWORDS LSynth, RCX, ELECTRIC, CABLE, NXT, FIBER, OPTIC, FLEX, SYSTEM, FLEXIBLE, AXLE, MINIFIG, | |
0 !KEYWORDS PNEUMATIC, RIBBED, RUBBER, STRING, CHAIN, BAND, BELT, PLASTIC, TREAD, INSIDE, OUTSIDE, |
This file contains 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 countDown() { | |
"use strict"; | |
var curDate = new Date(), | |
curYear = curDate.getUTCFullYear(); | |
var futureYear = curYear + 1, | |
futureMonth = 1, // UTC month value is zero-based | |
futureDay = 12; | |
// Format the date in a more readable form |
This file contains 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 countDown() { | |
var today = new Date() | |
var dayOfWeek = today.toLocaleString() | |
dayLocate = dayOfWeek.indexOf(" ") | |
weekDay = dayOfWeek.substring(0, dayLocate) | |
newDay = dayOfWeek.substring(dayLocate) | |
dateLocate = newDay.indexOf(",") | |
monthDate = newDay.substring(0, dateLocate+1) | |
yearLocate = dayOfWeek.indexOf("2014") | |
year = dayOfWeek.substr(yearLocate, 4) |
This file contains 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
#! /usr/bin/env/python | |
# -*- coding: utf-8 -*- | |
from __future__ import print_function | |
numOfLines = 0 | |
with open("samplefile.txt", "rt") as f: | |
for line in f: | |
numOfLines += 1 |
This file contains 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
@media only screen and (max-width: 800px) { | |
.img-responsive { | |
max-width: 100%; | |
height: auto; | |
} | |
} |
This file contains 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
background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#353536), to(#000)); | |
background-image: -webkit-gradient( | |
-webkit-box-shadow: 0px 1px 40px #282828; | |
background-image: -webkit-gradient( | |
-webkit-box-shadow:inset 0 0 20px #1a0200; | |
-webkit-box-shadow:inset 0 0 10px #1a0200; | |
background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#8c8c8c), to(#9c9c9c)); | |
-webkit-border-top-left-radius: 5px; | |
-webkit-border-top-right-radius: 5px; | |
background-image: -webkit-gradient(linear, 0% 50%, 0% 51%, from(#4b4b4b), to(#3B3B3B)); |
This file contains 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
#! /usr/bin/env/python | |
# -*- coding: utf-8 -*- | |
from __future__ import print_function | |
version = 0 | |
jumps = [3, 8] | |
namedVersions = ["95", "98", "98SE", "ME", "XP", "Vista"] | |
def release(verNum): | |
print("Windows {0}".format(verNum)) |
This file contains 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
/** | |
* Randomly scrambles the given username. | |
* @param {String} realName The username to be scrambled. | |
* @returns {String} The scrambled username. | |
*/ | |
function scrambleName(realName) { | |
"use strict"; | |
var newName = "", | |
usedChar = []; |
OlderNewer