Skip to content

Instantly share code, notes, and snippets.

View iegik's full-sized avatar
🏠
Working from home

Arturs Jansons iegik

🏠
Working from home
View GitHub Profile

FTA Score: 47 (Lower is better)

OK - Considered Maintainable

Item Result

  • Num. lines 44
  • Cyclomatic Complexity 5

Halstead

  • Unique / Total Operators 16 (60)
@iegik
iegik / core.js
Last active January 22, 2025 10:57
Collection of usefull scripts to build instant app inside JSite Inspired by JSite
const html = (strings, ...values) => {
const raw = String.raw({ raw: strings }, ...values);
if (typeof document === "undefined") return raw;
const el = document.createElement("div");
el.innerHTML = raw;
return el.firstElementChild || '';
};
const Fragment = ({ children }) => {
if (typeof document === "undefined") {
console.log({...JSON.parse(JSON.stringify(performance.timing))})
@iegik
iegik / sit
Last active August 23, 2024 12:26
#!/bin/python
/*
* > `#idea to write a program like #git, so it was based on #ast instead of sources, and changes will be written in #ml predictions tree instead of #diff. I'll never have time for this #inhtft, but you...`
*/
import ast
import difflib
import json
import argparse
import socket
#!/bin/bash
O="
H4sICL8DYmYAA3RtcDIAbVNNb9swDL3rV7CqE
SRobSdZm6xxXAw9dadeN8zDolh0rMWWDFte+p
Hst49SsrUY6hMlPj4+PtHnZ/Fa6XgtupLVQun
h6IUB5EZiyh/SjAcPGU8oi7MrCCUsl8sseNhv
nlUDYV7IvcNkDgSOglOtxUebcnaPVWUuIRjuS
iNqNWLsM7SYm7pGLeGr6cEaWCOInWgRTAH4iH
lvld4woZ+g11ttdtor8egOMYI7zEXfIdhSdSw
XGkrR1vBk+hYk/lI50RG5FFacMXaHQGirTN/R
@iegik
iegik / README.md
Last active November 15, 2023 15:27
Framework Web iOS Android Language Integration Cost per month
GhostInspector Y N N .side.Selenium, python Azure•GitHub•Jenkins Already have license
RobotFramework Y Y Y Python, Java, .NET, Jython, IronPython Git Free
Testproject Y Y Y Python, Java Jenkins Free
Testcomplete Y Y Y Javascript, Python, VBScript Jira, Azure, Git, Jenkins Starting at €5,170
Ranorex Y Y Y VB.NET, C# Azure, TestRail, Jenkins 4790 euro
LAMBDATEST Y Y Y Python, Java, Javascript, C-Sharp, Ruby, PHP JenkinsBambooTeamcityGITLAB CIetc.https://www.lambdatest.com/support/docs/integrate-azure-pipelines-with-lambdatest/ 99 euro per month (billed annually)1 Parallel Test (5 users)
XRay

Build

using UnityEditor;
using UnityEngine;

public class Build
{
    static void WebGLProductionBuild()
    {

Resize

for i in *.png; do convert "$i" -resize 1024x ; done;
#!/bin/bash
USAGE=$(cat <<-EOM
Usage: ${0##*/} [PATCHES_FOLDER]
Applies all patches from provided folder.
Example for Android:
${0##*/} patches-android
@iegik
iegik / README.md
Last active December 7, 2023 09:47

unknown

unknown | any

;(unknownValue as Function).call(null)

infer