Skip to content

Instantly share code, notes, and snippets.

View frostyandy2k's full-sized avatar

Andrei Miclaus frostyandy2k

View GitHub Profile
@frostyandy2k
frostyandy2k / ionic-navigation.html
Last active February 17, 2018 12:25
Ionic 3 Navigation HTML
<!-- Uses classical html navigation -->
<a href="/#/page2">Jump to Page2</a>
<!-- Use the ionic stack for navigation (automatic back button) -->
<!-- Text Button -->
<button [navPush]=”page2”>Push Page2 onto the stack and navigate to it</button>
<!-- Style Icon Button -->
<button [navPush]=”page2” ion-button icon-only>
@frostyandy2k
frostyandy2k / ionic-navigation-page.ts
Last active February 17, 2018 12:30
Ionic 3 Navigation Type Script
/** ==========
Homepage TypeScript
========== **/
import { Component, ViewChild } from '@angular/core';
import { NavController } from "ionic-angular";
import { Page2 } from "../page2/page2";
@Component({
selector: "page-home",
@frostyandy2k
frostyandy2k / app.module.ts
Last active February 17, 2018 13:00
Ionic 3 Navigation App Module Page2 Declaration
import { BrowserModule } from '@angular/platform-browser';
import { ErrorHandler, NgModule } from '@angular/core';
import { Observable } from 'rxjs/Rx'
import { IonicApp, IonicErrorHandler, IonicModule } from 'ionic-angular';
import { SplashScreen } from '@ionic-native/splash-screen';
import { StatusBar } from '@ionic-native/status-bar';
import { MyApp } from './app.component';
import { HomePage } from '../pages/home/home';
import { Page2 } from "../pages/page2/page2";
@frostyandy2k
frostyandy2k / Dockerfile
Created April 5, 2018 15:35
Dotnet Core Docker multi stage build and runtime for webapi projects
FROM microsoft/dotnet:2.1-sdk AS build-env
WORKDIR /app
# copy csproj and restore as distinct layers
COPY *.csproj ./
RUN dotnet restore
# copy everything else and build
COPY . ./
# RUN dotnet build -c Release
@frostyandy2k
frostyandy2k / MS3 Demonstrator.md
Last active April 12, 2018 14:16
MS3 Demonstrator Liste der Ports und Apps KIT

Liste der Apps und Ports

  • Map App (Andrei) - 51100

  • AOI Machine Digital Twin (Andrei) - 51101

  • Black Cylinder App (Andrei) - 51102

  • SAP Kanban App (Andrei) - 52101

  • SICK Lector Digital Twin (Andrei/Lukas Adler) - 52102

  • OEE App (Andrei/Lukas Adler) - 52103

  • AOI Machine Dashboard (Nico) - 51000

@frostyandy2k
frostyandy2k / Readme Skeleton.md
Last active May 7, 2018 16:41
Readme Skeleton
@frostyandy2k
frostyandy2k / tweet_dumper.py
Created June 19, 2018 10:26 — forked from yanofsky/LICENSE
A script to download all of a user's tweets into a csv
#!/usr/bin/env python
# encoding: utf-8
import tweepy #https://github.com/tweepy/tweepy
import csv
#Twitter API credentials
consumer_key = ""
consumer_secret = ""
access_key = ""
public class ScriptableObjectLoader : EditorWindow
{
private static readonly int TYPE = 0;
private static readonly int NAME = 1;
private static readonly int IMAGE_PATH = 2;
[MenuItem("Tools/Load Scriptable Object Data")]
public static LoadScriptableObjectsFromFile()
{