Amend a commit that wasn't the previous commit
How to modify a specified commit?
How are release codenames chosen? Random point uniform on a sphere How to trick windows 7 to use only a part of the screen Possible Duplicate:          I have a broken 20" LCD monitor which displays random pixels in the top 200 lines of pixels. I want to limit the display in such a way that when I maximize a window it will not be in the bad area and to limit the cursor position so it won't be in the bad area. Find the limit: $\lim_\limits{x\to 0}{\frac{\left(1+x\right)^{1/x}-e}{x}}$ Find the limit: $$\lim_\limits{x\to 0}{\frac{\left(1+x\right)^{1/x}-e}{x}}$$   I have no idea what to do, but I thought that this is the limit of the derivative of $f(x)=\left(1+x\right)^{1/x}$, as $x$ tends to 0. Any help? How can I chroot sftp-only SSH users into their homes? How to extract Time from Date/Time field within formula Is there any SCP program available for Ubuntu that does not require SFTP on a remote host? I need a program that can manage files on a remote device running Linux using SCP. The remote device runs OpenWrt. On Windows there is a perfect one WinSCP. it is weird that there is no native program that can be used. The program should be able to:  list files copy and move files to/from the device and within the device. delete files on the device view and edit files change file permissions  I have found only one alternative, except using CLI and installing WinSCP with wine. It is Midnight Commander with fish. It works really poor. The problems are:  It mixes up ~ on a remote device and on the computer. It can't edit files. I can open and edit, but they are saved to a wrong place.  There is a lot of other annoying problems that makes it almost unusable. I gave up using mc and now I am using pure shell on the remote device. Please do not tell me that Nautilus, etc support these features. They don't!!! Linux native file managers require SFTP that is not available on the remote device. Maybe it is possible to get nautilus use SCP, but I did not find a way of doing it without changing sources. THIS IS NOT A DUPLICATE !!! I have a specific requirement that is not covered in the duplicate question. If it is not possible on Ubuntu, then this could be an answer. If $f$ is an entire function where every power series expansion has at least one 0 term, show it is a polynomial Suppose $f$ is entire and that in every power series $f(z)=\sum_{n=0}^\infty c_n(z-a)^n$ at least one coefficient is $0$. Prove that $f$ is a polynomial. Scenario: I have a custom button on a standard layout, which will call an apex class to do some validation on a record. If not validated, it needs to throw out some errors on that page. What are the best UX options to achieve this?  I am not too sure how to achieve this. Within a trigger, you can use the addError method to add the custom errors.  Can my Apex class reference the fields of a standard object? The ideal approach would be to do the following:  Contact.Email.addError('Please enter the right format here');   How can I achieve this via an apex class that the custom button will call?  What I have thought: Having a VF Page popup on the screen so that user can see all the errors, but that's not the best approach as UX is a big deal for this application  Thanks. Why does a bezier curve twist when rotated? If I create a bezier curve and rotate it in edit mode it does not accordingly rotate the tilt of the handles which creates an undesirable twisting along the curve.  Here is an example using a bezier circle with a square used for a bevel object:   Here it is after being rotated 90° about the y-axis:   How do I prevent/fix this? How to name an item using /give command in MCPE? What is the cause for the validity of Newton's third law? What, specifically, causes newton's third law?  For instance, if I push on a wall, why is it that I experience a force in the opposite direction?    I seem to vaguely understand that is has something to do with electronic repulsion or molecular compression (maybe that's completely wrong, I don't know).  As a related question, what would happen if two objects that were /infinitely/ immovable (at the molecular level, it cannot be broken or compressed) collided with each-other? What's this I hear about First Edition Unix being restored? that the source code of First Edition Unix had been restored from tapes.  The response was amazement and a request for more information.  What have people done?  Who did it?  When?  And how? How to change permission external hard drive in ubuntu 12.04 I want to copy any file to my external hard drive. But always when I tried to do this I have next output:  cp: cannot create regular file /media/NameOfCard/[file]' : Read only file system  I also tried:  sudo chmod -R 775 /media/NameOfCard sudo chmod -R 777 /media/NameOfCard   But the same effect - ... Read only file system  Update:   After mount I have next output:  nazar_art@nazar-desctop:~$ mount /dev/sda1 on / type ext4 (rw,errors=remount-ro) proc on /proc type proc (rw,noexec,nosuid,nodev) sysfs on /sys type sysfs (rw,noexec,nosuid,nodev) none on /sys/fs/fuse/connections type fusectl (rw) none on /sys/kernel/debug type debugfs (rw) none on /sys/kernel/security type securityfs (rw) udev on /dev type devtmpfs (rw,mode=0755) devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620) tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755) none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880) none on /run/shm type tmpfs (rw,nosuid,nodev) /dev/sdb1 on /media/sdb1 type vfat (rw) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev) gvfs-fuse-daemon on /home/nazar_art/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=nazar_art)   Any suggestions?   How to solve this trouble and let permission to copy and delete files to hard drive? Is there a "null coalescing" operator in JavaScript? Is there a null coalescing operator in Javascript?  For example, in C#, I can do this:  String someString = null; var whatIWant = someString ?? "Cookies!";   The best approximation I can figure out for Javascript is using the conditional operator:  var someString = null; var whatIWant = someString ? someString : 'Cookies!';   Which is sorta icky IMHO. Can I do better? Why is the root directory denoted by a / sign? I have done some research about this on Google, but the results were cloudy. Why is the / sign used to denote the root directory. Are there any solid reasons behind it? Need help with a question regarding the Big Oh In class we are currently covering upper/lower bounds, big Oh and omega and the like. I am pretty good on the "typical" functions one would do, but at a complete loss at "general" statements. This ons function, for example:  $$\forall f\in\mathcal{F}: \lfloor \sqrt{\lfloor f(n)\rfloor }\rfloor \in O(\sqrt{f(n)}).$$  the domain F by the same is all natural numbers that return a real positive number when inputted. My first instinct with something like this is to remove the floors, the general strategy I though to solve this is remove the outer floor, then get rid of the square root, and then the inner floor. But I have no idea how to go about this or if this is even the right way to do it.  Help please? Thanks in advance. Alternative IDE for VB6 and VBA I've been spoiled by Visual studio 2008 and Eclipse and have to do a little maintainence work on a VB6 app.  Does anyone know of an alternative/ updated IDE for VB6?  A rewrite is not an option I'm just fixing a couple of bugs and it's a big codebase. What is LookDev/Material Preview mode for in 2.8? Maximum power transfer proof I have the following homework problem.  Consider a power supply with fixed emf $ε$ and internal resistance $r$ causing current in a load resistance $R$. In this problem, $R$ is fixed and $r$ is a variable. The efficiency is defined as the energy delivered to the load divided by the energy delivered by the emf.  When the internal resistance is adjusted for maximum power transfer, what is the efficiency?  The answer is 50% but I'm confused how this is calculated. Here is my thought process so far.  The power dissipated in the load is $I^2R$ and $\displaystyle I = \frac{ε}{r+R}$ so $\displaystyle P = \frac{ε^2R}{(r+R)^2} = \frac{ε^2}{\frac{r^2}{R} + 2r + R}$ and so power transferred to the load will be maximum when $\displaystyle \frac{r^2}{R} + 2r + R$ is a minimum. Taking the first derivative $\displaystyle \frac {d}{dr}(\frac {r^2}{R} + 2r + R) = (\frac{2r}{R} + 2)$ and this equals 0 when r = -R. The second derivative is $\displaystyle \frac{2}{R} &gt; 0$ so this point would be a minimum and therefore max power transferred when r = -R.  But having $r = -R$ doesn't make sense to me. From what I read, for maximum power transfer $r$ should equal $+R$. So I've probably done something wrong in my calculations or assumptions in the previous paragraph. Also wouldn't max power be transferred when the internal resistance is as close to zero as possible?  Can someone please show me a proof that shows why $r = R$ for max power transfer and then how to calculate the efficiency.