How to apply a CSS 3 blur filter to a background image

How to apply a CSS 3 blur filter to a background image

I have a JPEG file that I'm using as a background image for a search page, and I'm using CSS to set it because I'm working within Backbone.js contexts:background-image: url("whatever.jpg");I want to apply a CSS 3 blur filter only to the bac

My inline-block elements are not lining up properly

My inline-block elements are not lining up properly

All of the elements within .track-container should line up nice and in line, each side by side, constrained by the 200px height they've been given with no weird margins or padding. Instead, you have the strangeness that occurs in the aforem

Converting timestamp to time ago in PHP e.g 1 day ago, 2 days ago…

Converting timestamp to time ago in PHP e.g 1 day ago, 2 days ago…

I am trying to convert a timestamp of the format 2009-09-12 20:57:19 and turn it into something like 3 minutes ago with PHP.I found a useful script to do this, but I think it's looking for a different format to be used as the time variable.

How to pass variables and data from PHP to JavaScript?

How to pass variables and data from PHP to JavaScript?

I have a variable in PHP, and I need its value in my JavaScript code. How can I get my variable from PHP to JavaScript?I have code that looks like this:<?php ... $val = $myService->getValue(); // makes an api and db call?>I have Jav

Remove duplicate data from query results

Remove duplicate data from query results

I have the following query: select C.ClientID, C.FirstName + ' ' + C.LastName as ClientName, CAST(V.StartDate as date) as VisitDate, count(*) as 'Number of Visits' from Visit V Inner Join Client C on V.ClientID = C.Client

Hide HTML element by id

Hide HTML element by id

Hopefully there's a quick and dirty way to remove the "Ask Question" (or hide it) from a page where I can only add CSS and Javascript: Ask Question I can't hide the nav class because other pag

How to view complete commits when tracking history of a single file in Git?

How to view complete commits when tracking history of a single file in Git?

I have a Git repository with about a two years of history in it. I have single file in it, for which I wish to find all the commits, and for each commit: all the other files that were committed in it. Let's assume this file is named file.tx

iOS6: MFMailComposeViewController slow to load and flashes black screen; MailCompositionS begins hog

iOS6: MFMailComposeViewController slow to load and flashes black screen; MailCompositionS begins hog

On iOS 6, after sending a few email messages (by using MFMailComposeViewController), the email screens become very slow to open- at first opening with none of the fields populated (no Subject, no body, etc.) for a few seconds, and eventuall

The specified child already has a parent. You must call removeView() on the child's parent firs

The specified child already has a parent. You must call removeView() on the child's parent firs

I have a class to create the dialog and coding to get the values from it. it works fine for one. and when i try to call dialog for the second time it passes following error message. : java.lang.IllegalStateException: The specified child al

EditText view with keyboard number only

EditText view with keyboard number only

I want a keyboard with ONLY visible numbers to an EditText view. Without any other character.I have tested with all available inputs and don't work.I have searched a way to get a keyboard only with numbers but I have only seen references to

a wide div with unlimited width

a wide div with unlimited width

I've a big problem!You know, a div default width is 100% (of the parent). And if its content width is more than 100% (100%=1440px), div shows content in multiply lines.Now, if i want, the div shows its content in one line, what should I do?

SQLite database scheme as Entity Relationship Model [closed]

SQLite database scheme as Entity Relationship Model [closed]

Is there a tool to display the database scheme for SQLite 3 database like with MySQL Workbench and Reverse Engineering? I mean a graphical representation like 1:Try DbVisualizer, it works for any database and I particularly like the way

Bootstrap 3.1 visible-xs and visible-sm not working together

Bootstrap 3.1 visible-xs and visible-sm not working together

I have a div that I want to show on sm and xs devices, it looks like this: Item 1 Item 2 Item 3My bootstrap is loading from cdn without any customization.This is supposed to show this div on xs and sm as stated on classes but the resu

xpages - how to set a scope variable from client side javascript?

xpages - how to set a scope variable from client side javascript?

I'm trying to set an XPages scope variable from Client side JavaScript. I have an XPage which contains several sections which are shown or hidden using Dojo. On this XPage I have a button which executes some server side JavaScript. Once the

jQuery under SVG

jQuery under SVG

Is there any way I can run jQuery under SVG instead of HTML?I know about jQuery svg plugin but this is not what I want. As for now the jQuery engine contains some statements like this:div = document.createElement("div");div.style.display =

How to display loading status with preloader and multiple images?

How to display loading status with preloader and multiple images?

I am building a slideshow with a few hundred images and would like to build a nice loading bar, so the idea was to preload the images using JavaScript, then initialize the rest of the UI afterwords.Preloading the images is not a problem, bu

How do I get a tabbed pane component in JSF 2.0 (Sun Mojarra)

How do I get a tabbed pane component in JSF 2.0 (Sun Mojarra)

I am learning/using JSF 2.0 (Sun Mojarra) now and I want to have a tabbed pane in my webapp (single tabs could named be General, Detail1,Detail2,...).How do I achieve this? I haven't found any documetation for this so far :( 1:Others hav

How to change the button backgrounds inside JOptionPane

How to change the button backgrounds inside JOptionPane

I was wondering if anybody knew if it was possible to change the background color on the buttons inside a JOptionPane. I know how to change the entire JOptionPane background using a UIManager, but know what I want is to set the individual

Rotate objects around circle using CSS?

Rotate objects around circle using CSS?

I'm attempting to have three objects rotating around a circle. So far I've been able to get one object to spin around the circle. I am unable to get more than one without messing up the code. Could anyone advise on the best way to accomplis

DataGrid in Dojo , with json data from a servlet

DataGrid in Dojo , with json data from a servlet

I am using JSON for first time...and want to fill my datagrid with my JSON data,this is my JSON data :{ "head": { "vars": [ "s" , "fname" , "lname" ] } , "results": { "bindings": [ { "s": { "type": "uri" , "value

How to use Google Custom Search for image search in objective c

How to use Google Custom Search for image search in objective c

can any one please tell me how I can use google custom search in my iphone application to search images only. I tried it but it asks for 'cse' or 'cx' parameter. Please help. 1:The Google Custom Search API lets you develop websites and p

Determine if a network share exists before mounting

Determine if a network share exists before mounting

I'm working on a tool to automatically mount network volumes based on what wireless network the user is connected to. Mounting the volume is easy:NSURL *volumeURL = /* The URL to the network volume */// Attempt to mount the volumeFSVolumeRe

Can a Jupyter / IPython notebook take arguments in the URL?

Can a Jupyter / IPython notebook take arguments in the URL?

Is it possible to write an Jupyter notebook such that parameters can be passed in via the URL of the notebook?Example, for a URL such as this:http://jupyter.example.com/user/me/notebooks/notebook1.ipynb?Variable1=Value1&Variable2=Value2how

How can I get the resolution of an image? (JPEG, GIF, PNG, JPG)

How can I get the resolution of an image? (JPEG, GIF, PNG, JPG)

I found this method:Graphics g = e.Graphics;Bitmap bmp = new Bitmap("winter.jpg");g.DrawImage(bmp, 0, 0);Console.WriteLine("Screen resolution: " + g.DpiX + "DPI");Console.WriteLine("Image resolution: " + bmp.HorizontalResolution + "DPI");Co

How to get a parameter depend of other parameter in Hudson or Jenkins

How to get a parameter depend of other parameter in Hudson or Jenkins

I have a problems with Hudson because my job needs two params for buildthe first specifies the environment and can be one of DEV, QA, PROD,and the second is a specific server, this parameter depends on the first one.By example if I chose en