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
[ | |
{ | |
articleNo: 3065, | |
name: "Käsisaippua (sininen)", | |
price: "4,40 €", | |
tags: ["hands", "wash", "designs"], | |
color: 23.568, /* 0.0-360.0 deg, hue enligt HSL color space */ | |
height: 10, | |
space: 2, | |
}, |
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
#!/bin/bash | |
# | |
# Carbon (part of Graphite) | |
# | |
# chkconfig: 3 50 50 | |
# description: Carbon init.d | |
. /etc/rc.d/init.d/functions | |
prog=carbon | |
RETVAL=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
public static class AssemblyInformationalVersionExtensions { | |
public static string GetInformationalVersionString(this Assembly assembly) { | |
return assembly | |
.GetCustomAttributes(typeof(AssemblyInformationalVersionAttribute), false) | |
.Cast<AssemblyInformationalVersionAttribute>() | |
.Select(t=>t.InformationalVersion) | |
.FirstOrDefault(); | |
} | |
} |
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
0x42dF7cFE633C7d86A89015D4c3903cD991738df0 |
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
<html style="background:black"> | |
<textarea id="input"></textarea><br> | |
<img style="position: absolute; top: 0; left: 50%; transform: translateX(-50%); max-height: 100vh; max-width: 100vw" id="grid"> | |
<script> | |
grid = document.getElementById("grid") | |
area = document.getElementById("input") | |
area.addEventListener("change", function(){ | |
i = 0; | |
items = area.value.split("\n").map(t => t.replace("/small/","/big/").replace("/thumbs","/img").replace("_t.",".")); | |
update(); |