Skip to content

Instantly share code, notes, and snippets.

View Permik's full-sized avatar

Santtu Ojanperä Permik

View GitHub Profile
@Permik
Permik / designer.html
Last active August 29, 2015 14:17
designer
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
@Permik
Permik / designer.html
Created March 27, 2015 10:04
designer
<link rel="import" href="../topeka-elements/theme.html">
<link rel="import" href="../topeka-elements/topeka-resources.html">
<link rel="import" href="../topeka-elements/topeka-app.html">
<link rel="import" href="../topeka-elements/topeka-datasource.html">
<polymer-element name="my-element">
<template>
<style>
:host {
@Permik
Permik / varusteleka-script.js
Created June 20, 2019 05:04
//FI-fi Pieni scripti jolla voi lisätä ostoskoriin nimilaput listasta löytyvillä nimillä. //EN-us A small script that'll add name tags made of names in the list to the shopping cart.
// Käytä scriptiä tällä sivulla https://www.varusteleka.fi/fi/product/sarma-tst-m05-nimilappu-omalla-tekstilla-3-kpl/35030
// Use the script in this page https://www.varusteleka.com/en/product/sarma-tst-m05-name-tag-w-custom-text-3-pcs/35030
// Luo lista tällä (Jos nimet kerätty laskentataulukon sarakkeeseen, copy-paste) https://thdoan.github.io/mr-data-converter/
// Create list with (If you've collected the names into a spreadsheet column, copy-paste) https://thdoan.github.io/mr-data-converter/
// 1. Avaa sivulla sen tyyppinen nimilappu joita haluat tilata
// 1. Open the type of name tag you want, in the page
// 2. Avaa selaimen konsoli (Win/Linux: Ctrl + Shift + J or F12, macOS: Alt/Option + Cmd + J)
// 2. Open the browser console (Win/Linux: Ctrl + Shift + J or F12, macOS: Alt/Option + Cmd + J)
// 3. Liitä scripti konsoliin, josta lista korvattu haluamallasi nimillä
// 3. Paste the script to the console with your own list of desired names
@Permik
Permik / gist:46f7751ffc6202f7ff77dcd092e1a96c
Last active January 14, 2020 19:52
Minecraft morpheus **WIP**
** For setup **
/scoreboard objectives add Sleeping dummy
/scoreboard objectives add players trigger
/scoreboard objectives add playersCompare trigger
/scoreboard objectives add playersDivider trigger
/scoreboard players set @a playersDivider 2
Repeat c block >> /scoreboard players set @p[nbt=!{SleepTimer:0s}] Sleeping 1
chain c block
always active, conditional