Postgresql unable to change the data type of a column
◷
تاریخ انتشار: 1395/2/31 | ساعت: 17:40
Vote count: 0 I am new to Postgresql, and I am trying to change the data type of a column from Integer to Varchar(20), but I get strange error: ERROR: operator does not exist: character varying <> integer : No operator matches the given name and argument type(s). You might need to add explicit type ...
Elmah error logs use local env path while running on production server
◷
تاریخ انتشار: 1395/2/31 | ساعت: 16:37
Vote count: 0 I have a C# service application ru ing on a production machine. The service's job is to sync with another API every 60 seconds. However recently some really bizarre errors started to show up. The error message itself is pretty straightforward - failed entity validation. However the pat...
Save Swagger spec to file during Maven build
◷
تاریخ انتشار: 1395/2/31 | ساعت: 16:37
Vote count: 0 I'm using the swagger-jersey2-jaxrs Maven plugin to serve my current Swagger spec file which works fine. Now I want to automate the generation of a Java client library to that specification, for example using the swagger-codegen-maven-plugin Maven plugin. swagger-codegen-maven-plugin r...
UICollectionView Horizontal Scroll
◷
تاریخ انتشار: 1395/2/31 | ساعت: 16:37
Vote count: 0 I try to do a UICollectionView that print 1,5 cell on screen, and with the scroll you should be able to display the next cells. But here is the problem, I arrive to display 1,5 cell but I can't scroll. I don't know why, when I set the layout "scrollDirection" property to "Horizontal" t...
How to change css for different media without the page having to be refreshed
◷
تاریخ انتشار: 1395/2/31 | ساعت: 15:28
Vote count: 0 I have successfully gotten my page to look how I'd like it to look for different size pages. I'm using it to ensure an animation stays in the right place on a page uses percentages. I'm using @media(min-width: ---px)for each different size. However the page will only accept the differe...
Empty list: What is the difference between Arrays.asList() and Collections.emptyList()?
◷
تاریخ انتشار: 1395/2/31 | ساعت: 15:28
Vote count: 0 If i need an empty list, I could used Arrays.asList() or Collections.emptyList(), what is the difference between these two calls, which I should use? asked 4 mins agoJesus Zavarce Let's block ads! (Why?)
Android Gradle detect is a release build or not in runtime?
◷
تاریخ انتشار: 1395/2/31 | ساعت: 15:28
Vote count: 0 I need to create auto-increment version mechanism via Gradle. For this I use this manual and create two files #Fri May 20 11:04:03 EEST 2016 VERSION_BUILD=3 def versionPropsFile = file('version.properties') if (versionPropsFile.canRead()) { def Properties versionProps = new Properties(...
Ubuntu sed creates duplicate lines instead of returning just one replaced line
◷
تاریخ انتشار: 1395/2/31 | ساعت: 14:27
Vote count: 0 I have below script to extract the current open file path in Gedit. #!/bin/bash origPath=$GEDIT_CURRENT_DOCUMENT_URI if [[ $origPath == *"smb"* ]] then finalPath=`php -f /var/www/html/pathswapcmd.php smb_path=$origPath`; else finalPath=$origPath; fi ## echo -n $finalPath; echo -n $fina...
Does WordPress drop down menu theme always defaults to not hidden?
◷
تاریخ انتشار: 1395/2/31 | ساعت: 14:27
Vote count: 0 I created a menu and sub menus on my WordPress site. The theme was made by me from scratch. However, the submenus are always on display (instead of hidden when not active or hovered). How do I make the submenus only display on hover? Is this kind of feature not existent on WordPress by...
Transfer output file of T-SQL statement in SSIS package to another server
◷
تاریخ انتشار: 1395/2/31 | ساعت: 14:27
Vote count: 0 I have an existing SSIS package on my DB server and I have another server which is the application server which uses this DB server for its operation. This SSIS package, is being used by a job ru ing on the DB server. I would like to add an additional step. That step is just a basic se...
How to connect a postrgresql database instance from aws rds to django code in an aws ec2 insatnce
◷
تاریخ انتشار: 1395/2/31 | ساعت: 13:19
Vote count: 0 I have an ec2 instance ru ing a djngo application, and for the database i've an AWS-RDS postgresql. So how can I co ect my database to the django application asked 1 min agoNijo Let's block ads! (Why?)
Can the Xamarin Mac Agent's port be configured? (to something other than port 22)
◷
تاریخ انتشار: 1395/2/31 | ساعت: 13:19
Vote count: 0 I'm configuring my network's firewall to permit co ecting to my Mac build server when I'm away from my house. I would like to set up port forwarding to send traffic to the Mac via an alte ative to port 22. Can the Xamarin Mac Agent be configured to listen on a port other than 22? Does ...
I want to code in MVC razor
◷
تاریخ انتشار: 1395/2/31 | ساعت: 13:19
Vote count: 0 I want the below functionality in MVC razor. <asp:Button ID="Button1" runat="server" Text="Delete" onclick="Button1_Click" OnClientClick="CheckDelete()"/> I used @Html.ActionLink("Delete", "Action", "Controller", new { onClientclick = "checkDelete();" }, null) But this is not working. ...
How to delay in node.js an operation in callback
◷
تاریخ انتشار: 1395/2/31 | ساعت: 12:15
Vote count: 0 I try to copy many records from Firebird to MongoDB. This is my function; var queue = 0; co ection.sequentially(sql, (row) => { queue++; collection.insert(row, (err, result) => { if (err) retu done(err); queue--; if (queue <= 0) retu done(null, result); }); }, (err) => { co ection.deta...
Allow user to edit testimonials on Wordpress
◷
تاریخ انتشار: 1395/2/31 | ساعت: 12:15
Vote count: 0 I'm using some theme which has it's own testimonials widget. How I can provide user ability to write testimonials via form on the site? asked 1 min agoRoman Volkov Let's block ads! (Why?)
Making android database accessible online to the application
◷
تاریخ انتشار: 1395/2/31 | ساعت: 12:15
Vote count: 0 hi guys I am new in android programming to be honest I dont know where to start, I had this project, a capstone project where I will create a Library application ru ing in android but i dont know how to make the sqlite or its database available online. Please do help. thanks ^^ asked 1...
In VBA using MSXML how to get unique elements from a IXMLDOMNodeList
◷
تاریخ انتشار: 1395/2/31 | ساعت: 11:05
Vote count: 0 using msxml in VBA ,i have a IXMLDOMNodeList list and i want to delete nodes in it but since more then one element of the IXMLDOMNodeList is pointing to same node , once a node is deleted i will get error when another IXMLDOMNodeList element pointing the same node is reached . is there...
Storing other user data on my users data
◷
تاریخ انتشار: 1395/2/31 | ساعت: 11:05
Vote count: 0 I am just curious if this is bad practice. On my user object, under the profile attribute I am pla ing on storing the users likes. For instance the object would be like this: user { profile: { likes: [ { user: { _id: USER_ID, avatar: USER_AVATAR, use ame: USER_USERNAME }, ... ] } } Wha...
HTTP/1.1 400 Bad Request Sabre REST Api
◷
تاریخ انتشار: 1395/2/31 | ساعت: 11:05
Vote count: 0 Currently using a test developer account for Sabre Dev Studio and trying to use their REST Api - Instaflights_Search. I'm creating the authentication and getting an access token fine but the problem arises when I try to send a request. I'm creating the headers using curl and php. funct...
Border disappear when access web by Iphone or Ipad
◷
تاریخ انتشار: 1395/2/31 | ساعت: 9:44
Vote count: 0 everyone. I'm newbie. I create a table ( maybe a box ) with one row and one column. I want to see this table when I access it in PC or Lap. But when I access it by Ipad or Iphone, I want the border disappear? Please tell me how to do that? Thanks. asked 1 min agoHòa Nguyễn Let's block ...