I'd like to set ssh_config so after just typing ssh my_hostname i end up in specific folder. Just like I would type cd /folder/another_one/much_much_deeper/.  How can i achieve that?  EDIT. It's have been marked as duplicate of "How to ssh into dir..." yet it is not my question.  I know i can execute any commands by tailing them to ssh command. My question is about /ssh_config file not the command.
I frequently login to a server, then cd into a specific directory. Is it possible to simplify these two commands into one?   ssh bob@foo   cd /home/guest   I'd like to avoid changing anything on 'foo' if possible, as I'll have to clear it with the server administrator. I use bash, but I am open to answers in other shells.
Is returning a pointer to a static local variable safe? I'm working with some code that widely uses the idiom of returning a pointer to a static local variable.  eg:  char* const GetString() {   static char sTest[5];   strcpy(sTest, "Test");   return sTest; }   Am I right in thinking that this is safe?  PS, I know that this would be a better way of doing the same thing:  char* const GetString() {   return "Test"; }   Edit: Apologies, the function signature should of course be:  const char* GetString(); Where can I find medicine? I know it is possible to be stung by bees in Animal Crossing: New Leaf.   I learned that the hard way when I was trying to find my furniture tree. Now, I have an eye swollen shut and all of my towns people are making fun of me. They're all being kind enough to inform me that I need Medicine, but they seem to be enjoying themselves at my expense too much to tell me where to actually find the Medicine.  Where can i get medicine? I'd really like it if my townspeople stopped making fun of me. How does virtualizing differ from emulation, in terms of structure? Someone told me that a virtualizing program like VirtualBox does not work like an emulator does in the sense that it doesn't emulate registers and uses the actual ones for the virtualized data that are on the CPU. Emulators must emulate the registers since they are mostly to execute software that depends on a foreign environment (e.g. a Genesis emulator needs Motorola 68000's registers and memory addresses, so developer must make these resources available as emulated registers).  My main question is, how is virtualization developed? How do we enable an entire OS to run as a process in a virtual machine, but get it to run independently while still making use of the actual CPU? I only know emulation, not virtualization, so if anyone could help that'd be nice!  PS: I am not asking solely what the difference is, but differences in how they run software. Your UK visa application has been issued.      PLEASE DO NOT GO TO THE VISA APPLICATION CENTRE BEFORE THEY CONTACT YOU.      You will be contacted by the Visa Application Centre when your documents are ready for collection, or have been dispatched via courier where this is relevant.       You are reminded that you should avoid making travel plans until you have collected your passport, as the outcome of your visa application is not final until you receive your passport.      Please ensure you check the details on your visa when collecting your passport. If you need to contact us you can do so via our International Enquiry Service at www.gov.uk/contact-ukvi-outside-uk      Kind regards,      UK Visas and Immigration   British Embassy Abu Dhabi     Your UK visa application has been issued.   I know words like processed, forwarded, received, refused but never heard anything like that, so I am confused. Asymptotes in a plot I'm using TikZ to plotting some functions for a document. For example, I want to plot 1/(x+1). So I did something like this:  \begin{tikzpicture}[&gt;=stealth,x=3mm,y=3mm] \draw (0,5) node[above]{\fimg $y=f(x+1)=\dfrac{1}{x+1}$}; \clip (-5,-5) rectangle (5,5); \ejes[1]{-4}{4}{-4}{4} \draw[samples=100] plot(\x,{1/(\x+1)}); \end{tikzpicture}   where \ejes[style]{xmin}{xmax}{ymin}{ymax} is command, that I have defined before to draw the axes (join with \fimg). My expected output for the code below was just the function, but I get this:    So, TikZ automagically put the vertical asymptote at x=-1. That isn't a bad thing, but now I want to have some control over it. For example I want dotted lines for vertical asymptotes. How can I do that? Photoshop "Export > Export As" or "Export > Save For Web" in size 600px + auto suffix in filename If H is a subgroup of G ( | G:H |=n, n > 1), then how can you show that G has a factor group G/N which is isomorphic to a subgroup D of the symmetric group Sn with |D| > 1.  I've been looking at Cayley's Theorem but it's not specific to the factor groups. Show that total orders are maximal orders A set $X$ together with a binary relation $\leq$ such that for all $x,y,z\in X$,  $O1$. $x\leq x$  $O2$. $x\leq y$ and $y\leq x$ then $x=y$  $O3$. $x\leq y$ and $y\leq z$ then $x\leq z$  is called an ordered or sometimes a partially ordered.  An ordered $(X,\leq)$ is called a total order if for all $x,y\in X$, either $x\leq y$ or $y\leq x$.  Question: Show that total orders are maximal orders  My question: is there a typo in the question?  What is a maximal order? How can I prove the question, can you help? Thanks... Do numbers exist independently from observers? dropping ticklabel on pgfplot axis How do I clear the render border? In the 3d viewport I am using a border region to only render things inside the selected region. I did this with CtrlB. I cannot get rid of the region. How can I make the border disappear? Capitalization of the word "the" in "the Lord" / "The Lord" Should I capitalize the word "the" when speaking of God as "the/The Lord"?     I praise the Lord.   or...     I praise The Lord. A local IP address (RFC 1918) on my network that is not … local I've noticed an IP address today on my network (192.168.15.1) which when visited actually goes to a page that has a router webconfig page (Not my router)  The puzzling thing is that i tried traceroute 192.168.15.1 which said that the distance between me and that host is 9 hops, whereas the distance between me and any other computer on my home network is 2 hops away (My computer --> Router --> Host)   Can someone please explain what's going on here ?  tracert output:  Tracing route to 192.168.15.1 over a maximum of 30 hops    1    &lt;1 ms    &lt;1 ms    &lt;1 ms  192.168.1.1   2    47 ms    51 ms    49 ms  [163.121.171.123]   3     *        *        *     Request timed out.   4   128 ms     *        *     163.121.211.134.dnet.net [163.121.211.134 ]   5     *      134 ms   126 ms  10.37.242.18   6    94 ms    90 ms    95 ms  10.35.2.157   7   178 ms   254 ms   206 ms  10.32.8.107   8    85 ms    57 ms   318 ms  10.35.0.186   9   215 ms   241 ms   230 ms  192.168.15.1  Trace complete. import os xp1 = "\Documents and Settings\" xp2 = os.getenv("USERNAME") print xp1+xp2   Gives me error   File "1.py", line 2  xp1 = "\Documents and Settings\"                                ^ SyntaxError: EOL while scannning single-quoted string   Can you help me please, do you see the problem? I am trying to understand what mathematics is really built up of. I thought mathematical logic was the foundation of everything. But from reading a book in mathematical logic, they use "="(equals-sign), functions and relations.  Now is the "=" taken as undefined? I have seen it been defined in terms of the identity relation.  But in order to talk about functions and relations you need set theory.  However,  seems to be a part of mathematical logic.  Does this mean that (naive) set theory comes before sentential and predicate logic? Is (naive)set-theory at the absolute bottom, where we can define relations and functions and the eqality relation. And then comes sentential logic, and then predicate logic?  I am a little confused because when I took an introductory course, we had a little logic before set-theory. But now I see in another book on introduction to proofs that set-theory is in a chapter before logic. So what is at the bottom/start of mathematics, logic or set theory?, or is it circular at the bottom?  Can this be how it is at the bottom?  naive set-theory $\rightarrow$ sentential logic $\rightarrow $ predicate logic $\rightarrow$ axiomatic set-theory(ZFC) $\rightarrow$ mathematics  (But the problem with this explanation is that it seems that some naive-set theory proofs use logic...)  (The arrows are of course not "logical" arrows.)  simple explanation of the problem:  a book on logic uses at the start: functions, relations, sets, ordered pairs, "="  a book on set theory uses at the start: logical deductions like this: "$B \subseteq A$", means every element in B is in A, so if $C \subseteq B, B \subseteq A$, a proof can be "since every element in C is in B, and every element in B is in A, every element of C is in A: $C \subseteq A$". But this is first order logic? ($(c \rightarrow b \wedge b \rightarrow a)\rightarrow (c\rightarrow a)$).  Hence, both started from each other? Scenario:   Create SymLink: C:\Data\workspaces --&gt; C:\Users\****\Documents\workspaces Navigate to C:\Data\Workspaces in explorer Click and drag the the path from the address bar onto "Quick Access" in the navigation pane.   Expected Result:   Clicking on the shortcut takes you to C:\Data\workspaces   Actual Result:   Clicking on the shortcut takes you to C:\Users\****\Documents\workspaces   How do you make it so that the shortcut points to the correct path. (the SymLink)  Command Used to create the SymLink:  mklink /D C:\Data\workspaces C:\Users\****\Documents\workspaces   Updated with pictures:  Please note the workspaces symlink inside C:\Data:    When I double-click on the symlink it works correctly. (note the address bar.    When i pin it to the Quick access bar, however, it uses the address that the symlink points to and NOT the symlink address. Number Theory: Find all solutions of $\phi(n)=16$ and $\phi(n)=24$ I have this homework problem assigned and I'm a little confused in solving it:  Find all solutions of $\phi(n)=16$ and $\phi(n)=24$ (where $\phi(n)$ is the Euler phi-function).  The hint that's provided says:  If $n=p_1^{k_1}p_2^{k_2}\cdots p_r^{k_r}$ satisfies $\phi(n)=k$, then $n=\frac{k}{\prod (p_i-1)}\prod p_i$. Thus the integers $d_i=p_i-1$ can be determined by the conditions (1) $d_i\mid k$, (2) $d_i+1$ is prime, and (3) $\frac{k}{\prod d_i}$ contains no prime factor not in $\prod p_i$.  I'm ok with proving the statements in the hint and I know how to get them, but I'm not sure how to apply them to solve the problem. How do I determine which graphics card I'm using? What is the correct way to use infinitive after the verb "help": with or without "to"? Obscure fantasy movie involving flying sea-galleons and a time weapon Been trawling the internet for hours, can't find any trace or reference of this movie. Not really sure what station I saw it on (only once), but it was probably Sci-Fi Channel (mind you, a very long time ago:  Movie opens with flying ships (sailing galleons), that proceed to siege a towering city. The city fires back with its own cannons, and drives the invaders away. The main protagonist is a young boy who longs to be a knight... or this movie's equivalent thereof. He has an older brother who is already recognized as a warrior. The boy lives in the city that successfully repelled this siege.  The king of this city has some sort of wizard or wise-man as a councilor, who conceives an "ultimate weapon" against their enemies- an hourglass of sorts that accelerates time against a target. However, during the course of the movie this weapon is stolen by the city's enemies (led by an evil queen or sorceress), who proceeds to use it against the city itself and all its inhabitants.  So the king sends out his armies to retrieve the artifact, all the while everyone and everything begins aging rapidly. Our boy-hero watches his older brother (now much older) set out with other knights on the quest, and there's a token romance between the boy and the king's daughter. The knights do not return, however, and the time-curse continues to wreak havoc on the city.  Ultimately, the boy (now a man) sets out to find his brother, the hourglass, and save the day. He finds his brother at a wreckage-site (I believe of a flying galleon), and they share a brief moment before the elder brother finally succumbs to old age. I'm sure I'm forgetting some other poignant details, but that's essentially the crux of it. Ends... if I remember correctly, with  the artifact being disabled and the evil queen/sorceress defeated.  Question is: what is this movie titled?