Questions tagged [tss]

TSS is used in Titanium Appcelerator as a stylesheet file.

TSS is the "CSS for Titanium". However, even if it does look like CSS, it isn't CSS and shouldn't be treated as such. It is a dynamic file which can use variables and Titanium properties.

32 questions
9
votes
2 answers

Task Switching in 64bit

In x86, you can use the TSS for task switching between running processes, however, it is recommended to use only one TSS (as you have to) and perform software task switching, especially if you want to port the kernel to other hardware which don't…
mmk
  • 585
  • 5
  • 13
4
votes
3 answers

how to re-use a language file in multiple languages without doubling of files with Titanium

So I'm using a language file in Titanium to serve TSS properties I want to re-use throughout the entire app at different locations. These language file variables should be used in the themes folder (or any other TSS file for that matter). Currently…
Rene Pot
  • 24,681
  • 7
  • 68
  • 92
3
votes
1 answer

Titanium Alloy - TSS vs. CSS?

I've just started coding with Titanium Alloy. Having previously learned JavaScript, HTML, and CSS through many different resources, I'm a little confused with Titanium's (Appcelerator's) version of style sheets. What are the differences between…
1
vote
0 answers

Create self signed certificate and key with TPM2

I want to establish a TLS (TLS v1.2) connection using the cipher suite TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256. For testing I use openssl s_client and s_server. My setup is using ubuntu 22.04 with "TPM Reference Simulator", tpm2-abrmd (v3.0.0), and…
abi
  • 11
  • 1
1
vote
0 answers

How can I fix Flickering of unstyled content in NExtJS application after upgrade to material UI 5

I have the issue mentioned here https://github.com/vercel/next.js/issues/15642 and I have tried all the solutions they suggested . Nothing seems to work I have MUI5, react 17.0.2 aand nextJS 12.1.5. I cannot Upgrade Nextjs for now for some reasons.…
keerti
  • 245
  • 5
  • 19
1
vote
3 answers

Total Sum of Squares (TSS) in python

I'm trying to calculate the total sum of squares using python. I know that the formula of TSS is: [enter image description here][1] I created a code to do it: from statistics import mean x = ([3,1,3,1,3,13]) def tss(a): m = mean(a) for i…
1
vote
1 answer

How to use ESAPI TPM implementation TSS for java

I am working TPM I search a lot on TPM basics and now I installed TPM simulator it runs on port of 2321. Now I have one problem with accessing the TPM so I choose ESAPI to implement TSS for TPM. If there some example code of Java ESAPI for TPM TSS…
Anup
  • 67
  • 1
  • 1
  • 11
1
vote
2 answers

Serialize TPM public key to DER or PEM

I'm using a TPM to generate key pairs on-the-fly and eventually I'd want to format and output the public portion of a pair to a file, so it can be used easily by third parties. To address the TPM, I'm using the TSS.MSR C++ API After successfully…
Fluffy
  • 857
  • 1
  • 9
  • 20
1
vote
1 answer

Appcelerator Alloy Expressions in TSS

How can I go about writing expression for font size, top, height, width... with TSS in appcelerator alloy project '.myLabel': { backgroundColor: '#fff', height: Ti.Platform.displayCaps.platformHeight / 2, width:…
1
vote
1 answer

How to add dotted line on a view on appcelerator titanium?

I know we can't add dotted to border style on .tss. May I know any hacks or idea to add dotted line on the border for a view?
davidlee
  • 5,611
  • 17
  • 56
  • 82
1
vote
3 answers

How to enable button focus on touchStart?

I have created a button, I need some response from button like, on touch of the button, the button focus should enable like change in background color. How can I do that? My code is, View:
1
vote
1 answer

Titanium "Unused TSS class styling rule" when I know it exists?

I'm having a strange error occur when working in Titanium. I have an alloy project that is throwing the error "Unused TSS class styling rule" next to the vast majority of my TSS classes. For example: ".box" : { top : 0, borderWidth : 2, …
ABOO
  • 145
  • 1
  • 8
0
votes
1 answer

How to solve TSS.MSR CPP build error in linux

trying to run the makefile in TSS.CPP directory (downloaded from https://github.com/microsoft/ms-tpm-20-ref/tree/main) gives me openssl/sm3.h error file not found I already tried sudo apt install libssl-dev the error is still there do i need to do…
dibii
  • 7
  • 5
0
votes
1 answer

how to import multiple makeStyles in tss-react?

Upgrading from MUI4-MUI5 using tss-react in some files we have multiple styles import const { classes } = GridStyles(); const { classes } = IntakeTableStyles(); const { classes } = CommonThemeStyles(); and it shows 'Cannot redeclare block-scoped…
0
votes
0 answers

use container query in react-tss

I'm trying to figure out if there is a way I can use container queries in react-tss. The docs don't mention anything about it or media queries for that matter. I was able to do something like the following for media queries and it compiled to the…
yoshinator
  • 436
  • 6
  • 13
1
2 3