<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7691728646302175410</id><updated>2017-09-07T16:39:31.363-07:00</updated><category term="C++"/><category term="Programming"/><category term="Latex"/><category term="Office"/><category term="SQL"/><category term="Web"/><category term="mac"/><title type='text'>2scitech</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://2scitech.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7691728646302175410/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://2scitech.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Ahmed A. Mostafa</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-ntgFCKzdHG8/AAAAAAAAAAI/AAAAAAAAAbM/k6odAcZlHbM/s512-c/photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>9</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7691728646302175410.post-476167067591524853</id><published>2015-10-05T18:09:00.000-07:00</published><updated>2015-10-05T18:09:51.930-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C++"/><category scheme="http://www.blogger.com/atom/ns#" term="Programming"/><title type='text'>Cleaning Debug and release folders in visual studio solutions / projects</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Either you need to clean these folders to save space,&amp;nbsp; make sure that your projects are clean rebuilt, or you have the nasty error :&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;h1 style=&quot;background-color: white; border: medium none; clear: both; font-family: &amp;quot;Segoe UI&amp;quot;,Arial,Helvetica,sans-serif; font-size: 1.75em; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 36.6949px; list-style-type: none; margin: -10px 0px 0px; outline: 0px none; padding: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span name=&quot;subject&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;fatal error C1083: cannot open compiler generated file: &#39;xxxxxx.xxx&#39;: permission denied&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;h1 style=&quot;-webkit-text-stroke-width: 0px; background-color: white; border: none; clear: both; color: #3a3e43; font-family: &#39;Segoe UI&#39;, Arial, Helvetica, sans-serif; font-size: 1.75em; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 36.6949px; list-style-type: none; margin: -10px 0px 0px; orphans: auto; outline: 0px; padding: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;&lt;span name=&quot;subject&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/h1&gt;&lt;h1 style=&quot;-webkit-text-stroke-width: 0px; background-color: white; border: none; clear: both; color: #3a3e43; font-family: &#39;Segoe UI&#39;, Arial, Helvetica, sans-serif; font-size: 1.75em; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 36.6949px; list-style-type: none; margin: -10px 0px 0px; orphans: auto; outline: 0px; padding: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;&lt;span name=&quot;subject&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Searching the internet will give you some results from msdn or stackoverflow , that will mostly work like :&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;h1 style=&quot;-webkit-text-stroke-width: 0px; background-color: white; border: none; clear: both; color: #3a3e43; font-family: &#39;Segoe UI&#39;, Arial, Helvetica, sans-serif; font-size: 1.75em; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 36.6949px; list-style-type: none; margin: -10px 0px 0px; orphans: auto; outline: 0px; padding: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;&lt;span name=&quot;subject&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;h1 style=&quot;-webkit-text-stroke-width: 0px; background-color: white; border: none; clear: both; color: #3a3e43; font-family: &#39;Segoe UI&#39;, Arial, Helvetica, sans-serif; font-size: 1.75em; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 36.6949px; list-style-type: none; margin: -10px 0px 0px; orphans: auto; outline: 0px; padding: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;&lt;span name=&quot;subject&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&lt;a href=&quot;https://social.msdn.microsoft.com/Forums/en-US/1d76dd1f-5637-4841-92ac-8b2c6541f3e2/windows-7-fatal-error-c1083-cannot-open-compiler-generated-file-simpleobj-permission-denied?forum=Vsexpressvc&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;MSDN solution .&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/h1&gt;&lt;h1 style=&quot;-webkit-text-stroke-width: 0px; background-color: white; border: none; clear: both; color: #3a3e43; font-family: &#39;Segoe UI&#39;, Arial, Helvetica, sans-serif; font-size: 1.75em; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 36.6949px; list-style-type: none; margin: -10px 0px 0px; orphans: auto; outline: 0px; padding: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;&lt;span name=&quot;subject&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;h1 style=&quot;-webkit-text-stroke-width: 0px; background-color: white; border: none; clear: both; color: #3a3e43; font-family: &#39;Segoe UI&#39;, Arial, Helvetica, sans-serif; font-size: 1.75em; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 36.6949px; list-style-type: none; margin: -10px 0px 0px; orphans: auto; outline: 0px; padding: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;&lt;span name=&quot;subject&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;a href=&quot;http://stackoverflow.com/questions/755382/i-want-to-delete-all-bin-and-obj-folders-to-force-all-projects-to-rebuild-everyt&quot; target=&quot;_blank&quot;&gt;StackOverflow&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;h1 style=&quot;-webkit-text-stroke-width: 0px; background-color: white; border: none; clear: both; color: #3a3e43; font-family: &#39;Segoe UI&#39;, Arial, Helvetica, sans-serif; font-size: 1.75em; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 36.6949px; list-style-type: none; margin: -10px 0px 0px; orphans: auto; outline: 0px; padding: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;&lt;span name=&quot;subject&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;h1 style=&quot;-webkit-text-stroke-width: 0px; background-color: white; border: none; clear: both; color: #3a3e43; font-family: &#39;Segoe UI&#39;, Arial, Helvetica, sans-serif; font-size: 1.75em; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 36.6949px; list-style-type: none; margin: -10px 0px 0px; orphans: auto; outline: 0px; padding: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;&lt;span name=&quot;subject&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;but the one that worked for me is a small C++ project :&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;h1 id=&quot;ctl00_ArticleTitle&quot; itemprop=&quot;name&quot; style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Arial, sans-serif; font-size: 29px; font-style: normal; font-variant: normal; font-weight: 200; letter-spacing: normal; line-height: normal; margin: 0px 0px 15px; orphans: auto; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;&lt;a href=&quot;http://www.codeproject.com/Articles/10855/Clean-Visual-Studio-Workspaces&quot; target=&quot;_blank&quot;&gt;Clean Visual Studio Workspaces&lt;/a&gt;&lt;/h1&gt;&lt;h1 id=&quot;ctl00_ArticleTitle&quot; itemprop=&quot;name&quot; style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Arial, sans-serif; font-size: 29px; font-style: normal; font-variant: normal; font-weight: 200; letter-spacing: normal; line-height: normal; margin: 0px 0px 15px; orphans: auto; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;&amp;nbsp;&lt;/h1&gt;&lt;h1 id=&quot;ctl00_ArticleTitle&quot; itemprop=&quot;name&quot; style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Arial, sans-serif; font-size: 29px; font-style: normal; font-variant: normal; font-weight: 200; letter-spacing: normal; line-height: normal; margin: 0px 0px 15px; orphans: auto; padding: 0px; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;from there download the source files and build the project and use it directly to clean all these nasty folders&lt;/span&gt;&lt;/h1&gt;&lt;h1 style=&quot;-webkit-text-stroke-width: 0px; background-color: white; border: none; clear: both; color: #3a3e43; font-family: &#39;Segoe UI&#39;, Arial, Helvetica, sans-serif; font-size: 1.75em; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 36.6949px; list-style-type: none; margin: -10px 0px 0px; orphans: auto; outline: 0px; padding: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;&lt;span name=&quot;subject&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://2scitech.blogspot.com/feeds/476167067591524853/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://2scitech.blogspot.com/2015/10/cleaning-debug-and-release-folders-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7691728646302175410/posts/default/476167067591524853'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7691728646302175410/posts/default/476167067591524853'/><link rel='alternate' type='text/html' href='http://2scitech.blogspot.com/2015/10/cleaning-debug-and-release-folders-in.html' title='Cleaning Debug and release folders in visual studio solutions / projects'/><author><name>Ahmed A. Mostafa</name><uri>https://plus.google.com/110307166464012191805</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-ntgFCKzdHG8/AAAAAAAAAAI/AAAAAAAAAbM/k6odAcZlHbM/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7691728646302175410.post-5217364814120548996</id><published>2015-05-26T14:57:00.002-07:00</published><updated>2015-05-26T16:05:00.253-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C++"/><category scheme="http://www.blogger.com/atom/ns#" term="Programming"/><title type='text'>fatal error C1083: Cannot open precompiled header file: &#39;Debug\xxxxx.pch&#39;: No such file or directory</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;This error lost me a lot of time but fortunatly a wise guy at stackoverflow made an extensive explanation on how to solve it, the original thread is at this link :&lt;br /&gt;&lt;a href=&quot;http://stackoverflow.com/questions/6096384/how-to-fix-pch-file-missing-on-build&quot; target=&quot;_blank&quot;&gt;how-to-fix-pch-file-missing-on-build&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The whole problem lies in some header files needs to be already compiled so your compilation goes through. and there is some strategy for handling header files that must be precompiled as &lt;a href=&quot;http://stackoverflow.com/users/445296/jive-dadson&quot;&gt;Jive Dadson&lt;/a&gt; explains in his answer :&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;post-text&quot; itemprop=&quot;text&quot;&gt;&lt;ol&gt;&lt;li&gt;Right-click on your project in the Solution Explorer.  &lt;/li&gt;&lt;li&gt;Click Properties at the bottom of the drop-down menu.&lt;/li&gt;&lt;li&gt;At the top left of the Properties Pages, select All Configurations from the drop-down menu.&lt;/li&gt;&lt;li&gt;Open the C/C++ tree and select Precompiled Headers&lt;/li&gt;&lt;li&gt;Precompiled Header: Select Use (/Yu)&lt;/li&gt;&lt;li&gt;Fill in the Precompiled Header File field. Standard is stdafx.h&lt;/li&gt;&lt;li&gt;Click Okay&lt;/li&gt;&lt;li&gt;If you do not have stdafx.h in your Header Files put it there. Edit it to #include all the headers you want precompiled.&lt;/li&gt;&lt;li&gt;Put a file named stdafx.cpp into your project. Put #include &quot;stdafx.h&quot; at the top of it, and nothing else.&lt;/li&gt;&lt;li&gt;Right-click on stdafx.cpp in Solution Explorer. Select Properties and All configurations again as in step 4 ...&lt;/li&gt;&lt;li&gt;... but this time select Precompiled Header &lt;b&gt;Create (/Yc).&lt;/b&gt; This will only  bind to the one file stdafx.cpp.&lt;/li&gt;&lt;li&gt;Put #include &quot;stdafx.h&quot; at the very top of all your source files. (Unix or cygwin users: &lt;code&gt;find . -name &quot;*.cpp&quot; | xargs -n1 sed -i &#39;1s/^/#include &quot;stdafx.h&quot;\n/&#39;&lt;/code&gt;)&lt;/li&gt;&lt;/ol&gt;Lucky 13. Cross your fingers and hit Build.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;and this did all the magic for me :) &lt;/div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://2scitech.blogspot.com/feeds/5217364814120548996/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://2scitech.blogspot.com/2015/05/fatal-error-c1083-cannot-open.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7691728646302175410/posts/default/5217364814120548996'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7691728646302175410/posts/default/5217364814120548996'/><link rel='alternate' type='text/html' href='http://2scitech.blogspot.com/2015/05/fatal-error-c1083-cannot-open.html' title='fatal error C1083: Cannot open precompiled header file: &#39;Debug\xxxxx.pch&#39;: No such file or directory'/><author><name>Ahmed A. Mostafa</name><uri>https://plus.google.com/110307166464012191805</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-ntgFCKzdHG8/AAAAAAAAAAI/AAAAAAAAAbM/k6odAcZlHbM/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7691728646302175410.post-1303876908024619600</id><published>2015-02-24T20:07:00.000-08:00</published><updated>2015-02-24T20:31:16.131-08:00</updated><title type='text'>How to download all files recursively from HTTP folders:</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;&lt;br /&gt;Many times we are faced by the problem of downloading a folder listed by apache or IIS on the web, and we have to download the files one by one, or at best case go to each folder and download all links with a tool like downThemAll or FlashGot, which will download the files in a folder but not in sub folders.&lt;br /&gt;a tip at this page :&lt;br /&gt;https://bmwieczorek.wordpress.com/2008/10/01/wget-recursively-download-all-files-from-certain-directory-listed-by-apache/&lt;br /&gt;&lt;br /&gt;shows how you can use a command line application named Wget to accomplish this.&lt;br /&gt;&lt;br /&gt;Example: recursively download all the files that are in the ‘ddd’&amp;nbsp; folder for the url ‘&lt;a href=&quot;http://hostname/aaa/bbb/ccc/ddd/&amp;amp;#8217&quot; rel=&quot;nofollow&quot;&gt;http://hostname/aaa/bbb/ccc/ddd/&lt;/a&gt;;&lt;br /&gt;Solution:&lt;br /&gt;wget -r -np -nH –cut-dirs=3 -R &lt;span class=&quot;skimlinks-unlinked&quot;&gt;index.html&lt;/span&gt; &lt;a href=&quot;http://hostname/aaa/bbb/ccc/ddd/&quot; rel=&quot;nofollow&quot;&gt;http://hostname/aaa/bbb/ccc/ddd/&lt;/a&gt;&lt;br /&gt;Explanation:&lt;br /&gt;It will download all files and subfolders in ddd directory:&lt;br /&gt;recursively (-r),&lt;br /&gt;not going to upper directories, like ccc/… (-np),&lt;br /&gt;not saving files to hostname folder (-nH),&lt;br /&gt;but to ddd by omitting first 3 folders aaa, bbb, ccc (–cut-dirs=3),&lt;br /&gt;excluding &lt;span class=&quot;skimlinks-unlinked&quot;&gt;index.html&lt;/span&gt; files (-R &lt;span class=&quot;skimlinks-unlinked&quot;&gt;index.html&lt;/span&gt;)&lt;br /&gt;&lt;br /&gt;In addition you may want to use a destination folder with the option&lt;br /&gt;-P destDir&lt;br /&gt;where destDir is your destination folder&lt;br /&gt;&lt;br /&gt;you can download A GUI for this tool from here:&lt;br /&gt;https://sites.google.com/site/visualwget/a-download-manager-gui-based-on-wget-for-windows&lt;br /&gt;&lt;br /&gt;but actually the GUI tool didn&#39;t work for me and I ended using the wget.exe file used by this tool from the command line as explained above.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://2scitech.blogspot.com/feeds/1303876908024619600/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://2scitech.blogspot.com/2015/02/how-to-download-all-files-recursively.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7691728646302175410/posts/default/1303876908024619600'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7691728646302175410/posts/default/1303876908024619600'/><link rel='alternate' type='text/html' href='http://2scitech.blogspot.com/2015/02/how-to-download-all-files-recursively.html' title='How to download all files recursively from HTTP folders:'/><author><name>Ahmed A. Mostafa</name><uri>https://plus.google.com/110307166464012191805</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-ntgFCKzdHG8/AAAAAAAAAAI/AAAAAAAAAbM/k6odAcZlHbM/s512-c/photo.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7691728646302175410.post-7543102365564993843</id><published>2013-08-31T20:38:00.001-07:00</published><updated>2015-05-26T14:58:58.301-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C++"/><category scheme="http://www.blogger.com/atom/ns#" term="Programming"/><title type='text'>Signing C++\CLI assemblies in VS 2010</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;I lost a lot of valuable time because of this problem, so I thought to share the solution that I got as a combination of other solutions posted by people who are more expert than me in this field.&lt;br /&gt;&lt;br /&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;If your assembly is a third party assembly and you can not access it, or ask for a signed version from its provider, then you can use the solution here: &lt;a href=&quot;http://ianpicknell.blogspot.de/2009/12/adding-strong-name-to-third-party.html&quot;&gt;Adding a Strong Name to a Third-Party Assembly&lt;/a&gt; .&lt;/li&gt;&lt;li&gt;If you have the C++/CLI project, you can use the same file used for signing the project you are trying to reference to this C++/CLI. This is usually an .snk file. use this file and follow the steps here: &lt;a href=&quot;http://www.codeproject.com/Articles/35678/How-to-sign-C-CLI-assemblies-with-a-strong-name&quot; target=&quot;_blank&quot;&gt;How to sign C++/CLI assemblies with a strong name&lt;/a&gt;. If this still doesn&#39;t work continue to the next point.&lt;/li&gt;&lt;li&gt;the answer of &lt;a href=&quot;http://stackoverflow.com/users/634175/user634175&quot;&gt;user634175&lt;/a&gt; , on this link :&amp;nbsp; &lt;a href=&quot;http://stackoverflow.com/questions/2656412/is-there-an-easy-way-to-sign-a-c-cli-assembly-in-vs-2010&quot;&gt;Is there an easy way to sign a C++ CLI assembly in VS 2010?&lt;/a&gt;&amp;nbsp; solved it to me in combination with the previous step.&lt;/li&gt;&lt;/ul&gt;the answer was adding the following to the project file:&lt;br /&gt;&lt;pre class=&quot;lang-cpp prettyprint prettyprinted&quot; style=&quot;text-align: left;&quot;&gt;&lt;code&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Project&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;DefaultTargets&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&quot;Build&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;ToolsVersion&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&quot;4.0&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre class=&quot;lang-cpp prettyprint prettyprinted&quot; style=&quot;text-align: left;&quot;&gt;&lt;code&gt;&lt;span class=&quot;pln&quot;&gt;xmlns&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&quot;http://schemas.microsoft.com/developer/msbuild/2003&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;    &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;!--&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; snip &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;--&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;    &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;ItemDefinitionGroup&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;      &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Link&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;        &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;KeyFile&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;LinkKeyFile&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;)&amp;lt;/&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;KeyFile&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;      &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Link&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;    &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;ItemDefinitionGroup&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;typ&quot;&gt;Project&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;Hope this saves some time for some of you. &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://2scitech.blogspot.com/feeds/7543102365564993843/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://2scitech.blogspot.com/2013/08/signing-ccli-assemblies-in-vs-2010.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7691728646302175410/posts/default/7543102365564993843'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7691728646302175410/posts/default/7543102365564993843'/><link rel='alternate' type='text/html' href='http://2scitech.blogspot.com/2013/08/signing-ccli-assemblies-in-vs-2010.html' title='Signing C++\CLI assemblies in VS 2010'/><author><name>Ahmed A. Mostafa</name><uri>https://plus.google.com/110307166464012191805</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-ntgFCKzdHG8/AAAAAAAAAAI/AAAAAAAAAbM/k6odAcZlHbM/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7691728646302175410.post-7759320880960618852</id><published>2012-07-07T06:15:00.001-07:00</published><updated>2012-07-07T06:15:30.048-07:00</updated><title type='text'>The meth of ebay buyer protection</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;It is just a meth, they get there money from the sellers, so they will always try to keep good contact with them and keep them happy. SELLERS on ebay LIE all the time (except for some of them). I had many cases on ebay that the item was&amp;nbsp;totally&amp;nbsp;not as described, and these cases were in both under ebay buyer protection and not. The best case&amp;nbsp;scenario is that you will return the item to the seller (and you will pay for the shipping) and you will have either a full refund of the original amount + the original shipping, or only the original amount without shipping. So the BUYER always looses and the SELLER go away with it. &amp;nbsp;In other cases of course you will get nothing, and they will either tell you sorry the item is not covered by ebay buyer protection or the seller doesn&#39;t have a return policy. So any one can lie as he wants on ebay as long as he doesn&#39;t offer paypal as a payment method. Of course ebay is happy with these people because they make the buyers scared and make them try to buy in paypal where the profit increases for ebay (they get the&amp;nbsp;commission&amp;nbsp;doubled now) . In a case a seller was offering a laptop where he used multi time technical details about an item, i.e. one time he wrote the laptop has a hard disk of 80 GB and in fine line some where else he wrote no hard disk, also, in another place he wrote that the laptop has a processor of 2.4 GHz and in another place 2.2. Usually when you find in a description that the HD is 80 GB, you don&#39;t look about other details about the HD. This is pure scam, but ebay allowed it and even deleted the negative feedback i gave to the seller when the seller agreed to return the item, of course i lost the cost of the shipping both ways although ebay stated in the resolution center in the case that i opened that he will return the original amount + shipping. but at the end they get the money from the seller so he doesn&#39;t need to loose anything. even if it is clear that he is a scammer. In any case ebay has many honest sellers and i hope for everyone not to need to deal with ebay themselves as in ebay there is 2 customers the seller and the buyer, and the buyer always comes the &amp;nbsp;second.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://2scitech.blogspot.com/feeds/7759320880960618852/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://2scitech.blogspot.com/2012/07/meth-of-ebay-buyer-protection.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7691728646302175410/posts/default/7759320880960618852'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7691728646302175410/posts/default/7759320880960618852'/><link rel='alternate' type='text/html' href='http://2scitech.blogspot.com/2012/07/meth-of-ebay-buyer-protection.html' title='The meth of ebay buyer protection'/><author><name>Ahmed A. Mostafa</name><uri>https://plus.google.com/110307166464012191805</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-ntgFCKzdHG8/AAAAAAAAAAI/AAAAAAAAAbM/k6odAcZlHbM/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7691728646302175410.post-5608830447252550095</id><published>2012-04-19T13:20:00.002-07:00</published><updated>2012-04-19T13:54:46.087-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Latex"/><title type='text'>Displaying double quotes in Latex</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;i always thought that we can display all kinds of special characters by using the escape symbol before them like that \&quot; , but the quotes has different requirements&lt;br /&gt;you have to use ´´ for left quotes and two single quotes &#39; &#39; for right quotes. &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://2scitech.blogspot.com/feeds/5608830447252550095/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://2scitech.blogspot.com/2012/04/displaying-double-quotes-in-latex.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7691728646302175410/posts/default/5608830447252550095'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7691728646302175410/posts/default/5608830447252550095'/><link rel='alternate' type='text/html' href='http://2scitech.blogspot.com/2012/04/displaying-double-quotes-in-latex.html' title='Displaying double quotes in Latex'/><author><name>Ahmed A. Mostafa</name><uri>https://plus.google.com/110307166464012191805</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-ntgFCKzdHG8/AAAAAAAAAAI/AAAAAAAAAbM/k6odAcZlHbM/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7691728646302175410.post-5748382000049299517</id><published>2012-03-23T20:51:00.000-07:00</published><updated>2012-03-23T20:51:24.255-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="mac"/><category scheme="http://www.blogger.com/atom/ns#" term="Office"/><category scheme="http://www.blogger.com/atom/ns#" term="Web"/><title type='text'>Extract animated gif from MS Powerpoint for mac</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;You may all have noticed by now that the save as web page is not an  option on Power point for mac 2011, so there is no easy way to extract  animated Gifs from power point presentations, one way is to add .Zip  after .pptx at the end of the file then open it as a zip file, you will  find a lot of folders, you will find the images in a folder named media,  do some search till you find the needed file, and thats it :)&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://2scitech.blogspot.com/feeds/5748382000049299517/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://2scitech.blogspot.com/2012/03/extract-animated-gif-from-ms-powerpoint.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7691728646302175410/posts/default/5748382000049299517'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7691728646302175410/posts/default/5748382000049299517'/><link rel='alternate' type='text/html' href='http://2scitech.blogspot.com/2012/03/extract-animated-gif-from-ms-powerpoint.html' title='Extract animated gif from MS Powerpoint for mac'/><author><name>Ahmed A. Mostafa</name><uri>https://plus.google.com/110307166464012191805</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-ntgFCKzdHG8/AAAAAAAAAAI/AAAAAAAAAbM/k6odAcZlHbM/s512-c/photo.jpg'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7691728646302175410.post-6697047784735494894</id><published>2012-03-23T20:49:00.000-07:00</published><updated>2012-03-23T20:49:22.836-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>Convert character set to utf8 in MySQL</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,Verdana,Arial,sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;Say,  you had a MySQL database that stores texts in languages such as  Chinese, Japanese, Korean, Hebrew, Arabic, and so on, and recently there  was a server move or upgrade, and all of sudden text in the above  mentioned languages didn’t display properly. What do we do to fix it  then?&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,Verdana,Arial,sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;&lt;a href=&quot;http://www.haidongji.com/2008/11/11/convert-character-set-to-utf8-in-mysql/&quot;&gt;see this post for details&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://2scitech.blogspot.com/feeds/6697047784735494894/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://2scitech.blogspot.com/2012/03/convert-character-set-to-utf8-in-mysql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7691728646302175410/posts/default/6697047784735494894'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7691728646302175410/posts/default/6697047784735494894'/><link rel='alternate' type='text/html' href='http://2scitech.blogspot.com/2012/03/convert-character-set-to-utf8-in-mysql.html' title='Convert character set to utf8 in MySQL'/><author><name>Ahmed A. Mostafa</name><uri>https://plus.google.com/110307166464012191805</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-ntgFCKzdHG8/AAAAAAAAAAI/AAAAAAAAAbM/k6odAcZlHbM/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7691728646302175410.post-6861117488605374727</id><published>2012-03-23T20:47:00.002-07:00</published><updated>2012-03-23T20:47:47.798-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Latex"/><title type='text'>Latex::Wrong figure numbering and in figure citation</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;I had a problem when i was preparing a journal of mine, that made me  nearly crush my mac, some figures were referenced wrongly in roman  letters , no matter what i do. after a long search on the internet, i  found that this sort of error has one of two sources (and for my luck, i  had them both :) )&lt;br /&gt;1- For some reason you can&#39;t put \cite or \ref commands inside caption \protect\ref{fig:xxx} or \protect\cite{xxx}.&lt;br /&gt;2-  The other thing is you have to put \caption , \label , \end{center} ,  in the same mentioned order :) , sometimes it work if you use different  order, but for my case it didn&#39;t ...&lt;br /&gt;&lt;br /&gt;and thats it &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://2scitech.blogspot.com/feeds/6861117488605374727/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://2scitech.blogspot.com/2012/03/latexwrong-figure-numbering-and-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7691728646302175410/posts/default/6861117488605374727'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7691728646302175410/posts/default/6861117488605374727'/><link rel='alternate' type='text/html' href='http://2scitech.blogspot.com/2012/03/latexwrong-figure-numbering-and-in.html' title='Latex::Wrong figure numbering and in figure citation'/><author><name>Ahmed A. Mostafa</name><uri>https://plus.google.com/110307166464012191805</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-ntgFCKzdHG8/AAAAAAAAAAI/AAAAAAAAAbM/k6odAcZlHbM/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry></feed>