All Questions

3
answers

NodeJs gives me this error when starting

I'm new to Nodejs and download this code and I can not start it, I've been working with other projects and they work fine (install the express and the cli, in addition to the node-telegram-bot-api as it says on gitHub) what can I miss? the cod...
asked on 31.05.2017 / 23:55
3
answers

Rotate a div for 30 seconds Jquery

Greetings, my query is as follows: I have a div block which I need to keep rotating for X amount of seconds, I have tried some Jquery libraries but I have not been able to control the time it keeps turning and the speed, this is important. Gr...
asked on 24.12.2016 / 14:25
7
answers

Get only month and day using SELECT in SQL server

Use SQL server 2008 R2 I want to make a simple select that using a GETDATE() show a specific date format without year:    day / month This select gives me the values but in separate columns SELECT MONTH(GETDATE()...
asked on 26.10.2016 / 14:23
2
answers

Use React without Node.js

I'm starting on this React. From what I'm seeing there's no other way to use React other than writing it in JSX and then compiling it with Babel to make it work. But to be able to use Babel from console I have to use Node.js. But the only one I...
asked on 15.11.2016 / 03:12
1
answer

Create a template / master page in php language [closed]

How can I create the structure of a master / template in PHP with alternatives other than include and require independently of content and design , thanks in advance. for example a menu that can be visible in all the files and right there...
asked on 03.10.2016 / 21:17
4
answers

Keep the 0 on the left

My program ignores me 0 on the left, example pass 001 and take it as 1 and I need everything complete. My code goes like this function rotate_to_max($n): int { echo "El numero inicial es ".$n."\n"; $vec = array(); while($n != 0...
asked on 25.11.2016 / 03:05
3
answers

Browse json array object

I have the following json: [{titulo : "Total", balesia : 1, torre:2, CT:3, HF :6}, {titulo : "Total", balesia : 4, torre:2, CT:5, HF :8} ] I need to go through it and add only those that have a numerical value and store it in another object...
asked on 15.11.2016 / 17:50
2
answers

How to delete a keyword from a text in C?

I have an exercise that says: Encode a program that reads through a keyboard a keyword of up to 15 characters and a text of up to n lines (n being a constant value). The program should eliminate from the text those lines that contain the ke...
asked on 03.01.2017 / 11:58
3
answers

Difference between structures and classes in C ++

What is the difference in C ++ between a structure and a class? According to what I understand, a structure is the way in c ++ to create an object, just as in python class is used.     
asked on 01.12.2016 / 20:59
1
answer

Black screen when running Pygame

Previously to ask this question it is worth noting that I have consulted several sources looking for some answer to my problem. None of them seems to have served. Despite trying to solve my problem on my own, rereading the code, the error still...
asked on 01.02.2016 / 13:07