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

Error while generate signed APK

After generate signed APK i find this error message. G:\MyApplication\app\src\main\res\values\strings.xml: Error: switch is not a valid resource name (reserved Java keyword)
Ismail Hamdach
  • 127
  • 3
  • 8
0
votes
0 answers

How to generate md5-hashes for Pipe delimited file IN SQL Server

Hey i am able to generate the MD5 hash for text in SQL Server Using HASHBYTES The syntax is SET @MD5HASH = CONVERT(VARCHAR(32), HashBytes('MD5', 'Filename'), 2) I want to generate MD5-hash For a text file (Content).
0
votes
1 answer

How do I Generate rows depending upon the column value in spark?

suppose If I have single column with one row +---+ | id| +---+ | 4| +---+ then how do i generate rows depending up on the value of a column +---+ | id| +---+ | 1 | |---| | 2 | |---| | 3 | |---| | 4 | +---+
survya
  • 11
  • 5
0
votes
1 answer

Using generate to fill list in template class c++

I am working on a project where i have a template class in which i have a List. This function i have included is meant to fill the list with random numbers. But each time i run it it says that "term does not evaluate to a function taking 0…
QifshaLopen
  • 15
  • 1
  • 6
0
votes
2 answers

Splitting a composite variable into two variables

I have a string variable called country with a value which can be for example Afghanistan2008, but it can also be Brasil2012. I would like to create two new variables, one being the country part and one the year part . Because there are always…
Tom
  • 2,173
  • 1
  • 17
  • 44
0
votes
2 answers

Generating a Token

Hi everyone I'm working on an android app to Stream a Live Video I'm using the Vidyo Library and it worked well with the stream. But I need to generate a Token for the stream I couldn't try{ Process su =…
0
votes
1 answer

Computing a new variable in Stata based on existing variables

I am not well versed in Stata, and I am struggling to find the right syntax to generate a new variable based on the properties of several other variables. I have one dummy variable indicating sex (Sex_at_birth), and 3 dummy variables indicating…
Mandarc
  • 13
  • 8
0
votes
1 answer

Get generated checkbox Checked State

I generate checkboxes with the following code: public void drawCAnswers(int pst){ rcflag = 1; int drawables = qmclist.get(pst).getAnswers().size(); LinearLayout ll = new LinearLayout(this); CheckBox[] cbs = new CheckBox[drawables]; …
Vanhaeren Thomas
  • 367
  • 4
  • 15
0
votes
1 answer

dynamically generate folder and csv file inside with php code

I want to generate a csv file inside dynamically generated folder and push record in csv file row wise using php function
0
votes
1 answer

Obfuscate code not working in android

i want to obfuscate my android code, i have set minifienable true and setup proguard file, but after generate apk and decompile, code not obfuscate. This is my proguard : #START # This is a configuration file for ProGuard. #…
M. Johnson
  • 839
  • 6
  • 13
  • 22
0
votes
2 answers

What would be best solution for adding different sized objects to world?

I am working on a game where I use different sized objects - such as houses, trees etc. My question is, which way should I determine is the place I am going to place my object free or not? World is generated randomly every time the game is…
0
votes
2 answers

Fill unexistent data with Hive/Pig

I have a hive table with the following structure: id1, id2, year, value 1, 1, 2000, 20 1, 1, 2002, 23 1, 1, 2003, 24 1, 2, 1999, 34 1, 2, 2000, 35 1, 2, 2001, 37 2, 3, 2005, 50 2, 3, 2006, 56 2, 3, 2008, 60 I have 2 ids which identify the 'user',…
Marc G
  • 1
  • 1
0
votes
1 answer

objective c qr code won't generate when an arabic string is in it's data

My app has to generate a qr code which i succeeded in implementing using this block NSString *info = [NSString stringWithFormat:@"%@,%@,%@,%@,%@,%@", [_sighting valueForKey:@"Sighting_id"], [_sighting valueForKey:@"Name"], [_sighting…
Cheezo
  • 1
  • 4
0
votes
1 answer

Math created x + y = z function generate answers

I have a project where I made an x + y = z or - , * operator generated function, but I do not get it how can I make another class where it will generate different answers and the user has to find the right one. Exemple: 2*2 = z A) 2 B) 5 C) 6 D)…
Jeffy
  • 11
  • 3
0
votes
1 answer

Generate a X number of elements after click

I'm doing a script, that when clicking, first check if the generated number is in the range, then, if it is in that range, generate a certain checkbox, the problem that I have is that after clicking, or only generates 1 item or does not show…
Nicole
  • 43
  • 8