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 titles = [], urls = [], rows = document.querySelectorAll("#section0_column0 > div"), i = rows.length, lastI = i; while (i--) { titles.push(rows[i].getAttribute("data-title")); urls.push(rows[i].getAttribute("data-alternate-link")); } titles = titles.map(function (t, i) { return "[" + t + "][" + (i + 1) + "] \nskriv nåt bra här\n"; } ); console.log(titles.join("\n")); urls = urls.map(function (u, i) { return "[" + (i + 1) + "]: " + u; }); console.log(urls.join("\n")); |
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 () { | |
"use strict"; | |
var v, bandMembers = ["Hansi", "Andre", "Marcus", "Thomen"]; | |
// 1. one random number between 1 and 10 | |
v = Math.ceil(Math.random() * 10); | |
// 2: one random member of Blind Guardian | |
v = bandMembers[Math.ceil(Math.random() * (bandMembers.length - 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
@mixin gradient-stopped ($fromcolor, $tocolor, $stop) { | |
background-color: $tocolor; | |
background-image: -moz-linear-gradient(180deg, $fromcolor, $tocolor $stop, $tocolor); | |
background-image: -ms-linear-gradient(top, bottom, $fromcolor, $tocolor $stop, $tocolor); | |
background-image: -webkit-linear-gradient(top, bottom, $fromcolor, $tocolor $stop, $tocolor); | |
background-image: linear-gradient(180deg, $fromcolor, $tocolor $stop, $tocolor); | |
} |
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
install: | |
composer install | |
composer update | |
deploy: | |
php vendor/bin/deployment deployment.ini | |
test-deploy: | |
php vendor/bin/deployment deployment.ini --test |
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> | |
<meta charset="utf-8"> | |
<style> | |
body { margin: 0; } | |
div { position: absolute; width: 20px; height: 20px; border-radius: 50%; background: red; } | |
</style> | |
<img src="mupp2.png" alt="" width="2500" height="2500"> | |
<div hidden></div> | |
<script> | |
/*jslint browser: true */ |
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
{ | |
"ref": "refs/heads/master", | |
"after": "7d97f223924e0c7440680892cefdb2d97ff662a3", | |
"before": "ae249ec5c919d54f76c700178061652ed65286de", | |
"created": false, | |
"deleted": false, | |
"forced": false, | |
"compare": "https://github.com/madr/bearded-sansa/compare/ae249ec5c919...7d97f223924e", | |
"commits": [ | |
{ |
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
/*jslint indent: 2, devel: true, browser: true */ | |
(function () { | |
"use strict"; | |
function scrape(stopAt, startAt) { | |
var iframe = document.createElement("iframe"), | |
games = [], | |
heroes = {}, | |
wins = 0, | |
page = 1, | |
heroesPlayed, |
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
/*jslint browser: true, indent: 4 */ | |
/* | |
Example use of ScrollGuard: a simple, unobtrusive lazy loader. | |
Each time the user scrolled to the bottom of the page: | |
1. Look if there is content to load (lookForNextPage) | |
2. If new content, get content using Ajax (getNextPage) | |
3. Append the new content and do some polish (appencContent) |
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
<a href="javascript:(function(){(function(){var%20doc,reload,keepAlive,saveButton,title;title=window.bajsa;doc=document.querySelectorAll("frame")[1].contentWindow;reload=function(){if(window.bajsa!==undefined){console.log("who%20is%20gabriel");doc.location.reload();keepAlive=setTimeout(reload,5*1000);}};if(title!==undefined){clearTimeout(keepAlive);delete%20window.bajsa;console.log("CANCELLED")}else{window.bajsa="who%20is%20gabriel";reload();}}());})();">Keep Agresso Alive</a> |
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 Following folder structure is required: | |
./ | |
./dist | |
app.js | |
app.min.js | |
app.min.zipped.js | |
design.css | |
design.min.css |