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
Preface: | |
I don't know how many of you played modded 1.4.2-1.12.2 but things have changed in the modding landscape since Tekkit. It's no longer IndustrialCraft and EU or BuildCraft's Minecraft Joules. It's "Redstone Flux" from Thermal Expansion. All the Grinders, electric furnaces are still available just bigger, better, and arguably easier than IndustrialCraft. IndustrialCraft started following in GregTech's footstep and made many things more complicated. That being said, IndustrialCraft is still in a couple packs. Just really annoying. | |
-- just wanted to get that out of the way. sorry if you guys already knew all that xd | |
https://www.feed-the-beast.com/projects/ftb-presents-direwolf20-1-12 - it is fairly similar to most old Tekkit/FTB packs, just with the most up to date mods. Provides a good balance between magic & tech | |
https://www.feed-the-beast.com/projects/ftb-horizons-iii - Entirely new mods. Doesn't include your traditional mods. Focuses on highlighting under-used and not so popular mods. Some really |
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 main | |
import ( | |
"bytes" | |
"errors" | |
"fmt" | |
"io" | |
) | |
const ( |
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
[ | |
{ | |
"name":"DreamZ", | |
"ip":"dreamz.io", | |
"type":"PC", | |
"category":"soup" | |
}, | |
{ | |
"name":"SoupsMC", | |
"ip":"soupsmc.com", |
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
{ | |
"routes": { | |
"/": "assets/html/index.html", | |
"/images/compass.png": "assets/images/compass.png", | |
"/js/site.js": "assets/js/site.js", | |
"/js/util.js": "assets/js/util.js", | |
"/js/graph.js": "assets/js/graph.js", | |
"/css/main.css": "assets/css/main.css" | |
}, | |
"faviconOverride": { |
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
ClassReader reader = new ClassReader(bungeecordJar.getInputStream(jarEntry)); | |
ClassWriter classWriter = new ClassWriter(ClassWriter.COMPUTE_FRAMES | ClassWriter.COMPUTE_MAXS); | |
ClassNode node = new ClassNode(); { | |
reader.accept(node, 0); | |
} | |
for (int i = 0; i < node.fields.size(); i++) { | |
// prevent duplicates if the jar is already patched |
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
@Command | |
public void patch(@Flag("patch") File file, @Flag("server") String server) throws IOException { | |
if (file.exists()) { | |
System.out.println("Found server jar...patching..."); | |
JarFile bungeecordJar = new JarFile(file); | |
byte[] newClassFile = null; | |
Enumeration<JarEntry> entries = bungeecordJar.entries(); | |
while (entries.hasMoreElements()) { | |
JarEntry jarEntry = entries.nextElement(); |
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 static void main(String[] args) throws IOException { | |
final BufferedImage image = new BufferedImage(1024, 1024, BufferedImage.TYPE_INT_ARGB); | |
final Graphics graphics = image.getGraphics(); | |
int center = image.getWidth() / 2; | |
int outerRadius = 512; | |
int segments = 18; |
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 main | |
import ( | |
"bytes" | |
"context" | |
"crypto/tls" | |
"encoding/json" | |
"fmt" | |
"golang.org/x/oauth2" | |
"golang.org/x/oauth2/microsoft" |
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> | |
<html> | |
<head> | |
<script src="/assets/js/web3.min.js"></script> | |
</head> | |
<body> | |
<h1 id="status">Not connected.</h1> |
This file has been truncated, but you can view the full file.
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
{ | |
"id": "fabf6ed337c6b03a3609297074230883", | |
"_format": "hh-sol-build-info-1", | |
"solcVersion": "0.8.13", | |
"solcLongVersion": "0.8.13+commit.abaa5c0e", | |
"input": { | |
"language": "Solidity", | |
"sources": { | |
"contracts/TelosNFT.sol": { | |
"content": "pragma solidity ^0.8.13;\n\nimport \"@openzeppelin/contracts/access/Ownable.sol\";\nimport \"@openzeppelin/contracts/security/ReentrancyGuard.sol\";\nimport \"@openzeppelin/contracts/utils/Strings.sol\";\nimport \"./ERC721A.sol\";\n\n\ncontract TelosNFT is ERC721A, Ownable, ReentrancyGuard {\n using Strings for uint256;\n\n enum MintState {\n\n // PUBLIC: open for all, integer id: 0\n PUBLIC,\n // WHITELIST: only used for\n WHITELIST,\n // mint is closed, only admin/owner may mint\n CLOSED\n }\n\n uint256 public immutable MAX_SUPPLY;\n uint256 public immutable MINT_PRICE;\n\n\n uint256 public immutable MAX_MINT_PER_CALL;\n\n\n // the state of whether minting is allowed.\n MintState private minting |