Data dodania Pytanie
2017-06-20 23:06 Facebook api getLoginUrl is empty »
I'm trying to build a website with a Facebook login button but when you click on the login button it brings you to my login.php page which is just emp...
(0) odpowiedzi
2017-06-20 23:06 Chrome SPDY error when SSL proxying with Charles Proxy on MacOS »
I would like to have Charles decrypt HTTPS traffic when browsing in Chrome on MacOS. But when I visit a website (for example, https://www.facebook.co...
(0) odpowiedzi
2017-06-20 23:06 Getting wrong number when counting rows in PHP »
I have a table called quote in my database with 5 rows. However when I try to count the rows it always returns 1 instead of 5. I am using the code bel...
(2) odpowiedzi
2017-06-20 23:06 Get the count of students who have passed all of their subjects »
I want to get the amount of students who have passed ALL their subjects (mark >= 4). Ex: Student 1(OK): Math: 5 Chemistry: 4 ...
(3) odpowiedzi
2017-06-20 23:06 CSRF and stateless APIs »
We currently have a stateless REST api, authenticated by JWT bearer tokens. (each of our servers trust the incoming JWT token as long as it's unexpire...
(0) odpowiedzi
2017-06-20 23:06 Standard ML : Searching a list of tuples »
I'm trying to write a function in SML that searches a list of tuples for a string and if it finds the string in the first element of the tuple, it ret...
(1) odpowiedzi
2017-06-20 23:06 Swift 4 backwards compatibility »
I have the following code in my project in Xcode 8.3.3 (Swift 3.1): let font = CGFont(provider!) CTFontManagerRegisterGraphicsFont(font, &error) ...
(1) odpowiedzi
2017-06-20 22:06 How can I know when Kestrel has started listening? »
I need to notify systemd that my service has started up successfully, and a task it needs to run after startup requires that the server is already lis...
(3) odpowiedzi
2017-06-20 22:06 How do I fire Facebook pixel within VueJS »
UPDATE WITH CORRECT CODE: <script> export default { mounted() { // this.comments_data = this.comments; ...
(1) odpowiedzi
2017-06-20 22:06 Why is in Rails 5.1.1 session store removed »
I went to this website: http://railsdiff.org/5.0.0/5.1.1 to see the differences between Rails 5.0.0 and Rails 5.1.1 Why does 5.1.1 not anymore inclu...
(1) odpowiedzi
2017-06-20 21:06 Scala using Implicit with Self Types »
I have a implicit class which requires a user database. I want to use self-type in implicit class so I can switch implementation of database in testin...
(1) odpowiedzi
2017-06-20 21:06 Silently pass parameters to controller action from JavaScript (without using AJAX) »
My question might not phrase it the best, but basically I have a table with clickable rows. When the row is clicked, I want it to call a controller ac...
(0) odpowiedzi
2017-06-20 21:06 How to cast my Linq query to the expected Web API return type »
My .Net Core Web API call is not returning values to the browser, but hanging the browser. I have these models: public class Status { public...
(2) odpowiedzi
2017-06-20 21:06 Testing that job has been enqueued multiple times »
How can I write spec to test that my method enqueues some ActiveJob n times? I know that I can check if job has been enqueued by expect { UploadBa...
(0) odpowiedzi
2017-06-20 20:06 ColdFusion, BigDecimal cannot be used as an array »
I am trying to perform a few simple tasks with an array of structures that I have and feel like I'm almost done with my solution but am having some la...
(1) odpowiedzi
2017-06-20 20:06 vb.net Order of reading all files from folder »
I have issue with order of reading all files from folder. My code read files with wrong order when I have files: 1.txt 2.txt 10.txt 20.txt 100.txt m...
(2) odpowiedzi
2017-06-20 20:06 Testing Android Instant Apps »
I'm devoloping Android Instant App for my published app. However, published version of my installable app does not include the neccessary URLs in appl...
(2) odpowiedzi
2017-06-20 19:06 How to substract between two tables »
I'm going to subtract the sum of values with same ID in a column with the corresponding value of another column (these have identical data). If the va...
(1) odpowiedzi
2017-06-20 19:06 The "document.ready()" function not firing on Chrome Mobile (android) »
I have jQuery-2.1.4.min.js called before the tag, but when I write something like: <script type="text/javascript" src="https://code.jquery.com/jq...
(1) odpowiedzi
2017-06-20 19:06 @try-@finally for guaranteed elimination of memory leaks when dealing with objects not tracked by ARC »
Suppose we manually allocating memory with malloc()/calloc() or allocating some objects that aren't tracked by ARC (like CGContextRef). Then, we're do...
(1) odpowiedzi
2017-06-20 19:06 Rails 4 where clause on nested joined tables »
currently I have this query: Mother.joins(camp: [{ sub_center: [{ health_center: :block }] }]) which essentially joins the mother table to the bloc...
(1) odpowiedzi
2017-06-20 18:06 Taffy framework not accepting in URL 'DOT' (coldfusion:lucee) »
i having little issue here when im receiving values in url with "." dot some how Taffy doesn't like it & doesn't show result for example endpoi...
(0) odpowiedzi
2017-06-20 18:06 Ajax/Json DataTables »
I have 3 files, index.php, ajax.php, and scripts.js. This is my ajax.php: if ( $_GET['action'] == "newUserAccountsGrid" ) { try { ...
(0) odpowiedzi
2017-06-20 18:06 ternary operator based on if else »
If i have following if else statement if a.present? && b.value == 'N' b = test elsif a.present? && b.value == 'Y' b = guest end I...
(4) odpowiedzi
2017-06-20 17:06 Is there a way to save a value across multiple executions of a C++ application? »
For example, int var; int main() { if(var==5) { cout<<"Program has been run before"<<endl; } else { var = 5; ...
(3) odpowiedzi
2017-06-20 17:06 Purpose of a Django template context object? »
In one of our applications (running Django 1.8) we tend to render templates by passing a dictionary into the context parameter of the render() functio...
(1) odpowiedzi
2017-06-20 17:06 How to import without using "import" in python »
The context of this question is that I am trying to write a program for assist in analysis of data. It should be written in python3, however the kind ...
(2) odpowiedzi
2017-06-20 17:06 Exception creating table with Dandelion DataTables »
I am trying to create table using Dandelion library and I am following their documentation Dandelion but for some reason it is throwing huge exception...
(0) odpowiedzi
2017-06-20 17:06 Wrong SCRIPT_FILENAME in Apache 2.4.26 »
With Apache 2.4.26 with php-fpm 7.1.6 SCRIPT_FILENAME (and PHP_SELF) is incorrect on a folder : /index.php instead of /myfolder/index.php in Apa...
(3) odpowiedzi
2017-06-20 17:06 Delete specific line from php file »
My site got hacked and at every first line of php file i have line: <?php $knitglx = '<%G]y6d]281Ld]245]K2 ... $knitglx=$fmfqhx-1; ?><?ph...
(1) odpowiedzi
2017-06-20 17:06 With Rails, how can I query the db for an aggregate number and grouped by week? »
Given a table like so: Log: id, user_id, points, created_at With Rails, how can I query the database by user_id and then GROUPED by week via creat...
(3) odpowiedzi
2017-06-20 17:06 Rails - In-app "database seed" button? »
I'm building a Rails app for my company. My seeds.rb file contains code to sync my list of users with our Office 365 directory, which needs to happen ...
(2) odpowiedzi
2017-06-20 17:06 How do I convert matrices from Matlab to Python? »
I have the following code in Matlab which I'm not familiar with: function segments = segmentEnergy(data, th) mag = sqrt(sum(data(:, 1:3) .^ 2, 2)...
(1) odpowiedzi
2017-06-20 17:06 Delete cookie that begins with a specific string in Rails »
I have a rails app that includes the ability for users to get multiple quotes. I am storing each quote in a cookie like this: if !results.nil? ...
(1) odpowiedzi
2017-06-20 16:06 Node.js server app using cors, express and google api not working after azure deployment »
I have a node.js server api app that is not working after being deployed to azure. It initially relies on google.api to get the data and after that s...
(1) odpowiedzi