instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
I'm trying to style some HTML, generated from Google Calendar, it's something I don't have control off. It's plain simple HTML. This is what I have: <li><a><span class="data">When: gio 27 gen 2011<br /><br />Where: XXXX<br />Event state: confirmed</span></a></li> <li><a><span class="data">When: gio 20 gen 2011<br /...
stackexchange/codereview
I'm using XMLInputFactory to read data (sql queries) from xml file. In some cases, the data is truncated. For example: select CASE WHEN count(*) > 0 THEN 'LX1VQMSSRV069 OK' ELSE 'LX1VQMSSRV069 NOK' END from [PIWSLog].[dbo].[log] is read as (text is truncated after the last '.'): select CASE WHEN count(*) > 0 THEN 'LX1V...
stackexchange/codereview
As a user with little or no experience i have to create a trigger on a table (or find another solution). What needs to be accomplished is that when the value of the column ESB is changed to '1' in another row in the table the column has to be set to '0'. My intention was to use a AFTER UPDATE trigger, to do this. ALTE...
stackexchange/codereview
Early, I have defined custom section in Console application and it works fine. But now I want to move some of functionality to the library. But, unfortunately, I cannot. Because now my custom section was defined as null. The simple console application include next code: namespace ConsoleApplication1 { class Progra...
stackexchange/codereview
I am trying to check if a string ends in "@something" and extract "something" from it if it does. For example, I am trying to do something like this: string temp = "//something//img/@src" if (temp ends with @xxx) { string extracted = (get "src"); ... } else { ... } How can I accomplish this?
stackexchange/codereview
I've a program working as client and server. I'm using wcf services with BasicHttpBinding and the program is running in a console application. When i moved the code to a windows forms application, everything stops working. When the client side invoke one operation, it doesn't returns. When some operation on server si...
stackexchange/codereview
Is there any way to change BitmapImage size in code? (Silverlight)
stackexchange/codereview
I am parsing Json Data into an NSDecimalNumber as follows product.Price = [NSDecimalNumber decimalNumberWithDecimal:[[jProduct objectForKey:@"Price"] decimalValue]]; This is in a loop with each product being added to an array. At the end I release the json object. If I Log the value of product.Price during the loop th...
stackexchange/codereview
I'm successfully debugging this script in Intellij: println "a"; println "b"; But, when trying to debug the following script, my breakpoints aren't hit public class Main implements Runnable{ public Main(String[] args) { println("A"); // breakpoint println "B"; } void run() { println "C"; // breakpo...
stackexchange/codereview
when I try to run [self setNeedsDisplay:YES] in my ViewController it crashes with unrecognized selector sent to instance... is there something I'm doing wrong? I'm using: -(void) drawRect: (CGRect)rect { ///code... }
stackexchange/codereview
I am using VS2008 setup project to build our msi installer. I have moved some dll files from the default location (root folder of the installation) to a custom bin directory. I think I need to set path in somewhere (registry?) to tell the application the new loation of those dll files. How to do this? thanks,
stackexchange/codereview
I have just spent a couple of hours trying to represent the decision tree for the quicksort algorithm on a set of elements (and I also searched the web). I would like to know what each node actually represents. Is it the comparison between two sets (resulting from the call to Partition)? or just the comparison between ...
stackexchange/codereview
Basically i have: <div class="wrap"> <div class="sum"> little text </div> <div class="content"> long<br/> long<br/> long<br/> long<br/> long<br/> long<br/> long<br/> text </div> </div> <style> .wrap{ height:100%; overflow:hidden; background:green; } .sum{ float:left; height:100%; background:yellow; } .content{ float:l...
stackexchange/codereview
<MenuItem Header="Flag(s)" ItemsSource="{Binding Path=LineItemFlags}" Command="{Binding AssignFollowupCommand}"> <MenuItem.ItemTemplate> <DataTemplate> <TextBlock Text="{Binding FlagName}"> </TextBlock> </DataTemplate> </MenuItem.ItemTemplate> </MenuItem> For the par...
stackexchange/codereview
Is it enough to session_start(); // Must start a session before destroying it if (isset($_SESSION)) { unset($_SESSION); session_unset(); session_destroy(); } when the user selects Log out from a menu, but does not quit his browser? I want to totally remove all existence of the session and $_SESSION
stackexchange/codereview
I am trying to calculate the angle of movement for a sprite in C++. Although at the moment I am just using the console to output my results. My problem is that when My results are shown in the console, I cannot get the x axis to go into minus numbers. Unfortunately I have only just learned about basic trig so I have no...
stackexchange/codereview
From times to time when PC restarts, some dll from the GAC are removed. I am sure it's not a manual operation. How can I find how and when the dll are removed ? NB : after each restart, I manually add the dll by drag and dropping them to C:\WINNT\assembly
stackexchange/codereview
I have the following axis labels and legend. plt.ylabel("ratio_2") plt.xlabel("n_1") plt.legend(('alpha_1','alpha_2' ), loc = 'best',shadow = True)
stackexchange/codereview
Possible Duplicate: How do I calculate relative time? I would like to use asp.net c# to calculate the timespan for when a file was uploaded. Example, if i uploaded a file two weeks ago my text will say 'uploaded 2 weeks ago' or if i have upload a file 4 month's ago my text will say 'uploaded 4 months ago' Can anyone...
stackexchange/codereview
This is a very noobish mistake, but I dont know whats happening here. There are loads of pimpl examples but I dont understand why this isn't working (this was one of the examples more or less but I dont see the difference). I have a very simple Pimpl example, but it wont work. // Foo.hpp #include <boost/scoped_ptr.hpp>...
stackexchange/codereview
Is to possible to generate MXML file using XAML file and vice versa??? Both are based on xml and contains similar type of coding.... So is there a way to convert XAML file to MXML file and vice versa? Thanks in advance...
stackexchange/codereview
I have heard crontab is a good choice, but how do I write the line and where do I put it on the server?
stackexchange/codereview
Suppose I have two tables: Tab1(id, shareid, ....) Tab2(id, shareid, ...) DB was modeled by EF. Then I want to a linq get same result as following sql: select t1.* from Tab1 t1 join Tab2 t2 on t1.shareid=t2.shareID So linq should be somthing like: ObjectContext.Tab1s.Where(...); How to write the linq for this reque...
stackexchange/codereview
I have a Rails 3 app that defines some classes like normal. I am trying to figure out how to reopen one of those classes within a plugin (generated by "rails generate plugin ..."), and have both of the files (the file in the app itself and the file in the plugin) automatically reload on every request in development mod...
stackexchange/codereview
I have dates like - 15-JUL-10 00:00:00 12-AUG-10 23:59:59 24-SEP-10 18:13:18 How do I easily parse these sort of dates and assign to a Date object?
stackexchange/codereview
When I submit the application to app store I get the following errors: 1) Apple's web service operation was not successful 2) Unable to authenticate the package 444.itmsp 3) The filename -23Pop.isa in the package contains an invalid character(s). The valid characters are A-Z (and so on).
stackexchange/codereview
I have a problem when trying get a hash string in c#. I already tried a few websites, but most of them are using files to get the hash. Others that are for strings are a bit too complex. I found examples for Windows authentication for web like this: FormsAuthentication.HashPasswordForStoringInConfigFile(tbxPassword.Tex...
stackexchange/codereview
I'm trying to combine the official jQuery accordion plugin with another JQ plugin called 'GallerificPlus' (Gallerific & Lightbox in 1). Unfortunately it doesn't work for me. The GallerificPlus is the one that doesn't work, the accordion works fine. Firebug reports no errors, so this could be anything. It's really frus...
stackexchange/codereview
I've just noticed that several web application such as gmail, google calendar, zoho writer, etc are implemented using a single page only (not counting the logging form, just the main application) There's no "open link in new tab"(at least the app don't need to open any new page to be functional) and such. What are the...
stackexchange/codereview
Just need to secure the directory with possibly a prompt box or something. Sorry, i am nublariffic.
stackexchange/codereview
I have a regex that will validate to make sure I have a number. but it passed if the string I'm checking is "" as well. how can I make a "" fail? ^(\\d|-)?(\\d|,)*\\.?\\d*$
stackexchange/codereview
my current java code is deployed to the DB and the plsql code calls it and uses it. I need to get the Java code out of the database and still be able to use it. The options I had in mind are: Web services Java Stored Procedures Calling OS command using pl/sql RMI What is your recommendation? please add cons and pros....
stackexchange/codereview
I want to use values of the calling object within the jquery code block, but 'this' is mapped to the jquery object and not eh caller! How to solve this PLEASE? // class myClass = function (){ // member object this._localVars = { _elementClass:'.elem-class', _dots:null, _dotStatus:null ...
stackexchange/codereview
I have buttons that have mouse_over, mouse_out and CLICK events. But when I click the button it takes me to another frame and the mouse_out event tried to fire. How do I stop that happening? act1_btn.addEventListener(MouseEvent.CLICK, act1Pressed); act1_btn.addEventListener(MouseEvent.MOUSE_OVER, act1Over); act1_bt...
stackexchange/codereview
I found some solutions, but they're too messy.
stackexchange/codereview
i'm new to asp.net mvc. I'm displaying data from a linq to sql query but unsure how to render a a list of data in a 2 column table. eg. A list of products. I've seen this example, but wondering if there are any other suggestions - http://haacked.com/archive/2010/05/05/asp-net-mvc-tabular-display-template.aspx. Hence if...
stackexchange/codereview
hi i have a project built with the 4.1 sdk, I dont have that current sdk. So i am going to download it. The thing is on the apple website, it says download xcode 3.2.4 with 4.1 sdk. Can you built applications with xcode 3.2.4? and then can you send it to apple for submission? or will it not go through submission as xco...
stackexchange/codereview
I have this this jquery that loads a success message in a modal: $('#menu_access').load( site_url + sUrl, function() { $(this).dolPopup(oPopupOptions); } ); I want to call this function three seconds after the load: $('#menu_access').dolPopupHide({}); I'm not sure how to go about it. I'm ...
stackexchange/codereview
Can someone confirm how to change the auto-generated connection string for an entity framework application so that it is relative? That is so it will work for anyone who downloads and installs the application. That is, currently the connection string auto-generated for me has an absolute path in it. See below for an...
stackexchange/codereview
I have the following code on the page and it works in FF but not IE. I do not have any access to change this line of html code (like adding an id to better target). Could it be that it doesn't work cause there is no DOC type declared? <td align="LEFT" width="12%" bgcolor="#EEEEEE"><b>Code</b></td> <script type="text...
stackexchange/codereview
I would like to calculate the mean (average) of some numbers. Every value comes from a radiobuttons that is part of a statement. For example: <div class="question_answer"> <div id="statementRow_9" class="clearfix t_a_ui_data_list_content"> <div class="question"> <p>3een tweede edit iets 1 iets 1 iets 1 i...
stackexchange/codereview
I am transitioning a WPF application to the Web using ASP.Net MVC and jQuery. In my WPF application I have a ListView containing thumbnails and captions that looks like this: I need to display something similar in my web-based application. Requirements: User must be able to select items in the list (multiple selectio...
stackexchange/codereview
How can I change the attribute of an element, depending on another attribute? For example, I have 2 <a> elements. They both have the class myClass. One of the elements has rel="1" and the other has rel="2". I wish to only change the z-index on the one which has rel=1. How do I do this? I've tried: $(".myClass[rel='1']"...
stackexchange/codereview
It feels a little wrong to me to be doing Validation in your context which is your data layer. For the data layer to have a dependency on validation seems a little backwards. It makes more sense to me for validation to be done in business logic and once the validation is complete then persist the changes. The data laye...
stackexchange/codereview
for my application, i need to use a hash map, so i have written a test program in which i store some instances of a baseclass in a boost::unordered_map. but i want to reach the instances by calling special functions which return a derived class of the base and i use those functions' parameters for hash key of unordered...
stackexchange/codereview
The custom (editor) templates in ASP.NET MVC 2 make it possible to create re-usable UI components (such as a selectlist, radio button list). Even ajax components are possible. Is there some website where developers can share their custom templates with each other? It seems a bit redudant to write these basic component...
stackexchange/codereview
I am using Microsoft Office Document Image Writer to convert a word document to a tiff file. The problem is that ever time it saves a file it shows it in a preview window. So I like to know if there's a way to prevent it from showing this preview window? here's the code : const string printerName = "Microsoft O...
stackexchange/codereview
How transform str('+') to mathematical operation? For example: a = [0,1,2] # or a = ['0','1','2'] b = ['+','-','*'] c = int(a[0]+b[0]+a[1]) In other words, how transform str('-1*2') to int(), without for i in c: if i == '+': ... Thanks.
stackexchange/codereview
I have a SWF file emedded withing a HTML page. Trying to do a simple operation - go to and play certain frame in SWF using javascript. I'm using ExternalInterface to do this but for the life of me can't get the two to communicate. I add all the code but when clicking on the link which calls javascript, it says my flash...
stackexchange/codereview
Apparently with Snow Leopard, due to rewrite of Finder in Cocoa and removal of Contextual Menu Plugins, it is no longer trivial to do either badging nor contextual menus, however Dropbox seems to both add a contextual menu in the managed folder, and add status badges. Is there an open source project that managed to sol...
stackexchange/codereview
I would like set up a polymorphic relation with accepts_nested_attributes_for. Here is the code: class Contact <ActiveRecord::Base has_many :jobs, :as=>:client end class Job <ActiveRecord::Base belongs_to :client, :polymorphic=>:true accepts_nested_attributes_for :client end When I try to access Job.create(...,...
stackexchange/codereview
I need to fetch the domain name and path from the request to provide the following return values: domain1.com/default.aspx returns domain1.com/default.aspx domain1.com/ returns domain1.com/ domain1.com returns domain1.com At the moment every URL fetch function I try see...
stackexchange/codereview
I've got a long sequence of canvas .scale(), .translate(), .save(), and .restore() commands in my code. Is there any way to retrieve some representation of the current transformation, short of logging everything myself, such that I can find out where a screen coordinate maps to a transformed coordinate. Is this possibl...
stackexchange/codereview
Whats the easiest way to create a web application for tcp server/client or socket? Ive looked at silverlight but im not sure if thats the way to go.
stackexchange/codereview
I'm guessing this is very simple, but for some reason I am unable to figure it out. So, how do you pick a random integer out of two numbers. I want to randomly pick an integer out of 1 and 2.
stackexchange/codereview
I'm calling a custom dialog thusly CustomDialog dialog = new CustomDialog(this); dialog.setCancelable(true); dialog.show(); Now, if I have a bunch of buttons in the dialog, how do I return the user's choice when I dismiss() the dialog?
stackexchange/codereview
I have a ListView that I'm populating with dummy strings right now. It is currently holding 10 items, but the view itself is only large enough to show 5. So the list has to scroll of course. I've built the list using the following code: ListView: <RelativeLayout android:id="@+id/catList" android:layout_width="w...
stackexchange/codereview
Just wondering if the use of POCO's is associated with a particular design pattern.
stackexchange/codereview
As Apple announces the Mac App Store, I'm going to learn Mac programming. I am typically one of those who read the Beginning iPhone 3 Development book before the Cocoa Programming for Mac OS X book. The reason I bought a MacBook was due to the fact that Xcode runs only on OS X. So, what's your tips for an existing iOS ...
stackexchange/codereview
I'm not intrested in compiling for performance but in being able to "compile" a php script in order to carry it on a usb stick or portable hard drive. I think that there may be two way: Portable Apache Portable command line php I undersand that some package such as xampp and so on exists, as well as using the php bin...
stackexchange/codereview
I am trying to download a file from the server but i am getting this error: The process cannot access xxxx the file because it is being used by another process This is my CODE: string fileName="DownLoadFiles"; string filePath = hid_filepath.Value; FileInfo file = new FileInfo(filePath); System.Net...
stackexchange/codereview
lock(dictionaryX) { dictionaryX.TryGetValue(key, out value); } is locking necessary while doing lookups to a Dictionary ? THe program is multithreaded, and while adding key/value to dict. dict is being locked.
stackexchange/codereview
I'm using Symfony 1.4 with the Doctrine 1.2 plugin. I would like to add some function to the Doctrine auto-generated models files (*Base.class.php). Thoses file are normally generated using "./symfony doctrine:build-model" command from the CLI. I know Symfony have a system of skeleton for every file generated from the ...
stackexchange/codereview
On the site I'm currently working on there is a nested unordered list in the sidebar, when an <li> from this list is hovered over, it shows the (previously hidden) child <ul>. This is working fine in all browsers except IE 7+6. In these browsers the popup <ul> displays beneath the <li>'s of the list above. Any idea why...
stackexchange/codereview
I've found a nice python module for sending data to remote servers via HTTP POST called poster. So I've wrote a simple view on my django app to receive and store data and then tried to send some file. Unfortunately even though I've set everything as it was shown in the instruction I'm getting Internal Server Error. Can...
stackexchange/codereview
I want to disable the button press on a 2nd click, so I have this code for the action handler of the button in my android code : // do something when the button is clicked public void onClick(View v) { final Button button = (Button)findViewById(R.id.radio_red); if(button.isPressed()==tru...
stackexchange/codereview
Is there a way to extract email address from an Outlook Distribution list via script? I am looking for a way to extract all the email addresses from a Distribution list and output it to a CSV file.
stackexchange/codereview
I'm developing an iPhone game with Game Center integration. The game is being built as Debug (not release/distribution). On the simulator, Game Center always uses the sandbox properly. On the iPhone device itself, it will go for a few days using the sandbox, then suddenly decide to use the real Game Center servers (whi...
stackexchange/codereview
I'm running Mac OSX 10.6.4 and setting up rails for the first time. I've been following a bunch of guides to get set up, specifically these two here and here. Also, I know this question has been asked before, but nothing has helped me and my circumstances are a bit different. First, let me give you my setup. I've ...
stackexchange/codereview
Confused here, how will pointing nginx to the /public folder make a RoR application run? The public folder doesn't have any of the .rb files in it? Does it somehow access the folders below?
stackexchange/codereview
I have an rss reader app which works perfectly on some feeds, but on others it just displays text and no images. Is it the feed which should be adjusted to publish images or Im sure it is something with the way I read the stream. Why does it work for some streams(shows entire posts, images, videos etc. from e.g. blogsp...
stackexchange/codereview
I am confused between : returning an object (but then the object is copied from the local variable in the function, which consumes memory) returning a pointer (but then you have to remember to delete it, in the calling code, which is weird) returning a reference (but this is not possible because this would be a refere...
stackexchange/codereview
Lets say I have a cck field called foo. It is a text field with php input. Say the php code in foo field results in the value of 1,256 when computed. I need cck field called bar to pick up/obtain/have the VALUE (1,256) of cck field foo. Node XYZ Foo:*some php code* ===>results in value of 1,256 Bar:1,256 If I...
stackexchange/codereview
We have an ASP site using Windows authentication to connect to a SQLServer database. There are three instances of the web site, a Dev environment (located on my Workstation), an UAT environment and a production environment, which are on separate servers. When I access the Dev site (which uses the same DB as the UAT sit...
stackexchange/codereview
I cant seem to get this working properly. I've got two ViewModels. VM1 registers a message with the following code Messenger.Default.Register<PropertyChangedMessage<int>>( this, (action) => DispatcherHelper.CheckBeginInvokeOnUI(() => UpdateOverlayIcon(action.NewValue)) ); VM2 fires the RaisePropertyChanged whe...
stackexchange/codereview
Hello there ok i may be wrong about this and if i am then i am sorry. But is it possible to change the screen with ajax by looking at whats after the "#" in the link. because when im on facebook i know that it is all an iframe yet when the screen changes so does the text after the "#". Is that what is causing the chang...
stackexchange/codereview
I can't understand one problem: Types.hpp: enum SomeEnum { one, two, three }; First.hpp: #include "Types.hpp" class First { public: void someFunc(SomeEnum type) { /* ... */ } }; Second.hpp: #include "Types.hpp" #include "First.hpp" class Second { public: void Foo() { First obj; obj.someFunc(two);...
stackexchange/codereview
What is the difference with hand-coding the <form> HTML v.s. using library to generate the same? Why invent a whole new way of generating form and ask developers to learn new syntax when all of it can be done in plain HTML?
stackexchange/codereview
Consider the code below: <?php class Base { protected $name = "Base"; public function getName() { return $this->name; } } class Foo extends Base { protected $name = "Foo"; } $f = new Foo(); echo $f->getName(); // output: Foo $b = new Base(); echo $b->getName(); // output...
stackexchange/codereview
I've got a Python program that reads from sys.stdin, so I can call it with ./foo.py < bar.png. How do I test this code from within another Python module? That is, how do I set stdin to point to the contents of a file while running the test script? I don't want to do something like ./test.py < test.png. I don't think I ...
stackexchange/codereview
I would like to know if is possible to run a T4 template when saving a other file, example run my .tt file after/on saving a xml file I forgot to mention that my IDE is VS2010
stackexchange/codereview
I wanted to transfer (and execute) an Action or Func object from a C# client to a C# server application using WCF. Here's my code: [ServiceContract] interface IRemoteExecuteServer { [OperationContract] void Execute(Action action); } class RemoteExecuteServer : IRemoteExecuteServer { public void Execute(Act...
stackexchange/codereview
i can use ls|grep \.py$ to list all ends with .py file,but it's seems hard for me to grep all .py & .txt & .tar.gz file once any one could give me a hand
stackexchange/codereview
Hy, I run for several hours on a bug ie6, it was not the only one that I was locking it remains only to solve this one and I would finally be quiet. I have a vertical menu that I built, the problem is that the second level menu does not overlap with that of the first level despite the z-index. Under FF is impeccable, ...
stackexchange/codereview
I would like to ask some Drupaler for help. Is it possible to show the subcategories of a taxonomy term on a node page? Let's say that a have taxonomy like this: category 1 subcategory 1 subcategory 2 ... And I want for Ubercart product to show on a node page that an item from category 1 has follo...
stackexchange/codereview
I have some problem with my combobox, I'm trying to fill it with some values from database, everything work fine, except the fact that last line of this code (with ValueMember in it) generate UnknownException in free translation it says that it cannot create a list of sub elements for the "table" field. connection = ne...
stackexchange/codereview
I'm currently trying to implement jquery tablesorter and one of my columns is filesizes, I've found a snippet of code for this, however I keep getting errors. If anyone could help me out that'd be great. jQuery TableSorter: http://tablesorter.com/ jQuery TableSorter Filesize code: http://groups.google.com/group/jquery...
stackexchange/codereview
I am just exploring on what is the best practice/framework for implementing feature for collecting and displaying user activity statistics that is user specific and site relating to login user activities in ASP.NET. For example, I will want to know for a particular login user on my site, which site he/she has visited i...
stackexchange/codereview
in this code : public class Main{ private void method() { System.out.println("inside method"); } public static void main(String[] args) { Main obj = new Main(); obj.method(); } } Why we can access the private method using an object from the class when we are in the class , while we...
stackexchange/codereview
Alright, I have a list of links off to the right where each link corresponds to their own div. The divs are "stacked" on top of each other. Basically I am having trouble trying to figure if I click on "link 4" how to make it slide down to div 4. And when you click on "link 1", how to get it to slide up to div 1. I gue...
stackexchange/codereview
Is there a Java analogue to Pinax/Django? (Perhaps an extension to Jboss Seam and/or functionality already built into Seam?) Please analyse and compare Pinax/Django, Seam, and any other good Java/Python frameworks in the following criteria (ranked in order of importance): Security (sensitive financial information) Abi...
stackexchange/codereview
I'm trying to use the relocate function in Eclipse to switch the svn server my projects are looking at. I open the SVN Repositories view, right click the repository, choose relocate, type in the new url, and it just keeps spitting back: org.tigris.subversion.javahl.ClientException: svn: Server does not support retrievi...
stackexchange/codereview
When I load my page I populate my repeater with the following code. Dim conn As Data.SqlClient.SqlConnection Dim Comm As Data.SqlClient.SqlCommand Dim reader As Data.SqlClient.SqlDataReader 'conn = New Data.SqlClient.SqlConnection("Server=localhost\sqlexpress; " & _ '"Database=M...
stackexchange/codereview
how to stretch the background images using CSS for page backgrounds and for DIV & table backgrounds... so that if the window size changes the background image size should stretch (expand / contract) accordingly....
stackexchange/codereview
I'm having problems getting this to work, class A { public: A(int n) { a = n; } int getA() { return a; } private: int a; }; int main(){ A* a[3]; A* b[3]; for (int i = 0; i < 3; ++i) { a[i] = new A(i + 1); } void * pointer = a; b = (A* [])pointer;...
stackexchange/codereview
I have a winform that opens (ShowDialog) other winforms. Is there a way to get the first winform from the opened winform without passing it as a parameter or using a "public static" solution ? EDIT: Didn't notice that i'm in a user control, how can i get my form? Thanks in advance.
stackexchange/codereview
Is there any Applescript available that sends either an URL or array of images as attachment of the mail through Mac Office 2011?
stackexchange/codereview
I succeeded in getting a google static map displaying a path between 2 coordinates. The problem is that the drawn path is just a straight line between the 2 points. I read that to be able to draw the "route" between 2 points on a static google map, as in, following the roads and city geography instead of the straight l...
stackexchange/codereview
I got one problem that how can i display the .jpeg and other type of files in iphone sdk. Is there any solution to this. please help me. Thank you, Madan Mohan.
stackexchange/codereview
Suppose I have a C++ struct that has both POD and non-POD member variables: struct Struct { std::string String; int Int; }; and in order for my program to produce reproduceable behavior I want to have all member variables initialized at construction. I can use an initializer list for that: Struct::Struct() : ...
stackexchange/codereview