I am developing an iPhone App. How can I add Ad banners in my iPhone Application? Could some one explain how the entire system works?(revenue collection). Please some one give me the full details?
Hi,
I have been searching for a way to stream audio and video for a while. I could find some explanations but not a full tutorial on how to do it. Can anyone please provide a way to do it. Tutorials or sample codes will be very helpful...
I'm having a problem where when I resize the screen vertically, the footer overlaps the content areas.
Any ideas?
http://pastie.org/865844
pastie.org/865845 --- not full link because new users can only post one hyperlink
More than a question, per se, this is an attempt to compare notes
with other people. I wrote a generic History class that emulates
the functionality of a browser's history. I am trying to wrap my
head around how far to go when writing unit tests for it. I am
using NUnit. Please share your testing approaches below.
The full code for the History class is here (http://pastebin.com/ZGKK2V84).
I'm practicing my knowledge of ADTs by implementing some data structures, even if most already exist. With Stacks, a lot of books and other documentation I've read talk about the stack throwing an error when you try to add an element but the stack is full. In a java implementation (or any other), should I specifically keep track of a maximum stack size (from constructor), check to see if that size is reached, and throw an overflow exception if it is?
Or is not such a big deal?
Hi!
Is it a common thing for bigger applications and databases to GZIP text data before inserting it to the database?
I'll guess that any full-text search on the actual text field will not be working before unzipping it again?
Thansks
I want to list software architectures from which were used in history to which are using now. As far as I know, they're client-server, cloud-computing,...But I cannot get a full list of them. Can you please give me this:
Software architecture, years active, architecture that replaced it and the reason of replacement.
A little detailed explanation will be much appreciated.
Thank you so much.
Hi,
my problem is that my full tables and text are coming about 15 cm away from left side,
so my text has very little space on right side, about 3 cm.
How can I change my text and tables to start from 5 cm away from left and 5 cm before right side?
\documentclass[a4paper]{article}
\usepackage{graphics}
\usepackage{color}
\usepackage{hyperref}
\usepackage{multirow}
\usepackage{longtable}
\usepackage{fullpage}
\usepackage[pdftex]{graphicx}
\usepackage{fancyhdr}
\oddsidemargin 0cm
\evensidemargin 0cm
\pagestyle{fancy}
\renewcommand{\headrulewidth}{0.0pt}
\lfoot{%(full_name)s/%(emp_id)s/\thepage}
\cfoot{}
\topmargin -2.5cm
\parindent 0cm
\textheight 27.5cm
\parskip 3mm
\begin{document}
\fontencoding{\encodingdefault}
\renewcommand{\familydefault}{\sfdefault}
\fontshape{\shapedefault}
\selectfont
Thanks
I would like to subclass UIButton so I can give it a fill image, left side image and right side image which I can't do in IB.
All I can do in IB is give it a full background image which would mean the background would get stretched if the text was larger than the image. How would I do this? as unlike NSButton, there is no UIButtonCell class.
I want to get the "free memory" of a bunch of servers like this:
def get_mem(servername):
res = os.popen('ssh %s "grep MemFree /proc/meminfo | sed \'s/[^0-9]//g\'"' % servername)
return res.read().strip()
since this can be threaded I want to do something like that:
import threading
thread1 = threading.Thread(target=get_mem, args=("server01", ))
thread1.start()
But now: how can I access the return value(s) of the get_mem functions?
Do I really need to go the full fledged way creating a class MemThread(threading.Thread) and overwriting __init__ and __run__?
I recently downloaded IMDbpy moduele..
When I do,
import imdb
help(imdb)
i dont get the full documentation.. I have to do
im = imdb.IMDb()
help(im)
to see the available methods. I dont like this console interface. Is there any better way of reading the doc. I mean all the doc related to module imdb in one page..
Hello I wanted to know which event determines if a external video is loaded (using Action Script 3, Flex SDK 3.4 compiler and FlashDevelop -VideoEvent is not present here-).
I'm using a flash.media.video component
I've tried with NetStatusEvent.NET_STATUS and "NetStream.Buffer.Full" but it does not seem to work.
Thank you.
Is it possible to use the Clipboard class to grab all the data from the clipboard, like full skype quotes? They use some kind of metadata I think, which is how it knows when something is a quote or not.
How can I access that from the Clipboard class? What functions would I call to set/restore Skype quotations?
Thanks for the help!
I have an odd behavior with code clean up for c# in visual studio 2008 Team Developer Edition. Whenever I clean up my code using "Full Cleanup" it replaces all var declaration with explicit type declarations. But I have set the appropriate settings under "Inspection Severity" "Use var keyword when initializer explictly declares type" and "use var keyword when possible" to "Show as Error"
Is there any other setting I need to set or is this a known bug?
I think that there are something wrong with new RC, when i write
Html.BeginForm("Item", "Newsletter", FormMethod.Post, new { enctype = "multipart/form-data" })
method must render in output something like this:
<form action="/Newsletter/Item" enctype = "multipart/form-data" method="POST"></form>
but instead of that im getting:
<form action="Item" enctype = "multipart/form-data" method="POST"></form>
where my full action path?
I have done everything I know. The file is not a ".filetype.filetype". It is in the same folder as the .settings and the other project files. Why is this not working? Full path isn't working either, but strangely, a Scanner is working.
import java.io.FileReader;
public class test {
public static void main(String[] args) {
FileReader testFileReader = new FileReader("hotels.json");
}
}
I have added C:\Python26\Lib\site-packages\django\bin to my path, I have started a new cmd session in Windows 7, but when I try to do 'python django-admin.py ...' it says there is no file django-admin.py. When I type path, there is the full path to ...\django\bin. This is driving me nuts. Clearly it's there, but it's not working. Any suggestions?
I'm trying to get a site working on IIS7 with classic ASP and having problems. I've created a directory and added both Network Service and IIS_IUSRS with full control. I've also changed the anonymous authentication to the application pool identity, but still no joy. I really have no idea what to try next.
So I have a URL that I need my Flash movie to extract variables from:
example link:
http://www.example.com/example_xml.php?aID=1234&bID=5678
I need to get the aID and the bID numbers.
I'm able to get the full URL into a String via ExternalInterface
var url:String = ExternalInterface.call("window.location.href.toString");
if (url) testField.text = url;
Just unsure as how to manipulate the String to just get the 1234 and 5678 numbers.
Appreciate any tips, links or help with this!
Hello
Can I edit the browser's visited links history?
How can I dump full list of visited sites, or list of pages from some site?
I'm interested in the solution for the most popular browsers: IE7-8, Firefox3, Safari4, Chrome3, Opera9.50+
The best will be solution, which can be scripted in JS+CSS. But plugins or instructions for managing visited links history will be good.
Thanks
I've got a solution which I setup / cleanup using batch files ...
- there are a pair of MSMQ ports, send and receive, with another application on the end of the queues
I'm finding I can't properly stop the orchestration in the batch file ... the error is the send port is unenlisted
- I'm using the StopOrch.vbs script from the SDK samples
But I can go into BizTalk Admin Console and manually stop the orchestration with Full Terminate Ok
The setup / cleanup works Ok if I don't actually push any messages down the MSMQ queues
hi,
I'm using Drupal Lightbox to display my nodes (full content, a sequence of CCK Fields).
However I'm not able to change the height of my lightbox according to the height of the node.
If I set "height:100%" to all Lightbox elements, the lightBox becomes short and the content of the node is not anymore visible.
thanks
Hey,
if I try to connect to a Terracotta server that is currently down by calling net.sf.ehcache.CacheManager.create();, EHCache keeps retrying connection attempts for a full 300 seconds before throwing an exception with this message:
Could not fetch configuration data from the server at 'terracottahost:9510'. Fetch attempt duration: 300 seconds.
Is there any way to modify this time to be maybe 30 or 60 seconds?
Thank you!
So I see that MVC 2 now supports [HttpPut] and [HttpDelete] as well as [HttpGet] and [HttpPost], making it possible to do a full RESTful Web service using it.
I've been using the REST toolkit for WCF for a while and find it fairly powerful, but I'd be interested to find out what (if any) advantages there are using the MVC 2 approach.
Links, war stories, or even pure hear-say are welcome.
I'm comparing a few different approaches to getting some data in mysql, directly at the console, using the SQL_NO_CACHE option to make sure mysql keeps running the full query every time. Mysql gives me the execution time back in seconds, to two decimal places. I'd really like to get the result back in milliseconds (ideally to one or two decimal places), to get a better idea of improvements (or lack of). Is there an option i can set in mysql to achieve this?
thanks, max