Data dodania Pytanie
2016-06-23 23:06 How to run multiple instances of Laravel on the same domain? »
I have Apache 2.4 running on Windows Server 2012 with PHP 5.6.23 on port 8080. Assume that the domain to my server is "serv1.example.com" I need to ...
(1) odpowiedzi
2016-06-23 22:06 Dynamically creating a photo gallery with coldfusion »
I have folder filled with at least 100 images that I want to display in a gallery using coldfusion. I was able to loop the directory and get the absol...
(1) odpowiedzi
2016-06-23 22:06 Redux: where to place interaction with the DOM, that is triggered by an action but changes outside of the React app »
I have a React/Redux app that takes care of a interactive list of items for a real time selling (auctions). My <div id='app'></div> only t...
(1) odpowiedzi
2016-06-23 22:06 String operations not working with special characters »
I opened a text file using utf-8 encoding. I am trying to do operations on the strings like line[0], but it is not working correctly because of specia...
(1) odpowiedzi
2016-06-23 22:06 How to enqueue a job within a job dynamically in Rails? »
I've a job, and when the job is run, at the very bottom of it, and I want to enqueue the same job again to run after 1 hour, but with different argume...
(2) odpowiedzi
2016-06-23 21:06 Nginx/SSI independent fragment caching »
I'm trying to set up a basic working Nginx+SSI example: Nginx config (just the relevant parts, for brevity): ssi on; proxy_cache_path /var/cache/ngi...
(2) odpowiedzi
2016-06-23 21:06 Why do CSV::HeaderConverters stop processing when a non-String is returned? »
Why does processing of header converters stop with the first non-String that's returned from a header converter? The specific Ruby version I'm using,...
(2) odpowiedzi
2016-06-23 21:06 ColdFusion.Ajax.Submit cannot find form id »
This form is pretty straight forward and nothing special. I am importing the cfajax controls at the top of my page. My coldfusion form cannot find t...
(0) odpowiedzi
2016-06-23 21:06 PHP: How to extract() values from an associative array with hyphens/dashes in their keys? »
I'm referring to this question. Is it possible to extract() values from an associative array with hyphens/dashes in their keys by now? It's about an ...
(2) odpowiedzi
2016-06-23 21:06 SQL Oracle - sum values in columns in first table using column names that are stored as values (rows) in second table »
Table A Store_Num BKT1 BKT2 BKT3 BKT4 BKT5 BKT6 BKT7 BKT8 BKT9 111 1 2 ...
(2) odpowiedzi
2016-06-23 21:06 Apply className In datatables html equations »
Hi I have a fn created row in my datatables with if condition if i gave a classname in column its working fine but when I try to give that class name ...
(1) odpowiedzi
2016-06-23 20:06 Sorting a hash based on array of order in ruby »
I have a hash like this data = {"Blood Group"=>"A", "Next Review Date"=>"22/06/2016", "Tourniquet Time"=>"23", "BMI"=>"21"} I have a...
(3) odpowiedzi
2016-06-23 20:06 Why is static final slower than a new on each iteration »
Why is code snippet A 14x slower than code snippet B? (tested with jdk1.8.0_60 on Windows 7 64bits) Code snippet A: import java.awt.geom.RoundRect...
(1) odpowiedzi
2016-06-23 20:06 Java Compiling/running slow in Eclipse »
So I have an issue that I can't seem to fix. No matter the size of my projects, I've always compiled in under a second or two at maximum. Now since tw...
(0) odpowiedzi
2016-06-23 20:06 How to add a css and cfm files to index.cfm »
I am having a hard time to figure out how to add a css file and a cfm file to a cfm file. I am new to coldfusion and I have tried the following but wh...
(1) odpowiedzi
2016-06-23 20:06 logstash 2.3.3 multiline filter not working with multiple workers »
I have started logstash with multiple workers > 16. I have multiline messages like java exceptions/java traces and want to merge them into a single e...
(1) odpowiedzi
2016-06-23 20:06 Jruby trying to load local ruby gems instead of packaged ones »
I'm seeing a weird issue in my jruby jar and I'm sure it's due to some configuration but I can't quite figure out what. The behavior I'm seeing is whe...
(0) odpowiedzi
2016-06-23 20:06 Using Djang ORM, Iterate through table records, test them and delete the record if needed »
How would you iterate through a table, using the Django ORM, and test the datetime fields to see if they are 8 days old, then delete them if they True...
(1) odpowiedzi
2016-06-23 20:06 How to undo pretty print on chrome devtools »
After clicking on pretty print, the button disappears and I can't undo it, not even after refreshing the page. I need to undo because i'd like to edit...
(2) odpowiedzi
2016-06-23 20:06 Customize jsonb key sort order »
I have a table in PostgreSQL with some data: create table t2 ( key jsonb, value jsonb ); insert into t2(key, value) values ('1', '"test 1"')...
(2) odpowiedzi
2016-06-23 19:06 Comparing a new Object() with another new Object() in JavaScript »
I've created two new Objects: var a = new Object(); var b = new Object(); and after comparing, I have got those results: var a = new Object();...
(2) odpowiedzi
2016-06-23 19:06 Retain values generated during RSpec rake task after the rake task »
I have a class like the following: class Foo @variable = {} class << self attr_accessor :variable end def self.run(file) # do...
(1) odpowiedzi
2016-06-23 19:06 Advantage of using IActionResult as result type in Actions »
What's the advantage or recommendation on using IActionResult as the return type of a WebApi controller instead of the actual type you want to return?...
(2) odpowiedzi
2016-06-23 19:06 I coded in a button in xcode's viewcontroller.swift - How do I get it to show in storyboard? »
Specifically, I coded in facebook's login button into my view controller file. However it does not show up in storyboard. I know how to make a butto...
(2) odpowiedzi
2016-06-23 19:06 Laravel eloquent Scope AND »
I have 1 table postad with fields (title,cat1,cat2,cat3,cat4,location,city,area) Now I am passing 2 values category_id and location searching results...
(1) odpowiedzi
2016-06-23 19:06 Partial View - Get html that would be render »
Context: I've created a GET request in my route folder that sends html. It will be used for a ajax request: router.get(url, function(){ res.send("...
(1) odpowiedzi
2016-06-23 19:06 What are the drawbacks with Multi-Level inheritance »
When I submitted my code for the review I got a comment that I have to rework on the multi-level inheritance. What are the drawbacks with multi-level ...
(1) odpowiedzi
2016-06-23 18:06 Export Postgresql Table to excel with header »
i whrote a python script to export table from postgresql to Excel and it's works perfectly,but i get a file without header (only data) here is my cod...
(1) odpowiedzi
2016-06-23 18:06 Query from database does not return in rails »
My rails app has a User model and a Role model. Each User belongs to one role and each role has many users. There three methods defined in the user mo...
(2) odpowiedzi
2016-06-23 18:06 How do I center a transformed and rotated div? »
How do I center text "ABC" and "ABCDEFGHIJ" in column one and three of this table? I tried text-align, but think the translate is preventing that fo...
(3) odpowiedzi
2016-06-23 18:06 Remove element from collection during iteration with forEach »
Recently, I wrote this code without thinking about it very much: myObject.myCollection.forEach { myObject.removeItem($0) } where myObject.removeIte...
(2) odpowiedzi
2016-06-23 18:06 Razor Mvc 3 + Jquery autocomplete issue »
Helllo everyone, I'm trying to code a simple registration form with Razor mvc3, using jquery autocomplete to fill city, state info from a database. T...
(2) odpowiedzi
2016-06-23 18:06 Embedding Facebook posts via iframe not working »
I'm attempting to embed a facebook post onto a website. I took Facebook's most basic example and plugged it into the html. On the page I see a big emp...
(1) odpowiedzi
2016-06-23 18:06 Calculate Gross Margin Using Oracle SQL »
Disclaimer: I am somewhat new to SQL. I am working on a query that calculates percent gross margin for each item on an invoice. I want to sum up the...
(3) odpowiedzi
2016-06-23 18:06 webapi controllers with name "<>c" »
I have a unit test ensure my WebAPI controllers derive from the right base type: [TestMethod] public void AllWebApiControllersShouldDeriveFromApiCont...
(2) odpowiedzi