back soft

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

Adding OWL sameAs axiom in java

Vote count: 0 In Java OWL API, equivalent classes can be added using OWLEquivalentClassesAxiom. Is there any similar class for adding OWL SameAs axiom? asked 1 min ago010101 Let's block ads! بخوانید...

ادامه مطلب

Is there a possibility that I could guess-estimate how many children can recyclerview have before adding items to it?

Vote count: 0 Is there a possibility that I could guess-estimate how many children can recyclerview have before adding items to it? And also depending on what kind of LayoutManager and Type (like vertical or horizontal)? asked 1 min agodavid Let's block ads! بخوانید...

ادامه مطلب

Realm Adding Object with Compound primaryKey Error

Vote count: 0 I have a simple class class FarmRecord: Object { dynamic var year = "" dynamic var month = "" dynamic var day = "" func setYearID(inYear: String) { self.year = inYear compoundKey = compoundKeyValue() } func setMonthID(inMonth: String) { self.month = inMonth compoundKey = compoundKeyValue() } func setDayID(inDay: String) { self.day = inDay compoundKey = compoundKeyValue() } dynamic lazy var compoundKey: String = self.compoundKeyValue() private func compoundKeyValue() -> String { retu "(year)(month)(day)" } override static func primaryKey() -> String? { retu "compoundKey" } } I tried to add object as follow: let storeRealm = try! Realm() let farm = FarmRecord() farm.setYearID("20...

ادامه مطلب

freeradius (MySQL config) adding custom attributes to the reply-item

Vote count: 0 I've run into a dead end while trying to set up customized attributes as a reply item (I want custom information added to the "access accept" packet). While trying to achieve this I came across this entry: # If you want to add entries to the dictionary file, # which are NOT going to be placed in a RADIUS packet, # add them to the 'dictionary.local' file. # # The numbers you pick should be between 3000 and 4000. # These attributes will NOT go into a RADIUS packet. # # If you want that, you will need to use VSAs. This means # requesting allocation of a Private Enterprise Code from # http://iana.org. We STRONGLY suggest doing that only if # you are a vendor of RADIUS equipment. # ...

ادامه مطلب

how to install some package via jspm without adding config.js?

Vote count: 0 I'm using jspm in my web app. I want to install npm:angular2 package without configuring in config.js file. Because I don't need to load angular2 module via jspm, just added angular2 library manually. Like this: How to add jspm package to mypackage.json without configuring in config.js file? asked 1 min agodvl Batdelger Let's block ads! بخوانید...

ادامه مطلب

CSS padding-left value of is applied for only the first line

Vote count: 0 When I apply a padding-left style definition for a code tag as like the following: code { font-size: 20px; padding-left: 10px; } git pull origin master git push origin master The result was like below. That is, the padding-left style was applied for the first line only. Is this behavior as HTML5/CSS specification? To apply the padding for all lines, should NOT I use the padding-left? asked 1 min agoYoichiro Tanaka Let's block ads! بخوانید...

ادامه مطلب

Adding/Merging node to boost property tree

Vote count: 0 I am trying to merge two boost property trees using put_child. But I am seeing the output as follows lmn rst def 1 1500 sampleCar 10 1234 testBike 5 4567 Sample2 The two independent trees look like these First tree: 1 1500 sampleCar 10 1234 testBike 5 4567 Sample2 Second tree: abc xyz pqrs lmn rst def How to get both city and city1 added to the first property tree? asked 47 secs agomooli This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers....

ادامه مطلب

How to padding bottom of the customize EditText character?

Vote count: 0 I have a customize EditText character with some simple character and image. Look like this image : But i want the image padding the bottom like this image : This is my pwd_bullet.png : This is my code : custom_edittext.xml Custom_Edittext public class Custom_Edittext extends Activity implements TextWatcher{ EditText editText; Spaable.Factory spaableFactory; int lastIndex = -1; protected void onCreate(Bundle savedInstanceState) { enter code here`super.onCreate(savedInstanceState); setContentView(R.layout.custom_edittext); editText = (EditText) findViewById(R.id.editText); spaableFactory = Spaable.Factory .getInstance(); editText.addTextChangedListener(this); } public Spaable get...

ادامه مطلب

Adding file from $user.home to container with Dockerfile

Vote count: 0 Is it possible to copy a properties file from $user.home on windows to container root using ADD command in Dockerfile ?I have tried ./example.properties to go up one level to the home directory.Also I have tried $HOME/example.properties to get home, but apparently $HOME in Dockerfile is pointing to container's home directory, since RUN echo $HOME prints /root. asked 3 mins agoYuriy Kravets This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers....

ادامه مطلب

creating, adding files and run a visual studio project from cmd

Vote count: 0 I have a main program (python) that will create a c# unit test code. I need to run this code, for which I need to create a new unit test project, add the created code into the project and then run it. I need to perform all these actions from within the main program itself. Is there any way to do these from the program? I mean either ruing some steps in cmd or using some api? Thanks for the help! asked 59 secs agoPranav This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers....

ادامه مطلب

Bootstrap padding issue with an image

Vote count: 0 I have 2 halves in my row set at 6 columns each. I am using an image as a background for 6 columns that is suppose to take up half of the screen. When I use push in my columns to push the 6 column image to the right of the screen, it creates some padding on the right hand side as seen below. The bottom image has no padding issues and it takes up the entire 6 columns without a problem. When I remove push and pull from the columns in the top picture everything works fine. I'm not sure how to fix the padding issue on the right side of the top image. Any ideas? My code is below. Families & Individuals Lorem ipsum dolor sit amet, consectetur adipisicing elit. Possimus earum dolorum ...

ادامه مطلب

Adding a device to Android Device Manager

Vote count: 0 I am having a bit of difficulty with regards to adding emulators to Android Studio for specific phones. I use genymotion to run the applications but I would like to have phone specific AVD's of the phone in mind so I can see the changes made in real time while I code. I have created a hardware profile using the Galaxy S5 specs (Screen size 1080x1920). The real-time preview still appears different to the Genymotion and actual S5 screen after run-time. Can anyone guess why? edited 29 secs ago asked 2 mins agoJosh This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/conten...

ادامه مطلب

jquery filer adding existing images to the list on page load

Vote count: 0 JQUERY Filler creates image boxes upon selection of each image. However i need to create those boxes from array of image names which i receive from php on page load. So user can add some more images or remove the existing ones. Here I receive the image list from php uploaded_images = ""; In JQUERY: $('#filer_input').filer() In HTML: I also can receive some more data of the images from php like(size,etc.) if needed. Is there anyway to accomplish this? asked 1 min agoWebArch This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers....

ادامه مطلب

Add instruction 'how' to perform a REST API request by adding header or body param?

Vote count: 0 Imagine a simple REST API that allows to create a user account, by sending a JSON resource to POST /users as in the following. By default it sends out a confirmation email to the user. { "useame": "john@appleseed.com", "password": "secret" } However sometimes there are good reasons for not sending out a confirmation based on the use case, e.g. another API client, or admins signing up users on their behalf. Since it doesn't have any implications on the created resource but is more of an instruction how to create the user, should it be separate from the request body? What's the best way to do this? Specify a custom header Confirmation: no-confirmation Add a query param ?confirmat...

ادامه مطلب

MVC5 Adding Root Application Namespace to Views web.config doesn't work as expected (Intellisense)

Vote count: 0 I've probably missed an important nugget somewhere here, however I wonder if someone could correct my understanding. I have an MVC5 website project, all set up nicely. My applications root namespace is MyApp for examples sake. I have some MyApp.Properties and MyApp.Models of course and onwards, all standard. Now in my Views folder my web.config is declared as so (extract) : Which all makes sense, however in my view I want to declare my applicationSettings (Settings) which is itself in the MyApp.Properties namespace (note, I've also tested this with a basic class in MyApp.Models for sense checking). I can declare this like so : @using MyApp.Properties @{ Settings appSettings = n...

ادامه مطلب

Allow overflow on x axis while adding scroll for y axis of div

Vote count: 0 I have a div that I want to add stuff dynamically to. Horizontally it shows up fine but vertically it starts overflowing the content of the page and looks awful. For that I want to add a scroll on the y axis but let the x axis as it is. I managed to do add the scroll like this on my css file .tab-pane { height: 200px; overflow-y: auto; overflow-x: hidden; } This code also prevents the x-axis scroll to show up but it clips the content on the sides which didn't happen before adding the overflow options. How could I prevent that clipping? asked 4 mins agoAtirag This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's sit...

ادامه مطلب

Python Pandas Adding to Dataframe

Vote count: 0 I have been working on a little pandas work. What I am trying and failing to do is make a simple data quality report. I have a Dataframe with columns that looks like this columns = ['Feature','count', 'Miss.%', 'Card.', 'Min', '1st Qrt.', 'Mean', 'Median', '3rd Qrt', 'Max', 'Std Div'] df2 = pd.DataFrame(index=cont_index, columns=columns) df2.to_csv('/REPORT.csv') I have then run through all the different columns and carried out calculations on each on. This all works and runs fine, the result is a row for each column that contains a value that matches up to the column headings. Example, list = ['Income',300,0.0,21,0.0,0.0,2,222, 0.0, 33.98,9,999, 20] I am obtaining these values...

ادامه مطلب

Adding an action bar for iOS in Titanium

Vote count: 0 I am creating a cross platform app with Titanium. The thing is that I call a js with the following code: bot_import.addEventListener('click', function(e) { var ModImport = require('ModImport'); var importPage = new ModImport(); importPage.open(); }); The thing is that in ModImport.js I caot use the following statement in the end: open.importsWin(); Instead of that, I must use: retu importsWin; But, in order to make an action bar for iOS I had to use this code: var wini = Titanium.UI.iOS.createNavigationWindow({ window : importsWin }); The problem is that if I do a: retu wini; I got a msg in the app: "Undefinied is not a function", however, if I use: retu importsWin; I do not ha...

ادامه مطلب

Adding an attribute to all nodes matching an XPATH expression using Oracle XML DB

Vote count: 0 I caot come to a solution to this task: my goal is to pass a cursor to a PL/SQL procedure and get the results as an XMLType. The function dbms_xmlgen.getxmltype() makes this task straightforward John Goodman 22-JUN-2011 Now I want to add the cursor column data type as an attribute to each corresponding XML element. John Goodman 22-JUN-2011 This could be done using dynamic SQL, so I can write a PL/SQL function to get an associative array mapping each column to the corresponding data type. Supposing I have both the aforementioned associativa array and the XMLType, how can I apply a set of transformations using a XPATH expression such as -- pseudocode ;) func(myXMLType, '//FIRST_N...

ادامه مطلب