Intermittant DNS problems with a specific web site
Vote count: 0 I have a domain hosted by inmotionhosting.com. By default, it points to my server space there. Several months ago, I edited the DNS settings to point it to my store on the BigCommerce e-commerce site. Three days ago, I reset my DNS settings to point it back to my inmotionhosting space....
Styling the sphix theme search page
Vote count: 0 Okay so I went ahead and styled the sphinx theme, but the styles aren't being applied to the search results page. {# layout.html #} {# Import the theme's layout. #} {% extends "!page.html" %} {% set css_files = css_files + ['_static/theme.css'] %} {% set script_files = script_files + [...
SweetAlert freezes screen javascript
Vote count: -1 I'm using swal function of sweetalert and after it pops up the alert window, it's supposed to retu to my original screen but the PROBLEM IS the screen freezes and i'm no longer capable of using the mouse nor anything in my original(browser) screen. PS: i tried to comment the sweet ale...
Compare dates with timezone in MongoDB
Vote count: 0 I have a mongodb collection storing the date as : ISODate("2016-04-18T22:00:00.000Z") using robomongo, I try to get a record with that date as follows : $date : { $eq : new Date("2016-04-18T22:00:00.000Z") } This fails since the timezones are off. The created record was in Central Time...
Do you need to define $basepath when using Twig with Slim 3?
Vote count: 0 I'm using Slim's Twig-View - https://github.com/slimphp/Twig-View - component to render Twig templates to a Slim framework. There's a complete set of instructions on the page that makes it easy to get it working. The thing is that on Slim's templates page - http://www.slimframework.com...
How to catch CTRL+S key in Excel 2010/2013/2016 Add-In
Vote count: 0 I have a legacy Office 2007 Add-In where the user32.dll SetWindowsHookEx based custom function is used to intercept CTRL+S key press event on a thread and do a customised file save. The function works fine in Windows7 but does not in Office 2016 and Windows10 environment. I don't know ...
Python3.5 Refuse to Work with MySQL Connector
Vote count: 0 I've read a few questions on here that people are having the same situation as me but no matter what method I tried, it just wouldn't work! According to MySQL documentation, MySQL-co ector-python-2.x.x.x should work with Python 3+. I've downloaded the RPM package and installed it insid...
Android inconsistent picture saving with getExternalFilesDir
Vote count: 0 In my app, I am trying to take a picture, save it, and add it to an ImageView with this code I got from the Android Developers tutorial private static final int REQUEST_IMAGE_CAPTURE = 1; private String lastImagePath; //Create temporary image file using getExte alFilesDir() private Fil...
Alternate way for port map in process?
Vote count: 0 As far as my understanding in vhdl, it is not possible to have port mappings to components within a process. and i was curious whether there is an alte ative way to approach a conditional scenario. here's an example of my calculator vhdl code that I am currently working on: library iee...
Tricky filling holes in an image
Vote count: 0 I need to fill holes in images using python. This is the image with objects that I managed to get - they are really edges of object I want, so I need to fill them. It seemed very straightforward using ndimage.binary_fill_holes(A), but the problem is that it produces this (manually fill...
Classpath issue with Intellij Idea 2016.1.1 and Gradle
Vote count: 0 After a recent upgrade in Idea I now get a ClassNotFoundException in code that just a day ago was working perfectly. I've googled the problem and it seems that others have similar issues, but the solutions proposed for them don't seem to work for me. I get that it's probably a classpat...
How to select a range of cells using two variables in VBA
Vote count: 0 I would like to find a begi ing and an end date in a range and then highlight all those cells included in the date range. I would like to use Set g1 = .Range("A1") Set g2 = .Range("C3")as advised in the link but my cell range changes, so a hard-coded "A1" or "C3" won't work. What would...
python finding specifics in files
Vote count: 0 so i have to write a code that examines a given file of words and places it into another file. the system has engrained open and close functions and print/retu functions. I currently have a function for targeting words that start with a specific letter and need help editing it to targe...