Bootstrap: responsive utitlities is not working
◷
تاریخ انتشار:
1395/5/1
|
ساعت:
18:00
Vote count: 0 I expected this div: http://www.bootply.com/yjJo9wg1Xa# to be hidden when I press the mobile phone icon on the right. asked 25 secs agoziiweb Let's block ads! (Why?)
How to call a xslt from a xslt?
◷
تاریخ انتشار:
1395/5/1
|
ساعت:
18:00
Vote count: 0 I'm looking for a possibility of calling a 2nd xslt from 1st xslt. My xml-Input looks like <xml> <Subject name ="A1" type="a"> <Subject name ="B2" type="b"> <Subject name ="C1" type="c"> <Subject name ="A2" type="a"> <Subject name ="B1" type="b"> <Subject name ="C2" type="c"> <Subject ...
How Makefile split string into individual words?
◷
تاریخ انتشار:
1395/5/1
|
ساعت:
15:03
Vote count: 0 I write a Makefile like this: all: @echo $(wildcard $(include)/*.sh) @echo $(include) .PHONY:all I input make "include=~" and output is /home/ubuntu/caps_esc.sh /home/ubuntu/ss.sh /home/ubuntu But when inputing make "include=~ "(note the white space!) the output is /home/ubuntu /home/u...
datetime checker using if else condition c#
◷
تاریخ انتشار:
1395/5/1
|
ساعت:
15:03
Vote count: 0 i use this code check date availability from the database and so i use one textbox which is linked to a datepicker ui and a dropdownlist to select time. the problem is if i select a date and fullday and if it is in database table already it shows date unavailable as its supposed to sam...
Give Permission to Users in Alfresco
◷
تاریخ انتشار:
1395/5/1
|
ساعت:
15:03
Vote count: 0 I want to give different type of permission(eg- read, write) of specific folder or documents to different different users in alfresco. For example there is a folder called A, I want to give read permission for user1, write permission for user2 like that. Please some one suggest me how ...
In a play framework config (hocon), how do I use an environment variable or a default?
◷
تاریخ انتشار:
1395/5/1
|
ساعت:
14:03
Vote count: 0 In application.conf, how do I use a environment variable to set a value, or a default if said environment variable is empty? asked 27 secs agoReactormonk Let's block ads! (Why?)
React - flux - Store dont react on dispatch() but another do
◷
تاریخ انتشار:
1395/5/1
|
ساعت:
14:03
Vote count: 0 I have 2 Stores a lot similar. First listen react on dispatch() right but another dont. My dispatcher: var Dispatcher = require('flux').Dispatcher; var JustDispatcher = new Dispatcher(); JustDispatcher.handleAction = function(action){ console.log('dispatcher',action); this.dispatch({ s...
How to use redis as message queue in asp.net core 1.0?
◷
تاریخ انتشار:
1395/5/1
|
ساعت:
14:03
Vote count: 0 How to use Redis as message queue in asp.net core 1.0? How to co ecting Redis in asp.net core 1.0? asked 19 secs agoNeallin Let's block ads! (Why?)
onCreateDialog depreciated in Android licensing lvl
◷
تاریخ انتشار:
1395/5/1
|
ساعت:
12:37
Vote count: 0 To correct the following by removing the deprecated code, would you use a dialogue fragment? Or is there is different/cleaner way to update this? I am fairly new and after much reading, I am wondering if I am over-complicating this? protected Dialog onCreateDialog(int id) { final boole...
How to check for difference in previous and next value in React?
◷
تاریخ انتشار:
1395/5/1
|
ساعت:
12:37
Vote count: 0 Was working with the code below for sending a list of values to another component - React.createElement("ul",null, this.state.stock.map(function (value){ retu (React.createElement(Price, { price: value })) }) ) and then the values will be send to the component below - var initialPrice ...
JQuery can you show a different element on each subsequent click?
◷
تاریخ انتشار:
1395/5/1
|
ساعت:
12:37
Vote count: 0 I have a really simple idea... have a button (class="upload") that on each subsequent click, I want it to show a new div, for a set maximum number of times. For example: $('.upload').click(function() { $('.upload_block2').show(0); }, function() { $('.upload_block3').show(0); }, functio...
Google Apps Script - Publish app as me, but still get active user's email
◷
تاریخ انتشار:
1395/5/1
|
ساعت:
11:27
Vote count: 0 I am using a google sheet as a database and all I need is to get the user's identity to display the proper info. I included the following code to retrieve the user's email address:var userEmail = Session.getActiveUser().getEmail(); But all it gives me is a blank string since I publishe...
UnicodeDecodeError: 'utf8' codec can't decode byte 0x80 in position 3131: invalid start byte
◷
تاریخ انتشار:
1395/5/1
|
ساعت:
11:27
Vote count: 0 I am trying to read and parse twitter data from json file using python 2.7.12. Code I used is such: import json import sys reload(sys) sys.setdefaultencoding('utf-8') def get_tweets_from_file(file_name): tweets = [] with open(file_name, 'rw') as twitter_file: for line in twitter_file: ...
How to sell items live on google spreadsheets?
◷
تاریخ انتشار:
1395/5/1
|
ساعت:
11:27
Vote count: 0 I have a list of 960 items with a count for each. I am sharing a spreadsheet with 20 people who want to buy these items (Price is not a conce here). I need the spreadsheet to automatically update the number of items once someone enters say they want some items (1,2,3 any number less th...
C++11 variadic function without template type?
◷
تاریخ انتشار:
1395/5/1
|
ساعت:
8:59
Vote count: -3 Is it possible to have a function with a variadic number of non-template-type parameters? For example, a function that takes an arbitrary number of strings std::string concat_all() { retu ""; } std::string concat_all(std::string const& s, std::string const&... t) // won't compile { re...
PHPUnit mocked method returns null
◷
تاریخ انتشار:
1395/5/1
|
ساعت:
8:59
Vote count: 0 I am trying to test the below class using PHPUnit class stripe extends paymentValidator { public $apiKey; public function __construct ($apiKey){ $this->apiKey = $apiKey; } public function charge($token) { try { retu $this->requestStripe($token); } catch(StripeErrorCard $e) { echo $e->g...
How to make ios config file?
◷
تاریخ انتشار:
1395/5/1
|
ساعت:
8:59
Vote count: 0 How to make objective-c in ios config file not plist file? This file would be used by complete application for configuring variables. Do i need to write a object class for that ? asked 13 secs agoManzoor Let's block ads! (Why?)
Python - Having user sort list smallest to biggest
◷
تاریخ انتشار:
1395/5/1
|
ساعت:
7:10
Vote count: 0 So I'm making a code where it asks the user to to swap two places on the list until the list is from smallest to biggest. So it should look like this: Hello: Your current list is [6, 7, 8, 2 , 9, 10, 12, 15, 16, 17] Please pick your first location -> 4 Please pick your second location ...
GAM R variance explained by variable
◷
تاریخ انتشار:
1395/5/1
|
ساعت:
7:10
Vote count: 0 My current problem is to calculate the variance explained by the different variables of a general additive model (GAM) with R. I followed the explanation given by Wood here : https://stat.ethz.ch/pipermail/r-help/2007-October/142743.html But I would like to do it with three variables. ...
Catch Nil Error in If/Else
◷
تاریخ انتشار:
1395/5/1
|
ساعت:
7:10
Vote count: 0 While this seems beyond simple to me, I ca ot seem to figure out how to code this. I am trying to write an if/else if/else statement, but it's not working. Here's what I have: for value in values { if Float(value) > 0 { print("positive") } else if value == "N/A" { print("not available"...