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
class ElementaToolsAssignmentTransformer( | |
private val context: IrPluginContext | |
) : IrElementTransformerVoidWithContext(), FileLoweringPass { | |
private lateinit var file: IrFile | |
private lateinit var fileSource: String | |
override fun lower(irFile: IrFile) { | |
file = irFile | |
fileSource = File(irFile.path).readText() |
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
drawRect( | |
width / 5, | |
height / 5, | |
width - (width / 5), | |
height - (height / 5), | |
GeneralSetting.darkModeEnabled ? new Color(0, 0, 0, 100).getRGB() : new Color(255, 255, 255, 160).getRGB() | |
); |
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 class Cone { | |
/** @param entities | |
* List of nearby entities | |
* @param startPos | |
* starting position | |
* @param radius | |
* distance cone travels | |
* @param degrees | |
* angle of cone |
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> | |
<title>Title</title> | |
</head> | |
<body> | |
<div> | |
<h1>Header</h1> | |
</div> |
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
{ | |
"channelID":"twitch channel id: string", | |
"averageViewers": { | |
"allTime":"all time average viewers: integer", | |
"month":"this month's average viewers: integer", | |
"week":"this week's average viewers: integer", | |
"day":"today's average viewers: integer" | |
}, | |
"currentViewers":"viewers from the most recent api call: integer", | |
"peakViewers": { |
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": "username: string", | |
"ownedStocks": ["SHARECONTAINER", "SHARECONTAINER", "..."], | |
"sellingStocks": ["SHARECONTAINER", "SHARECONTAINER", "..."], | |
"buyingStocks": ["SHARECONTAINER", "SHARECONTAINER", "..."], | |
"points": "total points: integer", | |
"createdOn":"current date: Date", | |
"email":"email: string", | |
"password":"password (salted, hashed, etc.): string", | |
"settings": { |
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": "streamerID: string", | |
"name": "streamerName: string", | |
"totalShares": "totalShares: integer", | |
"stockPrice": "stockPrice: integer", | |
"sellers": ["SHARECONTAINER", "SHARECONTAINER", "..."], | |
"buyers": ["SHARECONTAINER", "SHARECONTAINER", "..."], | |
"investors": ["SHARECONTAINER", "SHARECONTAINER", "..."], | |
"channel": "CHANNEL" | |
} |