What type of encode is this?

I thaught it some sort of ioncube loader encryption but more advance. <?php defined(‘_VALID_MOS_’) or die(‘Restricted Access’); $_Lic=” xDEQRE9323oHP5IG87P7alAilU}CPFko[3[mHu[GUUPBI6/]ql7myzFn/Vp7HVT[pU<]4uaHMEs020I NPIOBin067EouMLqpu0aORKV}av=A.ux+uOXl2nPMs0V1RBltHv5AyLM2}K+Bay0AH]FBP6Y3HioR83 0cryKdMDVx73sfUY7g7LO0vDAoP5FTVZn6u3BN2UrR}BTXipKRiFsfkOPMa7B.[Fn<[IMvquI>vIa6P mMaFFGBgZ=mMmPMamcV2cy+2OEgP3MvqHKDmI[f}6MLQc>=[i=6FvpzzpMV2Y>T}5ylVDOuueCninc0 [py/HOne[O5FHu=BR7Fxsey/2p>NIDK6/7BvPOK>2ykIy6nmHynE0u=p}EaQi]kuadYZqvX>[m+/}p0 This only some part (first 10 line of it) Any idea? I thaught it some sort of ioncube loader encryption but more advance.

Impossible To Scrape Some Websites Using Python?

I am trying to scrape a particular website https://birdeye.so/find-gems?chain=solana, but unable to load the data within the table. I am only able to get the table’s headers, such as Token, Trending, etc. Are some pages just impossible to scrape? If so, why exactly? Below is my code. I’ve attempted to scrape this page using Selenium, … Read more

SWC is not adding extension on imports

I’m working with SWC compiler for the first time in a project. I’m using it to compile my typescript files in /src to javascript files in /dist. The structure of the project is something like this: | — demo | — index.html | — index.js | — dist | — index.js | — foo.js | … Read more

How to merge two page.jrxml to one view by using jasper report

Example I have two file one is page1.jrxml and one more page2.jrxml JRBeanCollectionDataSource beanCollectionDataSource = new JRBeanCollectionDataSource(data); Map<String, Object> parameters = new HashMap<>(); JasperReport compileReport = JasperCompileManager.compileReport(new FileInputStream(“src/main/resources/templates/page1.jrxml”)); JasperReport compileReport2 = JasperCompileManager .compileReport(new FileInputStream(“src/main/resources/templates/page2.jrxml”)); JasperPrint jasperPrint = JasperFillManager.fillReport(compileReport, parameters, beanCollectionDataSource); byte data[] = JasperExportManager.exportReportToPdf(jasperPrint); HttpHeaders headers = new HttpHeaders(); headers.add(“Content-Disposition”, “inline; filename=report.pdf”); return ResponseEntity.ok().headers(headers).contentType(MediaType.APPLICATION_PDF).body(data); I … Read more

In Python, dynamically importing module from another directory doesn’t seem to work

The two approaches to load modules dynamically : importlib.import_module and spec_from_file_location both seem to fail as shown in code below: import os import importlib import sys OJ_APP_MODULE = “/tmp/theapp” #sys.path.append(os.path.dirname(OJ_APP_MODULE)) # fails with error ModuleNotFoundError: No module named ‘theapp’ try: app_module = importlib.import_module(os.path.basename(OJ_APP_MODULE), os.path.dirname(OJ_APP_MODULE) ) print(app_module) except Exception as e: print(“import_module failed “, e) try: … Read more

input channels vs. detected channels?

I’m training a model with ResNet50, and my inputs are grayscale images. This is the feedback I’m getting: RuntimeError: Given groups=1, weight of size [64, 1, 3, 3], expected input[10, 64, 150, 150] to have 1 channels, but got 64 channels instead. I’ve already checked with another script that all of my inputs are indeed … Read more

webdriver.Chrome() location, using Jupyter Notebook, mac OS Ventura 13.5.1

I´m using a Macbook Air M2 chip and I´m getting the following error: [Errno 86] Bad CPU type in executable. My code is the following: pip install selenium from selenium import webdriver driver = webdriver.Chrome() I downloaded the following chromedriver version: https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/116.0.5845.96/mac-arm64/chromedriver-mac-arm64.zip, my Chrome version is 116.0.5845.110. The location of my script is in /Users/myname/anaconda3/bin, … Read more

How to generate heat map inside a mat table

I have a code which displays the temperature details of CPU and GPU in mat table and I want to represent them in the form of a heat map which can be attractive visually. My current table And I want to display

Issue with grid-template-rows

The last row()is not being displayed. Am I missing something? <div className=”grid grid-cols-[70%_30%] grid-rows-[max-content_auto_max-content] gap-x-4 w-screen h-screen”> <div className=” bg-orange-300 col-[1_/_3] row-[1_/_2] max-h-[100px] pr-4″> <Navbar /> </div> {/* MAIN BODY */} <div className=” bg-slate-500 col-[1_/_2] row-[2_/_3]”> <div className=”min-h-full w-full ml-4 grid grid-rows-[70%_30%]”> <div className=”font-studio text-[28px] font-extrabold text-center”> Lorem ipsum dolor sit amet consectetur adipisicing elit. … Read more