I want to download Git in Ubuntu but my shell is giving me this:  user@user-Y11C:~$ sudo apt-get install git E: Malformed entry 1 in list file /etc/apt/sources.list.d/vscode.list (Component) E: The list of sources could not be read. E: Malformed entry 1 in list file /etc/apt/sources.list.d/vscode.list (Component) E: The list of sources could not be read. user@user-Y11C:~$   P.S : I am new to Ubuntu.
I have unistalled and reinstalled the Ubuntu Software Center as per info I found in a similar thread and I got the same response about line 91 or something like that.  I just tried to upload a screen shot but since I'm new it won't allow me to.  I also can not figure out how to cut and paste anything so I have to hand type what the error screen says, both when I attempt to open the software center and nothing happens, when I try to enter commands into the terminal to uninstall, reinstall, whatever I get the same following:  COULD NOT INTITIALIZE THE PACKAGE INFORMATION An unresolvable problem occured while initializing the package information Please report t:his bug against the 'update-manager' package and include the following error message: 'E: Malformed line 91 in source list/etc/apt/sources.list (dist parse)  E: The list of sources could not be read.,  E: The package list of status file could not be parsed or opened.   How do I report bugs?  What can be done about this.  I have searched and everything everyone says to do leads me back to the same line error message.  So, I don't know how to get to line 91 in the source list; to tell you what it says. Sorry, I'm really new to this. That is what I need is to find out how to get there and fix what it says. I would really like to NOT have to re partition my hard drive and start from scratch, so I'm really looking forward to getting this problem solved. I need to be able to install new software.
In how many ways can a number be expressed as a sum of consecutive numbers? How do I get:  $$\cos{\theta} \lt \frac{\sin{\theta}}{\theta} \lt 1$$ At the end of the movie we are shown      a bowl with berries in it and Seneca Crane looked like he was locked in a room with them and was supposed to eat them. Did he eat them?   Why did that happen? I was given this problem 30 years ago by a coworker, posted it 15 years ago to rec.puzzles, and got a solution from Barry Wolk, but have never seen it again.  Consider the series:  $$1, \frac{1}{2},\frac{\displaystyle\frac{1}{2}}{\displaystyle\frac{3}{4}},\frac{\displaystyle\frac{\displaystyle\frac{1}{2}}{\displaystyle\frac{3}{4}}}{\displaystyle\frac{\displaystyle\frac{5}{6}}{\displaystyle\frac{7}{8}}},\cdots$$  Each fraction keeps its large bars while being put atop a similar structure. This can also be represented as $$\frac{1\cdot 4 \cdot 6 \cdot 7 \cdot\cdots}{2 \cdot 3 \cdot 5 \cdot 8 \cdot\cdots}$$ terminating at $2^n$ for some $n$, where it is much closer to the limit than elsewhere.  The challenge:   Find the limit, not too hard by experiment In the last expression, find a simple, nonrecursive, expression to say whether $n$ is in the numerator or denominator Prove the limit is correct-this is the hard one. Refer to an item in `dirs` I use pushd to work with multiple directories in bash and zsh. I've aliased dirs to dirs -v so that I get an ordered list when I want to see what's on the directory stack:  chb$ dirs 0  /Volumes/banister/grosste_daever_gh/2013-03-27/reader 1  /tmp/20130618202713/Library/Internet Plug-Ins 2  ~/code/foo/view/static/css 3  ~/Downloads   Is there a way (either in bash or zsh) that I can refer to one of the directories listed on the command line using an alias for its position on the stack? For example, instead of typing:  chb$ cp ~/code/foo/view/static/css/baz.css ~/code/bar/view/static/css/   I'd type:  chb$ cp &lt;2&gt;baz.css ~/code/bar/view/static/css/   ...or something like that, maybe using a dollar sign and a variable name instead of &lt;n&gt;. Every countably generated sigma algebra is generated by a random variable How much hard disk space should be needed for Xbox 360? I want to get a 360 and don't know wether to get the bigger (250GB), newer, more expensive Elite, or get one of the older, smaller (120GB), last gen ones. I know the arcade is going to be too small to save anything useful  How much hard disk space is recommend? What else is stored besides games? Does it increase security if the CBC chunks of a AES-256 encrypted bytestream are uploaded to different clouds? I want to backup my data according to the 3-2-1 rule. I am already back up to 2 different drives (2 different systems) at home. In addition, I would like to use cloud storage (Google, Amazon, etc.). Considering the future weakening of cryptography by advancements in computing power (e.g. key guessing by quantum computing) I want my data to be as safe as possible because once it's uploaded it's prone to decryption in the future (i can't guarantee the data is deleted if I delete it from the cloud(s)). Does it increase the security of my data if I split the CBC chunks to let's say 2 clouds? Uploading the even-numbered CBC elements to e.g. Google and the odd-numbered elements to Amazon. Since one storage hoster is constantly missing the next part of the CBC-Chain (1/2 in total) shouldn't this increase security of the data even if the AES key is known by the hoster(s)? Can I recover app data after the phone has been Factory Reset? Without remembering application data, I reset my Galaxy S3 to factory state. Now, I lost data for one expense manager app. Is there any way to recover the data? I just wanted to ask whether there is any command which would work on common shells (bash, dash, kornshell)? It is supposed to check if the line variable contains any part of the path.  if [[ $line =~ "$PWD"$ ]] ;then Is it possible to simulate key press events programmatically in JavaScript? Application always show in the third position in Ubuntu 16.04 After I update my ubutu to 16.04, I got a problem with Unity launcher. Whenever I open an application which is not listed in launcher, it will take the third position instead of last position. Has anyone the same problem? Finding determinant of matrix without expanding function $f(x)=x^{-(1/3)}$ , please check whether my solution is correct? Let $f(x)=x^{-(1/3)}$ and $A$ denote the area of region bounded by $f(x)$ and the X-axis, when $x$ varies from -1 to 1. Which of the following statements is/are TRUE?   f is continuous in [-1, 1] f is not bounded in [-1, 1] A is nonzero and finite     I try to explain :    graph is  :     False , since left limit is not equivalent to right limit. True , since  f(x) rises to $infinite$ at $x=0$. True , since we can calculate it by doing integrating the function Nautilus context menu for current directory when there's lots of files / "Open in Terminal" How do I disable this:    after taking screenshot? How can I disable cloud-init? I have a fully-configured instance and an image from that for an autoscaling group. When autoscaling new instances from this image, it calls cloud-init. cloud-init changes the hostname and breaks fstab.  I want to prevent cloud-init from starting on instance launch. Problem:  $F = \frac{(G m_1 m_2)}{r^2}$  An object of unknown mass is placed directly between the Earth and the Moon such that the forces of gravity acting on the object are equal from both the Earth and the Moon. The distance from the Moon to the object is exactly one-tenth of the distance from the Moon to Earth. Using the above formula, determine the distance from the Moon to the Earth.  Given is:  The factor $G≈6.67∙10−11\mathbf{N(\frac{m^2}{kg^2})}$ is a universal constant.  Mass of Earth $≈5.972∙10^{24}\mathbf{kg}$   Mass of the Moon as $≈7.348∙10^{22}\mathbf{kg}$  Mass of unknown object = $m$  My solution:  $F = \frac{(6.67 *10^-11) m (7.348*10^{24})}{R^2}$  $F = \frac{(6.67 *10^-11) (5.92* 10^22) m}{10R^2}$  As gravitational force acting on the object is equal   $\frac{(5.92\cdot 10^22)}{100r^2} = \frac{(7.348*10^{24})}{r^2}$  $R = 1.24 \cdot 10^4 KM$  Is this a viable solution to the problem? Please provide feedback. Thank you! Intuition behind the definition of linear transformation I have studied that given vector spaces $V_1$ and $V_2$, a function $T:V_1 \rightarrow V_2$ is called a linear transformation of $V_1$ into $V_2$, if following two properties are true for all $u, v \in V_1$ and scalar $c$:  $(1)$:  $T(u+v) = T(u) + T(v)$ and $(2):  T(cu) = c T(u) $.  My questions are   $1$: What is the geometrical interpretation of properties $1$ and $2$ which says that $T$ preserves additivity and scalar multiplication. I am not able to see this geometrically. What is the meaning of preserving additivity and scalar multiplication.  $2$: At some place I have studied that a linear transformation will be linear if it sends each line to line and planes to planes and so on. How can we interpret this based on these two properties.  I need help to understand this.   Thank you very much for your time.. Java Swing: Displaying images from within a Jar When running a Java app from eclipse my ImageIcon shows up just fine.  But after creating a jar the path to the image obviously gets screwed up.  Is there a way to extract an image from the jar at runtime so I can then open it up?  Or, is there a better way to do this?  I'd like to distribute a single jar file if possible.