This blog moved to medium->https://medium.com/@cocoamaemae

Thursday, April 13, 2017

How to add an original yum repository


Add **.repo file under /etc/yum.repos.d/


e.g.
[new-repo] //a repository name
name=nae repository RPM packages // a repository explanation
baseurl=http://new.repository/repo/ // a repository url
gpgcheck=0 // Abbreviate a signature validation
enabled=1 // Abbreviate --enablerepo=***

notice:

Before yum install, "createrepo" execution is on a yum repository server side,

Tuesday, April 11, 2017

C Fundamental Data Types

Brief
Note of date types of C

Interger Types
Type Bits Range Format Specifiers
int, int32_t 4 byts From -2,147,483,647 to 2,147,483,647 %d
long int 4 bytes From -2,147,483,647 to 2,147,483,647 %li
short int 2 bytes From -32,767 to 32,767 %hi
long long int 8 bytes From -9,223,372,036,854,775,807 to 9,223,372,036,854,775,807 %lli
long 4 bytes From -2,147,483,648 to 2,147,483,647 %li
short, int16_t 2 bytes From -32,767 to 32,767 %hi
char, uint8_t 1 byte From 0 to 255 %c
signed char, int8_t 1 byte From -128 to 127 %c

Floating Types
float 4 byte From 1.2E-38 to 3.4E+38 %g, %G
double 8 byte From 2.3E-308 to 1.7E+308 %lf, %LF
long double 10 byte From 3.4E-4932 to 1.1E+4932 %Lf, %LF

Front End Development Tools

TaskRunner Tool executing multiple tasks by only one execution. Tasks are like CSS preprocessor, Transpire, Module Bundler, etc... e.g. ...