Questions tagged [utilities]
The utilities tag has no usage guidance.
207
questions
-1
votes
0
answers
11
views
use Utilities.sleep to slow down sending email
How should I use Utilities.sleep to slow down the speed while sending out email?
I use this code but didn't understand where to place Utilities.sleep code part.
In the example below I would like to ...
0
votes
0
answers
10
views
utilities domain - Need Oracle MTM messages/processes numbers with small description
I am searching for Oracle MTM messages/processes numbers with small description. Someone from utilities domain please share Oracle MTM messages numbers with small description?
Thanks in advance
...
0
votes
1
answer
81
views
How to find the source of the wc.c?
The wc command is often touted as the fastest way to count the number of lines in a file, https://unix.stackexchange.com/questions/504892/what-is-a-quick-way-to-count-lines-in-a-4tb-file
When I tried ...
1
vote
0
answers
107
views
How to change font size at breakpoints bootstrap 5 with API (#2)
A previous stack exists on this topic and seems resolved.
How to change font size at breakpoints bootstrap 5
However it doesn't work for me unfortunately as :
1 / when i put the bootstrap API code on ...
0
votes
0
answers
21
views
Visual Studio Code Snippets word before
I wanted to use LaTex in VSC with the LaTex-Utilities addon, but the "Live-Snippets" wont work.
Now i tried using the VSC-Snippets and wanted to make one, that can make me a frac. Is it ...
0
votes
1
answer
12
views
Find the optimal value
Let us say I have a program called foo. It takes 1 argument (e.g. foo 42) and it spits out a single line containing a numerical value (e.g. 2034).
I want to find the optimal value for the input ...
0
votes
0
answers
31
views
Password options for mysqldbcompare
Is there a way to provide the server1 and server2 host, username and password options via a secured .my.cnf file to mysqldbcompare?
In fact it is only the passwords that I am concerned about to not ...
0
votes
2
answers
43
views
How to compare timeStamp whe i can't seem to bring them to a common format using GAS?
So, on form submit, I got a timestamp, which looks like this:
"values":["2/18/2022 14:11:25"]
I then need to compare it with the one on the spreadsheet, so that I can set a number ...
3
votes
2
answers
4k
views
Check if directory exists using <filesystem>
I have a string that contains the path to some file. The file doesn't need to exist (in my function it can be created), but it's necessary that directory must exist. So I want to check it using the &...
1
vote
0
answers
18
views
Java utilities class setup issue [Abstract or Private Constructor] [duplicate]
When I am creating static utilities method, I always go with the below logic.
public class XXXUtils {
// to prevent utilities class accidentally instantiated
private XXXUtils() {}
public ...
0
votes
1
answer
270
views
How to make all common functions centralised in AWS Lambda Function (Python)?
I have one use case where I have created ~40 Lambda Function (Python3.8). All these functions use 5 to 6 common custom functions or utilities that are available within the python code.
I wanted to ...
1
vote
1
answer
741
views
Angular - Bootstrap 5 "utilities" not compiled
I've upgraded my angular app to use the bootstrap 5 styles. Since bootstrap 5 removed many utilities like cursor-pointer, I now have to define the utilities I want to use myself. I've tried to use the ...
1
vote
1
answer
456
views
Utilities.unzip doesn't work for zip files containing subfolders
I'm trying to write some Google Apps Script to extract a zip file which has 3 subfolders. Depending on the folder, I will then run through the various files and process them accordingly.
I cannot get ...
0
votes
1
answer
36
views
How to use NNN.py libraries, in Python programs, after download to the local computer?
In putting together a convolutional model in my computer, I want to use the convert_to_one_hot(.. utility written by Coursera/Ng. I can download their module test_utils.py, where I expect the one_hot ...
0
votes
1
answer
57
views
Set default extension webpage name in Bootstudio
I'm using BootstrapStudio for create some pages for my site.
I usually use htm as extension for web pages instead of html, so I wonder if there is anyway to change the defautl html extension in ...
0
votes
1
answer
763
views
Convert CSV charset from Shift-JIS to UTF-8
What I want to do
Fetch data from a CSV file (charset: Shift-JIS)
Convert the charset to UTF-8
Set the values into Google Spread Sheets
I have a problem on step 2.
Issue
I'm having a trouble ...
0
votes
1
answer
237
views
Google Sheet Script : Is there a way to display a message without stop the script?
Simple question : Is there a way to display a message without stop the script ?
Alert() stop the script.
setTimeOut seems be usefull but it's not available and Utilities.sleep() seems not working ...
0
votes
1
answer
504
views
new Date() vs. Utilities.formatDate(new Date()) [duplicate]
Can anyone tell me why this code would produce two different dates?
let now = new Date(); // today's date (1/2/2021)
Logger.log(now); // Sat Jan 02 09:42:47 GMT-08:00 2021
Logger.log(new Date(...
4
votes
5
answers
3k
views
Add new utilities with Bootstrap 5
Following the B5 new documentation, this is how you are supposed to add new utilities with the new utilities API. I have not been the get the new output though.
exemple:
@import "bootstrap/scss/...
0
votes
1
answer
292
views
how do i put utilities.java into a library as a folder so that I can use its methods with multiple java projects?
I have a utilities file named utilities.java that is located in my ...\NetbeansProjects\Utilities folder and I want to use the methods in it in any java project that I work on.
If I right-click ...
0
votes
1
answer
434
views
Refactor my Java code to replace attribute access to getters and setters
I just refactored an old Java library and replaced all public attributes with setters and getters.
Now, there are tons of code around that is accessing those old attributes directly.
Does anyone know ...
0
votes
3
answers
5k
views
How to write a JCL to send an email
How to write JCL to send an email but the content(Data) should be picked from another PDS/member. If anyone can let me know the JCL for what I need will be helpful.**
1
vote
0
answers
10k
views
Pycharm Module Installation: ModuleNotFoundError: No module named 'utilities'
I am using Pycharm Virtual Environment for a project and working on windows 8.1 x64. Trying to do image processing on python and for this needed to import utilities. The package is present at this ...
0
votes
1
answer
53
views
Using ls -lR ignore given REGEX
I’m using ls -lR | ... to get my desired output, but now I need something that would force ls to ignore given regex expression. Is it possible to achieve this? I found ls -I and ls --ignore but for ...
0
votes
0
answers
424
views
Is there any way to use Wrap (from Oracle client utilities) as a portable, or easier to be installed on Linux?
I was looking for automation in some processes, and one goal would be using wrap command (from Oracle client) in the build server, to obfuscate some scripts.
I could install Oracle database utilities ...
0
votes
1
answer
384
views
Conjoint analysis levels error - incorrect number of subscripts on matrix?
I'm working on a homework case using Conjoint analysis and running into an error that reads:
Error in X[k, j] <- x[i, j] : incorrect number of subscripts on matrix
I have tried looking up the ...
0
votes
2
answers
396
views
tools for appending column(s) to large CSV-file (merging CSV-files by column(s))
To create two csv-files:
echo -e "123\n456" > t0.txt
echo -e '"foo","bar"\n"foo\"bar\"","baz"' > t1.txt
Now, I want append the columns in t1.txt to t0.txt, so that the result becomes this:
...
2
votes
2
answers
170
views
Modelica: when initial print only once
I have the following Modelica code, inside a component that is used several times in a system model:
parameter fileName = "world.log"
equation
when initial() then
if not Modelica.Utilities....
1
vote
3
answers
3k
views
IEBGENER with multiple input file
I am new to the mainframe.
I have a job and this step in the JCL seems a bit confusing.
//*----------------------------------------------------------
//* IEBGENER
//*----------------------------...
2
votes
1
answer
1k
views
Pyomo Util Module Not Found
So I asked a question a month ago. I had a really nice answer to that question. I wanted to test if the answer works right now. But I am getting ModuleNotFoundError.
I did following before testing:
...
2
votes
2
answers
962
views
Replace multiple newlines with just 2 newlines using unix utilities
I have tried to look for the correct way to implement this, reading from stdin and printing to stdout. I know that I can use squeeze (-s) to delete multiple lines of the same type, but I want to leave ...
3
votes
1
answer
199
views
Where to put single util methods that only serve a single purpose? (Java)
Let's say I have a large code base, and I need to concatenate two arrays a few times over the large code base, so I look online for the solution and find a nice little method to accomplish this.
(I ...
0
votes
0
answers
64
views
Run-time error '28' on my utilities module (Access VBA)
For the life of me I can't find out the reason why code stopped compiling, it has a runtime error 28 - Out of Stack Space
It used to compile fine and it stopped with new update to Windows 10. Not ...
4
votes
0
answers
597
views
Fix eslint no-use-before-define automatically
The fix option for eslint is great:
eslint . --ext .js --fix
I run into lots of no-use-before-define issues when I fixup old code repositories. I don't want to re-invent the wheel, is there any way ...
0
votes
0
answers
2k
views
First argument is not an open RODBC channel on IDEAR tool
I am having this problem. I want to use the IDEAR tool on my SQL Server Database. I run the IDEAR code Github provided on RStudio and select the YAML file I created in order to connect to my database. ...
1
vote
1
answer
4k
views
No matching distribution found for utilities
while trying to install the python package utilities:
pip3 install utilities
I faced this error:
Could not find a version that satisfies the requirement utilities (from
versions: )
No matching ...
0
votes
1
answer
175
views
Best way to build an UI utility class
I want to build an utility class. It should read values from an database an providing typical UI or interaction features e.g. setting the title of the application, setting a background picture, ...
0
votes
1
answer
273
views
Linux whiptail : Unable to display a huge Licensing file
I am trying to display a huge .txt file using whiptail,but encountered an error
bash:
/bin/whiptail: Argument list too long
Command Executed:
whiptail --title "Licensing Info" --yesno "`cat /file/...
0
votes
1
answer
171
views
Using EF Utilities for including child tables/list
I've been looking for a good solution to speed up my queries in my application. I came across this link:
https://github.com/MikaelEliasson/EntityFramework.Utilities
Where in example they show how ...
0
votes
0
answers
1k
views
Tpt script issue to load Clob datatypes into teradata
I am writing my first tpt script. My requirement is basic. I want to load a table in exadata ( which has clob and blob datatypes as well) into teradata.
I have come across few posts saying i can only ...
0
votes
1
answer
4k
views
Angular 2 Testing Error Cannot read property 'forEach' of undefined
I'm trying to test a component.ts:
import { ActivatedRoute, Params } from '@angular/router';
import { Location } from '@angular/common';
...
ngOnInit(): void {
this.route.params.forEach((params: ...
3
votes
2
answers
730
views
Qt - Shared Library Containing 'Utility' Functions?
Coming from non C++ background, I am trying to rewrite a few projects using Qt. I need to create a shared library that will house commonly used 'utility' functions. I do not need a class as all ...
0
votes
2
answers
380
views
Symfony - render twig file in myClass
Let's say i have my own class
<?php
class myClass {
public function myFunction(){
$template = $this->render('sometwigfile');
}
}
What should i do if I want to load twig file ...
0
votes
1
answer
344
views
Issue with Timestamp field in Fload
I am facing an issue with the fastload where my Timestamp fields are getting rejected to error table.
Below is the value of timestamp(6) field in my flat file.
23-06-2016 11:51:21.000000 23-06-2016 ...
1
vote
1
answer
550
views
Should I represent a Java utilitary class in UML?
My text editor has three classes wich are Buffer, Command and CommandInterpreter. Buffer and Command are oriented object classes but CommandInterpreter contains only static method and is used to ...
2
votes
1
answer
2k
views
Plugins for creating and styling custom Editor Windows like C#/C++ Form Designer or “Web Inspector”?
Unity3d allows to construct window with custom UI. Just need to use EditorGUI/EditorGUILayout classes and their static methods.
Example of custom window:
The problem is that all the components have ...
3
votes
1
answer
7k
views
Utilities base64Encode versus base64Decode method
Why the base64Decode can't decode something just encoded by base64Encode?
function test_base64encoding_decoding() {
var file = DriveApp.getFileById("<google drive png file id>");
// ...
2
votes
1
answer
3k
views
Laravel elixir npm error Cannot find module 'laravel-elixir/ingredients/commands/Utilities'
I've came across this problem when I wanted to install a project from a couple of months ago onto my home-computer, i've installed my packages correctly, but when i try to run gulp, i constantly get ...
1
vote
0
answers
162
views
Utilities of states in Reinforcement Learning
In Artificial Intelligence A Modern Approach (3rd Edition-Russell) book, we have a 4*3 world like this :
and with some computation that i didn't understand we reach to this utilities for each states ...
2
votes
1
answer
3k
views
How to make use of Java's Graph Class?
So this is definitely a simple problem most likely with a simple fix but I just cannot figure out the issue here.
I am trying to make use of Java's Graph class:
http://docs.oracle.com/cd/E12839_01/...