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 ( | |
"fmt"; | |
"os"; | |
"strconv"; | |
"log"; | |
) | |
func IsPrime(target int) bool { |
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 ( | |
"fmt"; | |
"os"; | |
"strconv"; | |
"log"; | |
"math"; | |
) |
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
function Update() | |
target = acquireTarget(800) | |
if target ~= nil then | |
fireAt(target) | |
end | |
end | |
function acquireTarget(minDistance) | |
target = nil | |
for i = 0, I:GetNumberOfMainframes(), 1 do |
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
function myFunction() { | |
const ss = SpreadsheetApp.getActiveSpreadsheet(); | |
const sheets = ss.getSheets(); | |
const data = {}; | |
for (let i = 7; i < sheets.length; i++) { //sheets.length | |
const sheet = sheets[i]; | |
const colorObject = sheet.getTabColorObject(); | |
const tabColorHex = colorObject.asRgbColor().asHexString(); | |
switch (tabColorHex) { | |
case '#ffffff': |
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
{ | |
"Sidearms": [ | |
{ | |
"name": "G57", | |
"stats": [ | |
{ | |
"barrelType": "Factory", | |
"ammoType": "Close Combat", | |
"dropoffs": [ | |
{ |
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
{ | |
"G57": { | |
"Close Combat": { | |
"GAR45": { | |
"30m": { | |
"damage": 19.8, | |
"btk100": 6, | |
"btk99.5": 5 | |
} | |
} |