一份用 C 语言编写的程序员简历,来自网友 klange 发在 Github 的 分享。昨日微博上已流传开这份简历了。后来 klange 专门在这份简历前面加声明了,他并不是他真正用于求职的简历,是他朋友开的玩笑。他真正用于分发的简历是 BSD mandoc 写的。(做些变动,以适应vs2010)
- #include
- #include
- #include
-
-
- typedef struct{
- union {
- char * company;
- char * school;
- char * project;
- };
- union {
- char * location;
- char * url;
- };
- union {
- char * title;
- char * program;
- };
-
- time_t started;
- time_t left;
-
- char * description[100];
- }thing_t;
-
- typedef thing_t job_t;
- typedef thing_t school_t;
- typedef thing_t project_t;
-
- #define CURRENT 0
- /* I wasn't alive at the Unix epoch, so that'll work */ /* Contact Information */
- char * name = "Kevin R. Lange";
- char * email = "[email protected]";
- char * address = "1045 Mission St, Apt 440\n" "San Francisco, CA 94103";
-
- /* Education */
- school_t uiuc = {
- "University of Illinois at Urbana-Champaign",
- "Urbana, IL",
- "BS Computer Science",
- 1251158400,
- 1336608000,
- {
- "Minor in International Studies in Engineering, Japan",
- "Focused on systems software courses",
- NULL
- }
- };
-
- school_t hit = {
- "Hiroshima Institute of Technology",
- "Hiroshima, Japan",
- "Study Abroad",
- 1274745600,
- 1278288000,
- {
- "Cultural exchange program",
- NULL
- }
- };
-
- school_t * schools[] = {
- &uiuc,
- &hit,
- NULL
- };
-
- /* Projects */
- project_t compiz = {
- "Compiz Window Manager",
- "http://compiz.org",
- "Developer",
- 1201392000,
- 1264291200,
- {
- "Minor plugin contributor",
- "Various research projects",
- NULL
- }
- };
-
- project_t toaruos = {
- "ToAruOS",
- "https://github.com/klange/toaruos",
- "Lead",
- 1295049600,
- CURRENT,
- {
- "Hobby x86 Unix-like kernel and userspace",
- "Advanced in-house GUI with compositing window manager",
- NULL
- }
- };
-
- project_t * projects[] = {
- &toaruos,
- &compiz,
- NULL
- };
-
- /* Employment History */
-
- job_t yelp = {
- "Yelp, Inc.",
- "San Francisco, CA",
- "Software Engineer, i18n",
- 1339977600,
- CURRENT,
- {
- "Developed several internal tools and libraries",
- "Provided critical input and design work for Yelp's launch in Japan",
- NULL
- }
- };
-
- job_t apple_internship = {
- "Apple Inc.",
- "Cupertino, CA",
- "Software Engineering Intern",
- 1306886400,
- 1314662400,
- {
- "Built software framework for testing and verification of desktop retina display modes",
- "Assisted other interns with Unix fundamentals",
- NULL
- }
- };
-
- job_t * jobs[] = {
- &yelp,
- &apple_internship,
- NULL
- };
-
- void print_thing (thing_t * thing) {
- char started[100];
- char **desc = thing->description;
- char left[100];
- struct tm * ti;
- int i = 0;
-
- printf ("%s at %s - %s\n", thing->title, thing->company, thing->location);
-
- ti = localtime (&thing->started);
- strftime (started, 100, "%B %d, %Y", ti);
-
- if (thing->left == CURRENT) {
- printf ("%s to now\n", started);
- }
- else {
- ti = localtime (&thing->left);
- strftime (left, 100, "%B %d, %Y", ti);
- printf ("%s to %s\n", started, left);
- }
-
-
- while (*desc) {
- printf ("- %s\n", *desc);
- desc++;
- }
- }
-
-
- int main()
- {
- school_t **s = schools;
- job_t ** j = jobs;
- project_t ** p = projects;
-
- printf ("%s\n%s\n%s\n\n", name, email, address);
-
- puts ("Education\n");
-
- while (*s) {
- print_thing (*s);
- puts ("");
- s++;
- }
-
- puts ("Employment\n");
-
- while (*j) {
- print_thing (*j);
- puts ("");
- j++;
- }
-
- puts ("Projects\n");
-
- while (*p) {
- print_thing (*p);
- puts ("");
- p++;
- }
-
-
- system("pause");
- return 0;
- }
-
-
-
- 编译这份简历代码后的结果是:
Kevin R.Lange
klange@toaruos.org
1045MissionSt,Apt440
SanFrancisco, CA 94103
Education
BS ComputerScience at University of Illinois at Urbana-Champaign-Urbana, IL
August25,2009 to May10,2012
-MinorinInternationalStudiesinEngineering,Japan
-Focused on systems software courses
StudyAbroad at HiroshimaInstitute of Technology-Hiroshima,Japan
May25,2010 to July05,2010
-Cultural exchange program
Employment
SoftwareEngineer, i18n at Yelp,Inc.-SanFrancisco, CA
June18,2012 to now
-Developed several internal tools and libraries
-Provided critical input and design work forYelp's launch in Japan
Software Engineering Intern at Apple Inc. - Cupertino, CA
June 01, 2011 to August 30, 2011
- Built software framework for testing and verification of desktop retina display modes
- Assisted other interns with Unix fundamentals
Projects
Lead at ToAruOS - https://github.com/klange/toaruos
January 15, 2011 to now
- Hobby x86 Unix-like kernel and userspace
- Advanced in-house GUI with compositing window manager
Developer at Compiz Window Manager - http://compiz.org
January 27, 2008 to January 24, 2010
- Minor plugin contributor
- Various research projects