This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.tmodloader.modbrowser.view | |
import javafx.geometry.Pos | |
import javafx.scene.layout.Priority | |
import tornadofx.View | |
import tornadofx.action | |
import tornadofx.borderpane | |
import tornadofx.bottom | |
import tornadofx.button | |
import tornadofx.field |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Mandelbrot.cpp : Defines the entry point for the console application. | |
//#include "stdafx.h" // if you are using visual studio | |
#include <fstream> | |
#include <iostream> | |
#include <vector> | |
#include <string> | |
#include <sstream> | |
#include <thread> | |
using namespace std; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public override void OnEnterWorld(Player player) | |
{ | |
// some random sheet to log armor recipes | |
// cuz im lazy, the following is just an example implementation | |
// poops out the wiki format for armor sets recipes | |
// does not support 3 hat variants, or assumes all hats use the same recipes | |
// (deviant hat recipes not allowed), put in 1 hat | |
// WorkBenches => Work Bench | |
// Anvils => Iron Anvil / Lead Anvil | |
// MythrilAnvil => Mythril Anvil / Orihalcum Anvil |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Diagnostics.CodeAnalysis; | |
using System.IO; | |
using System.Linq; | |
using System.Reflection; | |
using System.Runtime.InteropServices; | |
using System.Runtime.Serialization.Formatters.Binary; | |
using System.Security.Cryptography; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@extends('layouts.app') | |
@section('title', 'Welkom') | |
@section('styles') | |
<style> | |
#accordion | |
{ | |
height: calc(60vh); | |
overflow-y: scroll; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Calculate the magic number of length = 9 | |
-- with numbers ranging from 1 to 9, and each number can only occur once | |
-- and each section of k length is divisable by k | |
del :: Eq a => [a] -> [a] -> [a] | |
del xs ys = [y| y <- ys, not(elem y xs)] | |
magicNumber :: [Int] | |
magicNumber = [var8 | | |
x1 <- [1..9], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public struct ItemValue | |
{ | |
public int RawValue { get; private set; } | |
public int Copper { get; private set; } | |
public int Silver { get; private set; } | |
public int Gold { get; private set; } | |
public int Platinum { get; private set; } | |
public ItemValue(int c = 0, int s = 0, int g = 0, int p = 0) | |
{ |