Skip to content

Instantly share code, notes, and snippets.

View Toasterson's full-sized avatar

Till Wegmüller Toasterson

View GitHub Profile
diff --git a/components/developer/samurai/Makefile b/components/developer/samurai/Makefile
index e9534f9d0..17a5cafcc 100644
--- a/components/developer/samurai/Makefile
+++ b/components/developer/samurai/Makefile
@@ -33,6 +33,6 @@ include $(WS_MAKE_RULES)/common.mk
COMPONENT_BUILD_ENV += CC="/usr/bin/gcc"
COMPONENT_BUILD_ARGS += CC="/usr/bin/gcc"
-COMPONENT_INSTALL_ARGS += PREFIX=$(PROTOUSRDIR)
+COMPONENT_INSTALL_ARGS += PREFIX=/usr DESTDIR=$(PROTO_DIR)
@Toasterson
Toasterson / FRAOSUG-Cloud_Init-2021-05-18.org
Last active May 22, 2021 23:16
Presentation in FRAOSUG on the 18th of Mai 2021

Was ist es?

  • Dateiformat zum Automatisieren von Installationen in einer Cloud Umgebung
  • Script ausfuehrungs umgebung nach firstboot
  • Framework zum custom images vorbereiten (appliance vendor)

Wo findet man das normalerweise?

  • Cloud Umgebungen AWS, Azure, DigitalOcean, OpenStack, Alibaba…

Konzepte

  • Datasources
  • Metadata
  • userData
@Toasterson
Toasterson / service_bundle.xsd
Created April 15, 2020 13:37
illumos smf converted to xsd
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
CDDL HEADER START
The contents of this file are subject to the terms of the
Common Development and Distribution License (the "License").
You may not use this file except in compliance with the License.
@Toasterson
Toasterson / main.go
Created April 5, 2020 13:59
registry custom main file
package main
import (
"github.com/docker/distribution/registry"
_ "github.com/docker/distribution/registry/auth/htpasswd"
_ "github.com/docker/distribution/registry/auth/token"
_ "github.com/docker/distribution/registry/proxy"
_ "github.com/docker/distribution/registry/storage/driver/azure"
_ "github.com/docker/distribution/registry/storage/driver/filesystem"
module code.gitea.io/gitea
require (
code.gitea.io/git v0.0.0-20190411170847-63b74d438b29
code.gitea.io/sdk v0.0.0-20190303183416-e4effe4df2b8
git.wegmueller.it/toasterson/go-billy v4.2.0+incompatible // indirect
github.com/BurntSushi/toml v0.3.1 // indirect
github.com/PuerkitoBio/goquery v0.0.0-20170324135448-ed7d758e9a34
github.com/RoaringBitmap/roaring v0.4.7 // indirect
github.com/Unknwon/cae v0.0.0-20160715032808-c6aac99ea2ca
@Toasterson
Toasterson / solaris_zone.yaml
Last active September 14, 2016 09:22
Solaris Zone Ansible Sample with sysding
tasks:
- name: Zone Dataset
zfs: "name=rpool/SHARED/zones/{{ zone_name }} state=present mountpoint={{ zone_path }}"
- name: Zone VNIC
dladm_vnic: "name={{ zone_vnic }} link=stub0 state=present"
- name: Zone creation
solaris_zone:
name: "{{ zone_name }}"
state: present
path: "{{ zone_path }}"
@Toasterson
Toasterson / main.dart
Last active August 29, 2015 14:19
Dart cant calculate 007 times 100
main() {
List<double> vals = const[
0.07,
0.08,
0.17,
0.017,
0.072,
0.007,
0.00725,
0.72,