All Questions

2
answers

Replace PL / SQL character

I need to replace a particular character of one in oracle. For example: cadena= '12121113' and what I need is to change the "1" to a "2" but only the "1" that is in the 3 position. and return the modified result. As a result, there...
asked on 08.03.2016 / 21:06
1
answer

Error in ggint $ map_layout (panel, plot $ facet, layer_data, plot $ data): unused argument (plot $ data)

After updating the libraries in RStudio , I get the error that has to do with the library ggplot2 . p <- ggplot(overviewplotdata, aes(x=Dataset, y=Well, fi...
asked on 16.03.2016 / 17:33
1
answer

BD Primary fields in varchar

Good day I have a question, I'm working with 2 databases at the same time, to make a table, it works well I did some joins and it brings me the data, but, there is a data that does not bring it to me, and I was verifying and the only thing I fou...
asked on 18.12.2018 / 15:34
0
answers

Procedure for registration of caged users and upload to www folder

I was creating a small howto to register caged users that can upload and modify files in a folder inside / var / www I would like you to see if it is a valid and safe procedure, or if something escapes us, or if there are other alternatives to t...
asked on 20.12.2018 / 07:57
1
answer

I need to do a consolidated product in Python

I have a list of dictionary objects like the following: productos = [ {'nombre': 'Jumbo maní', 'cantidad': 30, 'categoria': 'Jet'}, {'nombre': 'Jumbo maní', 'cantidad': 50, 'categoria': 'Jet'}, {'nombre': 'Papas de pollo', 'cantidad': 15, 'c...
asked on 22.12.2018 / 21:31
1
answer

Views and render () in Django

I am learning to use Django (specifically version 1.9). However, when creating a view, and when starting the Django server, I have the following error: TypeError: render() takes at least 2 arguments (1 given) What I do not understand is, wh...
asked on 15.12.2015 / 19:51
2
answers

Store jQuery Id Selector in a variable

Why in the first example, when I store a JQuery Selector Id in a variable, the open () function does nothing? In example 2 the modal dialog box is displayed correctly ... Example 1) var modalBox = (function(){ var $modalBoxDialog = $('...
asked on 17.05.2016 / 12:20
1
answer

# 1064 MySQL Error

I'm trying to import a .sql file into HeidiSQL. When I try to execute the file to fill in a table already created, I am disabled by the following error:    SQL Error (1064): You have an error in your SQL syntax; check the   manual that corres...
asked on 27.12.2018 / 10:15
0
answers

How to automatically resume a nodeJs server in production after restarting the cloud server

I've been looking for the best way to make a cloud server with Ubuntu to restart, or if it has a fall for any reason and then get up again, automatically restart the nodeJs server that I have running in it. To keep node running I do it with F...
asked on 22.12.2018 / 15:02
1
answer

Insert two fragments into a tab

I have a project in which you add a Navigation Drawer and a ToolBar with ViewPager , with two Tab. I want a list to appear in the first Tab and when you select a list item, its details appear next to it, in the other fragment,...
asked on 05.05.2016 / 15:05