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
import numpy | |
import numpy as np | |
import seal | |
from seal import * | |
def print_vector(vector): | |
print('[ ', end='') | |
for i in range(0, 8): | |
print(vector[i], end=', ') |
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
0.000 2017-10-07 21:45:01; Factorio 0.15.34 (build 30875, win64, alpha) | |
0.000 Operating system: Windows 10 (version 1703) | |
0.000 Program arguments: "D:\Games\Factorio\Factorio_0.15.34 - Modded\bin\x64\factorio.exe" | |
0.000 Read data path: D:/Games/Factorio/Factorio_0.15.34 - Modded/data | |
0.000 Write data path: D:/Games/Factorio/Factorio_0.15.34 - Modded | |
0.000 Binaries path: D:/Games/Factorio/Factorio_0.15.34 - Modded/bin | |
0.005 System info: [CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz, 8 cores, RAM: 31677MB] | |
0.005 Display options: [FullScreen: 1] [VSync: 0] [UIScale: 105.263%] [MultiSampling: OFF] [Screen: 255] [Lang: en] | |
0.006 Available display adapters: 2 | |
0.006 [0]: \\.\DISPLAY1 - Radeon (TM) RX 480 Graphics {0x80005, [0,0], 1920x1200, 32bit, 60Hz} |
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
import li.cil.oc.api.Driver; | |
import li.cil.oc.api.network.ManagedEnvironment; | |
import li.cil.oc.api.prefab.DriverSidedTileEntity; | |
import net.minecraft.util.EnumFacing; | |
import net.minecraft.util.math.BlockPos; | |
import net.minecraft.world.World; | |
/** | |
* Created by nico on 09/06/17. | |
*/ |
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
Unhandled exception: c0000005 | |
Date/Time: 2017-06-22, 00:27:46 | |
Fault address: 7FFB34AAC7C2 (c:\windows\system32\atidxx64.dll) | |
libobs version: 19.0.2 | |
Windows version: 10.0 build 10240 (revision: 17113; 64-bit) | |
CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz | |
Thread 160C (Crashed) | |
Stack EIP Arg0 Arg1 Arg2 Arg3 Address |
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 com.company; | |
public class Main { | |
public static void main(String[] args) { | |
System.out.println(" 6 fakultät : " + (long) (double) fakultaet(49L) / fakultaet(43L)); | |
System.out.println(" 6 über 49 : " + binomialKoeffizient(49L, 6L)); | |
System.out.println(" 6 über 49 Lottolösung : " + modLottoProblemLoesung(49, 6)); | |
} |
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
from time import sleep | |
import keyboard | |
import socket | |
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) | |
down = False | |
def onKeyboardDownEvent(): | |
global down |
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.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using Sandbox.Game.EntityComponents; | |
using Sandbox.ModAPI.Ingame; | |
using Sandbox.ModAPI.Interfaces; | |
using SpaceEngineers.Game.ModAPI.Ingame; | |
using VRage.Collections; |
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
IMyTextPanel LCD = null; | |
void printLine(string message) { | |
LCD.WritePublicText(message + "\n", true); | |
} | |
void printAll(float solarPower, float batteryEnergy, float batteryInput, float batteryOutput, string scales) { | |
//LCD.WritePublicText("Main Base Energy System \n"); | |
printLine(""); | |
printLine(" Solar power (bugged): " + solarPower.ToString("F") + " " + scales[0].ToString().Replace(" ","") + "W"); | |
printLine(" Battery input (bugged): " + batteryInput.ToString("F") + " " + scales[1].ToString().Replace(" ","") + "W"); |
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 omtteam.openmodularturrets.client.render.models; | |
import com.google.common.base.Function; | |
import net.minecraft.block.state.IBlockState; | |
import net.minecraft.client.Minecraft; | |
import net.minecraft.client.renderer.block.model.*; | |
import net.minecraft.client.renderer.block.statemap.StateMapperBase; | |
import net.minecraft.client.renderer.texture.TextureAtlasSprite; | |
import net.minecraft.client.renderer.vertex.VertexFormat; | |
import net.minecraft.client.resources.IResourceManager; |
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 omtteam.omlib.util; | |
import net.minecraftforge.common.property.IUnlistedProperty; | |
/** | |
* Created by Keridos on 29/01/17. | |
* This Class | |
*/ | |
public class UnlistedPropertyOMT<T> implements IUnlistedProperty<T> { | |
private final String name; |
NewerOlder