Is there a system column - timestamp - in Oracle table to determine when was it changed last time?
I would assume there must be one to let mat views pull changes only ...
Hey guys,
I have an Iqueryable that is populated from the database and then converted to an Array.
That works fine.
The issue is when I only have 1 element in the Array. I try to use the 0th element and it says "ArrayOutOfBoundsException". When I have 2+ elements in the array and pull elements 0 and 1 it works fine.
What gives?
Hi, if I have a input with new lines in it like:
[INFO]
xyz
[INFO]
How can I pull out the xyz part. I tried a pattern like /^\[INFO\]$(.*?)$\[INFO\]/ms, but perl gives me:
Use of uninitialized value $\ in regexp compilation at scripts\t.pl line 6.
I've been trying things to get interpolation to stop like using qr// but alas, no love.
Is it possible to monitor a page's AJAX calls via cURL in PHP? For example, if I connect to a website that uses lots of AJAX to pull content, can I connect to the site via cURL, have it wait a couple of seconds until the AJAX requests are done and analyze the request that the site made?
NSIS has a Name variable that you define in the script:
Name "MyApp"
It defines the name of the installer, that gets displayed as the window title, etc.
Is there a way to pull the .NET Version number out of my main EXE and append it to the Name?
So that my installer name would automatically be 'MyApp V2.2.0.0" or whatever?
Hi,
I'm currently integrating facebook into my current app and I've succeeded in retrieving the access_token using the following code:
url="#{url}?#{client_id}&#{client_secret}&#{code}&#{redirect_uri}&type=client_cred"
agent = Mechanize.new
page = agent.get(url)
The page object above has a body which contains text something along the lines of
access_token=XXXXX
I just want to pull out the access_token value. I can get the entire string simply by writing:
page.body
But I was wondering is there a way to get the access_token value without resorting to regular expressions etc?
Thanks.
Hi I am Trying to use trace viewer
by
Debug.startMethodTracing("sampletrace");
Debug.stopMethodTracing();
And I pull the sampletrace to a folder from sdcard.
When I try view the tracefile using the following command.
D:\Android\android-sdk-windows\toolstraceview D:\trace\sampletrace.trace
it is showing the following line
Key section does not have an *end marker
Can anybody please explain what is this?
I'm looking at using the JasperReport Web Services to create user specific reports. As opposed to getting a user to supply the name of the user to use for the query (and therefore expose a risk of users viewing each others data), I'd like within JasperReport to pull out their identity from their (Basic) authentication details from the web service run report call and then use their user name as a query parameter when running the report. Is there any documentation or examples on how this can be achieved?
Hi,
I have 2 branches in my hg repository:
1. default
2. new-feature
I tried following this: http://mercurial.selenic.com/wiki/NamedBranches,
I switch back to default by 'hg update -c default'
but how can I merge my commits in 'new-feature' to 'default'.
I did "hg pull new-feature", it said "repository new-feature not found"!
Thank you.
How do I check the date and time of the latest git pull that was executed? I frequently need to know when the code changed on a server when something goes wrong.
Thanks! Chirag
So I don't consider myself a novice at MySQL but this one has me stumped:
I have a message board and I want to pull a list of all the most recent posts grouped by the Thread ID.
Here's the table:
MB_Posts
-ID
-Thread_ID
-Created_On (timestamp)
-Creator_User (user_id)
-Subject
-Contents
-Edited (timestamp)
-Reported
I've tried many different things to keep it simple but I would like help from the community on this one.
Just to kick this out there...this one does not work as expected:
SELECT * FROM MB_Posts GROUP BY Thread_ID ORDER BY ID DESC
I have a directory with around 15-30 thousand files. I need to just pull the oldest one. In other words the one that was created first. Is there a quick way to do this using C#, other than loading them into a collection then sorting?
Thanks
I have a directory with around 15-30 thousand files. I need to just pull the oldest one. In other words the one that was created first. Is there a quick way to do this using C#, other than loading them into a collection then sorting?
Thanks
Any one suffer from programmer’s block, if so how do you kick start your brain again? I’ve been working on a project since I returned from two weeks holiday, it’s a piece of cake to finish but I’ve done everything but pull my finger out and finish the damn thing.
I am using a dataset to pull data from a DB. One of the fields in a row is NULL. I know this. However, the following vb.net code throws a StrongTypingException (in the autogenerated get_SomeField() method in the dataset designer):
If Not IsDBNull(aRow.SomeField) Then
'do something
End If
According to documentation and this question it should be fine.
edit: If aRow.SomeField is DBNull.Value Then also returns the same error. Argh.
about = new JMenuItem("About");
about.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_A((Toolkit.getDefaultToolkit().getMenuShortcutMask()))));
JMenu help = new JMenu("Help");
help.add(about);
I was wondering why my aaccelerators were not working. I am running this in snow leopard with JavaSe-1.6 VM. They do work if I pull the menu down then try the key sequence. Thanks
On my Magento homepage, I'd like to include a link to a few categories, along with their respective Category images. Obviously, I could manually link to the images, but it seems like it would only make sense there is a way to automatically pull the Category image along with the link. Help?
Is there a way to use an iframe or some other method of showing a named div from another website?
I want to pull in some data from a government website into a google map and when they click the point I want the information from one of the divs on that page to display.
Does anyone know of a Webmail Contact List Importer scripts (ColdFusion, PHP etc) like those used on Twitter and LinkedIn ? I've found some but they are paid for and I want some more bespoke & open.
To clarify a little more I'm not looking for a way to process .csv files :) I'm looking for a bit of code that can logging into gmail, yahoo mail, hotmail, aol and pull out the users address book.
I need to hide an element on the page using greasemonkey before it loads (so that it's never visible).
At the moment I'm @requireing jQuery 1.3.2 which I'm reasonably familiar with, but I'm unsure how it interacts with greasemonkey so I don't know how to pull this off!
Many thanks,
JP
I have a script im writing. Here is whats happening. There is a while loop. In the while loop is a variable which is constant to X. How do i make X change from line one, line two, etc for each cycle of the while loop and pull X from a .txt file. Everything is in root. Thanks
Hi All,
When I try to pull a report in Crystal Reports 2008, it gives me error that says Physical database not found in the Report Viewer. As I am new to Crystal reports, could you please explain me how to solve this error
There is a master subversion repository that I've cloned a git repo from. I've got a lot of ignored files in my .gitignore that I'd like the svn repository to know about.
I know that I can use git svn show-ignored to pull the ignored list from subversion, but how can I do the reverse? Send a list of files to be ignored back to the svn repo?
Git version (and git-svn is at the same version):
git --version
git version 1.7.0.5
When I select a running instance and click the "instance actions" pull-down, the option to bundle the image to an S3 bucket is grayed out. Why would this be?
See here:
http://skitch.com/eoligarry/dnr7n/aws-management-console
I am signed up for S3, and this is not a windows instance.