id
stringlengths
5
11
text
stringlengths
0
146k
title
stringclasses
1 value
doc_23505100
-e && print ("$_\n") foreach $base_name, "build/$base_name"; here build is directory. Thanks A: Checks whether the file exists, and if it does,prints its name. It can be written in a clearer way. It iterates over $base_name and then build/$base_name while the file name is in $base_name A: it is essentially the same ...
doc_23505101
I created a standard SVN repository as follows (I did not create a root "svn" folder because I only plan to store one project in this repository): http://myserver/MyProject /trunk /branches /tags When I checked in my project it went into the root folder instead of the /trunk folder. So I had the folders: h...
doc_23505102
I downloaded the code, rebuilt the project and when I run update-database I get an error like this: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. at System.Reflection.RuntimeModule.GetTypes(RuntimeModule ...
doc_23505103
When I launch mvnw and yarn start in the Command Prompt it works. How to launch the app in a server with client and server side working ? Hope you understand my problem. Thanks for your help. edit : (got no errors when compiling. I'm using prod profile) Jboss logs : `22:54:59,433 INFO [stdout] (ServerService Thread P...
doc_23505104
Error:- unexpectedly found nil while unwrapping an Optional value in above line of code i am getting error where does it found the nil value A: Since you are casting model["data"] to the type [JSONDict], the compiler isn't expecting that type so you should use as? instead of as!. The fact that you received nil must ...
doc_23505105
I need a solution for counting days between specific dates. In addition I need to exclude specific dates (public holidays and weekends), which is easy and there are plenty of instructions on how to do it. But I need to accomplish one more thing. For every person, I also have custom vacation periods and I need them to b...
doc_23505106
However, while I'm sure that DoStuff() is run, the focus always goes to the next field in the tab order. It's like Me.MyFld.SetFocus is being ignored. How do I keep the focus on this field after DoStuff() is done? Private Sub MyFld_KeyDown(KeyCode As Integer, Shift As Integer) If KeyCode = vbKeyReturn Then ...
doc_23505107
I am making sitemap with using sitemap_generator gem. I don't recognize which "end" is missing. Here is the code sitemap.rb # Set the host name for URL creation SitemapGenerator::Sitemap.default_host = "myaddress" SitemapGenerator::Sitemap.sitemaps_host = '-------' SitemapGenerator::Sitemap.public_path = 'public/' Si...
doc_23505108
I've started vVue yesterday so be comprehensive if I made some huge mistakes ^^. Here's an overview of my JSON : { "id": 10313, "last_name": "McNally", "first_name": "Robin", "birth_date": "...", "sex": "F", "residence_address": "...", "phone_number": "...", "zip_code": "...", "residence_city": "...",...
doc_23505109
before_fork do |server, worker| # Disconnect since the database connection will not carry over if defined? ActiveRecord::Base ActiveRecord::Base.clear_all_connections! end end To ensure db connections are closed when reloading the app. Since the introduction of "roles" and "shards" in Rails I am unsure how I...
doc_23505110
Below is SQL Server version: UPDATE Rep_AcctWalk_CurrentMnth SET Rep_AcctWalk_CurrentMnth.Business_L1 = List_BusOrg.Business_L1, Rep_AcctWalk_CurrentMnth.Business_L2 = List_BusOrg.Business_L2, Rep_AcctWalk_CurrentMnth.Business_L3 = List_BusOrg.Business_L3, Rep_AcctWalk_CurrentMnth.Business_L4 = List_BusO...
doc_23505111
The issue is that if I add an alert to the callback function fired on load the plugin loaded seems to work, if I remove the alert, the plugin fails. Any ideas why is this happening? $(document).ready(function(){ $("#mytags").Loader( { url: [ 'media/plu...
doc_23505112
A: Do you mean just opening a console and running the jar? If yes, the command goes like: java -jar <my jar file> Can you please be more clear? A: If what you are trying is to run the jar from the command line (terminal) then just use java -jar <jarfile> If you are trying to run a class that is inside the jar, the...
doc_23505113
* *users *user_profiles When i add a new user, data is also saved into the user_profile table. I am considering a situation where for some reason the data is able to save into the user table but not the user_profile table. I would want the data in the users table to be removed to avoid any broken records, since ...
doc_23505114
Find the sum of all the multiples of 3 or 5 below N. Input Format: First line contains T that denotes the number of test cases. This is followed by T lines, each containing an integer,N. Constraints : 1 <= T <= 10^5 1 <= N <= 10^9 Output Format: For each test case, print an integer that denotes the sum of all the mult...
doc_23505115
byte[] bytes = new byte[stream.Length] Also it would be great if anyone can say how to create object for StreamWriter in classic ASP. Set sw = Server.CreateObject("System.IO.StreamWriter(stream)") I am not sure about the code inside quotes System.IO.StreamWriter(stream). A: Classic ASP is just plain old VBScript...
doc_23505116
"Invoke-RestMethod : The remote server returned an error: (405) Method Not Allowed." "Invoke-WebRequest : The remote server returned an error: (405) Method Not Allowed." I have tried the code below: Attempt 1) $Headers = @{'Auth_token'=$envCred}; $FileContent = [IO.File]::ReadAllText('C:\temp\test.csv'); $Fields = @{'u...
doc_23505117
I added the _collapsible.scss along with the collapsible.js to my project however I'm getting a few errors, which I'm not sure how to resolve. Uncaught ReferenceError: M is not defined at HTMLDocument. (main.js:19) Uncaught ReferenceError: cash is not defined at collapsible.js:275 document.addEventListener(...
doc_23505118
A: Ok I at last comes up with the solution hope that will help also for people who need it in future use so just change the name of the XML At: xmlhttp.open("GET","[XML File and is path]",false); and then use the Loop data3 as you wanted in my case it was : var b= x[i].getElementsByTagName("bandwidth")[0].childNodes...
doc_23505119
I've already tried using the "isFavoriteByDefault" property on the channels but to no effect. I got it to work by creating the team without channels and then creating each channel individually but this is too slow. How can I create the Team and all the Channels in one request but have them visible? My Code: HttpClient ...
doc_23505120
Has this been encountered before? Any suggestions? Thanks in advance! A: If anyone comes upon this in the future I hope this helps answer their question. After several trials I found my problem. I was not populating my data correctly. All I had to do was return [collection.indexCard count]; in -tableView:tableView num...
doc_23505121
Say I have an article and it's on bees, so users tag: bees, insect, honey, outdoors. Then in my article class (entity framework) I have string AssosciatedTags { get; set; } which would hold: "[\"bees\", \"insect\",\"honey\"]" then when I render the article I just do in javascript: JSON.parse(model.AssosciatedTags);...
doc_23505122
The query goes like: SELECT * FROM table WHERE category = 1 LIMIT 10 UNION ALL SELECT * FROM table WHERE category = 2 LIMIT 6 UNION ALL SELECT * FROM table WHERE category = 3 LIMIT 11 ... the result is Item 1 - Category 1 Item 2 - Category 1 Item 3 - Category 1 Item 4 - Category 2 Item 5 - Category 2 Item 6 - Category...
doc_23505123
for (int f = 0; f < gridOperations.Rows.Count; f++) { for (int z = 0; f < gridOperations.Rows[f].Cells.Count; z++) { MessageBox.Show(gridOperations.Rows[f].Cells[z].Value.ToString()); } } The problem is that if Z becomes higher than 0 it gives me "Object reference not set to an instance of an...
doc_23505124
Would it be better to define another variable as a "category" variable? If I use JQuery, how can I restructure the code in order for it to work? any ideas would be appreciated. JScript looks like this: function initialize() { var myOptions = { center: new google.maps.LatLng(,), zoom: 12, mapTypeId: google....
doc_23505125
A: use $event.source.checked to set value after define limit you want.try my example
doc_23505126
There were a few companies whose names involved certain special characters, like 'ñ', 'ü', 'é', etc. Looking at this vector from the View window, those observations also had an identical entry next to them, except with a strange question mark block in place of those letters. For example: Company_Name SES (Société Euro...
doc_23505127
currently it has an 'undo redo' feature by holding the sql scripts in a container for later use. Is there an easy way to implement undo redo mechanism with entity framework? Thank you very much Rony --EDIT-- I think I didn't explain myself properly.. I need to keep all history to my SQL SELECT queries. In the previous ...
doc_23505128
I know that there are many other questions like this but i didn't find anything that could help me (or maybe i don't understand). I have a json like this (autocaricate.json): [ { "nome":"LABORGHINI GALLARDO", "descrizione":"LAMBORGHINI GALLARDO ED. NERA- ANNO 2007- ", "indirizzo_pubblicato":"autocaricateeea\/LABORGHINI...
doc_23505129
i have component users and array "userInfo" in it. i push some info in the "userInfo". then when i go to another component (using routerLink) and then back to users component "userInfo" array is empty. here: every time i navigate to another page an back cartItems array becomes empty export class CartComponent implement...
doc_23505130
public function buildForm(FormBuilderInterface $builder, array $options) { $factory = $builder->getFormFactory(); $domainsNamesTransformer = new DomainsNamesTransformer(); $builder->add( $builder->create('domains', TextareaType::class, [ 'label' => 'form.names', 'translation...
doc_23505131
subdomain.website.com/page/title to website.com/subdomain/title without redirecting to the website and while keeping the URL in the address bar. This .htaccess gets called in a subfolder. ublic_html/subdomain. So how do I get back to that folder public_html without using a redirect. Thanks :) A: Here is one way to do ...
doc_23505132
Normally, I would define the ApplicationBar from Xaml and could bind from there EventToCommand in Expression Blend. But starting with WP8, Microsoft deciced to prefer an localizable ApplicationBar which will be created programmatically, as it cannot be bind that easily to different languages. What is necessary to repro...
doc_23505133
var x = parseInt($(this).css('backgroundPosition').split(" ")[0]); Everything works fine in IE9 and FF and Chrome, even Iphone but IE8 and IE7 throws an error, I debugged the issue to be that the .css method can't resolve the property. It seems like the document.ready function I use at the bottom of the page loads thi...
doc_23505134
Thanks in advance. A: You really have do not want it, because * *Changing content of repo in the middle of transaction is The Bad Idea (tm) *You'll get an infinitive loop as a result of content-manipulation in hook - "fired hook" -> "changed WT" -> "commit" -> "push" -> loop to start You try to perform deploy (sub...
doc_23505135
with a shared folder account? Properties p = new Properties(); p.put("mail.store.protocol", "imaps"); Session session = Session.getDefaultInstance(p, null); Store store = session.getStore("imaps"); store.connect("outlook.office365.com",993,"ACCOUNT NAME","PASSWORD");
doc_23505136
function distanceBetween(point1, point2) { return Math.sqrt(Math.pow(point2.x - point1.x, 2) + Math.pow(point2.y - point1.y, 2)); } function angleBetween(point1, point2) { return Math.atan2(point2.x - point1.x, point2.y - point1.y); } function draw() { var img = new Image(); img.src = 'htt...
doc_23505137
I have a table that lists this. DayFrom DayTo Price 1 3 20 4 5 30 6 8 40 8 25 150 I need to return from linq a line for every day in my case 8... so hence i end up with 20 (because day 1 and its from 1 to 3) 20 (because day 2 and its from 1 ...
doc_23505138
this.setState({device: selectedDeviceId}, () => { console.log(this.state.device) }) but the code does not log at all, which indicates that setState is not even being called. class Stats extends React.Component { state = { viewType: 'day', dt: moment(), device: {} } getDevice = () => { con...
doc_23505139
This box has worked with other development environments for this particular software. The application uses angularjs and laravel4. When installed on the box, I can get composer updated with: composer update --no-scripts but without that flag, I get a PHP fatal error. This is my composer.json: { "require": {...
doc_23505140
module "constants" @deprecated — since v6.3.0 - use constants property exposed by the relevant module instead. How can I hide this module or create an alias, so that src/constants.ts file would be read first?
doc_23505141
<source>Meet with customer</source> <target>\u015eedin\u0163\u0103 cu clientul </target> <note>A step in the sales stage of type qualification in a bid and in a project.</note> <note>ID:240645::TYPE:Text/Data</note> </trans-unit> <trans-unit id="OText.Ne...
doc_23505142
Each turn, the user swipes and it moves pieces on the screen. My problem is, when pressing the "Start" button, the game starts and sometimes records the first swipe gesture at the same time. How do I disable the touch messages when I am pressing a button? A: You can add a touchEnd handler to the Start button: on touch...
doc_23505143
private static long Measure( int iterations, Func<string, string> func, string someParameter) { var stopwatch = new Stopwatch(); stopwatch.Start(); for (var i = 0; i < iterations; i++) { func(someParameter); } stopwatch.Stop(); return stopwatch.ElapsedTicks; } Rather th...
doc_23505144
A B C 1 2 3 4 5 6 7 8 9 I need to lookup a number, say, 1.1, in the table that has values 1 to 9 and return the corresponding letter. Also, the number I am looking up is unlikely to be exact, so I will need to find the rounded down number. For example, if I have 1.1, I need to find 1 and return A. If the number, wh...
doc_23505145
< script type = "text/javascript" > $(document).ready(function() { $("#hrbp_yearend_approve-form").submit(function(e) { $("#hrbp_yearend_approve_btn-submit").attr("disabled", true); $('#hrbp_yearend_approve_btn-submit').html('Processing...'); return true; }); }); </script> <script t...
doc_23505146
#------------------------------------------------- # # Project created by QtCreator 2013-04-02T11:06:19 # #------------------------------------------------- QT += core gui xml greaterThan(QT_MAJOR_VERSION, 4): QT += widgets TARGET = AV_Command TEMPLATE = app SOURCES += main.cpp\ mainwindow.cpp \ ...
doc_23505147
the code is: #include <stdio.h> #include <stdlib.h> #include <pdcurses.a> int main(){ initsrc(); printw("Hello world!\n"); refresh(); getch(); endwin(); return 0; } can someone help me resolve this please? A: A file with an extension of ".a" is a library file, which is binary. You don'...
doc_23505148
The logs below show before and after the AJAX call. My hardcoded object works just fine, but this was just for testing purposes: var obj = { 'essay': 'hardcoded nonsense is nonsense', 'age': 28 } My next attempt was to directly pass store.state as the data object, but this also passes a lot of unwanted material an...
doc_23505149
A: I'm not sure it's thoroughly documented anywhere, but the animated state of an artist controls whether or not it's included when drawing the plot. If animated is True, then the artist will not be drawn when fig.draw() is called. Instead, it will only be drawn when you manually call draw_artist(artist_with_animated_...
doc_23505150
ERROR like this - Registering portlets for gospel-for-asia-portlet 06:08:00,712 ERROR [localhost-startStop-6][PortletBagFactory:411] java.lang.ClassNotFoundException: com.liferay.portlet.iframe.IFramePortlet (sometimes NoClassDefFoundError happens) This error occurs on registering not building. I did add External Ja...
doc_23505151
To load a certain image, the user has to write the file path for that image. The problem is that the user has to type the whole file path, even if the image is in the same directory as their module. Python itself has some useful tools like os.path and pathlib that can help you to find the path of the current module. I ...
doc_23505152
I need a small help, please. I am trying to scrape a page with CURL (http://wap.ebay.com/Pages/ViewItem.aspx?aid=160585148382) , when this page loads, there is another link in that page (Anchor Text: Description), i want to scrape that Page too. When you directly go to Description page (http://wap.ebay.com/Pages/ViewIt...
doc_23505153
for a in range(100 , 201): print(a , end=" ") Doing this would give 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 16...
doc_23505154
ERROR: type should be string, got "https://www.w3schools.com/howto/howto_css_modal_images.asp\nHere is the Fiddle: https://jsfiddle.net/sfL71epx/\nClick the Second Image\nThe html is hidden for some reason it shows when i edit. Let me know if you know why.\n\n\n// Get the modal\r\nvar modal = document.getElementById('myModal');\r\n\r\n// Get the image and insert it inside the modal - use its \"alt\" text as a caption\r\nvar img = document.getElementById('myImg');\r\nvar modalImg = document.getElementById(\"img01\");\r\nvar captionText = document.getElementById(\"caption\");\r\nimg.onclick = function() {\r\n modal.style.display = \"block\";\r\n modalImg.src = this.src;\r\n captionText.innerHTML = this.alt;\r\n}\r\n\r\n// Get the <span> element that closes the modal\r\nvar span = document.getElementsByClassName(\"close\")[0];\r\n\r\n// When the user clicks on <span> (x), close the modal\r\nspan.onclick = function() {\r\n modal.style.display = \"none\";\r\n}\n<div class=\"container\">\r\n\r\n\r\n\r\n <div class=\"row text-center text-lg-left\">\r\n\r\n <div class=\"col-lg-3 col-md-4 col-6\">\r\n <a href=\"#\" class=\"d-block mb-4 h-100\">\r\n <img class=\"img-fluid img-thumbnail\" src=\"https://source.unsplash.com/pWkk7iiCoDM/400x300\" alt=\"\">\r\n </a>\r\n </div>\r\n <div class=\"col-lg-3 col-md-4 col-6\">\r\n <a class=\"d-block mb-4 h-100\">\r\n <img class=\"img-fluid img-thumbnail \" id=\"myImg\" src=\"https://source.unsplash.com/aob0ukAYfuI/400x300\" alt=\"\">\r\n </a>\r\n </div>\r\n <div id=\"myModal\" class=\"modal\">\r\n <span class=\"close\">&times;</span>\r\n <img class=\"modal-content\" id=\"img01\">\r\n <div id=\"caption\"></div>\r\n </div>\r\n <div class=\"col-lg-3 col-md-4 col-6\">\r\n <a href=\"#\" class=\"d-block mb-4 h-100\">\r\n <img class=\"img-fluid img-thumbnail\" src=\"https://source.unsplash.com/EUfxH-pze7s/400x300\" alt=\"\">\r\n </a>\r\n </div>\r\n <div class=\"col-lg-3 col-md-4 col-6\">\r\n <a href=\"#\" class=\"d-block mb-4 h-100\">\r\n <img class=\"img-fluid img-thumbnail\" src=\"https://source.unsplash.com/M185_qYH8vg/400x300\" alt=\"\">\r\n </a>\r\n </div>\r\n <div class=\"col-lg-3 col-md-4 col-6\">\r\n <a href=\"#\" class=\"d-block mb-4 h-100\">\r\n <img class=\"img-fluid img-thumbnail\" src=\"https://source.unsplash.com/sesveuG_rNo/400x300\" alt=\"\">\r\n </a>\r\n </div>\r\n <div class=\"col-lg-3 col-md-4 col-6\">\r\n <a href=\"#\" class=\"d-block mb-4 h-100\">\r\n <img class=\"img-fluid img-thumbnail\" src=\"https://source.unsplash.com/AvhMzHwiE_0/400x300\" alt=\"\">\r\n </a>\r\n </div>\r\n <div class=\"col-lg-3 col-md-4 col-6\">\r\n <a href=\"#\" class=\"d-block mb-4 h-100\">\r\n <img class=\"img-fluid img-thumbnail\" src=\"https://source.unsplash.com/2gYsZUmockw/400x300\" alt=\"\">\r\n </a>\r\n </div>\r\n <div class=\"col-lg-3 col-md-4 col-6\">\r\n <a href=\"#\" class=\"d-block mb-4 h-100\">\r\n <img class=\"img-fluid img-thumbnail\" src=\"https://source.unsplash.com/EMSDtjVHdQ8/400x300\" alt=\"\">\r\n </a>\r\n </div>\r\n <div class=\"col-lg-3 col-md-4 col-6\">\r\n <a href=\"#\" class=\"d-block mb-4 h-100\">\r\n <img class=\"img-fluid img-thumbnail\" src=\"https://source.unsplash.com/8mUEy0ABdNE/400x300\" alt=\"\">\r\n </a>\r\n </div>\r\n <div class=\"col-lg-3 col-md-4 col-6\">\r\n <a href=\"#\" class=\"d-block mb-4 h-100\">\r\n <img class=\"img-fluid img-thumbnail\" src=\"https://source.unsplash.com/G9Rfc1qccH4/400x300\" alt=\"\">\r\n </a>\r\n </div>\r\n <div class=\"col-lg-3 col-md-4 col-6\">\r\n <a href=\"#\" class=\"d-block mb-4 h-100\">\r\n <img class=\"img-fluid img-thumbnail\" src=\"https://source.unsplash.com/aJeH0KcFkuc/400x300\" alt=\"\">\r\n </a>\r\n </div>\r\n <div class=\"col-lg-3 col-md-4 col-6\">\r\n <a href=\"#\" class=\"d-block mb-4 h-100\">\r\n <img class=\"img-fluid img-thumbnail\" src=\"https://source.unsplash.com/p2TQ-3Bh3Oo/400x300\" alt=\"\">\r\n </a>\r\n </div>\r\n </div>\r\n\r\n</div>\n\n\n\nA: The problem is, that the click event listener which actually opens the modal is just attached to a single image - the one from the w3schools example. You need to attach it to every image.\nLuckily things aren't that hard though. All of your images share the same class img-fluid img-thumbnail. Using a handy Javascript function called getElementsByClassName() we can get an array of all the images on your site, that share that particular class.\nAfter that's done, you just need to loop over the array it returns and attach the click listeners to each one.\nvar images = document.getElementsByClassName(\"img-fluid img-thumbnail\");\nfor (var a = 0; a < images.length; a++) {\n images[a].onclick = function() {\n modal.style.display = \"block\";\n modalImg.src = this.src;\n captionText.innerHTML = this.alt;\n }\n}\n\nHere's a live demo:\n\n\n// Get the modal\r\nvar modal = document.getElementById('myModal');\r\n\r\n// Get the image and insert it inside the modal - use its \"alt\" text as a caption\r\nvar img = document.getElementById('myImg');\r\nvar modalImg = document.getElementById(\"img01\");\r\nvar captionText = document.getElementById(\"caption\");\r\nimg.onclick = function() {\r\n modal.style.display = \"block\";\r\n modalImg.src = this.src;\r\n captionText.innerHTML = this.alt;\r\n}\r\nvar images = document.getElementsByClassName(\"img-fluid img-thumbnail\");\r\nfor (var a = 0; a < images.length; a++) {\r\n images[a].onclick = function() {\r\n modal.style.display = \"block\";\r\n modalImg.src = this.src;\r\n captionText.innerHTML = this.alt;\r\n }\r\n}\r\n// Get the <span> element that closes the modal\r\nvar span = document.getElementsByClassName(\"close\")[0];\r\n\r\n// When the user clicks on <span> (x), close the modal\r\nspan.onclick = function() {\r\n modal.style.display = \"none\";\r\n}\n/*!\r\n * Start Bootstrap - Clean Blog v5.0.5 (https://startbootstrap.com/template-overviews/clean-blog)\r\n * Copyright 2013-2019 Start Bootstrap\r\n * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-clean-blog/blob/master/LICENSE)\r\n */\r\n\r\nbody {\r\n font-size: 20px;\r\n color: #212529;\r\n font-family: Lora, 'Times New Roman', serif\r\n}\r\n\r\np {\r\n line-height: 1.5;\r\n margin: 30px 0\r\n}\r\n\r\np a {\r\n text-decoration: underline\r\n}\r\n\r\nh1,\r\nh2,\r\nh3,\r\nh4,\r\nh5,\r\nh6 {\r\n font-weight: 800;\r\n font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif\r\n}\r\n\r\na {\r\n color: #212529;\r\n -webkit-transition: all .2s;\r\n transition: all .2s\r\n}\r\n\r\na:focus,\r\na:hover {\r\n color: #0085a1\r\n}\r\n\r\nblockquote {\r\n font-style: italic;\r\n color: #868e96\r\n}\r\n\r\n.section-heading {\r\n font-size: 36px;\r\n font-weight: 700;\r\n margin-top: 60px\r\n}\r\n\r\n.caption {\r\n font-size: 14px;\r\n font-style: italic;\r\n display: block;\r\n margin: 0;\r\n padding: 10px;\r\n text-align: center;\r\n border-bottom-right-radius: 5px;\r\n border-bottom-left-radius: 5px\r\n}\r\n\r\n::selection {\r\n color: #fff;\r\n background: #0085a1;\r\n text-shadow: none\r\n}\r\n\r\nimg::selection {\r\n color: #fff;\r\n background: 0 0\r\n}\r\n\r\nimg::-moz-selection {\r\n color: #fff;\r\n background: 0 0\r\n}\r\n\r\n#mainNav {\r\n position: absolute;\r\n border-bottom: 1px solid #e9ecef;\r\n background-color: #fff;\r\n font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif\r\n}\r\n\r\n#mainNav .navbar-brand {\r\n font-weight: 800;\r\n color: #343a40\r\n}\r\n\r\n#mainNav .navbar-toggler {\r\n font-size: 12px;\r\n font-weight: 800;\r\n padding: 13px;\r\n text-transform: uppercase;\r\n color: #343a40\r\n}\r\n\r\n#mainNav .navbar-nav>li.nav-item>a {\r\n font-size: 12px;\r\n font-weight: 800;\r\n letter-spacing: 1px;\r\n text-transform: uppercase\r\n}\r\n\r\n@media only screen and (min-width:992px) {\r\n #mainNav {\r\n border-bottom: 1px solid transparent;\r\n background: 0 0\r\n }\r\n #mainNav .navbar-brand {\r\n padding: 10px 20px;\r\n color: #fff\r\n }\r\n #mainNav .navbar-brand:focus,\r\n #mainNav .navbar-brand:hover {\r\n color: rgba(255, 255, 255, .8)\r\n }\r\n #mainNav .navbar-nav>li.nav-item>a {\r\n padding: 10px 20px;\r\n color: #fff\r\n }\r\n #mainNav .navbar-nav>li.nav-item>a:focus,\r\n #mainNav .navbar-nav>li.nav-item>a:hover {\r\n color: rgba(255, 255, 255, .8)\r\n }\r\n}\r\n\r\n@media only screen and (min-width:992px) {\r\n #mainNav {\r\n -webkit-transition: background-color .2s;\r\n transition: background-color .2s;\r\n -webkit-transform: translate3d(0, 0, 0);\r\n transform: translate3d(0, 0, 0);\r\n -webkit-backface-visibility: hidden\r\n }\r\n #mainNav.is-fixed {\r\n position: fixed;\r\n top: -67px;\r\n -webkit-transition: -webkit-transform .2s;\r\n transition: -webkit-transform .2s;\r\n transition: transform .2s;\r\n transition: transform .2s, -webkit-transform .2s;\r\n border-bottom: 1px solid #fff;\r\n background-color: rgba(255, 255, 255, .9)\r\n }\r\n #mainNav.is-fixed .navbar-brand {\r\n color: #212529\r\n }\r\n #mainNav.is-fixed .navbar-brand:focus,\r\n #mainNav.is-fixed .navbar-brand:hover {\r\n color: #0085a1\r\n }\r\n #mainNav.is-fixed .navbar-nav>li.nav-item>a {\r\n color: #212529\r\n }\r\n #mainNav.is-fixed .navbar-nav>li.nav-item>a:focus,\r\n #mainNav.is-fixed .navbar-nav>li.nav-item>a:hover {\r\n color: #0085a1\r\n }\r\n #mainNav.is-visible {\r\n -webkit-transform: translate3d(0, 100%, 0);\r\n transform: translate3d(0, 100%, 0)\r\n }\r\n}\r\n\r\nheader.masthead {\r\n margin-bottom: 50px;\r\n background: no-repeat center center;\r\n background-color: #868e96;\r\n background-attachment: scroll;\r\n position: relative;\r\n background-size: cover\r\n}\r\n\r\nheader.masthead .overlay {\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n height: 100%;\r\n width: 100%;\r\n background-color: #ca5981;\r\n opacity: .5;\r\n}\r\n\r\nheader.masthead .page-heading,\r\nheader.masthead .post-heading,\r\nheader.masthead .site-heading {\r\n padding: 200px 0 150px;\r\n color: #fff\r\n}\r\n\r\n@media only screen and (min-width:768px) {\r\n header.masthead .page-heading,\r\n header.masthead .post-heading,\r\n header.masthead .site-heading {\r\n padding: 200px 0\r\n }\r\n}\r\n\r\nheader.masthead .page-heading,\r\nheader.masthead .site-heading {\r\n text-align: center\r\n}\r\n\r\nheader.masthead .page-heading h1,\r\nheader.masthead .site-heading h1 {\r\n font-size: 50px;\r\n margin-top: 0\r\n}\r\n\r\nheader.masthead .page-heading .subheading,\r\nheader.masthead .site-heading .subheading {\r\n font-size: 40px;\r\n font-weight: 400;\r\n line-height: 1.1;\r\n display: block;\r\n margin: 10px 0 0;\r\n font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;\r\n}\r\n\r\n@media only screen and (min-width:768px) {\r\n header.masthead .page-heading h1,\r\n header.masthead .site-heading h1 {\r\n font-size: 80px\r\n }\r\n}\r\n\r\nheader.masthead .post-heading h1 {\r\n font-size: 35px\r\n}\r\n\r\nheader.masthead .post-heading .meta,\r\nheader.masthead .post-heading .subheading {\r\n line-height: 1.1;\r\n display: block\r\n}\r\n\r\nheader.masthead .post-heading .subheading {\r\n font-size: 24px;\r\n font-weight: 600;\r\n margin: 10px 0 30px;\r\n font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif\r\n}\r\n\r\nheader.masthead .post-heading .meta {\r\n font-size: 20px;\r\n font-weight: 300;\r\n font-style: italic;\r\n font-family: Lora, 'Times New Roman', serif\r\n}\r\n\r\nheader.masthead .post-heading .meta a {\r\n color: #fff\r\n}\r\n\r\n@media only screen and (min-width:768px) {\r\n header.masthead .post-heading h1 {\r\n font-size: 55px\r\n }\r\n header.masthead .post-heading .subheading {\r\n font-size: 30px\r\n }\r\n}\r\n\r\n.post-preview>a {\r\n color: #212529\r\n}\r\n\r\n.post-preview>a:focus,\r\n.post-preview>a:hover {\r\n text-decoration: none;\r\n color: #0085a1\r\n}\r\n\r\n.post-preview>a>.post-title {\r\n font-size: 30px;\r\n margin-top: 30px;\r\n margin-bottom: 10px\r\n}\r\n\r\n.post-preview>a>.post-subtitle {\r\n font-weight: 300;\r\n margin: 0 0 10px\r\n}\r\n\r\n.post-preview>.post-meta {\r\n font-size: 18px;\r\n font-style: italic;\r\n margin-top: 0;\r\n color: #868e96\r\n}\r\n\r\n.post-preview>.post-meta>a {\r\n text-decoration: none;\r\n color: #212529\r\n}\r\n\r\n.post-preview>.post-meta>a:focus,\r\n.post-preview>.post-meta>a:hover {\r\n text-decoration: underline;\r\n color: #0085a1\r\n}\r\n\r\n@media only screen and (min-width:768px) {\r\n .post-preview>a>.post-title {\r\n font-size: 36px\r\n }\r\n}\r\n\r\n.floating-label-form-group {\r\n font-size: 14px;\r\n position: relative;\r\n margin-bottom: 0;\r\n padding-bottom: .5em;\r\n border-bottom: 1px solid #dee2e6\r\n}\r\n\r\n.floating-label-form-group input,\r\n.floating-label-form-group textarea {\r\n font-size: 1.5em;\r\n position: relative;\r\n z-index: 1;\r\n padding: 0;\r\n resize: none;\r\n border: none;\r\n border-radius: 0;\r\n background: 0 0;\r\n -webkit-box-shadow: none !important;\r\n box-shadow: none !important;\r\n font-family: Lora, 'Times New Roman', serif\r\n}\r\n\r\n.floating-label-form-group input::-webkit-input-placeholder,\r\n.floating-label-form-group textarea::-webkit-input-placeholder {\r\n color: #868e96;\r\n font-family: Lora, 'Times New Roman', serif\r\n}\r\n\r\n.floating-label-form-group label {\r\n font-size: .85em;\r\n line-height: 1.764705882em;\r\n position: relative;\r\n z-index: 0;\r\n top: 2em;\r\n display: block;\r\n margin: 0;\r\n -webkit-transition: top .3s ease, opacity .3s ease;\r\n transition: top .3s ease, opacity .3s ease;\r\n vertical-align: middle;\r\n vertical-align: baseline;\r\n opacity: 0\r\n}\r\n\r\n.floating-label-form-group .help-block {\r\n margin: 15px 0\r\n}\r\n\r\n.floating-label-form-group-with-value label {\r\n top: 0;\r\n opacity: 1\r\n}\r\n\r\n.floating-label-form-group-with-focus label {\r\n color: #0085a1\r\n}\r\n\r\nform .form-group:first-child .floating-label-form-group {\r\n border-top: 1px solid #dee2e6\r\n}\r\n\r\nfooter {\r\n padding: 50px 0 65px\r\n}\r\n\r\nfooter .list-inline {\r\n margin: 0;\r\n padding: 0\r\n}\r\n\r\nfooter .copyright {\r\n font-size: 14px;\r\n margin-bottom: 0;\r\n text-align: center\r\n}\r\n\r\n.btn {\r\n font-size: 14px;\r\n font-weight: 800;\r\n padding: 15px 25px;\r\n letter-spacing: 1px;\r\n text-transform: uppercase;\r\n border-radius: 0;\r\n font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif\r\n}\r\n\r\n.btn-primary {\r\n background-color: #0085a1;\r\n border-color: #0085a1\r\n}\r\n\r\n.btn-primary:active,\r\n.btn-primary:focus,\r\n.btn-primary:hover {\r\n color: #fff;\r\n background-color: #00657b !important;\r\n border-color: #00657b !important\r\n}\r\n\r\n.btn-lg {\r\n font-size: 16px;\r\n padding: 25px 35px\r\n}\r\n\r\nbody>div:nth-child(3)>ul {\r\n float: right;\r\n margin: auto;\r\n padding: 10px;\r\n display: flexbox;\r\n list-style-type: none;\r\n}\r\n\r\nbody>div:nth-child(3)>ul>li {\r\n border: 2px solid #e485a5;\r\n border-radius: 20px;\r\n text-align: center;\r\n margin-bottom: 20px\r\n}\r\n\r\nbody>div:nth-child(3)>ul>li:hover {\r\n border: 2px solid aqua;\r\n background-color: #e485a5;\r\n border-radius: 20px;\r\n text-align: center;\r\n -webkit-animation: flip 3s linear 0s infinite normal;\r\n animation: flip 3s linear 0s infinite normal;\r\n}\r\n\r\nbody>div:nth-child(3)>ul>li:nth-child(3),\r\nbody>div:nth-child(3)>ul>li:nth-child(4) {\r\n border: 2px solid #e485a5;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n}\r\n\r\nbody>div:nth-child(3)>ul>li:nth-child(3):hover,\r\nbody>div:nth-child(3)>ul>li:nth-child(4):hover {\r\n border: 2px solid #e485a5;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n border: 2px solid aqua;\r\n background-color: #e485a5;\r\n}\r\n\r\n@-webkit-keyframes flip {\r\n 0% {\r\n -webkit-transform: translateY(0);\r\n transform: rotateY(0deg);\r\n }\r\n 50% {\r\n -webkit-transform: translateY(180);\r\n transform: rotateY(180deg);\r\n }\r\n 100% {\r\n -webkit-transform: translateY(0);\r\n transform: rotateY(0deg);\r\n }\r\n}\r\n\r\n@keyframes flip {\r\n 0% {\r\n transform: rotateY(0deg);\r\n }\r\n 50% {\r\n transform: rotateY(180deg);\r\n }\r\n 100% {\r\n transform: rotateY(0deg);\r\n }\r\n}\r\n\r\n#myImg {\r\n border-radius: 5px;\r\n cursor: pointer;\r\n transition: 0.3s;\r\n}\r\n\r\n#myImg:hover {\r\n opacity: 0.7;\r\n}\r\n\r\n/* The Modal (background) */\r\n\r\n.modal {\r\n display: none;\r\n /* Hidden by default */\r\n position: fixed;\r\n /* Stay in place */\r\n z-index: 1;\r\n /* Sit on top */\r\n padding-top: 100px;\r\n /* Location of the box */\r\n left: 0;\r\n top: 0;\r\n width: 100%;\r\n /* Full width */\r\n height: 100%;\r\n /* Full height */\r\n overflow: auto;\r\n /* Enable scroll if needed */\r\n background-color: rgb(0, 0, 0);\r\n /* Fallback color */\r\n background-color: rgba(0, 0, 0, 0.9);\r\n /* Black w/ opacity */\r\n}\r\n\r\n/* Modal Content (image) */\r\n\r\n.modal-content {\r\n margin: auto;\r\n display: block;\r\n width: 80%;\r\n max-width: 700px;\r\n}\r\n\r\n/* Caption of Modal Image */\r\n\r\n#caption {\r\n margin: auto;\r\n display: block;\r\n width: 80%;\r\n max-width: 700px;\r\n text-align: center;\r\n color: #ccc;\r\n padding: 10px 0;\r\n height: 150px;\r\n}\r\n\r\n/* Add Animation */\r\n\r\n.modal-content,\r\n#caption {\r\n -webkit-animation-name: zoom;\r\n -webkit-animation-duration: 0.6s;\r\n animation-name: zoom;\r\n animation-duration: 0.6s;\r\n}\r\n\r\n@-webkit-keyframes zoom {\r\n from {\r\n -webkit-transform: scale(0)\r\n }\r\n to {\r\n -webkit-transform: scale(1)\r\n }\r\n}\r\n\r\n@keyframes zoom {\r\n from {\r\n transform: scale(0)\r\n }\r\n to {\r\n transform: scale(1)\r\n }\r\n}\r\n\r\n/* The Close Button */\r\n\r\n.close {\r\n position: absolute;\r\n top: 15px;\r\n right: 35px;\r\n color: #f1f1f1;\r\n font-size: 40px;\r\n font-weight: bold;\r\n transition: 0.3s;\r\n}\r\n\r\n.close:hover,\r\n.close:focus {\r\n color: #bbb;\r\n text-decoration: none;\r\n cursor: pointer;\r\n}\r\n\r\n/* 100% Image Width on Smaller Screens */\r\n\r\n@media only screen and (max-width: 700px) {\r\n .modal-content {\r\n width: 100%;\r\n }\r\n}\n<div class=\"container\">\r\n\r\n\r\n\r\n <div class=\"row text-center text-lg-left\">\r\n\r\n <div class=\"col-lg-3 col-md-4 col-6\">\r\n <a href=\"#\" class=\"d-block mb-4 h-100\">\r\n <img class=\"img-fluid img-thumbnail\" src=\"http://powermovesandpumps.com/wp-content/uploads/2018/09/Walking-through-Kuta-Bali-2-300x400.jpg\" alt=\"\">\r\n </a>\r\n </div>\r\n <div class=\"col-lg-3 col-md-4 col-6\">\r\n <a class=\"d-block mb-4 h-100\">\r\n <img class=\"img-fluid img-thumbnail \" id=\"myImg\" src=\"http://powermovesandpumps.com/wp-content/uploads/2018/09/IMG_4082-768x512.jpg\" alt=\"\">\r\n </a>\r\n </div>\r\n <div id=\"myModal\" class=\"modal\">\r\n <span class=\"close\">&times;</span>\r\n <img class=\"modal-content\" id=\"img01\">\r\n <div id=\"caption\"></div>\r\n </div>\r\n <div class=\"col-lg-3 col-md-4 col-6\">\r\n <a href=\"#\" class=\"d-block mb-4 h-100\">\r\n <img class=\"img-fluid img-thumbnail\" src=\"https://source.unsplash.com/EUfxH-pze7s/400x300\" alt=\"\">\r\n </a>\r\n </div>\r\n <div class=\"col-lg-3 col-md-4 col-6\">\r\n <a href=\"#\" class=\"d-block mb-4 h-100\">\r\n <img class=\"img-fluid img-thumbnail\" src=\"https://source.unsplash.com/M185_qYH8vg/400x300\" alt=\"\">\r\n </a>\r\n </div>\r\n <div class=\"col-lg-3 col-md-4 col-6\">\r\n <a href=\"#\" class=\"d-block mb-4 h-100\">\r\n <img class=\"img-fluid img-thumbnail\" src=\"https://source.unsplash.com/sesveuG_rNo/400x300\" alt=\"\">\r\n </a>\r\n </div>\r\n <div class=\"col-lg-3 col-md-4 col-6\">\r\n <a href=\"#\" class=\"d-block mb-4 h-100\">\r\n <img class=\"img-fluid img-thumbnail\" src=\"https://source.unsplash.com/AvhMzHwiE_0/400x300\" alt=\"\">\r\n </a>\r\n </div>\r\n <div class=\"col-lg-3 col-md-4 col-6\">\r\n <a href=\"#\" class=\"d-block mb-4 h-100\">\r\n <img class=\"img-fluid img-thumbnail\" src=\"https://source.unsplash.com/2gYsZUmockw/400x300\" alt=\"\">\r\n </a>\r\n </div>\r\n <div class=\"col-lg-3 col-md-4 col-6\">\r\n <a href=\"#\" class=\"d-block mb-4 h-100\">\r\n <img class=\"img-fluid img-thumbnail\" src=\"https://source.unsplash.com/EMSDtjVHdQ8/400x300\" alt=\"\">\r\n </a>\r\n </div>\r\n <div class=\"col-lg-3 col-md-4 col-6\">\r\n <a href=\"#\" class=\"d-block mb-4 h-100\">\r\n <img class=\"img-fluid img-thumbnail\" src=\"https://source.unsplash.com/8mUEy0ABdNE/400x300\" alt=\"\">\r\n </a>\r\n </div>\r\n <div class=\"col-lg-3 col-md-4 col-6\">\r\n <a href=\"#\" class=\"d-block mb-4 h-100\">\r\n <img class=\"img-fluid img-thumbnail\" src=\"https://source.unsplash.com/G9Rfc1qccH4/400x300\" alt=\"\">\r\n </a>\r\n </div>\r\n <div class=\"col-lg-3 col-md-4 col-6\">\r\n <a href=\"#\" class=\"d-block mb-4 h-100\">\r\n <img class=\"img-fluid img-thumbnail\" src=\"https://source.unsplash.com/aJeH0KcFkuc/400x300\" alt=\"\">\r\n </a>\r\n </div>\r\n <div class=\"col-lg-3 col-md-4 col-6\">\r\n <a href=\"#\" class=\"d-block mb-4 h-100\">\r\n <img class=\"img-fluid img-thumbnail\" src=\"https://source.unsplash.com/p2TQ-3Bh3Oo/400x300\" alt=\"\">\r\n </a>\r\n </div>\r\n </div>\r\n\r\n</div>\n\n\n"
doc_23505155
The intended purpose is for self-timed animations. The desired solution works without asking for user input. A: TL;DR sys_sleep a new stable and precise sleep function We already know that Sys.sleep could work not as expected, e.g. when CPU usage is very high. That is why I decided to prepare a high quality function p...
doc_23505156
My code to make the picture boxes. The pb1 and p1 are declared above void print_Deck(int x, int y, double[] a){ double n; for (int i = 0; i < 13; i++) { pb1[i] = new PictureBox(); // pb1[1].Image = Properties.Resources.img1; pb1[i].Visible = true; ...
doc_23505157
I'm still quite new to redux/react and the code is like following componentDidMount() { const { actions } = this.props; if(this.props.side === 'right') { return; } actions.fetchSources(); // this works perfectly } handleChildClick(source) { const { actions } = this.props; if(this.props.side === 'right') { ...
doc_23505158
User user= ofy.load().type(User.class).filter("userName", userName).first().now(); But eclipse is complaining that The method now() is undefined for the type Ref<User>. I am using objectify4 with spring for a GAE project. A: Ref does not have a method now(). You can see its signature here: http://docs.objecti...
doc_23505159
I had searched on google but it shows wide variety of implementations and all seem quite length to just display a message. So can some one give a example or link which should I follow Thanks! A: Angular does not know how to show notifications. You can show notifications any way you want. Here are some examples of way...
doc_23505160
function pushbutton1_ButtonDownFcn(hObject, eventdata, handles) myTextBox1 = findobj('Tag','edit1'); myTextBox2 = findobj('Tag','edit2'); str = get(myTextBox1,'String'); set(myTextBox2,'String',str); A: Given the comments it is safe to say that nothing is wrong with this piece of code. This is not yet a solution, but...
doc_23505161
let process = Process() if process.isRunning == false { let pipe = Pipe() process.launchPath = "/usr/bin/osascript" process.arguments = ["/Users/user/Documents/activateApplication.scpt"] process.standardError = pipe process.launch() } but how, using processes I can send more arguments? like "Safari...
doc_23505162
For example, in the figure below there are two datasets plotted on the radar chart, each representing a different object being evaluated based on the criteria/characteristics in the axes. I want to calculate the total area being covered by the polygon to assign each a "total score" that would serve as another metric. ...
doc_23505163
* *Download, extract sample, remove files .project and project.properties *On Android Studio : Import project, next, next ... *Download & install android NDK http://developer.android.com/tools/sdk/ndk/index.html *Download & install cygwin http://cygwin.com/ *Edit the file jni/Android.mk LOCAL_SRC_FILES...
doc_23505164
My view partials looks like the following (I followed a railscasts): <fieldset> <%= f.text_field :ability_title, {:class => 'autocomplete_field', data: { autocomplete_source: abilities_path } } %> <%= f.label :points %>: <%= f.text_field :points %> <%= f.hidden_field :_destroy %> <%= link_to "remove", '#', clas...
doc_23505165
for ($r = 1; $r <= 10; $r++) { if ($shirt_info[$r][0] != "Select One") { echo "<div class='shirtinfo'>Order $r: </div>"; echo "<div class='shirtinfo'>Size: ".$shirt_info[$r][0]."</div>"; echo "<div class='shirtinfo'>Price: ".$shirt_info[$r][1]."</div>"; echo "<div class='shirtinf...
doc_23505166
A: The formula converts the dates to text and when sorting text, excel looks at the first character then the second and so on. So 2/2015 will come after 19/2015. To fix that you need to put a two digit week number. Use: =CONCATENATE(TEXT(WEEKNUM(A1),"00"), "/", TEXT(A1, "yyyy")) This will put a 0 in front of the fi...
doc_23505167
I have tried to install the ncurses library these ways: sudo yum install ncurses-libs sudo dnf install ncurses-devel yum provides libncurses.so.5 There is no file called libncurses.so.5 anywhere on the filesystem. There is a file in /usr/lib64 call libncurses.so.6 and I tried renaming this to 5 but then it says libtin...
doc_23505168
Now, I have to remove that script in my if condition.If user will select dropdown from form with value == 1 then that external script should be remove else that file should work. I am using below code : if(value == '1') { var d = $('script[src="include/javascript/gen_validatorv4.js"]').remove(); ...
doc_23505169
The task is to read a terminal command and to run it every x seconds; if the command hasn't finished within the waiting time, we want to kill the process and afterwards run the command again. Any help would be really appreciated. I'm pretty sure I'm not using waitpid() correctly; how would I go about using waitpid to a...
doc_23505170
[2013-12-06 15:08:34 - Dex Loader] Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace. [2013-12-06 15:08:34 - MapApp_Final] Conversion to Dalvik format failed: Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace. Error which I got f...
doc_23505171
In filter.php <?php //Getting the cat_id value 25 from category.php $cat_id = ((isset($_GET['cat']))?sanitize($_GET['cat']):''); echo 'Cart id filter page is:'.$cat_id; //25 ?> <form action="FrontPageSearchFilter.php" method="post"> <input type="hidden" name="cat" value="<?=$cat_id;?>"> <input ...
doc_23505172
timer = new Timer(100, new ActionListener(){ public void actionPerformed(ActionEvent e){ Graphics2D g2d = (Graphics2D) panel.getGraphics(); if(width > 64){ g2d.drawRect(x,y,width,height); x += 1; y += 1; width -= 1; ...
doc_23505173
P.S.: Are there alternatives, like a command for the "command window"? I doubt I could do it from the "Immediate window" since I don't think .NET allows register access. A: i was able to debug and just in the "Immediate Window" do: EFL = (some value) and it seemed to work.
doc_23505174
b'\xc3\xb6', the other is b'o\xcc\x88' Following code is in python 3.6.3 In [1]: b'\xc3\xb6'.decode('utf-8') Out[1]: 'ö' In [2]: b'o\xcc\x88'.decode('utf-8') Out[2]: 'ö' This will cause the problem for searching words with "ö". How can I convert the second form to first form? A: Run it through Unicode normalization...
doc_23505175
This is my component: <kendo-grid [kendoGridBinding]="gridData | async" [filterable]="true" [pageSize]="10" [pageable]="true" [sortable]="true" [height]="410"> <kendo-grid-column *ngFor="let col of columns" [field]="col.field" ...
doc_23505176
Right now, this is what my appdelegate.m looks like: NSDictionary* defaults = @{@"server_addr": @"http://156.92.15.802"}; [[NSUserDefaults standardUserDefaults] registerDefaults:defaults]; The http://156.92.15.802 url is the part that I need to GET from my server. If my server has a file named Example.txt on it an...
doc_23505177
It happens that over months/years the build plan needs adjustments: * *Parallelize jobs *Add extra jobs *Change some tasks But this will break when we try to build an older version of the software. Some scripts (called from bamboo task) are not-existing in older versions. At my previous employer we used Jenkins ...
doc_23505178
[ { "ID" : 1, "CREATEDON" : "2019-10-26T18:40:16.000Z", "UPDATEDON" : "2019-11-26T18:41:38.000Z", ... }, { "ID" : 2, "CREATEDON" : "2019-11-26T18:41:38.000Z", "UPDATEDON" : "2019-12-28T11:11:28.000Z", ... }, ... ] With the following Avro sch...
doc_23505179
Connection is successful in SQLPlus and PL/SQL Dev, but SQL Developer require hostname and port, but I don't know them. A: If you have TNS set up for connections on your system then go to the %ORACLE_HOME%\Network\Admin directory. In there you will find your tnsnames.ora file in which you will get the hostname and por...
doc_23505180
Have a play around in the jsfiddle, in question 1 change the values in the text input and you will see the total marks change with in the same question block. For question 2 it is a readonly box but the reason it is readonly is because it is a single answer. If a question has a single answer then the text input should ...
doc_23505181
Here is the code and the data I use. https://docs.google.com/file/d/0B2TfUgjtGRVReV9ocFVvM1BKd2M set timefmt "%Y-%m-%d %H:%M:%S" set xdata time set view map set dgrid3d splot './Data/MO-03t_.txt' every ::2 u 1:3:4 with pm3d A: the dgrid3d does not plot your data. Instead, something like two-dimensional splines are ...
doc_23505182
The query is very straight forward and I manage to get the data I want. However this data will appear in the cell where I wrote the query (which is ok) AND as well in the cell directly below, which prevent me from using a dynamic query with a parameter. I tried the two following lines of code that have the same effect:...
doc_23505183
import org.json.JSONObject; public class Go { public static void main(String[] args) { System.out.println("before"); JSONObject test = new JSONObject(); test.put("test", "test"); System.out.println(test); } } Here is what I have tried: jdeps --module-path out --generate-m...
doc_23505184
A: You could require a key and a hash to be passed along to your webapp in the redirect. The redirecting app generates the key, hashes it with a shared secret, and then passes the key and the hashed value to your webapp. Your webapp hashes the key with the shared secret and if it's equal to the hashed value that was p...
doc_23505185
8080 port is already allocated for some other process.so here i'm using 8081 port. Option 1: docker run -it -p 6650:6650 -p 8081:8081 --mount source=pulsardata,target=/pulsar/data --mount source=pulsarconf,target=/pulsar/conf apachepulsar/pulsar:2.5.2 bin/pulsar standalone Option 2: docker run -it -p 6650:6650 -p 8081:...
doc_23505186
My system is currently setup where I made a good API in PHP (incase I expand to iOS/Driod) and the site has AJAX calls to it to get the data it needs. For instance a plugin that allows the page to track your time on each project. MY QUESTION: How do I write a jQuery/LAMP site that allows plugins? I cant exactly wrap...
doc_23505187
This is now example with struct. The first class looks like this: class Owner { public A[] Kids; public Owner(int count) { Kids = new A [count]; // If I would use classes I would need to create new class for each item, right? // It would look like below and my worries are memory impacts because of n...
doc_23505188
I already installed the Plugin in MobaXterm but I can't find any option to do what i wan't. I googled it but i don't find any example for that with MobaXterm. Can anyone help me with this? A: Try running man corkscrew in your MobaXterm terminal A: Download that plugin and put it into Mobaxterm folder & vim ~/.ssh/con...
doc_23505189
I've accomplished this using Postman -> Body -> form-data ->"file":"myFile.png" see screenshots: headers in Postman here Body in Postman here I've written this code in Java Spring: private MediaResponse uploadMedia (File graphicsFile) { String uploadUrl = baseUrl + mediaUrl; HttpHeaders headers = getHttpHeade...
doc_23505190
What can be the cause of that? PS P:\> $url = "mywebsite" PS P:\> $result = invoke-WebRequest $url PS P:\> $result | Get-Member TypeName: Microsoft.PowerShell.Commands.HtmlWebResponseObject Name MemberType Definition ---- ---------- ---------- Dispose Method void Dispose(), voi...
doc_23505191
Thanks for your suggestion :) A: When the screen is turned off, it also turns the touch sensors off. The thing you asked is impossible. You can still make the screen's contents black and dim the backlight. (The screen will then still be on.) Or, you could use some of the device's buttons (not Home, Back or Menu becau...
doc_23505192
f=[1,1,1,2,2,2,3,3,3] x=[10,20,30,40,50,60,70,80,90] Now I want to extract all items from x, for which the corresponding item in f fulfills the condition abs(i)=1 So I want to end up with: 1 10 1 20 1 30 My approach so far is: for i in f: if abs(i)==1: for j in x: print i,j But this gives me...
doc_23505193
i.e. How can I get IEnumerable from my tree level n? i.e. How can I get IEnumerable from my tree level n-1? Thanks! A: Perhaps a little more than you need, but it can be trimmed down. The following TVF will parse virtually any XML structure and return a normalized hierarchy structure. Being a TVF, you can apply any ...
doc_23505194
long long x=1; for(int y=1;y<di;y++){ x=x*(long long)10; } return ccn%x; The x is a long long.The 10 is a long long.How does this error happen? * *runtime error: signed integer overflow: 1111111111111111111 * 10 cannot be represented in type 'long long' A: long long (which is signed, by defaul...
doc_23505195
FROM mcr.microsoft.com/windows:10.0.17763.1039-amd64 COPY ["processor", "processor/"] ENTRYPOINT ["processor/Processor.exe"] I'm using Windows as base image because image processing library that we are using requires Windows Media Feature Pack to be installed. When I try to create Azure Container Instances with my r...
doc_23505196
https://learn.microsoft.com/en-us/azure/bot-service/bot-builder-tutorial-authentication Imagine that I want to consume the MSGraph API then clearly I can use the method context.GetUserTokenAsync(ConnectionName) and start the authentication flow in order to grab a valid token, however, what happen when the token is expi...
doc_23505197
So my question is how to make work together Open ID and Google APIs Client Library for JavaScript, when all documentation for the latter library discribes only work with OAUTH2?
doc_23505198
apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: azure-vote-route namespace: azure-vote spec: rules: - host: <>.<>.cloudapp.azure.com http: paths: # - path: / # pathType: Prefix # backend: # service: # name: azure-vote-front ...
doc_23505199
function doPost(opts, data) { var post_req = http.request(opts, function(res) { res.setEncoding('utf8') res.on('data', function (chunk) { }) }) post_req.write(JSON.stringify(data)) post_req.end() } setInterval(doPost, interval, opts, msg) I'd prefer that these requests are issued sequen...