I'm looking at using Sphinx / reStructuredText for documentation, and it looks very promising, except tables look like a pain to do. Is there an editor that can help?
Hi, I use ViM's :highlight CursorLine to change bg color on the current line. But sometimes is the text not readable. I would like a highlight that could only change bg color for the whole line except the text (counting the spaces/tabs in between chars as text). Is it doable? If yes, how?
Thanks ;)
Hi,
I was looking up how to create a view programmatically and found the following example code:
self.view = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 320, 480)];
This works great, except I don't like that it hardcodes the size of the screen. Is there a way to look up the size of the screen? An important point someone brought up is that if the app is running during a phone call then the screen will be slightly smaller because of the green "return to call" bar.
I'm new to asp.net and now following through the http://nerddinnerbook.s3.amazonaws.com/Part1.htm howto.
All is fine except of when code is falling with exception i see
Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053
but at project properties 3.5 is selected.
what is wrong and how to fix it?
ps: i'm running code directly from VS2008 (by pressing ctrl+f5) without any dedicated IIS.
Hey,
I've been looking at MSDeploy recently, specifically this presentation here.
http://www.hanselman.com/blog/WebDeploymentMadeAwesomeIfYoureUsingXCopyYoureDoingItWrong.aspx
Everything has been going fine till now except I'm trying to find the Deploy/Export Applications within IIS and they don't seem to be present.
I'm presuming there needs to be some option turned on so I can see them but I'm damned if I know what.
I have got the web deployment tool installed
Thanks
Hi, i'm trying to hide the post titles using this plugin http://mtekk.weblogs.us/code/breadcrumb-navxt/ so i want to show the full breadcrumbs always, except when entering to a post, in there, i just wanna hide the post's title, i find it's code kind'a confusing, i managed to hide the "current page title" but not the "post title" only specifically... anybody with any experience on this?...
My master page has a contentplaceholder in the head tag.
Because I want my page's title to represent the function of the current page and because I want the title to be translated in the user's language I have added a title tag in the page's head's contentplaceholder. All jolly and good except that now there appears a second, empty title tag that off course isn't valid.
Any ideas how to solve this?
I'm using Selenium to unit test my Perl cgi script and all works fine except in one case where my cgi script returns XML content to the web browser instead of returning HTML content.
I'm new to Selenium and only pasted in their sample script to get started, but I can't seem to find a Selenium command in any of the documentation that will recognize that my XML response has been returned. The Selenium commands seem to assume that an HTML page is always being returned.
I have a pretty generic 64bit driver based on bulkusb.sys in WDK. It's been working for years with an embedded program, but now it is needed to work on Vista 64.
From all the documentation I've tried to look through there doesn't seem to be anything affecting it, except compiling it for the 64bit environment, and yet when I compile it with the AMD64 build environment, I get "driver not intended for this platform" error message when it's trying to open the sys.
What could be the solution for this?
Hi, i have two applications (server and client), that uses TQuery connected with TClientDataSet through TDCOMConnection,
and in some cases clientdataset opens about 300000 records and than application throws exception "Temporary table resource limit".
Is there any workaround how to fix this? (except "do not open such huge dataset"?)
update: oops i'm sorry there is 300K records, not 3 millions..
I have a MS Reporting Services subscription implemented which emails out a CSV report as an attachment. The email is received with the attached CSV file no problem, EXCEPT for users with Lotus Notes.
With LN users the contents of the csv file are embedded in the body of the email.
Any suggestions on this?
I've wrote a PHP script to export a Foxpro database to other formats by using ADODB (http://phplens.com/lens/adodb) library to access Foxpro OLE DB provider.
Everything worked fine except the date fields are mangled and become like these:
11/17-/2-00
3/4/-20-08
By comparing to actual data I can guess that it is probably in the format of MM/DD/YYYY or m/d/YYYY.
How can I properly export the date field?
I'm trying to use the MPMediaPlayback protocol's currentPlaybackRate() to slow down a video. I'm confused though as the class MPMoviePlayerController states that:
You can control most aspects of playback programmatically using the methods and properties of the MPMediaPlayback protocol, to which this class conforms.
Except just above in the header here: http://developer.apple.com/iphone/library/documentation/MediaPlayer/Reference/MPMoviePlayerController_Class/MPMoviePlayerController/MPMoviePlayerController.html it doesn't seem to.
All I want to do is slow down the playback rate for a video.
I have an initial migration that sets up two tables (users and projects), with a relationship (innoDB).
$table->foreign('user_id')->references('id')->on('users');
I have two Eloquent models set up, blank except for the relationship:
return $this->has_many('Project');
Do i definitely need to tell eloquent about the relationship in the models and the database? I'd assumed something as comprehensive as Laravel would infer it from the Schema? Is there something I'm missing?
My Word 2007 spell-check seems to work fine, except that when I paste in text from somewhere else, it won't detect any misspellings in that pasted text...no matter what I try.
If it makes any difference, when I paste in text, the formatting is preserved (size color etc).
Any ideas on what to try?
Hi,
I'm writing a C# program to get FoxPro database into datatable everything works except the memo field is blank or some strange character.
I'm using C# .Net 2.0.
I tried the code posted by Jonathan Demarks dated Jan 12. I am able to get the index but i don't know how to use this index to fetch the data from memo file.
Pleaese help me.
Thanks
Madhu
I have reasonable experience to manage my own server, so gogrid style management is not a problem. But seems mosso is a tag cheaper somewhat- except the very difficult to access compute cycles terms. Anyone could share about this would be very welcomed.
Hi,
I'm using junit/eclemma; it works great, except I'd like to instruct eclemma to ignore certain methods or classes. For example, how would i instruct eclemma to ignore getters/setters.
Thanks in advance!
How can I build a function
slice(x, n=2)
which would return a list of vectors where each vector except maybe the last has size n, i.e.
slice(letters, 10)
would return
list(c("a", "b", "c", "d", "e", "f", "g", "h", "i", "j"),
c("k", "l", "m", "n", "o", "p", "q", "r", "s", "t"),
c("u", "v", "w", "x", "y", "z"))
?
I want to execute a command, have the output of that command get gzip'd on the fly, and also echo/tee out the output of that command.
i.e., something like:
echo "hey hey, we're the monkees" | gzip --stdout > my_log.gz
Except when the line executes, I want to see this on standard out:
hey hey, we're the monkees
I'm trying to use doctests with django-nose. All my doctests are running, except not any doctests within a model (unless it is abstract).
class TestModel1(models.Model):
"""
>>> print 'pass'
pass
"""
pass
class TestModel2(models.Model):
"""
>>> print 'pass'
pass
"""
class Meta:
abstract = True
pass
The first doctest does not run and the second does. Why is this?
My first employee's sub-contracting trial phase has gone extremely well. They become a full employee (programmer) next week.
What are some non-obvious elements that should be included in the employment contract?
I want the agreement to be as fair as possible to both the company and the new employee.
Specific details:
40 hrs per week, except one 50 hour week per month
Employee is Local
Telecommuting allowed under certain circumstances already (as security allows)
Benefits: 2 weeks paid vacation, full medical, year-end bonus
Thanks
I'm using twilio as for a mobile verification mechanism, I have no prior experience in using twilio but looking at the sample PHP code I used this one in my code but apparently it's giving me an 400 Bad request HTTP error. Here's the code:
d = {
'TO' : '*** *** ****',
'FROM' : '415-555-1212',
'BODY' : 'Hello user, please verify your device using this code %s' % verNumber
}
try:
print account.request('/%s/Accounts/%s/SMS/Messages' % \
(API_VERSION, ACCOUNT_SID), 'POST', d)
except Exception, e:
return HttpResponse('Error %s' % e)
verNumber is randomly generated and the receiver's number is validated in twilio.
Thanks.
Hi
I've implemented a search using the TFindDialog on my form. Everything works well except that I cannot find a way to mimic the "F3 - Find Next" behaviour as in Notepad. Once you have entered a search string, pressing F3 finds the next instance without opening the search dialog.
Regards, Pieter.