Skip to content

Instantly share code, notes, and snippets.

View TomasKulhanek's full-sized avatar

Tomas Kulhanek TomasKulhanek

View GitHub Profile
@TomasKulhanek
TomasKulhanek / app.html
Last active August 15, 2018 10:45 — forked from jdanyow/app.html
Aurelia Gist
<template>
<require from='./mybind'></require>
<p ref="myparagraph" mybind="Add other text. ">Some text here. </p>
</template>
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
import { Container, inject } from 'aurelia-dependency-injection';
import { Web } from './hosts/web';
import { DesignProcessor } from './designs/design-processor';
let AureliaUX = class AureliaUX {
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
import { Container, inject } from 'aurelia-dependency-injection';
import { Web } from './hosts/web';
import { DesignProcessor } from './designs/design-processor';
let AureliaUX = class AureliaUX {
@TomasKulhanek
TomasKulhanek / vagrant-clean.sh
Last active April 3, 2020 03:21 — forked from jdowning/vagrant-clean.sh
Script to clean up RHEL based (Centos, Fedora,Scientific Linux) Vagrant box before packaging
#!/bin/bash
# This script zeroes out any space not needed for packaging a new RHEL based Vagrant base box.
# It is modified version of https://gist.github.com/justindowning/5670884
# Run the following command in a root shell:
#
# bash <(curl -s https://gist.githubusercontent.com/TomasKulhanek/fb3554f1265fb9b9fc71310a2678a0bc/raw/vagrant-clean.sh)
function print_green {
echo -e "\e[32m${1}\e[0m"