Install software over .deb packages?
◷
تاریخ انتشار: 1395/2/31 | ساعت: 0:49
Vote count: 0 So,I made my Ubuntu Live 16 GB Flash Drive. I plug it in,booting from it. Everything is ru ing OK. I download any .deb package and open it with Ubuntu Software Manager as I'd usually do with a fresh install of Ubuntu. When I press Install in the opened Ubuntu Software window,it goes a ...
How to reference a variable in a wpfbutton description
◷
تاریخ انتشار: 1395/2/31 | ساعت: 0:49
Vote count: 0 I have a wpf application that can have multiple devices added to it on the home screen of the app. In UFT, I want to be able to loop through and gather all the child objects' names, and then click on the last button by referencing it by it's index value. The following code gathers all ...
How to share a text to mail in Window Store App?
◷
تاریخ انتشار: 1395/2/31 | ساعت: 0:49
Vote count: 0 I want to share a text to mail in Window store app using c#. Can anyone please suggest a codding? i.e ShowShareUI(); asked 3 mins agoMohammad Hani Let's block ads! (Why?)
Hide Div after showing 5sec JavaScript
◷
تاریخ انتشار: 1395/2/30 | ساعت: 22:07
Vote count: 0 What I want to achieve: Hide Form Area after button click (DONE) Show submit confirmation message on button click (DONE) Hide Show submit confirmation message after showing it for 5 seconds Show form area again I'm stuck on point 3 & 4 and would appreciate any hints. I have tried the s...
TypeScript: compiler ignores alternative function signature
◷
تاریخ انتشار: 1395/2/30 | ساعت: 22:07
Vote count: 0 I'm using lodash with TypeScript 1.8. At one point in the code I want to reduce from an array like this: export interface IPackage { [...] dependencies?: IPackageReference[]; [...] } [...] // pkg implements IPackageReference lodash.reduce<IPackageReference, boolean>(pkg.dependencies, f...
Angular Route resolving with async service
◷
تاریخ انتشار: 1395/2/30 | ساعت: 22:07
Vote count: 0 I've been using Angular for a few weeks now and I love it for the most part. I'm now in the process of improving my code (which already works, but not as efficiently as it should). Basic idea: basic web-app template (like a fixed header menu) with options to jump to different parts of ...
Show article title on mouse over assigned menu item
◷
تاریخ انتشار: 1395/2/30 | ساعت: 20:43
Vote count: 0 I would like to create new menu module (via overrides in template) with new Layout where for hovered menu item the title of assigned article will be shown. I'm familiar how the overrides works, but ca ot get the article title in menu module. Any ideas how it can be done? Thanks Alex as...
Maven stopped loading dependencies
◷
تاریخ انتشار: 1395/2/30 | ساعت: 20:43
Vote count: 0 I am using Maven in my Spring Tool Suite. After some time the imports of the spring library could not be resolved anymore. The import org.springframework.jdbc.core.JdbcTemplate ca ot be resolved I think maven causes the problem. But I do not know why. All the other imports are still wo...
java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.Resources android.content.Context.getResources()
◷
تاریخ انتشار: 1395/2/30 | ساعت: 20:43
Vote count: 0 I'm pulling a html page from the web. The page contains images and I load the images with UILImageGetter. The problem is that if the page just begins to load and I rotate the device multiple times the app crashes with an NPE. UILImageGetter public class UILImageGetter implements Html.I...
Retrieve single tag among all tags
◷
تاریخ انتشار: 1395/2/30 | ساعت: 17:18
Vote count: 0 I need help with my wordpress site. While displaying "tags" on a product page, <?php echo $product->get_tags(', ', '<span class="tagged_as">' . _n( 'Tag:', 'Tags:', $tag_count, 'woocommerce' ) . ' ', '</span>' ); ?> is used to show them. However, I need product page to show only 1 tag ...
Ionic dynamic tabs are not working
◷
تاریخ انتشار: 1395/2/30 | ساعت: 17:18
Vote count: 0 I am new in Ionic and AnguarJs. I have created a tab dynamically using ng-repeat. Tab title values are coming correct but tab content are incorrect. Here is my code, <ion-tabs class="tabs-positive tabs-striped tabs-top theme-color"> <ion-tab ng-repeat="sub in subjects" title="{{sub.Moc...
tmux, zsh status line show name not full path
◷
تاریخ انتشار: 1395/2/30 | ساعت: 17:18
Vote count: 0 When I only use tmux,I can change the window's name in the status line,but when i install zsh, the tmux status line show the full path of the file. Now i want to show only the name like install zsh before, and i want to change the window's name,can any one help? here's my tmux.conf: # ...
Can someone please translate me this from C code to Beta assembler?
◷
تاریخ انتشار: 1395/2/30 | ساعت: 15:18
Vote count: -1 I hope u can help me with translating this code from C code to Beta assemler,please help me i need it from you! :) a) if (x + y == 0) { z = (x >> 16) << 8; } else { z = (x – 24) * (10 + 2*y); } b) i = 0; sum = 0; while (i < 20) { sum += 2*i; i += 3; } c) int diff_fib(int N) { // ovo n...
Playing multiple sounds in swift
◷
تاریخ انتشار: 1395/2/30 | ساعت: 15:18
Vote count: 0 I am trying to add multiple buttons to play a dedicated sound ie;button 1 plays sound 1, button 2 plays sound 2, button 3 plays sound 3, and so on. I've tried using the below code: import UIKit import AVFoundation class ViewController: UIViewController { var PlaySound = NSURL(fileURLWi...
How can I use more than one google-services.json in Android?
◷
تاریخ انتشار: 1395/2/30 | ساعت: 15:18
Vote count: 0 I am developing for Android, using Firebase. In order to log people in, I had to download a google-services.json and paste it in my app folder. Firebase recently made some changes and now they have a better integration with other Google services, so I wanted to try Analytics. I followe...
How to load assemblies in ASP.NET Core 1.0 RC2
◷
تاریخ انتشار: 1395/2/30 | ساعت: 13:43
Vote count: 0 migrating my web app from ASP.NET Core RC1 to RC2. I'm trying to load my referenced class libraries. This code snippet doesn't work with RC2 anymore. public class Startup { public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory) { // librar...
Working javascript without browser
◷
تاریخ انتشار: 1395/2/30 | ساعت: 13:43
Vote count: 0 Can i make working javascript without open browser or still working after close browser ? Example : setTimeout(function(){ test(); },86400000; setTimeout still working after close browser asked 1 min agoKamil Kmita 2 Answers Vote count: 0 JavaScript only run in the browser. answered 20...
combox selected index didnt work on picturebox
◷
تاریخ انتشار: 1395/2/30 | ساعت: 13:43
Vote count: 0 Now what i was doing is when i click a button group box 1 and group box 2 will show out and i have diffrent button will change the combobox value. Private Sub Button4_Click(sender As Object, e As EventArgs) Handles Button4.Click GroupBox1.Show() GroupBox2.Show() comboboxselectdiffrent....
How to put condition in maxInclusive restriction in xsd
◷
تاریخ انتشار: 1395/2/30 | ساعت: 12:21
Vote count: 0 I am using schema version 1.0. I want to put condition on maxInclusive. Like if person selected minor(age<18) then in age textbox he should not be able to enter more than 18 and if he selected adult then we can have age limit till 123 any help will be appreciated. asked 1 min agoAshuto...
Why running the same piece of VBA code takes different amount of time?
◷
تاریخ انتشار: 1395/2/30 | ساعت: 12:21
Vote count: 0 I am ru ing the same piece of VBA code in Excel in two different ways. 1. Original way: click a command button which calls the sub. 2. Call the sub from a macro in a different workbook by using Application.Run. I put a timer to measure how long it takes to run only the code in the sub....