I don't have an IT background so be patient with me, please.  I have an Ansible file (.yml) for glassfish configuration service, that was built for CentOS.  I'm trying to "transform it" for use it with Ubuntu 14.04.  In the file I have this:  name: Execute shell script - configure service glassfish - chkconfig --add glassfish warn=no       shell: chkconfig --add glassfish warn=no      - name: Execute shell script - configure service glassfish - chkconfig glassfish on warn=no       shell: chkconfig glassfish on warn=no      - name: Start service glassfish       service:           name=glassfish           state=started   I searched and found that chkconfig is not a valid command in Ubuntu.  What should I use to replace the following commands?  chkconfig --add glassfish warn=no chkconfig glassfish on warn=no
I've become very accustomed to managing service startups on Redhat/RHEL platforms using chkconfig though that doesn't appear to be the Debian/Ubuntu way - How do I update runlevel information for system services on Ubuntu?  Ultimately looking for the equivalents of:  chkconfig --add &lt;service&gt; chkconfig --level 345 &lt;service&gt; on chkconfig --del &lt;service&gt;
How to remove time from date? Add review queues to Android app I know there are some similar posts on adding review queues to the mobile web page. However, this is regarding the Stack Exchange Android app. I really would like to review posts and edits from the Android app, however this isn't included in the app yet. I'm not sure how it would be implemented; maybe there could be a button or something for review. Could we please see this? How to show that the cohomology of a Grassmannian has a basis consisting of the equivalent classes represented by Schubert cycles? Let $G(r, n)$ be the Grassmannian of the set of all $r$-planes in a $n$-dim vector space. How to show that the cohomology of a Grassmannian has a basis consisting of the equivalent classes represented by Schubert cycles? I am confused since I don't know how to compute the cohomology of a variety (how to construct the co-chain complex). I am really appreciate if you can compute the cohomology of, for example, $G(2,4)$ and show that it has a basis consisting of the equivalent classes represented by Schubert cycles. How to model the curly cable part of the phone Hello. I am a beginner in Blender. I started modeling this phone and when I got to the curly cable part it was a real challenge. Could someone guide me on this. Simulation software to solve high school level mechanics problems I'm a physics teacher and I would like to find a simulation software that could be used to give exact numerical answers to high school level problems in Newtonian mechanics.  I want the students to first calcultate a numerical answer to a physics problem and then use the simulator to visualize the problem in order to understand it better and verify that the simlator gives the same answer that they got when doing the calculation themselves.  Here are some examples of what kind of problems I want the students to be able to solve with the simulator:   A slope with a specific angle of inclination and a ball starts rolling at a certain point. Determine the speed, angular momentum and total mechanical energy of the ball after a specific time t. A ladder of known mass and length is leaning against the wall at a specific angle. The contact between the ladder and the wall is frictionless. Calcultate the x and y components of the force between the floor and the ladder.   I would like the software to have the following features:  - Simulation in 2D. No 3D simulations are necessary and the software should at least have the option of doing simulations only in 2D.  - Position all objects exactly by writing numbers (just positioning the objects using the mouse is not precise enough).  - Show animations of the time evolution of the system.  - Show forces, velocities and accelerations as arrows.  - Give exact numerical results so that the students can use the software to verify their calculation.  Ideally the software would have a graphical user interface, but if no suitable software with graphical interface exixts, I could also consider a software with text-based inputs. I would consider both free and commercial software.  My question is: Is there any software that would meet these requirements and if there is, where could I get it? I am currently writing my bachelor thesis and I am using LyX as my standard writing program (because I am not familiar with LaTeX at all).  For my bibliographystyle I use JabRef and the citation style needs to be Journal of Finance.  Now, I found this .bst file for the Journal of Finance style online () which is actually really good. But the problem is, that I need it in German. There must be an "und" instead of "and" and all the umlauts don't work as well. Basically I need everything in German.  Do you know a website with a German .bst file? Or can I change something in the settings in LyX or JabRef and everything would be fixed? What is the purpose of -e in sed command? I can't find any documentation about the sed -e switch, for simple replace, do I need it?  e.g.  sed 's/foo/bar/'   VS  sed -e 's/foo/bar/' I'm having a difficulty in finding one way car rentals from Alaska, which I can return in Seattle.  Do all the main rental agencies restrict such one-way rentals, as they involve crossing through Canada, before entering the lower 48 states? Why an abstract class implementing an interface can miss the declaration/implementation of one of the interface's methods? equivalent date from GNU to solaris How to normalize data between -1 and 1? I have seen the min-max normalization formula but that normalizes values between 0 and 1. How would I normalize my data between -1 and 1? I have both negative and positive values in my data matrix. I'm a committer for the .  It went to the private beta phase sometime in the last 12 hours, but yet to have been invited. When I visit  I get the standard "To log in, you must have commited to the Area 51 site proposal and received the invitation email." message.  However, when I navigate to the Pets site via the Android app, I'm able to view the site in it's entirety (questions, answers and comments). When I attempt to post, I get a message saying my user token isn't allowed to take action on this site.  Same behavior is observed when using the iOS app. What does it mean if a Python object is "subscriptable" or not? Why the value of $PATH is different for root and normal user? for normal user I get :     /usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/monty/google_appengine   which is actually the content of /etc/environment  For root I get:     /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin   what's the reason behind this and which file contains this line? I want to extrude a curve in two directions.    Or join both curves into one, is it possible? I've tried copying it and then join segments, but I don't see Remove Doubles option while working with curves. Prove that you can make change for any amount greater than 7 cents using only 3 and 5 cent coins. I am pretty sure this question has something to do with the Least Common Multiple.    I was thinking that the proof was that every number either is or isn't a multiple of $3, 5$, and $8\left(3 + 5\right)$. If it isn't a multiple of $3,5$, or $8$, great. You have nothing to prove. But if it is divisible by one of them, I couldn't find a general proof that showed that it wouldn't be divisible by another one. Say $15$, it is divisible by $3$ and $5$, but not $8$. Lets say we have a dependent variable $Y$ with few categories and set of independent variables.    What are the advantages of multinomial logistic regression over set of binary logistic regressions (i.e. )? By set of binary logistic regression I mean that for each category $y_{i} \in Y$ we build separate binary logistic regression model with target=1 when $Y=y_{i}$ and 0 otherwise. Sci-fi film about terraforming Venus, inadvertently killing the native worm-like Venusians I have been searching for the name of a short sci-fi film for decades.  The story is about a team of scientists who figured out a way to terraform Venus by sending algae plants there in a rocket which changes the atmosphere so that humans can live there.  At the end, it works, but the first people that arrive on Venus discover that the algae has killed the native Venusians, a race of worm-like creatures.  The final shot (as I remember it) is of an astronaut finding a half-sphere with writing on it, and he says “it wasn't much, but it showed that they were intelligent…”  I saw it on TV in probably the late seventies or early eighties, possible as an HBO short take that they would show to fill time in between movies.  Does this sound familiar to anyone? Ubuntu 18 - how to ungroup apps in dock? I want to make Ubuntu dock like Windows taskbar  Ubuntu:    Windows:    (as you see Windows has three Explorer icons and Ubuntu has only one Files icon  Is it possible to uncombine/ungroup apps in Ubuntu? Why does a wireless network give a more accurate location than a wired network? I build a simple HTML5 website that takes my location (in latitude-longitude), and simply shows my location in Google maps.  I opened the HTML document with my laptop Asus K53E-B1 and I found that when I connected to a wireless network, it showed almost my precise location (about 100 meter of inaccuracy),  while when I plug in the network cable, and test again, it's a bit Inaccurate. (showed a street 12KM away from me).  Can you explain me why is a wireless network gives more accurate location?  Tested with Google Chrome.