This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git config http.postBuffer 524288000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <string> | |
| #include <iostream> | |
| #include <map> | |
| #include <vector> | |
| #include <cctype> | |
| int to_int(int c) { | |
| if (! isxdigit(c)) return -1; // error: non-hexadecimal digit found | |
| if (isdigit(c)) return c - '0'; | |
| if (isupper(c)) c = tolower(c); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Try to set the path to the Matlab binaries. The below does not work. The runtime | |
| //tries to load the dependencies before this can be executed. Investigate delay loadding of dll. | |
| //The code is kept here for reference. | |
| //I have previously experienced an issue where the environment variable can not be used. There is a maximun path | |
| //length of 2048 for the system environment variable. Exceeding this will cause | |
| //myriad problems with a Windows 7 system. If you find you icon image cache is corrupt - check the | |
| //length of your path variable. | |
| //char* envV= getenv("PATH"); | |
| ////Returns an errno if there is a problem. | |
| ////int setOK = _putenv( "PATH=C:\\Program Files\\MATLAB\\R2012b\\bin\\win64;%PATH%"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Drawing.Imaging; | |
| using System.Linq; | |
| using System.Text; | |
| using klManagedImaging; | |
| using System.Drawing; | |
| //Quite Literally - scraps | |
| //Scraps of Bitmap Interop GDI+ code I did not want to loose. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| class klGDIBitmapConversion | |
| { | |
| public static System.Drawing.Bitmap MainConv(System.Drawing.Bitmap img) | |
| { | |
| System.Drawing.Bitmap b = img;// new System.Drawing.Bitmap("test.jpg"); | |
| SplashImage(b, 0, 0); | |
| DateTime dtFaq = DateTime.Now; | |
| System.Drawing.Bitmap b0 = CopyToBpp(b, 8); | |
| TimeSpan tsFaq = DateTime.Now - dtFaq; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <cfloat> | |
| #include <iostream> | |
| #include <sstream> | |
| #include <cmath> | |
| using namespace std; | |
| string FPClass(double x) | |
| { | |
| int i = _fpclass(x); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| On a clean system | |
| yum groupinstall "Authoring and Publishing" "Administration Tools" | |
| yum groupinstall "Books and Guides" "C Development Tools and Libraries" "Development Tools" "Fedora Eclipse" "System Tools" "Editors" | |
| I use Intel Composer | |
| https://software.intel.com/en-us/articles/using-intelr-compilers-for-linux-under-fedora | |
| Follow the instructions for ia32 libraries or only install x64 bin. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| yum repolist | |
| yum repolist enabled | |
| yum repolist disabled | |
| yum repolist all | |
| Syntax Description Example(s) | |
| rpm -ivh {rpm-file} Install the package rpm -ivh mozilla-mail-1.7.5-17.i586.rpm | |
| rpm -ivh --test mozilla-mail-1.7.5-17.i586.rpm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| http://www.tecmint.com/linux-directory-structure-and-important-files-paths-explained/ | |
| /bin : All the executable binary programs (file) required during booting, repairing, files required to run into single-user-mode, and other important, basic commands viz., cat, du, df, tar, rpm, wc, history, etc. | |
| /boot : Holds important files during boot-up process, including Linux Kernel. | |
| /dev : Contains device files for all the hardware devices on the machine e.g., cdrom, cpu, etc | |
| /etc : Contains Application’s configuration files, startup, shutdown, start, stop script for every individual program. | |
| /home : Home directory of the users. Every time a new user is created, a directory in the name of user is created within home directory which contains other directories like Desktop, Downloads, Documents, etc. | |
| /lib : The Lib directory contains kernel modules and shared library images required to boot the system and run commands in root file system. | |
| /lost+found : This Directory is installed during installation of Linux, useful fo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -------------------------- | |
| Swap between OpenJDK and Sun/Oracle Java JDK/JRE | |
| alternatives --config java | |
| alternatives --config javaws | |
| alternatives --config libjavaplugin.so | |
| alternatives --config libjavaplugin.so.x86_64 | |
| alternatives --config javac | |
| Post-Installation Setup |
OlderNewer