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
# The remainder of this file contains misspellings from | |
# http://en.wikipedia.org/wiki/Wikipedia:Lists_of_common_misspellings/For_machines | |
# plus some post-processing to fix invalid entries, remove duplicates, etc. | |
# | |
# The content is available under the | |
# "Creative Commons Attribution-ShareAlike License" | |
# http://creativecommons.org/licenses/by-sa/3.0/ | |
abandonned->abandoned |
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
// 2. This code loads the IFrame Player API code asynchronously. | |
var tag = document.createElement('script'); | |
tag.src = "http://www.youtube.com/player_api"; | |
var firstScriptTag = document.getElementsByTagName('script')[0]; | |
firstScriptTag.parentNode.insertBefore(tag, firstScriptTag); | |
// 3. This function creates an <iframe> (and YouTube player) | |
// after the API code downloads. | |
var player; | |
function onYouTubePlayerAPIReady() { | |
player = new YT.Player('player', { |
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(){ | |
var script=document.createElement('script'); | |
script.setAttribute('src','http://cssrefresh.frebsite.nl/js/cssrefresh.js'); | |
var head=document.getElementsByTagName('head'); | |
head[0].appendChild(script); | |
})(); |
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
<!doctype html> | |
<html lang='en-US'> | |
<head> | |
<title >This is a website</title> | |
<meta charset='utf-8'> | |
<link rel='shortcut icon' href='favicon.ico' /> | |
<meta http-equiv='cleartype' content='on'> | |
<meta name="viewport" content="initial-scale=1.0, user-scalable=no"> | |
<link rel='stylesheet' href='app.css' /> | |
</head> |
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
$('#gregbox-outer').hide(); | |
$('#gregbox-signInTab').hide(); | |
$('#gregbox-outer').siblings('div')[2].style.display = 'none'; |
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
((i, s, o, g, r, a, m) -> | |
i["GoogleAnalyticsObject"] = r | |
i[r] = i[r] or -> | |
(i[r].q = i[r].q or []).push arguments | |
i[r].l = 1 * new Date() | |
a = s.createElement(o) | |
m = s.getElementsByTagName(o)[0] |
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
var start = new Date().getTime(); | |
var str=""; | |
var mtc="CTTGATCAT"; | |
var n = " "; | |
var alr = new Array(); | |
var j = 0; | |
var url = 'https://beta.stepic.org/media/attachments/lessons/3/Vibrio_cholerae.txt'; | |
var http = require('https'); | |
var fs = require('fs'); |
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
document.getElementsByTagName("body")[0].innerHTML += '<canvas id=sprite ></canvas>'; | |
var items = document.getElementsByTagName("*"); | |
var c = document.getElementById("sprite"); | |
c.width = 4000; | |
c.height = 10000; | |
c.style.border = '1px solid black'; | |
var y = 0; | |
var x = 0; |
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
var head = document.getElementsByTagName("head"); | |
var node = document.createElement("script"); | |
node.src = "http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"; | |
head[0].appendChild(node); |
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
<?php | |
public function rules() | |
{ | |
return array( | |
array('roleid', 'verificarCodigo'), | |
); | |
} | |