How to deselect the weekend and holidays in date-picker using jquery? I'm new to jquery, I've created a date-picker, I want to deselect the weekend and holidays while end user click the date-picker button. Can you please suggest me how to proceed this?  HTML  &lt;p&gt;Date: &lt;input type="text" id="datepicker"&gt;&lt;/p&gt;   JS  $(document).ready(function(){   $("#datepicker").datepicker();     $("#datepicker").datepicker("option", "dateFormat", "d-M-yy");   }); });   Please advise.
Can the jQuery UI Datepicker be made to disable Saturdays and Sundays (and holidays)? I use a datepicker for choosing an appointment day.  I already set the date range to be only for the next month.  That works fine.  I want to exclude Saturdays and Sundays from the available choices.  Can this be done?  If so, how?
How to correctly install libpng12-0 on the Ubuntu 19.10? For  I need to install libpng12-0 package on the Ubuntu 19.10 system.  I know that it is available .  So I have decided to download this package manually and install it by hand.  On previous Ubuntu versions (such as 18.04 LTS) this trick ends with success, but here on 19.10 it fails in very strange way:   wget http://mirrors.kernel.org/ubuntu/pool/main/libp/libpng/libpng12-0_1.2.54-1ubuntu1.1_amd64.deb sudo apt-get install ./libpng12-0_1.2.54-1ubuntu1.1_amd64.deb  0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/116 kB of archives. After this operation, 285 kB of additional disk space will be used. Get:1 /home/user/libpng12-0_1.2.54-1ubuntu1.1_amd64.deb libpng12-0 amd64 1.2.54-1ubuntu1.1 [116 kB] Selecting previously unselected package libpng12-0:amd64. (Reading database ... 212864 files and directories currently installed.) Preparing to unpack .../libpng12-0_1.2.54-1ubuntu1.1_amd64.deb ... Unpacking libpng12-0:amd64 (1.2.54-1ubuntu1.1) ...  dpkg: error processing archive /home/user/libpng12-0_1.2.54-1ubuntu1.1_amd64.deb (--unpack):  unable to install new version of '/lib/x86_64-linux-gnu/libpng12.so.0': No such file or directory No apport report written because the error message indicates an issue on the local system                                                                                          Errors were encountered while processing:  /home/user/libpng12-0_1.2.54-1ubuntu1.1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)   What is wrong here? How can I get libpng12-0 installed on Ubuntu 19.10 system?    Note: the same happens on 19.04, but it is near EOL. How to reference the caller object ("this") using attachEvent I was watching this  on making a custom UI tab using Python, and in the line from bpy.types import Menu, Panel, UIList, I see the names of objects that look like they can all be used to make different UI elements. Does bpy.types contain all the objects that people use when they want to make custom UI elements? I need to simulate the warning:  @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!  @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@  IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!   I have two Linux machines and when I do ssh from Linux1 to Linux2, ssh accepted and reports no problem.  But because some of testing, I want to simulate the - Identification Has Changed error  So what I need to edit on the remote server in order to create the problem?  what I did until now is to change the knpwn_hosts on both machine but its not creating the problem.  I get this:   key_read: uudecode AAAAB3NzaC1y3jrzG62xyHrb3qxc9eYpg1Cp1PrRElTFfYbEHsRfTZU21S8kO5/Tq+ED8=  failed  key_read: uudecode AAAAB3NzaC1y3jrzG62xyHrb3qxc9eYpg1Cp1PrRElTFfYbEHsRfTZU21S8kO5/Tq+ED8=  failed  The authenticity of host 'ste1 (10.106.164.111)' can't be established.  RSA key fingerprint is 84:82:2b:80:ca:3f:57:c7:8c:14:44:dd:b9:70:e5:d8.  Are you sure you want to continue connecting (yes/no)? Let $been(x,y)$ denote "person x has been to place y."   Express “Every person has been to 2 or more places” using quantifiers and $been(x, y)$.  This one is completely stumping me. I'm sure that I haven't come across this kind of concept before, and can't wrap my head around how I would approach it. I suspect the quantifiers should be $∀x$, $∀y$, and that it may involve negating the statement "every person has been to one or zero places," but that's as far as I can manage to go. Any help greatly appreciated. What does f-stop mean? What does f-stop mean? Is it the same thing when people say "2 stops" for example? Applied boolean modifier leaving shading artifacts with flat shading I tried to manipulate a cube with the Boolean modifier. I tried to cut out an edge of the cube with a cylinder. Also, the shading result looks awful in FLAT SHADING mode, so I turned on SMOOTH SHADING.   Has anyone an idea how to achieve a better result. (I also cut out a Sphere first, this made the result less awful).   I used Blender Internal and rendered with smooth shading for smoothness.  Using flat shading looks okay, except the "round" cutouts :/  Face normals are okay.  First image is smooth shading.    EDIT: User Pisurquatre suggested the EdgeSplit modifier, works perfect to me (Maybe a little tweaking here and there): Efficient evaluation of functions defined by NIntegrate Do compound subjects like "everyone ... and everyone..." take singular or plural verb agreement? Here are the examples of compound subjects:      Everything on the bed and everything in the closet was organised   in under an hour.   Everybody who witnessed the shooting and everybody   in the room were interviewed.   Anyone on the soccer team and   anybody on the basketball team was eligible for the scholarship.   Should I also use was instead of were in the second example? Or the first and the third examples are incorrect that I should use were instead of was. Show that  the  alternating  group  $A_4$  of all even permutations of $S_4$ does not contain a  subgroup of order $6$.   For me am thinking to write all elements of $A_4$ and trying to find every cyclic subgroup generated by each element of $A_4$, then I have to check whether there exist such a subgroup or not! This is a long procedure for me, I ask if there is a short way to do this. Proving by induction that $ \sum_{k=0}^n{n \choose k} = 2^n$ Prove by induction that for all $n \ge 0$:  $${n \choose 0} + {n \choose 1} + ... + {n \choose n} = 2^n.$$  In the inductive step, use Pascal’s identity, which is:  $${n+1 \choose k} = {n \choose k-1} + {n \choose k}.$$  I can only prove it using the binomial theorem, not induction. I am running out of storage, I usually have bought a lot of my games on disk but if I buy a game on the store then delete it, and want to redownload it do I have to buy it again How to send parameter from jsp page to jasper file How to search based on part of file name in Google Drive I'd like to be able to find all files in my Google drive that contain the string "_INSTRUCTION_" in the file name. Is there a way to do this?  EDIT 1: When I search for "RMA2013", I should get a dropdown with several options. As you can see, there are several Word and .pdf files with the phrase "RMA2013". Still I get no dropdown help:   And even if I click the search button, I get nothing: How do I deal with a bored or distracted player bringing down the group? My group have been playing various D&amp;D style games for a few years,  I have one player however that often will drift off and start playing on his phone  and several times has actually fallen asleep (with his character having to be "nudged" along by his fellow players).  He insists he's "just tired" and "isn't bored" — and besides, he keeps insisting we all get together for D&amp;D and wants to play.  Unfortunately we're all pretty busy, so if I'm to get the group together at all it's usually late on a Sunday. After talking to the player he insists it's not the game, or the story, he just happens to be tired. But, it's the same excuse every week, and the odd times we've played at different times or situations, the falling asleep has happened.  How do I cope with:   The morale destroying (for me) idea of your players falling asleep through a campaign and story you've put lots of work into. The general tone of the room when this player loses interest. (Occasionally a couple of others zone out into Facebook when they're not "active" because the players have split up / gone unconscious).   Given that it's an "all or nothing" situation with the group (there are only 3 players and they won't play unless all 3 are around), how do I best deal with it? I've noticed that the majority of Ubuntu help websites present apt commands in the following format:  sudo add-apt-repository ppa:[ppa-address] sudo apt-get update sudo apt-get install [application-name]   But I know that apt commands like this one work too:  sudo add-apt-repository ppa:[ppa-address] &amp;&amp; sudo apt-get update &amp;&amp; sudo apt-get install [application-name]   Is there a particular reason that most sites present in the first format? Are there known issues with chaining commands with &amp;&amp;, or to put it another way are there any benefits/drawbacks to using either method?  Further, other then loss of internet, are there any circumstances in which an apt command might fail? What is the use/meaning of 'swap area' while linux installation? When i installed ubuntu in my x86 machine, I had to configure some memory as 'swap area'.  What is the use of this memory and what is the importance of this memory in linux file systems?  How can I determine the exact size of 'swap area' in a machine for the safe working of linux inside in it? Sum of two co-prime integers I need some help in a proof: Prove that for any integer $n&gt;6$ can be written as a sum of two co-prime integers $a,b$ s.t. $\gcd(a,b)=1$.  I tried to go around with "Dirichlet's theorem on arithmetic progressions" but didn't had any luck to come to an actual proof. I mainly used arithmetic progression of $4$, $(4n,4n+1,4n+2,4n+3)$, but got not much, only to the extent of specific examples and even than sometimes $a,b$ weren't always co-prime (and $n$ was also playing a role so it wasn't $a+b$ it was $an+b$).  I would appriciate it a lot if someone could give a hand here. I have problems with my Tilgin Vood Router. As I try to start my router by turning the power on (captain obvious), it generally doesn't work the first 3-4 times. This is getting very annoying.  Five minutes after turning the power on the router's signal LEDs don't blink in the way they should do in a connected state. I can connect to my routers web configuration interface through my PC connected to it via LAN though I can't access the internet.  It usually takes the router five minutes to get to the point where it should be connected to the internet but as it doesn't work the first times.  So I turn on my router 3-5 times, let him work 5 minutes and then suddenly, after turning the power off and on again it all works.  I also have to restart my PC too in order for everything to work.   How can I solve this problem? Just leave the router turned on all time? I prefer a daily IP switch, though. May the problem have something to do with my PC? There is another one connected to the router too and it doesn't work there either. Making pen and ink corrections on a UK visa form? After printing out a UK visa form, can you cross out planned arrival date with a pen and write a new one?