Search update

60548 results
4

votes
2

answer

Git submodule update overwritten

I'm working on a git project with several people and we have included an external library as a git submodule. We share a common remote that we regularly push to and pull from. Since we first added this submodule there were some changes in it, so I did a git submodule update --remote to update it to...
dd23
2

votes
2

answer

Update table using alias

I need to fill some fields in a table getting informations from other records of the same table. I tried to write a query to explain what I want to do: update globale2 set nita = t.nita, tita = t.tita, notaita = t.notaita where neng = t.neng and nita is null (select nita, neng, tita, notaita from gl...
Silvestro Magliola
1

votes
3

answer

Update anchor using JavaScript

I have a page with a table. The table contains th elements, which contain anchors. This is what an example th looks like: Inventory reference What I want to do is update the anchor so that it has an extra query string parameter thus: Inventory reference Now, I now that I must do this: $(document)....
Sachin Kainth
1

votes
2

answer

Using `git submodule update`

Let's say I have project_a (git repo), which contains files & another project_b (git repo). project_a --> files --> project_b As the git-scm book demonstrates, I can run: cd project_a git submodule init git submodule update // clones project_b repo specified in '.gitsubmodules' to populate the initi...
Kevin Meredith
2

votes
2

answer

C# Program Update

Hi I have a c# project in visual studio 2010 and Im wondering how to do the following I have deployed this project already to a tester. It uses a SQL database in the backend. When I published a new version and sent him the new installer he had to remove the old version first which in turn removed hi...
Brandon
3

votes
1

answer

Client application update

I'm developing client-server application by using .Net, C#, WCF, WPF. And now I need to implement client applications update process (client dll's). Could someone suggest some good pattern for this?
Marat Faskhiev
2

votes
4

answer

Partial UPDATE command

I want to execute UPDATE command over a group of records, but it fails, because some records after the update would violate an table constraint. Is it possible to update only suitable records somehow?
3

votes
1

answer

Update UADetector resources

UADetector last version is from Nov 2014, it's uses a XML file uas.xml which contains all the User-Agents known to him. The latest obviously doesn't recognize Edge browser, and categorize it as Chrome. The format of uas.xml for example - 2 0 SeaMonkey seamonkey.png /list-of-ua/browser-detail?browse...
Karnimrod
2

votes
2

answer

Error creating update procedure

I am currently working on an update procedure. I have checked other stack posts, and Youtube, but I can't seem to run the code. Here's one code that I have found and tried to make it work: UPDATE db_owner SET Street = ISNULL(@Street, street), WHERE Street = @Street I get these errors: Invalid obje...
Trush Patel
2

votes
1

answer

self.scene.view.paused = YES within update

I am making a game in which when 2 objects (object A and B) collide, the game gets over. Object A's position changes each time update is called. Object B's position is the same. The code is: [self enumerateChildNodesWithName:@'objA' usingBlock:^(SKNode *node, BOOL *stop) { if ([objB intersectsNode:n...
user3529575
2

votes
3

answer

JQuery form update listener

I want to trigger a javascript function when one of the elements in a specific form has been changed. Is this possible using jquery? Does anybody has an example how to do this?
Fortega
2

votes
5

answer

Update composer.phar on Openshift

I have an application written in PHP using Fuelphp 1.6.3 and want to deploy it on Openshift As the framework required composer, when I access my app at http://audit-manhthang.rhcloud.com/public/, it showed the error Composer is not installed. Please run 'php composer.phar update' in the root to ins...
Thang Nguyen
2

votes
1

answer

Draw and update PictureBox

I created a simple example,to draw on image which assigned to a Picturebox. I handle the MouseDown and MouseUp events, getting the current mouse position,and drawing a line in the end of a MouseUp event. private void Form1_Load(object sender, EventArgs e) { Bitmap image = new Bitmap('myImage.png');...
Slashy
7

votes
1

answer

Dart pub update failed

I am getting the following error when trying to do a pub update to get the web_ui package installed. Dart Editor version : 0.2.10_r16761 Dart SDK version : 0.2.10.1_r16761 The 'Help > About > Check for Update...' also gives me 'Unable to get latest revision'. Is it a proxy problem maybe? Is there a...
Geert
2

votes
1

answer

Meteor .versions file update

I am developing a small meteor package, and I know that, to be consistent with the builds, meteor will create a .versions file in my package when I publish it. That's fine, and I understand that, but, as the .versions should go in my version control (git) and I would like to commit the release befor...
Oliver
2

votes
1

answer

Doctrine 2 flush update

I want to update an entity with Doctrine. To remove or add, I have no problems, just to update. To do this I use the following code: $type = $app['em']->getRepository('\Model\Type')->find($id); $type->setCode('C2'); $app['em']->persist($type); $app['em']->flush(); echo $type->getCode(); // I get 'C...
Melodies
3

votes
1

answer

Core Data batch update

I am trying to run a batch update on selected objects in my Core Data database (SQLite) but my request returns 0 items updated (no error message). My entity 'SDRDFileObject' has a property selected (Bool in my model), which I want to set to NO for all objects satisfying my fetch predicate: NSPredica...
Trond Kristiansen
2

votes
2

answer

Update MySQL (using regexp?)

I would like to update values which look like 'someSubdomainInfo.mydomain.com' to 'mydomain.com' (the .com is just an example, I'd like to catch everything else - basically clean the subdomain info) Thought of using ^([a-z].*.)?([a-zA-Z0-9_-].[a-z]) as RegExp (missing domain that start with a digit,...
ranshe
13

votes
3

answer

android ArrayAdapter items update

I have ArrayAdapter with this items structure: And add this adapter so: mAdapter = new ArrayAdapter(this, R.layout.item, R.id.itemTextView, itemsText); All is fine but I want to update text in adapter's items. I found a solution mAdapter.notifyDataSetChanged(); but do not understand how to use it....
Leo
7

votes
4

answer

Composer auto self-update

It is frequently that every 30 days I will get this warning message: Warning: This development build of composer is over 30 days old. It is recommended to update it by running 'composer.phar self-update' to get the latest version. Then, I have to repeatedly do the update every 30 days. Is there anyw...
user1995781
3

votes
1

answer

Drupal failed after update

I just updated Drupal core from 7.4 to 7.26. After running update.php site stopped working – both public and admin part. When I load it fatal error occurs: Fatal error: Call to undefined function _system_default_theme_features() in /[drupal_path]/includes/theme.inc on line 1422 and when I reload i...
mszostek
4

votes
2

answer

activerecord find and update

Is there a method find_and_update method on ActiveRecord::Base that will basically find a record by it's id and update a given key? This will avoid having to query and then update resulting in 2 queries instead of 1. Thanks
0xSina
2

votes
1

answer

Meteor update timestamp

I've successfully implemented a 'created' time stamp using the UMFAQ (pronounced um-fack), but I can't get the 'updated' timestamp working (which the UMFAQ alludes to but does not provide a code sample for). Here's my code: Posts.deny({ insert: function (userId, doc) { doc.created = new Date(); // t...
kevinharvey
18

votes
3

answer

Android - Update a contact

I'm trying to update a contact of my phone book directly from my app. I'm able to add and delete the contacts but the update just does nothing! After the insert or when I grab the contacts, I collect the CONTACT_ID (Aka _ID). Here is my code for the update: public void update(Relation r) { Log.e('',...
Manitoba
3

votes
1

answer

SVN post-update hook

I searched on the web for info about how to implement a post-update hook in my local machine but i didnt found anything! In particular I would like to fire that hook after I update my svn copy from PHPStorm 3.0. I wrote a phing build.xml that will handle a task that i want to be performed after the...
oloN3rd
3

votes
3

answer

Google tasks update error

I am attempting to update a task with the following code: function updtsk(task,id) { var url = 'https://www.googleapis.com/tasks/v1/lists/@default/tasks/'+id; var req = { 'method': 'PUT', 'headers': { 'Content-type': 'application/json' }, 'body': JSON.stringify(task) }; var addDone = function(resp,...
jbills
3

votes
2

answer

sqlalchemy concurrency update issue

I have a table, jobs, with fields id, rank, and datetime started in a MySQL InnoDB database. Each time a process gets a job, it 'checks out' that job be marking it started, so that no other process will work on it. I want a single process with a session to be able to: Find the job with the highest...
lollercoaster
1

votes
1

answer

Django signal post_save update

I have an Article model that has a OnetoOne relationship with a Catalog model. My current functionality has the Article model, on post_save, create a Catalog model with the same name. I would like to do another bit of functionality where the Article FK goes from being null to updating to the now av...
byrdr
2

votes
1

answer

Python Easy_Install Update Report

Is there an easy way to get a report of all Python libraries installed via easy_install that have a more recent version available? I don't want to simply re-run easy_install on a list of known installed libraries, because the newer library might have a non-backwards compatible change. I'd like to ge...
Cerin
2

votes
1

answer

PDO Update not working

Im trying to do a PDO update to mySql database. Its not showing any errors, but neither is it updating the table. here is the code that im using. The user selects the POST value from a drop down list. if (isset($_POST['changeLearningStyle'])){ if (isset($_POST['learning'])){ $var6 = $_POST['learning...
2

votes
4

answer

update then replace dies

If there is a row for user_id then I want to update, if not insert (but I was told to use replace). In the table there is id (which is primary key, auto inc) and user_id (index, session relates to). I have a form that when the data is changed it should be changed in the database for that particular...
user1296762
4

votes
1

answer

Update WCF service reference

In BizTalk 2006 R2, is there some way to regenerate the reference to a WCF service that has been created using the 'Add Generated Items / Consume WCF Service' option? I tried just re-running the wizard, but it creates new ODX, BindingInfo, etc. files, and breaks the solution, so that's not the way...
SteveC
2

votes
2

answer

Extension Doesn't Update

This may be a pretty dumb question. I have Qliksense 2.0.1 desktop installed. I am creating an extension object. However, any updates I make in the .js file are never visible. I can make a change in the .qext file and those are visible. This stands true even after closing and opening Qliksense deskt...
SwolleyBible
5

votes
2

answer

Update posts using knit2wp

I have been able to successfully post to WordPress using knit2wp, even with images. Even possessing such talent, I am not infallible. Indeed, even the above took some work. I'd like to be able to update posts later. Apparently, the RWordPress package allows for deletion of posts, but that doesn't h...
roffe
6

votes
1

answer

ElasticSearch Nest Insert/Update

I have created an index in elastic using the following query: PUT public_site { 'mappings': { 'page': { 'properties': { 'url': { 'type': 'string' }, 'title':{ 'type': 'string' }, 'body':{ 'type': 'string' }, 'meta_description':{ 'type': 'string' }, 'keywords':{ 'type': 'string' }, 'category':{ 'typ...
Andrew Walters
3

votes
2

answer

update config.php with variables

I have this php setup of writing a config file directly and i would like to update the variable in the file instead of writing the whole file. Can anyone point me in the right direction? $allowedExts = array('.jpg', '.jpeg', '.gif', '.png'); $extension = strrchr ($_FILES['logoFile']['name'], '.');...
dexter4000
3

votes
4

answer

Update tuple in list

Ok, so I want to do something like: if title and articleNumber in listOfData: listOfData[articleNumber].update(title, articleNumber, None, oldvariants + variants) else: listOfData.append((title, articleNumber, None, variants)) I realize that the syntax is not correct, but since I don't know what I w...
Viktor Mellgren
4

votes
1

answer

Update Bootstrap Popover Content

I'm trying to create an indicator that pops over whenever the input text is focused. The content of the popover is html. JS $('.validate').popover({ html : true, trigger : 'focus', content : function() { return $('#popover-content').html(); } }); On Change $('.validate').change(function() { var eval...
Kevin D.
2

votes
3

answer

jquery spservices update listitem

i'm trying to update a listitem using jquery spservices. everything is working but when i try to add a href to a richtextfield it doesnt work. it only updates plain text not the href. below is code, it's just a test so those urls are for testing. function fn_UpdateListItem(){ $().SPServices({ operat...
user1652050
2

votes
2

answer

Vue.js component model update

Im absolutely new in Vue framework and I need create reusable component with live BTC/LTC/XRP price For live prices Im using Bitstamp websockets API. Here is example usage with jQuery - run this snippet, is really live. var bitstamp = new Pusher('de504dc5763aeef9ff52') var channel = bitstamp.subsc...