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
{ | |
"field_of_view": 66.0, | |
"near_clipping_plane": 0.025, | |
"far_clipping_plane": 2500.0, | |
"render_player_model": true, | |
"priority": 1, | |
"player_rotation_offset": [0.0, 180.0], | |
"blend_in_default": { | |
"blend_time": 0.0, | |
"ease": "in_out_cubic", |
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
//Specify a filename location if you want to save the file. | |
string filename = null; | |
//Set this to a DbSet, DbTable or whatever you are using to access [dbo].[SysDiagrams] for your database. | |
var sysDiagramsSource = Sysdiagrams; | |
var diagramDefinition = from diagram in sysDiagramsSource | |
select new | |
{ | |
Name = diagram.Name, | |
diagram.Principal_id, |
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.Threading.Tasks; | |
using Brigadier.NET; | |
using Brigadier.NET.Builder; | |
using Brigadier.NET.Exceptions; | |
using static Brigadier.NET.Arguments; | |
namespace TestBrigadier | |
{ | |
class Program |
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
//----------------------------------------------------------------------------------------- | |
// Shader constant register mappings (scalars - float, double, Point, Color, Point3D, etc.) | |
//----------------------------------------------------------------------------------------- | |
uniform float horizontal_pixel_counts; | |
uniform float vertical_pixel_counts; | |
uniform float speed; | |
//-------------------------------------------------------------------------------------- | |
// Sampler Inputs (Brushes, including ImplicitInput) |
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 Reactive.EventAggregator; | |
using Template10.Services.Messenger; | |
namespace Sample.Framework.Messaging.RxEventAggregator | |
{ | |
public class RxEventAggregatorMessagingAdapter : IMessengerAdapter | |
{ |
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.Diagnostics; | |
using System.Linq; | |
using Autofac; | |
using Template10.Services.Dependency; | |
namespace Sample.Framework.Dependency.Autofac | |
{ | |
//Current implementation of Template10 assumes that registrations can be added ad-hoc. |
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
if ($args.Length -eq 0) { | |
Write-Error "Please provide a filename at the command line" | |
exit | |
} | |
$file = $args[0] | |
if (-not (Test-Path $file)) { | |
Write-Error "File not found: $file" | |
exit | |
} |
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
> /chunkCauses start | |
[13:24:52] [Server thread/INFO] [chunkwatcher]: [tick 181813573] [0]: Chunk Loaded @ [-17, 11] in 3, loaded 4468 times in 30 minutes (68 tile entities) | |
[13:24:52] [Server thread/INFO] [chunkwatcher]: [tick 181813573] [1]: Chunk Loaded @ [-17, 12] in 3, loaded 8185 times in 30 minutes (201 tile entities) | |
[13:24:52] [Server thread/INFO] [chunkwatcher]: [tick 181813573] [0]: Chunk Loaded @ [-17, 13] in 3, loaded 8195 times in 30 minutes (70 tile entities) | |
[13:24:52] [Server thread/INFO] [chunkwatcher]: [tick 181813573] [0]: Chunk Loaded @ [-16, 13] in 3, loaded 2836 times in 30 minutes (92 tile entities) | |
[13:24:52] [Server thread/INFO] [chunkwatcher]: [tick 181813573] [0]: Chunk Loaded @ [-15, 13] in 3, loaded 2835 times in 30 minutes (30 tile entities) | |
[13:24:52] [Server thread/INFO] [chunkwatcher]: [tick 181813573] [2]: Chunk Loaded @ [-16, 14] in 3, loaded 2836 times in 30 minutes (19 tile entities) | |
[13:24:52] [Server thread/INFO] [chunkwatcher]: [tick 181813573] [3]: Chunk Loaded @ [-16, |
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
> /chunkCauses start | |
[12:10:19] [Server thread/INFO] [chunkwatcher]: [tick 181738482] [0]: Chunk Loaded @ [-15, 13] in 3, loaded 44 times in 30 minutes (30 tile entities) | |
[12:10:19] [Server thread/INFO] [chunkwatcher]: [tick 181738482] [0]: Chunk Loaded @ [-17, 13] in 3, loaded 89 times in 30 minutes (70 tile entities) | |
[12:10:19] [Server thread/INFO] [chunkwatcher]: [tick 181738482] [1]: Chunk Loaded @ [-17, 12] in 3, loaded 85 times in 30 minutes (201 tile entities) | |
[12:10:19] [Server thread/INFO] [chunkwatcher]: [tick 181738482] [2]: Chunk Loaded @ [-17, 11] in 3, loaded 73 times in 30 minutes (68 tile entities) | |
[12:10:19] [Server thread/INFO] [chunkwatcher]: [tick 181738483] [0]: Chunk Loaded @ [-16, 13] in 3, loaded 45 times in 30 minutes (92 tile entities) | |
[12:10:19] [Server thread/INFO] [chunkwatcher]: [tick 181738484]: Chunk Unloading @ [-15, 13] in 3 (30 tile entities) | |
[12:10:19] [Server thread/INFO] [chunkwatcher]: [tick 181738484]: Chunk Unloading @ [-17, 11] in 3 (68 tile entities) | |
[12:10:19] [Serv |
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.minecraftforge.debug; | |
import net.minecraft.entity.passive.EntityCow; | |
import net.minecraftforge.common.MinecraftForge; | |
import net.minecraftforge.event.entity.living.BabyEntitySpawnEvent; | |
import net.minecraftforge.fml.common.Mod; | |
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; | |
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; | |
@Mod(modid = BreedingTest.MODID, name = "BreedingTest", version = "1.0") |
NewerOlder