<asp:Menu ID="mnu" runat="server" PathSeparator="," CssClass="menu" DynamicMenuItemStyle-CssClass="menu"> <Items> <asp:MenuItem Text="home" NavigateUrl="~/Default.aspx" /
I'm new to native iOS development, and have been playing with localizing storyboards. I've been localizing the text for UILabel and UIButton objects in my storyboard by updating the Main.strings files for the storyboard: // UIButton: "cEx-Yi-RY8.norm
In C#, Windows Form, how would I accomplish this: 07:55 Header Text: This is the data<br/>07:55 Header Text: This is the data<br/>07:55 Header Text: This is the data<br/> So, as you can see, i have a return string, that can be rather lon
I have to do a system call to count the voluntary & involuntary context switches of a process. I already know the steps to add a new system call to a linux kernel but i have no clue of where i should start for the context-switch function. Any idea? T
I am working on a web project using j2ee. anyway, in my jsp page I have a form containing two inputs of type datetime-local, and one of them must be greater than the other,it's like validating start and end datetimes, so I don't know how to make this
I'm interested in making my local postgres server config match the production one. Given a psql connection to it, would it be possible to run some queries and extract the relevant performance options? Alternatively, if this is not possible, does anyo
If we attempt code like this: <td [colspan]="1 + 1">Column</td> or this: <td colspan="{{1 + 1}}">Column</td> We soon find out that "colspan is not a known native attribute." From the A2 docs we learn t
I'm new to PHP. I have a dummy database with three users and I want to insert their keys and values into an array. $result_set=$database->GeneralQuery("SELECT * FROM users"); $the_object_array=array(); while ($row=mysqli_fetch_assoc($result_s
I'm accustomed to Wordpress automagically adding an IE specific ID attribute to the HTML tag for writing internet explorer-specific css classes. I just noticed that this feature isn't currently working when I view the site in IE9. In IE8... <html id=
I'm trying to debug my dll and I have the pdb file next to the dll and I still can't step into the method. What else am I missing?The version of the assembly loaded in your application is not the version that is loaded in Visual Studio. If both proje
This works just like it is supposed too: <script> function test() {alert("add to cart was triggered!");} </script> <img src="images/add-to-cart.png" width="143" height="45" onclick="test()"&
Do you know of any project that has redefined the native types of PHP (string, array, ints, floats, bools, etc.) as objects? I'm not sure how feasible it would be but i was just thinking that it would be nice to have the native types as objects. exam
I've got an application set up with 6 tabs in a tabview. 2 of these tabs are Carousels with images in them. Got 2 problems: 1: When i switch cards inside the carousels, the animation only works from right to left (next slide animation). But when slid
I have two links > primary_link [1] "https://en.wikipedia.org/wiki/Kahaani_(2012_film)" > secondary_link [1] "https://en.wikipedia.org/wiki/Kahaani" For primary link I get an error read_html(primary_link) Error in open.connection
I was wondering can some give me an explanation on how to assign primary and foreign keys in pgAdmin? I can't find any information online. For example...I've got a Student table with all their details (address, d.o.b. and etc.). I'm going to add a st
How do you work with padding on tumbnails using Bootstrap? I dont want as much padding on the 4 images on the right. Is there a way to do this using the framwork? any help would be grand http://jsfiddle.net/Ys54c/ <div class="row"> <!--
I am following this tutorial https://www.youtube.com/watch?v=kuyrL6krkwA. I have modified the db, table, and columns names for my app. Everything else is identical to tutorial. The error occurs (10 mins into tutorial) where he enters python shell and
my table postgres database has an auto increment key. In convencional postgres sql I can: INSERT INTO CITY(ID,NAME) VALUES(nextval('city_sequence_name'),'my first city'); How can I do this using node-postgres ? Until now, I have tried: myConnection.q
I'm working on Rails app that renders a signature in a particular position using: <div id="signature" style='position: absolute; left: <%= @document.template.signature_position.left %>px; top: <%= @document.template.signature_positio
I'm using a Java mechanism to extract zip files. The mechanism works fine if there is no files in it with accents on title. Since I'm from portugal, chars like ã, ç, õ, é, etc. are usually used in my language. If any of this chars are in the filename
I was reading through the Airbnb JavaScript Style Guide and I came across this section that mentions the following function: var subtract = Function('a', 'b', 'return a - b'); I tested this in the Chrome debugger console by entering the line above an
What's the difference between the two? As far as I understand it, MATLAB Compiler wraps the MATLAB code into a .exe file so that it can be used without installing MATLAB, and only requires the MCR. On top of it MATLAB Builder NE can also be used to p
I would like to pass the user id (which is the email, in this case) in an email form. Here the PHP for registered users only: $LOGIN_INFORMATION = array( 'zubrag' => 'root', 'admin' => 'adminpass', '
[email protected]' => 'phuket' ); Here what
I already use a MySQL database and want to combine with Facebook Connect. I did a fb:registration plugin and there I can get only the full name. How can I divide it into first name and surname and save those as two arrays?Hope this helps :) $name_arr
Is there a way to search for specific words within a string in Objective-C? Let's say I have the following sentence: thequickbrownfox If I wanted to search for "quick" within the sentence. What would be the best way to achieve this? Thanks for y
I want to show 1 to 100 in a changeable text. I like to use sleep()function so that it looks like that it is increasing form 1 to 100. my code is for(int i= 0;i<100;i++) { scorelevel.setText(String.valueOf(i)); try{ Thread.sleep(1000); }catch (Interr
I am using some 3rd party functions (hrmcom.dll) in my win32 application. I have a main windowclass with a winproc and 3 childwindows, all of a second windowclass that share one childproc. The call to the 3rd party functions is in one of the childwin
Hi I have a big string like this : "9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
For example I have a css style like this : input.validation-passed {border: 1px solid #00CC00; color : #000;} The javascript validation framework I use will inject every input tag with a class="validation-passed" .For the elements like <input
General problem in the following: I decode the audio as follows: ReSampleContext* rsc = av_audio_resample_init( 1, aCodecCtx->channels, aCodecCtx->sample_rate, aCodecCtx->sample_rate, av_get_sample_fmt("u8"), aCodecCtx->sample_fmt, 1