I'm working with several Windows 10 machines and often installing new OS builds, and I only know how to customize the command prompt display by manually adjusting the font, colors, etc. in the properties dialog. Is there a way to copy the settings from a particular command prompt shortcut and automatically apply them to another shortcut, possibly on another machine?   I don't want the change to affect all command prompts on the machine, so the registry defaults are not an option. For example, I use different color backgrounds for different environments, so I can easily tell them apart. This needs to be applied to each command prompt shortcut separately, not to the global defaults.
Where are the default settings saved for the Command Prompt defaults?  Are they stored in the registry somewhere, or in a file?  I would love to make a .reg file to set my default preferences when logging into a machine for the first time.  I'm talking about the default application settings: QuickEdit mode, buffer size, text color, etc.
I'm trying to use Python to place a camera. I know the camera's location, and the forward and up vectors for the camera (i.e. the direction it's pointing and its orientation). How do I do this?  I know that it's possible to calculate a raw world matrix from the above information, which I can then apply to the camera, but I was rather hoping not to have to. Is there an easier way? EM with Binomial Find all solutions to $x^2\equiv 1\pmod {91},\ 91 = 7\cdot 13$ $ KC $ spaces imply $ US $ spaces , but vise versa is false. JSonNet boolean serialization Some text lines are italicized with no spaces between words I want to have my super key start dmenu. I have set it as a keyboard shortcut in my rc.xml as follows:  &lt;keybind key="0xffeb"&gt;       &lt;action name="Execute"&gt;         &lt;command&gt;dmenu_run&lt;/command&gt;       &lt;/action&gt; &lt;/keybind&gt;   I tried specifying it in the key attribute as W, W-, and 0xffeb, but none of these worked. W responds to pressing the letter w, and the others appear to do nothing.  I want the shortcut to trigger when the super key is pressed and released on it's own. Is this possible?    This is  from super user as per the . I've read this question: , but I didn't see any useful information in it. Hi I want to try Ubuntu 20.04 without installing it due to some driver issues in my laptop. But I already have 2 OS ( Windows 10 and Ubuntu 20.04 [Dualboot] ), so will trying Ubuntu mess with the already installed Operating systems? And I know how to make live usb and booting from it but don't know how to exit it and then bring my laptop back to normal. Tried finding procedure on internet but reliable results are not found. "Hope you won't" vs "Hope you don't" What is the difference between "Hope you don't mind" and "Hope you won't mind"? What could be a contextual difference between the two? In a situation like the following, which one seems more appropriate?        Expect me to knock on your door sometimes. Hope you don't mind -or- Hope you won't mind (my knocking on your door) Removing leading zeroes from a field in a SQL statement I am working on a SQL query that reads from a SQLServer database to produce an extract file. One of the  requirements to remove the leading zeroes from a particular field, which is a simple VARCHAR(10) field. So, for example, if the field contains '00001A', the SELECT statement needs to return the data as '1A'.  Is there a way in SQL to easily remove the leading zeroes in this way? I know there is an RTRIM function, but this seems only to remove spaces. Terminal command 'login' fails with error message Coming from Mac OS X, there is a possibility for every ordinary user to open Terminal and type in 'login' to change to a different user account.  When I do this with Ubuntu, it provides the following error message:  login: Cannot possibly work without effective root   Is there any way to remedy this?  Which file do I need to edit and with what to enable the use of this command (even for a standard user)? In Postgres txid_current() should return biginteger but instead an integer is returned In Postgres 11, according to documentation, txid_current() should return biginteger but I'm getting small integer that doesn't look like is extended by epoch counter. My txid looks like this: 1123  "The internal transaction ID type (xid) is 32 bits wide and wraps around every 4 billion transactions. However, these functions  export a 64-bit format that is extended with an “epoch” counter so it will not wrap around during the life of an installation."     Am I interpreting documentation incorrectly? Matrix exponential for Jordan canonical form Let $X$ be a real $n \times n$ matrix, then there is a Jordan decomposition such that $X = D+N$ where $D$ is diagonalisable and $N$ is nilpotent.  Then, I was wondering whether the following is correct.  $e^{tX}(x) = \sum_{k=0}^{m} \frac{t^k N^k}{k!} \left(e^{t \lambda_1} \alpha_1 v_1+..+e^{t \lambda_n} \alpha_n v_n \right).$  Here $x = \sum_{i=1}^{n } \alpha_i v_i$ and $v_i$ are the eigenvectors of the diagonalisable matrix, $\lambda_i$ are the eigenvalues of $D$ and $m$ is the degree up to which $N^k$ is still non-zero.  Is this correct or am I doing something wrong? Cause I could not find a general equation for this matrix exponential, so I tried my best. (Thus, I am only asking for a verification or correction of this answer.)  If anything is unclear, please let me know. How to use `ybar interval` without skipping the last value Prove by induction $\sqrt{1}+\sqrt{2}+\sqrt{3}+...+\sqrt{n}\ge\frac{2}{3}n\sqrt{n}$ for all positive integers Assumption: $\sqrt{1}+\sqrt{2}+\sqrt{3}+...+\sqrt{k}\ge\frac{2}{3}k\sqrt{k}$   Prove true for $n=k+1$ $$\sqrt{1}+\sqrt{2}+\sqrt{3}+...+\sqrt{k}+\sqrt{k+1}\ge\frac{2}{3}(k+1)\sqrt{k+1}$$  I'm upto :$$\sqrt{1}+\sqrt{2}+\sqrt{3}+...+\sqrt{k}+\sqrt{k+1}\ge\frac{2}{3}k\sqrt{k}+\sqrt{k+1}$$after which I'm stuck. Given two date ranges, what is the simplest or most efficient way to determine whether the two date ranges overlap?  As an example, suppose we have ranges denoted by DateTime variables StartDate1 to EndDate1 and StartDate2 to EndDate2. I'm flying Etihad Airways to Melbourne and I've a 14 hours layover at Abu Dhabi.  Some say that as long as you are inside the airport terminal you don't require a transit visa while some say you need a transit visa if your layover is more than 10 hours.  Can I stay inside the airport without a transit visa? So I am in an introductory linear algebra(with proofs) class, and I came across the following theorem:  If $S$ is a subspace of a vector space $V(F)$ and is generated by $\{a_1,...,a_n\}$ then any subset $\{b_1,...,b_m\}$ of $S$ with $m&gt;n$ is linearly dependent.   The proof in the textbook is done through induction (as most proofs regarding finite sets are) but I really do not follow it and I feel there is a simpler way of doing it. A hint would be appreciated. How can I change pdf page size? I would like to split pages in pdf so that each page would be divided into 2 pages ( e.g. form 100 pages I would go into 200 but smaller - exactly half size).  I need this to read pdfs on my ebook reader.  Anybody knows how can this be done ? In the construction of types of numbers, we have the following sequence:  $$\mathbb{R} \subset \mathbb{C} \subset \mathbb{H} \subset \mathbb{O} \subset \mathbb{S}$$  or:  $$2^0 \mathrm{-ions} \subset 2^1 \mathrm{-ions} \subset 2^2 \mathrm{-ions} \subset 2^3 \mathrm{-ions} \subset 2^4 \mathrm{-ions} $$  or:  "Reals" $\subset$ "Complex" $\subset$ "Quaternions" $\subset$ "Octonions" $\subset$ "Sedenions"  With the following "properties":   From $\mathbb{R}$ to $\mathbb{C}$ you gain "algebraic-closure"-ness (but you throw away ordering). From $\mathbb{C}$ to $\mathbb{H}$ we throw away commutativity. From $\mathbb{H}$ to $\mathbb{O}$ we throw away associativity. From $\mathbb{O}$ to $\mathbb{S}$ we throw away multiplicative normedness.   The question is, what lies on the right side of $\mathbb{S}$, and what do you lose when you go from $\mathbb{S}$ to one of these objects ?