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
# Add the following to your shared module `build.gradle.kts` | |
# Place your `PrivacyInfo.xcprivacy` file into your shared module directory, along side the `build.gradle.kts`. | |
project.afterEvaluate { | |
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinNativeLink>().forEach { linkTask -> | |
val frameworkDestinationDir = linkTask.outputFile | |
linkTask.doLast { | |
project.copy { | |
val sharedDir = project.file("PrivacyInfo.xcprivacy") |
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
// | |
// swift | |
// SwiftMIDI | |
// | |
// Created by Jacob Rhoda on 12/24/16. | |
// Copyright © 2016 Jadar. All rights reserved. | |
// | |
import Foundation | |
import CoreMIDI |
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/sh | |
while true; do | |
read -p "What is the instance name? " instance | |
if [ -d ~/Documents/MultiMC/instances/$instance ] | |
then | |
dateVar=$(date +%s) | |
clear | |
echo | |
echo "-------------------" |
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/python | |
import os | |
import httplib | |
import urllib | |
import xml.sax | |
workspace = os.environ.get('WORKSPACE') | |
# data to send to sever |
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/bash | |
# Symbolicate Crash | |
# This script will symbolicate crash logs using your choice Xcode installation. | |
CRASH_PATH=$1 | |
SYMBOL_PATH=$2 | |
if [[ -z $CRASH_PATH ]]; then | |
printf "Where is the crash log? " |
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 cpw.mods.fml.client.FMLClientHandler; | |
import cpw.mods.fml.common.FMLCommonHandler; | |
import cpw.mods.fml.common.eventhandler.SubscribeEvent; | |
import net.minecraft.client.LoadingScreenRenderer; | |
import net.minecraft.client.Minecraft; | |
import net.minecraft.client.gui.GuiCreateWorld; | |
import net.minecraft.client.gui.GuiMainMenu; | |
import net.minecraft.client.gui.GuiSelectWorld; | |
import net.minecraft.world.WorldSettings; | |
import net.minecraft.world.WorldType; |
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
HeisenUI JSON Spec | |
Comments are #. Note that these comments are not valid in actual JSON spec. | |
Each JSON object here should correspond to an actual Java object. | |
{ | |
'identifier': '', | |
'controllerClass': 'com.heisenbugdev.example.gui.ExampleViewController' | |
' this is a list of all the elements in this view. Button, list, tab, etc views are the elements.': 'comment' | |
'view': { | |
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
com.heisenbugdev.HeisenUI | |
-- | |
// JSON, ModID | |
registerView(HashMap, String) | |
registerView(HeisenUI, String) | |
com.heisenbugdev.gui.HeisenGUIPool (Enum Singleton) | |
--- |
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
var a = 8; | |
var b = 9; | |
var c = 90; | |
c = c * Math.PI/180; | |
var a_square = Math.pow(a, 2); | |
var b_square = Math.pow(b, 2); | |
//console.log(Math.cos(Math.PI)); |
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> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<table> | |
<tr> |