I have a blog, that is update pretty often. I like, while on the road to be able to use my blackberry or any eepc to prepare my post, review it, and send and email to somewhere that will be able to update my blog
three solution come to my mind
offline blog, edit and resync when return (not super good)
send email, update blog with blac...
I am in the process of configuring a production web server running Debian 5.0. How do you keep an apt-based distro up to date. Is there any best practice or magical ways of doing it? Logging in via ssh and running apt-get upgrade manually seems unrational.
EDIT:
After some discussion in the comments I am now deciding to upgrade the serv...
Hello all.. I have the following code I use to insert form data into a single table in my db.`
function insert_interests($uid, $interests) {
/* first, we'll delete any entries this user already has in the table */
purge_lookup("jss_users_interests_table", $uid);
/* now create the sql insert query */
global $db;
$db->query(create_chec...
Hi!
I'm trying to update my current project from 1.7 to 1.8. What do I have to change so that it does not break?
...
I am performing a standard update in nhibernate to a single property. However on commit of the transaction the sql update seems to set all fields I have mapped on the table even though they have not changed. Surely this can't be normal behaviour in Nhibernate? Am I doing something wrong? Thanks
using (var session = sessionFactory.OpenSe...
A list of every update and hotfix that has been installed on my computer, coming from either Microsoft Windows Update or from the knowledge base. I need the ID of each in the form of KBxxxxxx or some similar representation...
Currently I have:
const string query = "SELECT HotFixID FROM Win32_QuickFixEngineering";
var search = new Manag...
Hello,
I have a combobox bound to a database table.
When the user inserts a new piece of data into the table, I want the combobox to be automatically updated to display this data, however I am unsure of how I would go about doing this.
Help would be greatly appreciated.
...
I have multiple combo and option boxes whose visibility is set true or false depending on user selection of other parent option boxes.
I am using the AfterUpdate() function for the parent option boxes. This method has been working fine.
However when I set the values of the option boxes in VBA code (Me.MyOptionBox = 1), there is no "...
I have a generic question that I will try to explain using an example.
Say I have a table with the fields: "id", "name", "category", "appearances" and "ratio"
The idea is that I have several items, each related to a single category and "appears" several times. The ratio field should include the percentage of each item's appearances out...
def update
@album = Album.find(params[:id])
if @album.update_attributes(params[:album])
redirect_to(:action=>'list')
else
render(:action=>'edit')
end
end
A Rails 1.1.6 tutorial that I'm covering recommends using the update_attributes method for updating a model, as in the example code from my controller listed above. L...
I want svn update to overwrite my local file with the files from the server, even if my local files have modifications, I want to throw them away and use the version that's on the remote repository.
How do I do that? I tried svn update --force but it doesn't work.
Update:
Thanks for the answers, so I'm using revert like this:
svn rev...
I removed a file in my local Git repo.
I want the file back by updating my Git repo.
I run the following unsuccessfully
git pull
It says upToDate, but I did not get the newest file.
The public repo at github does not use SVN, so the problem cannot be SVN.
How can you update your local Git repo, such that you get your removed File ba...
Hi!
I have two tables t1 and t2. i have created two triggers tr1 after insert on t1 and tr2 after update on t2. in both the tables i m updating table t2. so, it is throwing an error saying the t2 table is already getting updated in another trigger so can not update it again.
Please let me know if anyone has faced this type of problem a...
Hi,
I just unzipped the eclipse ganymede (eclipse 3.4.1) zip file (basic platform) and tried to install Webtools (WTP) via its update site. But it reports an error like ..
Cannot complete the request. See the details.
WST Common UI is already installed, so an update will be performed instead.
WST Common Core is already installed, so a...
Hi folks,
i have two tables.
BoardPosts
BoardPostId INT PK
ModifiedOn DATETIME NULLABLE
BoardComments
BoardCommentId INT PK
BoardPostId INT
CreatedOn DATETIME
A board post has zero to many comments.
I wish to set the ModifiedOn field to be the most recent comment date, if the board has a comment. Otherwise, just leave it null.
How...
I have 1 million rows in MySql table "temp" and wish to multiply column "t" (int unsigned, indexed) by 1000.
mysql> update temp set t=1000*t;
This process takes 25 seconds. The same statement on not-indexed column takes 10 seconds;
Any ideas how to make this process faster? I have to apply this on over 1e5 tables.
...
How do i update mysql database with ajax and php with no page refresh
...
If my computer is the web server for multiple live websites, is there any harm if i type ipconfig/dnsflush in my command prompt editor??
I always got this problem. I embed a flash (swf) in a .html file. Whenever I update the swf, the .html file always use the old swf even if i clear my cache and what-so-ever.
Or is there any ways to le...
I have a button in the update panel. Another function say function1 is executed in the click event of this button. I want to call a javascript function once the function1 completes execution. How will I know when the function1 has completed its execution?
...
In a part of my data warehousing stored procedures, i have a procedure that compares old project data to new project data (old data is in a table, new in temp table) and updates the old data.
The weird part is that if the old data is null, then the update statement doesn't work. If i add a is null statement the update works fine. My q...