I have a document library with multiple level folder structure, I want to fetch the server relative URL of individual folder by their name. For example: Folder structure in lib like this: Document Library &gt; Folder =&gt; subfolder1 =&gt; subfolder2 If I pass Name='Folder', it should return /Document Library/Folder If I pass Name='subfolder2', it should return /Document Library/Folder/subfolder1/subfolder2 I tried below restAPI: _api/web/lists/GetByTitle('Documents')/RootFolder?$expand=Folders/Folders&amp;$Filter=Name eq 'subfolder2'  But it returns extra folder details as well. Any extra parameter I can add to my rest URL to filter out extra folder details?
I have a site which is running under SharePoint 2013. Via REST I am trying to retrieve the file and folder directory for that site. There are several similar questions on this site related to recursively retrieving all of the files and folders for a given a folder:       The answers provided therein led me to the following URI:     /_api/web/Lists/GetByTitle('Documents')/Items?$expand=Folder&amp;$select=Title,FileLeafRef,Folder/ServerRelativeUrl   Which from what I can tell does retrieve all of the files and folders from the given starting path.  However, I am missing something. When reading through the returned XML I cannot figure out where a given file goes. Meaning that I have info on how to retrieve file bros.pdf, but cannot determine that it is in the documents/super/mario/ folder.  For the file items I've tried to retrieve the ServerRelativeUrl property, but have not succeeded though the folders seem to. Is there some identifier in the XML that I am missing? When doing a recursive RESTful query how do I determine where a given file belongs?
I've found in Wikipedia the formula for calculating an individual row in Pascal's Triangle: $$v_c = v_{c-1}\left(\frac{r-c}{c}\right).$$ where $r = \mathrm{row}+1$, $c$ is the column starting from $0$ on left and $v_0 = 1$.  Now, I've tried to do by hand and it works,  but I don't understand how to find this magic formula when I don't have access to Wikipedia...:) Suppose I have a node in the shape of a circle. How can I make its border thicker?   \node[circle, draw=blue!80, inner sep=0pt, minimum size=12pt] (1) at (0,0) {1}; How to complain about a user? I  and a user was rude to me in a comment and in an answer. Even though I can't downvote, that answer got -5 and it was automatically deleted. I want to complain about that user. How can I do that? Uninstall Kali Linux from triple boot Does the Mordenkainen's Magnificent Mansion spell's mansion exist on a separate plane of existence? In particular: the  spell (PHB, p. 281) states:  [...] The creature can be anywhere on the same plane of existence as you. The spell ends if you or the target are no longer on the same plane. [...]  Can telepathy connect two characters, one inside the extradimensional dwelling created by the  spell and the other in the same plane as the portal to the magnificent mansion? Many programs needs folder names that starts with a dot, like .emacs.d, .gimp-2.2, .jedit etc. How do I create such a folder?  When using the Windows Explorer in Windows 2000 (and other versions), I get an error message saying "You have to enter a filename". The only solution I have come up with, is to open a command prompt (Start > Run > "CMD" > OK) and enter mkdir .mydir.  Why have Microsoft this error message in the Explorer, but not in the command shell? Is there any registry hack out there to fix this, so that I am able to enter the folder name directly in the Explorer? Show that there is $\xi$ s.t. $f(\xi)=f\left(\xi+\frac{1}{n}\right)$ Let $f:[0,1]\to\mathbb{R}$ be continuous and $f(0)=f(1)$. Show that for any integer $n\geqslant 2$, there is $\xi\in(0,1)$ s.t.$f(\xi)=f\left(\xi+\frac{1}{n}\right).$  I think this requires the intermediate value theorem somewhere. as of 4/2015 OS X Kindle App: Where are the books located? After I updated my Kindle for Mac app 2 mos. ago I can no longer find the azw book files on my Mac to convert them so I can read them on my KOBO ereader. I use to find them in a My Kindle Content file but that has disappeared. I have Ult. DRM &amp; Calibre but they won't work without the azw files, and I can't find them on my mac anymore. Can anyone help me? The answers on this site about this are years old &amp; do not apply to my problem. Why is it called Area 51? According to : "We like the little aliens."  This seems well targeted to appeal to the Stack Overflow / Server Fault / Super User audience, but way off the mark if the goal is to "make the Internet a better place to get expert answers to your questions."    There are experts who aren't interested in or focused on technology oriented topics.  Little aliens are unlikely to be something that someone interested in organizing a site on gardening would gravitate too.  No, I'm not suggesting that no one interested in gardening would be bother to look at a site with little aliens, but won't it be likely that the sort of mass appeal to to a very broad cross section of the internet will be lacking? In JavaScript:  encodeURIComponent("©√") == "%C2%A9%E2%88%9A"   Is there an equivalent for C# applications? For escaping HTML characters I used:  txtOut.Text = Regex.Replace(txtIn.Text, @"[\u0080-\uFFFF]",     m =&gt; @"&amp;#" + ((int)m.Value[0]).ToString() + ";");   But I'm not sure how to convert the match to the correct hexadecimal format that JS uses. For example this code:  txtOut.Text = Regex.Replace(txtIn.Text, @"[\u0080-\uFFFF]",     m =&gt; @"%" + String.Format("{0:x}", ((int)m.Value[0])));   Returns "%a9%221a" for "©√" instead of "%C2%A9%E2%88%9A". It looks like I need to split the string up into bytes or something.  Edit: This is for a windows app, the only items available in System.Web are: AspNetHostingPermission, AspNetHostingPermissionAttribute, and AspNetHostingPermissionLevel. PHP Codes are displaying in HTML How many files can a windows folder contain?  This question is asked  but then the question text pollutes the question with issues of "rules of thumb"  So to be clear, this question is: How many files can a windows folder contain? Make Windows 7 ignore WiFi when ethernet is available When I dock my Windows 7 laptop, I want it to prefer the wired ethernet connection over WiFi.  This is a pretty straightforward thing to do on my Mac - I just reorder my network preferences, and it "does the right thing." I just can't figure out how to achieve the same thing on my Win7 laptop.  So, when I'm docked, it connects to WiFi, and then fails to connect to servers on the local wired network. How do I fix this? How do I pre-install Ubuntu for someone (OEM install)? I would like to pre-install Ubuntu on a computer for someone. I may want to customize it for them, but in the end they need to be able to choose a username, password, etc. when they first boot it up. (Also called an OEM install).  How do I do this? Dynamic date range query I'm trying to create two cells that will update my query: A >= date"A1" and A &lt;= date "B1".  My goal is to create a search page for the data, where the end user could insert a date or the =today() function and it would update the query. I am currently getting a formula parse error from:  =QUERY(Data!6:1397,"SELECT A,B,C,D,E,F,G,H,I,J,K,L WHERE A &gt;= date"A1"and  A &lt;= date"B1"") IPv4 vs IPv6 priority in Windows 7 I have IPv6 connectivity through Hurricane Electric tunnel. Since IPv6 day this year, many services (google.com, facebook.com, etc.) enabled IPv6 on their main domains. On my Windows machine, IPv6 is preferred over IPv4. This means that whenever I visit Google, all traffic goes through my tunnel to Hurricane Electric, which raises the latency by more than 100%:  C:\&gt; ping www.google.com  Pinging www.l.google.com [2001:4860:8005::68] with 32 bytes of data: Reply from 2001:4860:8005::68: time=85ms Reply from 2001:4860:8005::68: time=84ms Reply from 2001:4860:8005::68: time=112ms Reply from 2001:4860:8005::68: time=86ms  Ping statistics for 2001:4860:8005::68:     Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds:     Minimum = 84ms, Maximum = 112ms, Average = 91ms   C:\&gt; ping -4 www.google.com  Pinging www.l.google.com [173.194.79.103] with 32 bytes of data: Reply from 173.194.79.103: bytes=32 time=28ms TTL=48 Reply from 173.194.79.103: bytes=32 time=28ms TTL=48 Reply from 173.194.79.103: bytes=32 time=55ms TTL=46 Reply from 173.194.79.103: bytes=32 time=29ms TTL=46  Ping statistics for 173.194.79.103:     Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds:     Minimum = 28ms, Maximum = 55ms, Average = 35ms   Question: How can I make Windows 7 to always prefer IPv4, when both IPv4 and IPv6 records are available for a specific domain name? ElasticSearch doesn't start after installing 5.6.4 I have CSV data loaded into a multidimensional array. In this way each "row" is a record and each "column" contains the same type of data.  I am using the function below to load my CSV file.  function f_parse_csv($file, $longest, $delimiter) {   $mdarray = array();   $file    = fopen($file, "r");   while ($line = fgetcsv($file, $longest, $delimiter))   {     array_push($mdarray, $line);   }   fclose($file);   return $mdarray; }   I need to be able to specify a column to sort so that it rearranges the rows.  One of the columns contains date information in the format of Y-m-d H:i:s and I would like to be able to sort with the most recent date being the first row. av_acharya@AnoxBotox:/$ wireshark qt.qpa.plugin: Could not find the Qt platform plugin &quot;xcb&quot; in &quot;path/to/plugins&quot; This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.   sudo apt-get install --reinstall qt5-default Reading package lists... Done Building dependency tree        Reading state information... Done The following NEW packages will be installed:   qt5-default 0 upgraded, 1 newly installed, 0 to remove and 23 not upgraded. Need to get 0 B/24.4 kB of archives. After this operation, 170 kB of additional disk space will be used. Selecting previously unselected package qt5-default:amd64. (Reading database ... 241279 files and directories currently installed.) Preparing to unpack .../qt5-default_5.12.8+dfsg-0ubuntu1_amd64.deb ... Unpacking qt5-default:amd64 (5.12.8+dfsg-0ubuntu1) ... Uncheck checkboxes by changing particular checkbox state I have custom fields in contacts form named checkbox1__c, checkbox11__c, checkbox12__c, checkbox13__c.  When I check checkbox1__c then I want checkbox11__c,  checkbox12__c,  checkbox13__c to be unchecked.  When I unchecked checkbox1__c then I want checkbox11__c, checkbox12__c, checkbox13__c to be checked.  Is there any way to do this by using validation-rules? If not no way to this by validation-rules, then what is the best way to do this?