Skip to content

Instantly share code, notes, and snippets.

View Nordskog's full-sized avatar
💭
I am a teapot.

Mathias Nordskog | Roughy Nordskog

💭
I am a teapot.
  • Norway
View GitHub Profile
@Nordskog
Nordskog / wetlandpersist.md
Created February 24, 2018 01:12
wetland update after persist

Code

let wetland : Wetland.Wetland = RFY.wetland;
let manager : Wetland.Scope = wetland.getManager();

//Instantiate entity, persist
let author = new entities.Author();
manager.persist(author);

//Set initial value
@Nordskog
Nordskog / MainActivity.java
Created May 1, 2018 14:32
BranchingChoiceExample
package com.example.choiceapp;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Adapter;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
@Nordskog
Nordskog / instructions.md
Last active April 25, 2019 18:31
DiscordIRCd instructions

DiscordIRCd is a nodejs app that will create a local irc server you can connect to that pipes through messages from Discord.
This guide assumes you are on windows, though the steps would basically be the same on linux.

General steps:

  1. Get your Discord token
  2. Install node
  3. Download DiscordIRCd
  4. Configure DiscordIRCd
  5. Setup DiscordIRCd
  6. Run DiscordIRCd