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
| var purchaseTotals = document.getElementsByClassName("wht_total"); | |
| var itemList = document.getElementsByClassName("wht_items"); | |
| var typeList = document.getElementsByClassName("wht_type"); | |
| var total = 0; | |
| var matchPrice = /\d{1,3}\.\d{2,2}/i; | |
| var count = 0; | |
| var i = 0; | |
| var walletDeductions = 0; | |
| console.log("purchaseList count is " + purchaseTotals.length + ". itemList count is " + itemList.length + ". typeListCount is "); | |
| for (var purchaseDiv of purchaseTotals) |
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
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| using System.IO; | |
| using System.Threading; | |
| namespace AstroSaveFileCopy | |
| { |
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 Reactor Idle WaterPipe fixer | |
| // @namespace https://gist.github.com/Archerofyail/003da9e8c8ff81cf612ec2c47dd2f005 | |
| // @version 0.1 | |
| // @description Fix water pipes in reactor idle | |
| // @author Chronial | |
| // @match http://reactoridle.com/ | |
| // @grant none | |
| // ==/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
| // ==UserScript== | |
| // @name Full screen Floatplane | |
| // @namespace https://gist.github.com/Archerofyail/41d09c935a5dca6043dbad1f1750a9db | |
| // @version 1 | |
| // @description Makes the videos on floatplane take up the full width of the window. Also reduces the width of the sidebar to only show icons | |
| // @author Archerofyail | |
| // @match http*://www.floatplane.com/* | |
| // @grant none | |
| // ==/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
| <FlipView.ItemTemplate> | |
| <DataTemplate> | |
| <StackPanel> | |
| <ScrollViewer ZoomMode="Enabled" | |
| MinZoomFactor="1" | |
| MaxZoomFactor="8" | |
| AllowFocusOnInteraction="True" | |
| HorizontalScrollMode="Enabled" | |
| VerticalScrollMode="Enabled" | |
| HorizontalScrollBarVisibility="Auto" |
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
| using System; | |
| using UnityEngine; | |
| /// <summary> | |
| /// The script added to an object that has been time slowed. | |
| /// Do not add this to something yourself. | |
| /// </summary> | |
| public class TimeSlowed : MonoBehaviour | |
| { | |
| //The number of times to slow down the object. e.g. setting it to 0.5 would slow down the object by half/it would be going 50% as fast |
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
| // FriendCommTracker.cpp : Defines the entry point for the console application. | |
| // | |
| #include "stdafx.h" | |
| void updateList(int numOfFriend, int daysSinceLastComm, int *listOfFriends); | |
| void displayList(int *timeSinceContact, std::string *nameOfFriends, int numOfRows); | |
| int _tmain(int argc, _TCHAR* argv[]) | |
| { |