Questions tagged [generate]

Any question related to the Generate developer framework and CLI tool should tagged using the `generate` tag. How to use the generate CLI to run this generator ? How to use this generator as a plugin ? How to run a task from a subgenerator ? How to create my own Generate generator ?

What is generate ?

Generate is an extremely modern command line tool and developer framework for scaffolding out any kind of developer projects. Generate offers the robustness and configurability of Yeoman, the expressiveness and simplicity of Slush, and more powerful flow control and composability than either.

It is an open source framework hosted on github under the MIT license.

It has its own Github organization to namespace all the generators authored by the same author, Jon Schlinkert.

Generate is part of the awesome node toolkit created by the same author: https://github.com/node-toolkit

Some of the best related projects composing the node-toolkit:

Related StackOverflow tags

371 questions
0
votes
1 answer

Generate random numbers within specific range and with given conditions in javascript - times table

I have generated random set of numbers (generated number) for each individual multiplier (numbers from 2 - 10). The code itself does generates the numbers although not as expected. Current behaviour: it renders numbers (sometimes repetetive) within…
0
votes
2 answers

anchor only works after changing html with the examine tool

I need to create html using javascript and I want to add an anchor with a polygon to my svg viewBox var createHtml = () => { const svg = document.querySelector('svg'); var svgNS = svg.namespaceURI; for (let index = 0; index < 10; index++)…
0
votes
1 answer

does statements with in generate block(generate-----end generate) will execute sequentially or concurrently?

I have used two different modules in generate loop statement both are inter dependent. so, I want to know to how to execute them sequentially.
Harsha
  • 11
  • 2
0
votes
1 answer

PowerBI expression error using List.Genrate

I've been following some tutorial to handle pagination when calling an API limited to 100 records per request. I'm using the latest version of PowerBI Desktop. I have created a blank query and opened the Advanced Editor let allDeployments =…
jeromesubs
  • 63
  • 1
  • 7
0
votes
1 answer

How to automatically create excel chart from a csv file sent in mail

I am a system programmer and what i want to do is to send daily a csv file to a group of administrators by mail. They click on the attachment and it opens in Excel with a corresponding chart. This means that all the code to generate the excel chart…
dt n
  • 1
0
votes
1 answer

TypeORM generates migrations with db name

I need to generate the migration with TypeORM and it does it with this command: npm run typeorm migration:generate -n test but the problem is that it generates the migrations that include the DB name await queryRunner.query(`CREATE TABLE…
levansuper
  • 741
  • 1
  • 7
  • 13
0
votes
0 answers

generate a csr in c for embedded application

I need to generate a Certificate Signing Request given that I already have my private key, I can generate PKI with my MCU using hardware acceleration crypto engine. What I need to do is assemble a CSR from the private key (already in pem format) in…
rusty81
  • 53
  • 3
  • 10
0
votes
0 answers

How to create single image from a number of images in different folders

My coding knowledge is zero, just to preface all of this. I'd like to create a large number of randomly generated images, made up of 6 components. Each folder holds one set of the images eg. Folder 1: Backgrounds... I'd like the images to be…
0
votes
3 answers

Generate OAuth Token using R

Novice - first time attempting to extract data via an API and using R. I obtained a API Key and the Secret. Converted to base64. Now perplexed as to the next step where the instructions that I have state that I should "Enter the generated…
0
votes
1 answer

what to do with a function that produces a random image on button click in Javascript

I've written a function that should produce a random image from an array in Javascript. I'm wanting to execute the function with an html button. I've written the code but it doesn't work. The image should be directed to a flex box div. Code var…
user16260363
0
votes
0 answers

How to generate migration from existing tables?

i'm updating a project to laravel and I want to generate migrations from the existing database. someone to give a tip, solution link, video?
0
votes
0 answers

Problem with generate multiple file mPDF codeigniter

Hello guys i'm a little bit confuse with my mpdf function in codeigniter to generate multiple file pdf, i tried to research and nothing can solve this is issue, i have anchor that action to download function, and the idea is to call all function…
0
votes
0 answers

debug.keystore opens for notepad but it's for godot 3.3

I created a debug.keystore for Godot 3.3 with it asking how to open it and I chose notepad. I did as much as I think it said in the docs and put it in Debug Keystore and Android Sdk Path, as I was emailed on Godot Q&A that Adb and Jarsigner are no…
CamDr3
  • 1
  • 1
0
votes
1 answer

SystemVerilog Class inside Generate

I would like to use a SystemVerilog Class constructor inside a generate-if statement using a parameter like so: N is an input parameter. generate begin if(N == 144) fft_144 fft = new; else if(N == 180) fft_180 fft = new; …
willems28
  • 1
  • 1
0
votes
0 answers

Xamarin.Android CertificateFactory.GetInstance("X.509").GenerateCertificate with MemoryStream result to "inStream is empty"

There is my context: We have Xamarin.Forms App that receive a certificate from the server in Base64 String with \n\r. I want to put this certificate in KeyStore so I'm doing this code : var ks = KeyStore.GetInstance("AndroidKeyStore"); …