This file contains hidden or 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
| /** | |
| * Taken from <a href="https://github.com/mattdesl/cisc226game/blob/master/SpaceGame/src/space/engine/easing/Easing.java">Github</a> | |
| * | |
| * @author Robert Penner (functions) | |
| * @author davedes (java port) | |
| * @author Wisp (kotlin port) | |
| */ | |
| object Easing { | |
| object Quadratic { | |
| /** |
This file contains hidden or 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 os | |
| import math | |
| from scipy import ndimage | |
| from PIL import Image | |
| dirPath = os.path.dirname(os.path.realpath(__file__)) | |
| debug = False | |
| # Instructions for use: | |
| # Place in Starsector/mods directory. |
This file contains hidden or 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
| // ==UserScript== | |
| // @name Inara Engineer Tweaks | |
| // @namespace reddit.com/r/EliteDangerous | |
| // @match https://inara.cz/galaxy-engineers/ | |
| // @grant GM_addStyle | |
| // @version 1.1 (Dec 2020) | |
| // @author /u/Locust377 | |
| // @description - G5s are highlighted - Engineers that are more than 10,000ly away from me are "hidden" | |
| // ==/UserScript== |
This file contains hidden or 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 ( | |
| "bufio" | |
| "fmt" | |
| "image" | |
| "image/color" | |
| _ "image/jpeg" | |
| _ "image/png" | |
| "io/ioutil" |
This file contains hidden or 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 smol_app | |
| import androidx.compose.foundation.layout.Arrangement | |
| import androidx.compose.foundation.lazy.LazyColumn | |
| import androidx.compose.foundation.lazy.LazyRow | |
| import androidx.compose.foundation.lazy.items | |
| import androidx.compose.runtime.Composable | |
| import androidx.compose.runtime.LaunchedEffect | |
| import androidx.compose.runtime.currentRecomposeScope | |
| import androidx.compose.runtime.rememberCoroutineScope |
This file contains hidden or 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 com.fs.starfarer.api.Global; | |
| import com.fs.starfarer.api.campaign.FactionAPI; | |
| import org.jetbrains.annotations.Nullable; | |
| import java.util.ArrayList; | |
| import java.util.Collection; | |
| import java.util.List; | |
| public class StringUtils { |
This file contains hidden or 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 com.fs.starfarer.api.campaign.* | |
| import com.fs.starfarer.api.campaign.econ.CommodityOnMarketAPI | |
| import com.fs.starfarer.api.campaign.econ.MarketAPI | |
| import com.fs.starfarer.api.impl.campaign.missions.cb.BaseCustomBounty | |
| import com.fs.starfarer.api.impl.campaign.missions.hub.HubMissionWithSearch | |
| import com.fs.starfarer.api.impl.campaign.missions.hub.ReqMode | |
| import org.lwjgl.util.vector.Vector2f | |
| class SystemFinder | |
| @JvmOverloads constructor(val mission: HubMissionWithSearch = BaseCustomBounty()) { |
This file contains hidden or 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 org.wisp.gatesawakened.jumping | |
| /** | |
| * Taken from <a href="https://github.com/mattdesl/cisc226game/blob/master/SpaceGame/src/space/engine/easing/Easing.java">Github</a> | |
| * | |
| * @author Robert Penner (functions) | |
| * @author davedes (java port) | |
| * @author Wisp (kotlin port) | |
| */ | |
| object Easing { |
This file contains hidden or 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
| // Copyright 2022 Andre Lipke | |
| // | |
| // Copyright 2014 The Flutter Authors. All rights reserved. | |
| // | |
| // Redistribution and use in source and binary forms, with or without modification, | |
| // are permitted provided that the following conditions are met: | |
| // | |
| // * Redistributions of source code must retain the above copyright | |
| // notice, this list of conditions and the following disclaimer. | |
| // * Redistributions in binary form must reproduce the above |
This file contains hidden or 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
| enum SnackBarType { | |
| info, | |
| warn, | |
| error, | |
| } | |
| showSnackBar({ | |
| required BuildContext context, | |
| required Widget content, | |
| bool? clearPreviousSnackBars = true, |