What is a good way to mount / secure a regular backpack, while commuting?
Options to move the school rucksack during the trip
Console freezes on auto-complete of /mnt/folder (CIFS) share I have a Ubuntu 14.04 server that will lock up after an undetermined amount of time when you attempt to tab-auto-complete the path of a CIFS share in the /mnt directory. I mount the share and it seems to work fine for a uncertain amount of time. I can do ls or run du on folders within the mounted share. Then I will go to tab out a folder path and my console locks up. I can start a new session but it will lock as soon as I try to mess with the mounted share; this even happens to other users if I have them try as well. I have no idea why this is happening? I've never seen this issue. How to only substitute lines that match several patterns in sed? $ echo -e 'CH12\nCH23au' | sed '/^CH/s=^=&lt;b&gt;=' &lt;b&gt;CH12 &lt;b&gt;CH23au   I know I can match lines starting with CH by ^CH but how can I match multiple patterns?   Example:  Input:  CH12 CH23au   Output:  CH12 &lt;b&gt;CH23au   How to only put &lt;b&gt; where there is ^CH and au in the line? How can I center a too wide table? I have a document containing a table which is slightly too wide for the page. But instead of growing to the right side only, I would like to have it centered on the page.  I have tried to use the center environment but this doesn't seem to help. Solving $x - a \log(x)=b$ Let $a&gt;0$ and $b \in \mathbb{R}$: Assume there exists an $x &gt;0 $ s.t. $$x - a\log(x) = b$$ holds. How can it be determined in closed-form? How do I unit test code that includes a callout? This is a canonical question and answer developed by the community to help address common questions. If you've been directed here, or your question has been closed as a duplicate, please look through the resources here and use them to shape more specific questions. To browse all canonical questions and answers, including more unit test resources, navigate to the  tag.  How do I unit test code that includes a SOAP or REST-based callout, or indirectly calls code that makes a callout? I'm getting an error saying that callouts are not supported. Insert title of table of contents into toc I have a little bit of problem. I have to put the title of toc into toc. I've used the following code to do that and it works for me, kind of. The problem is in the title is aligned with the titles of the chapters and not with list of figures etc.  { \makeatletter \let\@oldstarttoc\@starttoc \renewcommand{\@starttoc}{%   \addcontentsline{toc}{chapter}{\protect\numberline{}\contentsname}% Add ToC to ToC   \@oldstarttoc } \tableofcontents \makeatother }   Here is the picture of my toc.    My idea is to use the same code for  Acknowledgements, Lists of... , Abbreviations etc. Is it ok to try that or there is an alternative? Create a variable in .CSS file for use within that .CSS file Possible Duplicate:          We have some "theme colors" that are reused in our CSS sheet.  Is there a way to set a variable and then reuse it?  E.g.  .css OurColor: Blue  H1 {   color:OurColor; } Copy maintenance plans to a different server Is there a way to copy maintenance plans from one SQL Server 2012 to another? Both servers are not accessible via the same copy of Management Studio at the same time (on different networks). How to get the current date/time in Java How do I find the current machine's full hostname in C (hostname and domain information)? In a C project (POSIX), how do I get the fully qualified name for the current system?  For example, I can get just the hostname of my machine by doing gethostname() from unistd.h. This might give me machine3 in return, but I'm actually looking for machine3.somedomain.com for example.  How do I go about getting this information? I do not want to use a call to system() to do this, if possible. Given a compact set $K$ and closed set $E,$ prove: $E\cap K\neq \emptyset $ Let $K\subseteq \mathbb{R}^n$ be a compact set and $E\subseteq \mathbb{R}^n$ a closed set, such that: $$\inf\{d(x,y):x\in K, y\in E\}=0$$ where $d(x,y)=\sqrt{\sum_j(x_j-y_j)^2}$ Prove: $E\cap K\neq \emptyset $  I tried to work with the definitions of compact and closed sets, and I understand that from what's given of the distance between elements in $K$ and $E$, that they are very close,  but couldn't really get further. Any help appreciated. Outline around text on CMYK black background in Photoshop I'm trying to make a document with one color black  (c:0,m:0,y:0,k:100) background with red text on it. However in CMYK the text has this weird grey white-ish edge. In RGB it doesn't show but in CMYK it shows. I'm wondering will this show when printing or do I need to use different methods? ie. using rich black etc.  Here's the RGB and CMYK comparison Nesting HTML- anchor tags Unable to upgrade pip Can we deploy PROFILES alone from one sandbox to another? How to get information about deb package archive? How to get information about .deb package archive?   Like: package information, version, installed-size, architecture, description and licensing information etc. from .deb package archive? Average run length Suppose in an Xbar chart, k successive points plotted outside a control limit indicates an out of control situation. If p is the probability of plotting a point outside a control limit, how is ARL = $(1-p^k)/(p^k (1-p))$? What are the use cases for different scoping constructs? I have very old Computer  What's the Best Operating System for Old Computer? At the onset of my live usage in Ubuntu Gnome 15.10, use a bash script to set the colour of my gnome-terminal. The code used is link=/org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9 dconf write $link/background-transparency-percent '10' dconf write $link/scrollback-unlimited true dconf write $link/use-theme-colors false dconf write $link/use-theme-transparency false dconf write $link/use-transparent-background true dconf write $link/foreground-color 'rgb(0,43,54)' dconf write $link/background-color 'rgb(131,148,150)'  The last 2 lines of the code give a key-value error. When I look at the dconf-editor org&gt;gnome&gt;terminal&gt;legacy&gt;profiles:&gt;{Default profile} the attributes  foreground-color background-color  are unavailable. How do I get rid of the error? Note: When done manually via gnome-ternimal&gt;Edit&gt;Profile Preferences&gt;Colours&gt;Built-in schemes the above attributes appear in the same location in dconf-editor.