- Tim Jones homepage (author of primary textbook, note that book code is only on cdrom with book)
- GNU/Linux Application Programming (1st ed.) by Tim Jones (much of first edition of Jones text on Google Books)
- Beginning Linux Programming (4th ed.) by Matthew and Stones (alternative text, can download code from this site)
- free download of Beginning Linux Programming (4th ed.)
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
| [Qt] | |
| customColors\0=4278201142 | |
| customColors\1=4278662722 | |
| customColors\10=4285297092 | |
| customColors\11=4292032130 | |
| customColors\12=4287865249 | |
| customColors\13=4280983960 | |
| customColors\14=4294833891 | |
| customColors\15=4293847253 | |
| customColors\2=4291513110 |
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
| #Install EPEL | |
| wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm | |
| sudo rpm -ivh epel-release-7-8.noarch.rpm | |
| #Install X Windows and KDE | |
| sudo yum -y groupinstall "X Window System" "KDE Desktop" | |
| #Install and start xrdp | |
| sudo yum -y install xrdp | |
| sudo systemctl enable xrdp |
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 | |
| #include <sys/ioctl.h> | |
| #include | |
| #include | |
| #include <sys/types.h> | |
| #include <sys/socket.h> | |
| #include <net/if_arp.h> | |
| #include <net/if.h> | |
| #include | |
| #include |
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 <errno.h> | |
| #include <stdio.h> | |
| #include <string.h> | |
| #include <stdlib.h> | |
| #include <net/route.h> | |
| #include <sys/types.h> | |
| #include <sys/ioctl.h> | |
| int main(char** args) { | |
| int sockfd; |
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
| /* | |
| C socket server example, handles multiple clients using threads | |
| Compile | |
| gcc server.c -lpthread -o server | |
| */ | |
| #include<stdio.h> | |
| #include<string.h> //strlen | |
| #include<stdlib.h> //strlen | |
| #include<sys/socket.h> |
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
| # Before this please install zsh and oh-my-zsh | |
| apt-get install curl | |
| #curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash - | |
| curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - | |
| sudo apt-get install -y nodejs vim htop git gitg | |
| sudo add-apt-repository ppa:chris-lea/node.js |
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
| linux中有多种方式可以将文件dump成16进制显示,也可以将16进制值再反向成文件。 | |
| $ hexdump test.txt | |
| 0000000 524f 2d41 3030 3036 0a30 524f 2d41 3030 | |
| 0000010 3630 0a30 | |
| 0000014 | |
| $ od -x test.txt | |
| 0000000 524f 2d41 3030 3036 0a30 524f 2d41 3030 | |
| 0000020 3630 0a30 | |
| 0000024 |
NewerOlder