This file contains 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
#!/usr/bin/env pwsh | |
[CmdletBinding()] | |
param( | |
[Parameter(Mandatory = $true)][string]$ResourceGroup, | |
[Parameter(Mandatory = $false)][string]$Subscription | |
); | |
function Format-TableHighlight($data) { | |
$data | Format-Table @{ |
This file contains 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
#!/bin/pwsh | |
openssl req -x509 ` | |
-sha256 ` | |
-days 365 ` | |
-newkey rsa:2048 ` | |
-subj "/CN=ME" ` | |
-keyout rootCA.key ` | |
-nodes ` | |
-out rootCA.crt | |
# -pass pass:beans ` |
This file contains 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
#!/bin/pwsh | |
openssl req -x509 ` | |
-sha256 ` | |
-days 365 ` | |
-newkey rsa:2048 ` | |
-subj "/CN=BEANS" ` | |
-keyout rootCA.key ` | |
-nodes ` | |
-out rootCA.crt | |
# -pass pass:beans ` |
This file contains 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 java.util.Optional; | |
import java.util.Random; | |
import java.util.stream.IntStream; | |
import net.minecraft.util.Util; | |
import org.junit.jupiter.api.RepeatedTest; | |
import org.junit.jupiter.api.Test; | |
public class StreamOptionalTest { | |
private static final Random rand = new Random(42); |
This file contains 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 ca.teamdman.sfm.SFM; | |
import java.util.function.Supplier; | |
import net.minecraft.network.PacketBuffer; | |
import net.minecraft.util.ResourceLocation; | |
import net.minecraftforge.fml.network.NetworkEvent.Context; | |
import net.minecraftforge.fml.network.NetworkRegistry; | |
import net.minecraftforge.fml.network.simple.SimpleChannel; | |
class Scratch { |
This file contains 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 void drawTextureRaw( | |
MatrixStack matrixStack, int x, int y, | |
int srcX, int srcY, int w, int h, int r, int g, int b, int a | |
) { | |
RenderSystem.enableBlend(); | |
RenderSystem.disableAlphaTest(); | |
Matrix4f matrix = matrixStack.getLast().getMatrix(); | |
int blitOffset = getBlitOffset(); | |
BufferBuilder bufferbuilder = Tessellator.getInstance().getBuffer(); | |
bufferbuilder.begin(GL11.GL_QUADS, DefaultVertexFormats.POSITION_COLOR_TEX); |
This file contains 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 ca.teamdman.sfm.client.gui; | |
import ca.teamdman.sfm.client.gui.core.BaseScreen; | |
import ca.teamdman.sfm.client.gui.core.IFlowView; | |
import net.minecraft.block.BlockState; | |
import net.minecraft.client.Minecraft; | |
import net.minecraft.client.renderer.BlockRendererDispatcher; | |
import net.minecraft.client.renderer.BufferBuilder; | |
import net.minecraft.client.renderer.Tessellator; | |
import net.minecraft.client.renderer.model.IBakedModel; |
This file contains 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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de"> | |
<head> | |
<title>Forge Events</title> | |
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /> | |
<meta name="description" content="" /> | |
<meta name="author" content="Vic" /> | |
<meta name="keywords" content="" /> |
This file contains 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
{ | |
"env": { | |
"commonjs": true, | |
"es6": true, | |
"node": true | |
}, | |
"extends": [ | |
"plugin:vue/base", | |
"eslint:recommended", | |
"plugin:@typescript-eslint/eslint-recommended", |
This file contains 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
delete get; | |
delete myId; | |
delete manga; | |
delete mangaIdList; | |
delete socials; | |
delete i; | |
delete socialPosts; | |
delete latestChapters; | |
const myId = 122045; | |
const get = (operation, append) => fetch("https://graphql.anilist.co/", { |
NewerOlder