mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead
The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead
What are all the font styles I can use in math mode? As can be seen in above picture, there are lots of fonts or font styles that can be used in math mode.  What are all the fonts or font styles I can use in math mode, and which packages are required in order to use them?  Let's assume I'm using standard Computer Modern or Latin Modern (lmodern) fonts.  Edit: It'd be great to see examples of what the different styles look like, probably via images.    I'm not interested in a reproduction of the picture, which can be found at ; the picture is for illustration purposes only. Furthermore, this is supposed to become a one-catches-all question for questions like the beforementioned. If I actually were looking for these fonts, I wouldn't just lazily ask here but look e.g. at  , tables 3.14 and 6.4 first.) IF/ELSE script in sender profile I'm trying to create a dynamic sender profile where the from name and from email change if a value is present in a specific field of the data extension. I want the Lead First Name value and Lead Last Name values to appear. I'm trying to keep all the logic in the sender profile. %%=IIF(EMPTY(AttributeValue(&quot;X&quot;)), &quot;Bill&quot;, AttributeValue(&quot;LeadFirstName&quot;) AttributeValue(&quot;LeadLastName&quot;))=%%  Not sure why, but doing the test, the script shows up as the sender and isn't resolving. Best way to transfer files from Windows to Windows via Internet How can I add an application to the GNOME window manager? The GNOME on-board documentation covers only the things anyone can easily guess. I have an application for that I can only start from the command line. Not that I mind using a terminal but ...  Anyway, how do I add the command (and preferably a nice logo) to GNOME WM? Let me tell the story from the beginning: I installed Big Sur on an unsupported Mac using guidelines at Medium. In the guide it was stated that I should create a separate partition for Big Sur, and shouldn't install it on my current one. I had my SSD Called &quot;Macintosh SSD&quot; and later I created a partition named &quot;Macintosh SSD Big Sur&quot; of size 40GBs. After installation I wanted to clear the &quot;Macintosh SSD&quot; of size 80GBs(with old MacOS) and merge it with the new &quot;Macintosh SSD Big Sur&quot;. This is what I initially had after formatting partition with the old MacOS  So, I used the command sudo diskutil apfs deleteContainer disk3 after which I had (free space) in /dev/disk1  I want to extend that 39.6GB partition which free space of 80,1GB but all the commands I googled do not work:(( Could you please guide me on what I should do now? Thank you in advance! How to view CD key for a Steam game? I have purchased a game on Steam and can not find out the details of the file or purchase. How does one find their CD Key from a game purchased in Steam? Allow [tag:tag-name] syntax to link to any site Better way of saying "those who are curious"? Cannot Delete Item "Could Not Find This Item" issue A friend sent a long a file (a .rar) he wanted me to check out for him before he installed it.  I downloaded it and unrared it with no problems, but it was full of .exe's instead of the intended contents (fonts) so I advised him to delete it immediately and not use.  I then proceeded to do the same, but the folder simply will not delete. Oddly the files went fine, and I never ran anything, but this is what I'm seeing:   Could not find this item  This is no longer located in C:\Users\This_User\Desktop. verify the item's location and try again.   I've tried the following things with no help:   Using "Unlocker" to Unlock and delete Using move on reboot and rebooting Using PendMoves (from sysinternals) and rebooting Elevating a cmd line, doing a dir /x to get the short name of the folder, and then del 'shortna~1' Moving the folder to a new folder and then trying to delete the parent folder   I'm on Windows 7 RTM, very fresh install. Any thoughts?  Update: Just to confirm, I've run Hijack this and half a dozen other malware detectors, and everything came back clean (no extra processes, no other obvious badness). Rebooting in safe mode didn't help either. How can I remove duplicates in my .bash_history, preserving order? I really enjoying using control+r to recursively search my command history. I've found a few good options I like to use with it: # ignore duplicate commands, ignore commands starting with a space export HISTCONTROL=erasedups:ignorespace  # keep the last 5000 entries export HISTSIZE=5000  # append to the history instead of overwriting (good for multiple connections) shopt -s histappend  The only problem for me is that erasedups only erases sequential duplicates - so that with this string of commands: ls cd ~ ls  The ls command will actually be recorded twice. I've thought about periodically running w/ cron: cat .bash_history | sort | uniq &gt; temp.txt mv temp.txt .bash_history  This would achieve removing the duplicates, but unfortunately the order would not be preserved. If I don't sort the file first I don't believe uniq can work properly. How can I remove duplicates in my .bash_history, preserving order? Extra Credit: Are there any problems with overwriting the .bash_history file via a script? For example, if you remove an apache log file I think you need to send a nohup / reset signal with kill to have it flush it's connection to the file. If that is the case with the .bash_history file, perhaps I could somehow use ps to check and make sure there are no connected sessions before the filtering script is run? Solve $x=y\frac{dy}{dx}-\left(\frac{dy}{dx}\right)^{2}$ In Python, what are metaclasses and what do we use them for? Annuity notation in LaTeX Visual Studio "Find" results in "No files were found to look in. Find stopped progress." Powershell Try Catch Continue Resolve build errors due to circular dependency amongst classes I often find myself in a situation where I am facing multiple compilation/linker errors in a C++ project due to some bad design decisions (made by someone else :) ) which lead to circular dependencies between C++ classes in different header files (can happen also in the same file). But fortunately(?) this doesn't happen often enough for me to remember the solution to this problem for the next time it happens again.  So for the purposes of easy recall in the future I am going to post a representative problem and a solution along with it. Better solutions are of-course welcome.     A.h  class B; class A {     int _val;     B *_b; public:      A(int val)         :_val(val)     {     }      void SetB(B *b)     {         _b = b;         _b-&gt;Print(); // COMPILER ERROR: C2027: use of undefined type 'B'     }      void Print()     {         cout&lt;&lt;"Type:A val="&lt;&lt;_val&lt;&lt;endl;     } };       B.h  #include "A.h" class B {     double _val;     A* _a; public:      B(double val)         :_val(val)     {     }      void SetA(A *a)     {         _a = a;         _a-&gt;Print();     }      void Print()     {         cout&lt;&lt;"Type:B val="&lt;&lt;_val&lt;&lt;endl;     } };       main.cpp  #include "B.h" #include &lt;iostream&gt;  int main(int argc, char* argv[]) {     A a(10);     B b(3.14);     a.Print();     a.SetB(&amp;b);     b.Print();     b.SetA(&amp;a);     return 0; } This is tricky. I would like to install Ubuntu on a machine that is intended to work as server, and for some reason I do not have an option to connect a screen to it.  I expect this may be similar to remote installation. However, there is currently no OS on that machine, so I will have to set up everything from scratch.  On the other hand, I do have a physical access to that machine. Therefore I can get it to boot from a CD/USB. But that's not enough.  Is there a way to do such installation remotely? Is there a version of Ubuntu image that comes with a SSH server preinstalled, and starts it once booted, so that I can boot the machine with such image, connect to it via SSH and process the installation from a different computer?  If not, what other options do I have? Need help to interpret output of free command I would appreciate help in interpreting the output of 'free -m' below.    -bash-4.2$ free -m               total        used        free      shared  buff/cache   available Mem:          15793        7112          88        7840        8591         611 Swap:         16891        5289       11602    If I have nearly 11GB free then why am I seeing swap usage.  Shouldn't that be 0?   Also, the 'shared' value is 7840.  Is this memory available for a new application? Is only 'cache' memory available for new applications?  In other words, 'shared' and 'buffer' memory are not available for new applications? How should I interpret the 'available' column with a value of 611?  How is this value arrived at? If $a_{ij}=\max(i,j)$, calculate the determinant of $A$ If $A$ is an $n \times n$ real matrix and       $$a_{ij}=\max(i,j)$$       for $i,j = 1,2,\dots,n$, calculate the determinant of $A$.   So, we know that   $$A=\begin{pmatrix} 1 &amp; 2 &amp; 3 &amp; \dots &amp; n\\  2 &amp; 2 &amp; 3 &amp; \dots &amp; n\\  3 &amp; 3 &amp; 3 &amp; \dots &amp; n\\  \vdots &amp; \vdots &amp; \vdots &amp; \ddots  &amp; \vdots\\   n&amp; n &amp; n &amp; \dots &amp; n \end{pmatrix}$$  but what do I do after? Create an item in sharepoint calender when infopath form is submitted in sharepoint 2010 through workflow