设为首页收藏本站

LUPA开源社区

 找回密码
 注册
文章 帖子 博客
LUPA开源社区 首页 业界资讯 技术文摘 查看内容

程序员的简历该怎么写?当然是程序!

2015-3-18 23:08| 发布者: joejoe0332| 查看: 1873| 评论: 0|原作者: linux.cn|来自: linux.cn

摘要: 有个程序员用 C 语言写了一份自己的简历,不但源码可读,而且编译出来的结果也是一份优雅的简历。当然,这是一个玩笑,作者并没有真的用它来投递简历——也许怕 HR 看到就直接毙掉了?关于代码,里面使用了很多“_t ...

  有个程序员用 C 语言写了一份自己的简历,不但源码可读,而且编译出来的结果也是一份优雅的简历。


  当然,这是一个玩笑,作者并没有真的用它来投递简历——也许怕 HR 看到就直接毙掉了?


  关于代码,里面使用了很多“_t”类型——“用于系统库么?哦不,我就是系统库”——作者说道。:D



(题图来自:cloudfront.net)


下面分享给大家:

  1. #include <stdio.h>
  2. #include <time.h>
  3. typedef struct {
  4. union {
  5. char * company;
  6. char * school;
  7. char * project;
  8. };
  9. union {
  10. char * location;
  11. char * url;
  12. };
  13. union {
  14. char * title;
  15. char * program;
  16. };
  17. time_t started;
  18. time_t left;
  19. char * description[];
  20. } thing_t;
  21. typedef thing_t job_t;
  22. typedef thing_t school_t;
  23. typedef thing_t project_t;
  24. #define CURRENT 0 /* I wasn't alive at the Unix epoch, so that'll work */
  25. /* Contact Information */
  26. char * name = "Kevin R. Lange";
  27. char * email = "klange@toaruos.org";
  28. char * address = "1045 Mission St, Apt 440\n"
  29. "San Francisco, CA 94103";
  30. /* Education */
  31. school_t uiuc = {
  32. .school = "University of Illinois at Urbana-Champaign",
  33. .location = "Urbana, IL",
  34. .program = "BS Computer Science",
  35. .started = 1251158400,
  36. .left = 1336608000,
  37. .description = {
  38. "Minor in International Studies in Engineering, Japan",
  39. "Focused on systems software courses",
  40. NULL
  41. }
  42. };
  43. school_t hit = {
  44. .school = "Hiroshima Institute of Technology",
  45. .location = "Hiroshima, Japan",
  46. .program = "Study Abroad",
  47. .started = 1274745600,
  48. .left = 1278288000,
  49. .description = {
  50. "Cultural exchange program",
  51. NULL
  52. }
  53. };
  54. school_t * schools[] = {
  55. &uiuc,
  56. &hit,
  57. NULL
  58. };
  59. /* Projects */
  60. project_t compiz = {
  61. .project = "Compiz Window Manager",
  62. .url = "http://compiz.org",
  63. .title = "Developer",
  64. .started = 1201392000,
  65. .left = 1264291200,
  66. .description = {
  67. "Minor plugin contributor",
  68. "Various research projects",
  69. NULL
  70. }
  71. };
  72. project_t toaruos = {
  73. .project = "ToAruOS",
  74. .url = "https://github.com/klange/toaruos",
  75. .title = "Lead",
  76. .started = 1295049600,
  77. .left = CURRENT,
  78. .description = {
  79. "Hobby x86 Unix-like kernel and userspace",
  80. "Advanced in-house GUI with compositing window manager",
  81. NULL
  82. }
  83. };
  84. project_t * projects[] = {
  85. &toaruos,
  86. &compiz,
  87. NULL
  88. };
  89. /* Employment History */
  90. job_t yelp = {
  91. .company = "Yelp, Inc.",
  92. .location = "San Francisco, CA",
  93. .title = "Software Engineer, i18n",
  94. .started = 1339977600,
  95. .left = CURRENT,
  96. .description = {
  97. "Developed several internal tools and libraries",
  98. "Provided critical input and design work for Yelp's launch in Japan",
  99. NULL
  100. }
  101. };
  102. job_t apple_internship = {
  103. .company = "Apple Inc.",
  104. .location = "Cupertino, CA",
  105. .title = "Software Engineering Intern",
  106. .started = 1306886400,
  107. .left = 1314662400,
  108. .description = {
  109. "Built software framework for testing and verification of desktop retina display modes",
  110. "Assisted other interns with Unix fundamentals",
  111. NULL
  112. }
  113. };
  114. job_t * jobs[] = {
  115. &yelp,
  116. &apple_internship,
  117. NULL
  118. };
  119. void print_thing(thing_t * thing) {
  120. char started[100];
  121. char left[100];
  122. struct tm * ti;
  123. int i = 0;
  124. printf("%s at %s - %s\n", thing->title, thing->company, thing->location);
  125. ti = localtime(&thing->started);
  126. strftime(started, 100, "%B %d, %Y", ti);
  127. if (thing->left == CURRENT) {
  128. printf("%s to now\n", started);
  129. } else {
  130. ti = localtime(&thing->left);
  131. strftime(left, 100, "%B %d, %Y", ti);
  132. printf("%s to %s\n", started, left);
  133. }
  134. char ** desc = thing->description;
  135. while (*desc) {
  136. printf("- %s\n", *desc);
  137. desc++;
  138. }
  139. }
  140. int main(int argc, char ** argv) {
  141. printf("%s\n%s\n%s\n\n", name, email, address);
  142. puts("Education\n");
  143. school_t ** s = schools;
  144. while (*s) {
  145. print_thing(*s);
  146. puts("");
  147. s++;
  148. }
  149. puts("Employment\n");
  150. job_t ** j = jobs;
  151. while (*j) {
  152. print_thing(*j);
  153. puts("");
  154. j++;
  155. }
  156. puts("Projects\n");
  157. project_t ** p = projects;
  158. while (*p) {
  159. print_thing(*p);
  160. puts("");
  161. p++;
  162. }
  163. return 0;
  164. }

代码是可以编译的,编译后的结果是:

  1. Kevin R. Lange
  2. klange@toaruos.org
  3. 1045 Mission St, Apt 440
  4. San Francisco, CA 94103

  5. Education

  6. BS Computer Science at University of Illinois at Urbana-Champaign - Urbana, IL
  7. August 25, 2009 to May 10, 2012
  8. - Minor in International Studies in Engineering, Japan
  9. - Focused on systems software courses

  10. Study Abroad at Hiroshima Institute of Technology - Hiroshima, Japan
  11. May 25, 2010 to July 05, 2010
  12. - Cultural exchange program

  13. Employment

  14. Software Engineer, i18n at Yelp, Inc. - San Francisco, CA
  15. June 18, 2012 to now
  16. - Developed several internal tools and libraries
  17. - Provided critical input and design work for Yelp's launch in Japan

  18. Software Engineering Intern at Apple Inc. - Cupertino, CA
  19. June 01, 2011 to August 30, 2011
  20. - Built software framework for testing and verification of desktop retina display modes
  21. - Assisted other interns with Unix fundamentals

  22. Projects

  23. Lead at ToAruOS - https://github.com/klange/toaruos
  24. January 15, 2011 to now
  25. - Hobby x86 Unix-like kernel and userspace
  26. - Advanced in-house GUI with compositing window manager

  27. Developer at Compiz Window Manager - http://compiz.org
  28. January 27, 2008 to January 24, 2010
  29. - Minor plugin contributor
  30. - Various research projects

想不想你也用你偏爱的语言(PHP?)来写一份你的简历?


酷毙

雷人
1

鲜花

鸡蛋

漂亮

刚表态过的朋友 (1 人)

  • 快毕业了,没工作经验,
    找份工作好难啊?
    赶紧去人才芯片公司磨练吧!!

最新评论

关于LUPA|人才芯片工程|人才招聘|LUPA认证|LUPA教育|LUPA开源社区 ( 浙B2-20090187 浙公网安备 33010602006705号   

返回顶部