public
forked from klange/resume.c
Clone this gistEmbed this gist">
Link to this gist
revised this gist 2013-01-09T22:35:52Z.
* ******* **** **** * addition and 1 deletion.
View gist @ 0bc2359
2
resume.c
...
40
41
42
43
44
45
46
...
40
41
42
43
44
45
46
@@ -40,7 +40,7 @@
char * name = "Kevin R. Lange";
char * email = "*@*******.***";
char * address = "1045 Mission St, Apt 440\n"
- "San Francisco, CA 94103";
+ "San Francisco, CA 94103";
/* Education */
school_t uiuc = {
revised this gist 2012-11-09T01:01:33Z.
1 changed file with 74 additions and 0 deletions.
View gist @ 7fbf6e3
74 resume.c
...
1
2
3
4
5
6
...
1
2
3
4
5
6
7
8
@@ -1,6 +1,8 @@
#include
#include
+/* TODO: resume.h */
+
typedef struct {
char * company;
char * location;
...
12
13
14
15
16
17
...
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
@@ -12,6 +14,68 @@
char * accomplishments[];
} job_t;
+typedef struct {
+ char * school;
+ char * location;
+ char * program;
+
+ time_t started;
+ time_t left;
+
+ char * accomplishments[];
+} school_t;
+
+typedef struct {
+ char * project;
+ char * title;
+
+ time_t started;
+ time_t left;
+
+ char * description[];
+} project_t;
+
+/* Contact Information */
+
+char * name = "Kevin R. Lange";
+char * email = "*@*******.***";
+char * address = "1045 Mission St, Apt 440\n"
+ "San Francisco, CA 94103";
+
+/* Education */
+school_t uiuc = {
+ .school = "University of Illinois at Urbana-Champaign",
+ .location = "Urbana, IL",
+ .program = "BS Computer Science",
+ .started = 125*******,
+ .left = 133*******,
+ .accomplishments = {
+ "Minor in International Studies in Engineering, Japan",
+ "Focused on systems software courses",
+ NULL
+ }
+};
+
+school_t hit = {
+ .school = "Hiroshima Institute of Technology",
+ .location = "Hiroshima, Japan",
+ .program = "Study Abroad",
+ .started = 127*******,
+ .left = 127*******,
+ .accomplishments = {
+ "Cultural exchange program",
+ NULL
+ }
+};
+
+/* Projects */
+project_t compiz = {
+ .project = "Compiz Window Manager",
+ .title = "Developer",
+ /* ... */
+};
+
+/* Employment History */
job_t apple_internship = {
.company = "Apple Inc.",
...
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
...
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
@@ -32,16 +96,26 @@
NULL
};
+
+/* TODO: resume-main.c */
+
void print_job(job_t * job) {
char started[100];
char left[100];
struct tm * ti;
+ int i = 0;
+
ti = localtime(&job->started);
strftime(started, 100, "%B %d, %Y", ti);
ti = localtime(&job->left);
strftime(left, 100, "%B %d, %Y", ti);
printf("%s at %s\t\t%s\n", job->title, job->company, job->location);
printf("%s to %s\n", started, left);
+
+ while (job->accomplishments[i]) {
+ printf("- %s\n", job->accomplishments[i]);
+ ++i;
+ }
}
int main(int argc, char * argv) {
revised this gist 2012-11-09T00:44:54Z.
1 changed file with 1 addition and 1 deletion.
View gist @ e4120a7
2
resume.c
...
38
39
40
41
42
43
44
...
38
39
40
41
42
43
44
@@ -38,7 +38,7 @@ void print_job(job_t * job) {
struct tm * ti;
ti = localtime(&job->started);
strftime(started, 100, "%B %d, %Y", ti);
- ti = localtime(&job->started);
+ ti = localtime(&job->left);
strftime(left, 100, "%B %d, %Y", ti);
printf("%s at %s\t\t%s\n", job->title, job->company, job->location);
printf("%s to %s\n", started, left);
created this gist 2012-11-09T00:44:02Z.
View gist @ fd91ed5
56 resume.c
...
© 2013 GitHub Inc. All rights reserved.