back soft

مطالب مرتبط با «How do» در back soft | نویسنده: استخدام کار

How do I tell Phpstorm to stop open a file with an external editor?

Vote count: 0 For some reasons, in my current PHP Project in PHPStorm, when I click on one of my file in my project explorer panel, PHPStorm opens it in an exteal editor. I have others files with the same extension that opens correctly in PHPStorm. How can I tell PHPStorm to stop doing that ? asked 1 min agoiizno Let's block ads! بخوانید...

ادامه مطلب

How to create 2 different log levels for stdout and file using logback.xml?

Vote count: 0 Below is my logback.xml I have added filter class to set different log levels but it doesn't seem to work. public class APIController { private static final Logger logger = LoggerFactory.getLogger(APIController.class); ... private void handleException(Exception ex, String message) { logger.wa(message); if(logger.isInfoEnabled()){ ex.printstacktrace(); } } } But still I see stacktrace on console. How should I keep 2 different log levels asked 2 mins agouser1298426 Let's block ads! بخوانید...

ادامه مطلب

I want to add a function for my button, but don't know how

Vote count: 0 That's my XML file: And that's my method: public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); final Button bt = (Button) findViewById(R.id.btClicked); bt.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { switch (v.getId()) { case R.id.btFinish: finish(); break; case R.id.btClicked: bt.setText("UnClicked"); } } }); } } I want to add a function that if clicked again, the text reverts to "Clicked". asked 2 mins agoY.Jack Let's block ads! بخوانید...

ادامه مطلب

how to measure raw pcie throughput in linux? I want to measure performance from root complex Is it possible to do so ?

Vote count: 0 I have intel ssd(Gen 3 x4) coected to root complex configured as Gen 3 x4(physical x8).I want to measure raw throughput of PCIe in arm64 linux ? I am new to DMA and memory mapping in linux. asked 2 mins agouser6458943 Let's block ads! بخوانید...

ادامه مطلب

how do i get the sum of hours less than given year and week

Vote count: 0 I have the following table how do i get the sum of hours that is less than 2015 week 25 asked 1 min agoVivek ab Let's block ads! بخوانید...

ادامه مطلب

jQuery show/hide options from one select drop down, when option on other select dropdown is slected same thing has to be come

Vote count: 0 I need to be select and list only those selected items & need to be visible, which i selected in first selected dropdown. This is in one form 'form-control required'}) %> This is in another form 'form-control required' }) %> i have two tabs wre these entity drop downs are present in that company 1 company 2 > company 3 company 4 if i click on company 1 in first tab means when i enter to second tab in that entity drop should be only display company 1 only not all, can any one send me the code how to do this since i tried a lot help asked 1 min agoPashu Let's block ads! بخوانید...

ادامه مطلب

How do I change font in HTML5 and CSS?

Vote count: 0 I am trying to change the font of text on my site that I am working on. I am using a font that I downloaded and it is in .otf format. @font-face { font-family: AmaranthRegular; src: url(Amaranth-Regular.otf); } Here is the html code. We Use Macs...

ادامه مطلب

dropdown disabled after showing a hidden dropdown

Vote count: 0 so I have 2 dropdowns on my page, the second one is hidden until you select a category from the first list. The problem is the first dropdown can't be clicked again, like it's disabled but it's not. Probably I'm missing something, but I don't know what it is When the document is ready, the second dropdown is hidden, after a category is selected, it shows the second dropdown but then the first dropdown is frozen. Can you please help? Thank you ! jQuery(document).ready(function() { jQuery("#hidden1").hide(); jQuery("form#categoryForm :input").change(function(){ console.log(jQuery(this).val()); jQuery("#hidden1").show(); }); }); asked 1 min agoCesarin Ochoa Let's block ads! بخوانی...

ادامه مطلب

Image not showing after changing Wordpress website domain

Vote count: 0 I changed my website`s domain and it works correctly. but any of image in my website not loading now. I changed post links using search & replace plugin but there is no result. Even if i upload new image it does not show up! Any idea what should I do? p.s. this is my website address: www.tarkhisad.com asked 1 min agoMajid Let's block ads! بخوانید...

ادامه مطلب

how do I disable jqueryui icons

Vote count: 0 In my implementation of jqueryui menu, the parent items that have children are rendered with a little '>' symbol to the right edge of the li. Unless I override the width of the .menu ul li, this thing covers the end of the menu words. How can I get rid of this thing? asked 2 mins agoMike Volmar Let's block ads! بخوانید...

ادامه مطلب

How do i redraw map unsing ngmap

Vote count: 0 i use ngmap to draw the google map and every time i change the screen and go back the map is partialy drawed. I already try this solution: How do I force redraw with Google Maps API v3.0?. This is my code: Controller: (function() { 'use strict'; angular .module('jhipsterApp') .controller('UbicacionDialogController', UbicacionDialogController); UbicacionDialogController.$inject = ['$scope', '$stateParams', '$uibModalInstance', 'entity', 'Ubicacion', 'Precio', 'Cervesa','NgMap']; function UbicacionDialogController ($scope, $stateParams, $uibModalInstance, entity, Ubicacion, Precio, Cervesa, NgMap) { var vm = this; vm.ubicacion = entity; vm.precios = Precio.query(); vm.cervesas = ...

ادامه مطلب

Windows UWP - How to programmatically scroll ListView in ContentTemplate

Vote count: 0 I want to have the MessageListView to scroll to the bottom whenever it appears or gets its data updated. How can I do this? The xaml page:...

ادامه مطلب

How do i add delegate to an object in tableViewCell?

Vote count: 0 In View Controller there is viewDidLoad where I could add delegate and so on, for example override func viewDidLoad() { super.viewDidLoad() // for example tableView.delegate = self } In tableViewCell , the only default method that has been created is @IBOutlet var mapView: GMSMapView! // This method override func awakeFromNib() { super.awakeFromNib() } Because I really need to add delegate to the map. asked 2 mins agoairsoftFreak Let's block ads! بخوانید...

ادامه مطلب

Firefox - How do I override the CSS on all webpages so that the default image scale is 0.75?

Vote count: 0 Nothing happened when I tried this, but here's what I tried: img {-moz-transform:scale(0.25) !important;} under the my profile folder (random letters and number.default) with the following path: storage > permanent > chrome > userChrome.css asked 1 min agoGeorge Tye Let's block ads! بخوانید...

ادامه مطلب

How do you download a file with spring social google?

Vote count: 0 I'm attempting to use the spring social google library with the driveOperations() implementation. Whenever I attempt to download a file, I get an error. I've even tried to download publicly shared files with no success. Authentication is working. I've tried the following variations: Resource resource = google.driveOperations().downloadFile("uniquedocidhere"); // another approach, no error, but getDownloadUrl() is null DriveFile driveFile = google.driveOperations().getFile("uniqeidhere"); google.driveOperations().downloadFile(driveFile); // 404 // finally trying it with a file drive v2 url gives an invalid URI error I added drive to the scope so I know that isn't an issue. I'm p...

ادامه مطلب

How to show doc, docx files on android by any library?

Vote count: 0 I am trying to show doc, docx files in android serveral times, but I caot know how to do. I have searched through the inteet and found some libraries such as POI, docx4j, aspose and so on. But I don't know what to use for my app. Who can give me the whole android sample project to show doc files. Best regards asked 1 min agovolchuni Let's block ads! بخوانید...

ادامه مطلب

Why doesn't my Git status show me whether I'm up-to-date with my remote counterpart?

Vote count: 0 I have tried making some changes, pushed it up to Github. From another computer, I fetched the changes. When I do a git status, it reports this: On branch MyTestBranch nothing to commit, working directory clean This is strange because I'm certain that there were changes fetched. I even did a merge with those changes fetched! But why weren't Git reporting something like my origin/MyTestBranch is how many commits ahead or whether my branch is up-to-date with origin/MyTestBranch? asked 2 mins agoCarven Let's block ads! بخوانید...

ادامه مطلب

How do I search value (with regex) in array and push search value to multidimensional array in PHP?

Vote count: 0 From this array, I want parse value inside the brackets with regular expression,I use this patte => [([^]]+)] Array ( [0] => [DATA_1_A] [1] => [DATA_1_B] [DATA_2_B] [2] => [DATA_1_C] [DATA_2_C] [DATA_3_C] ) And push value to multidimensional array.Like this. Array ( [0] => Array ( [0] => DATA_1_A ) [1] => Array ( [0] => DATA_1_B [1] => DATA_2_B ) [2] => Array ( [0] => DATA_1_C [1] => DATA_2_C [2] => DATA_3_C ) ) asked 36 secs agoUnknown User Let's block ads! بخوانید...

ادامه مطلب

How to specify alias on YamlMember in YamlDotNet?

Vote count: 0 I need to deserialize the following YAML to my custom type. YamlAlias attribute seems to be obsolete, so I replaced it with YamlMember. It fails on deserializing the following YAML with the below exception: host: properties: mem_size: 2048 MB YamlDotNet.Core.YamlException : (Line: 21, Col: 13, Idx: 524) - (Line: 21, Col: 13, Idx: 524): Exception during deserialization ----> System.Runtime.Serialization.SerializationException : Property 'mem_size' not found on type 'Toscana.Domain.HostProperties'. public class Host { public HostProperties Properties { get; set; } } public class HostProperties { [YamlMember(typeof(DigitalStorage))] public string MemSize { get; set; } } asked 1 mi...

ادامه مطلب

How do I create a text link with a drop down menu in Bootstrap?

Vote count: 0 I tried, Rate Action The problem with this is that the text link has a gradient around it which I don't like. How can I disable the gradient using CSS or is there some elegant way to do this? For some reason, copying this in jsfiddle doesn't work. asked 3 mins agoAditya Let's block ads! بخوانید...

ادامه مطلب