Skip to content

Instantly share code, notes, and snippets.

View HiveSolution's full-sized avatar

Renok Krenos HiveSolution

View GitHub Profile
@HiveSolution
HiveSolution / gist:d2370cc4b3fb7ce5ef67
Created February 17, 2016 11:18
[ATOM] Custom-Title to Display Branch, Project and Filepath
Branch: <% if (gitHead) { %> [<%= gitHead %>]<% } %><% if (projectName) { %> - Project: [<%= projectName %>]<% } %><% if (filePath) { %> - Filepath: [<%= filePath %>]<% } %>
@HiveSolution
HiveSolution / array_remove.js
Last active March 31, 2016 11:26
Simple prototype ext. for array to remove elements
Array.prototype.remove = function(from, to) {
var rest = this.slice((to || from) + 1 || this.length);
this.length = from < 0 ? this.length + from : from;
return this.push.apply(this, rest);
};
// ==UserScript==
// @name Auto-Gamble
// @namespace autoGamble
// @include https://csgopolygon.com/
// @version 1.3
// @grant none
// ==/UserScript==
$(document).on('ready', () => {
console.log('ready');
private findObjectByPath (obj, path: string) {
const pathArr: Array<string> = path.split('.');
let counter: number = 0
let tempObj = obj;
while (counter < pathArr.length) {
const cur = pathArr[counter];
tempObj = tempObj[cur];
counter++;
}
return tempObj;
@HiveSolution
HiveSolution / CmykHexColorSpace.xml
Created January 11, 2019 10:15
Color Name-Space to Hex-CMYK
<COLOR NAME="AliceBlue" CMYK="#0f070000" Spot="0" Register="0"/>
<COLOR NAME="AntiqueWhite" CMYK="#000f2305" Spot="0" Register="0"/>
<COLOR NAME="AntiqueWhite1" CMYK="#00102400" Spot="0" Register="0"/>
<COLOR NAME="AntiqueWhite2" CMYK="#000f2211" Spot="0" Register="0"/>
<COLOR NAME="AntiqueWhite3" CMYK="#000d1d32" Spot="0" Register="0"/>
<COLOR NAME="AntiqueWhite4" CMYK="#00081374" Spot="0" Register="0"/>
<COLOR NAME="Aquamarine" CMYK="#80002b00" Spot="0" Register="0"/>
<COLOR NAME="Aquamarine1" CMYK="#80002b00" Spot="0" Register="0"/>
<COLOR NAME="Aquamarine2" CMYK="#78002811" Spot="0" Register="0"/>
<COLOR NAME="Aquamarine3" CMYK="#67002332" Spot="0" Register="0"/>
@HiveSolution
HiveSolution / perk_locals.lua
Last active November 5, 2019 21:03
Noita Update#6 Perk List
local perk1 = "CRITICAL_HIT"
local perk2 = "BREATH_UNDERWATER"
local perk3 = "EXTRA_MONEY"
local perk4 = "EXTRA_MONEY_TRICK_KILL"
local perk5 = "HOVER_BOOST"
local perk6 = "MOVEMENT_FASTER"
local perk7 = "LOW_GRAVITY"
local perk8 = "SPEED_DIVER"
local perk9 = "STRONG_KICK"
local perk10 = "REPELLING_CAPE"
@HiveSolution
HiveSolution / unlockAll.js
Created February 12, 2023 11:34
runs through a list of known broken appIds and enables their inventory tab
/**
* @name Steam Inventory broken Tabs enabler
* @description Activate all currently known broken inventory tabs
* @version 1.0.0
* @author RenokK
* @website https://steamcommunity.com/groups/InventoryService/discussions/0/1711816348630251347/
*/
const appIds = [
422890, 961210, 912210, 870000, 973780, 714360, 2004920, 652410, 1959960,