分享一份C語言寫的簡歷
這裡黑客新聞嗎?作者用程式碼更新了自己的簡歷,是不是很接地氣,特符合程式設計師的逼格。這是一份可讀可執行的C語言原始檔,也是作者編碼風格的體現。
#include <stdio.h> #include <time.h> 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[]; } 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 = "klange@toaruos.org"; 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 = 1251158400, .left = 1336608000, .description = { "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 = 1274745600, .left = 1278288000, .description = { "Cultural exchange program", NULL } }; school_t * schools[] = { &uiuc, &hit, NULL }; /* Projects */ project_t compiz = { .project = "Compiz Window Manager", .url = "http://compiz.org", .title = "Developer", .started = 1201392000, .left = 1264291200, .description = { "Minor plugin contributor", "Various research projects", NULL } }; project_t toaruos = { .project = "ToAruOS", .url = "https://github.com/klange/toaruos", .title = "Lead", .started = 1295049600, .left = CURRENT, .description = { "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 = { .company = "Yelp, Inc.", .location = "San Francisco, CA", .title = "Software Engineer, i18n", .started = 1339977600, .left = CURRENT, .description = { "Developed several internal tools and libraries", "Provided critical input and design work for Yelp's launch in Japan", NULL } }; job_t apple_internship = { .company = "Apple Inc.", .location = "Cupertino, CA", .title = "Software Engineering Intern", .started = 1306886400, .left = 1314662400, .description = { "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 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); } char ** desc = thing->description; while (*desc) { printf ("- %s\n", *desc); desc++; } } int main (int argc, char ** argv) { printf ("%s\n%s\n%s\n\n", name, email, address); puts ("Education\n"); school_t ** s = schools; while (*s) { print_thing (*s); puts (""); s++; } puts ("Employment\n"); job_t ** j = jobs; while (*j) { print_thing (*j); puts (""); j++; } puts ("Projects\n"); project_t ** p = projects; while (*p) { print_thing (*p); puts (""); p++; } return 0; }
編譯後,我們看到的簡歷如下
Kevin R. Lange
klange@toaruos.org
1045 Mission St, Apt 440
San Francisco, CA 94103Education
BS Computer Science at University of Illinois at Urbana-Champaign – Urbana, IL
August 25, 2009 to May 10, 2012
- Minor in International Studies in Engineering, Japan
- Focused on systems software coursesStudy Abroad at Hiroshima Institute of Technology – Hiroshima, Japan
May 25, 2010 to July 05, 2010
- Cultural exchange programEmployment
Software Engineer, i18n at Yelp, Inc. – San Francisco, CA
June 18, 2012 to now
- Developed several internal tools and libraries
- Provided critical input and design work for Yelp’s launch in JapanSoftware 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 fundamentalsProjects
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 managerDeveloper at Compiz Window Manager - http://compiz.org
January 27, 2008 to January 24, 2010
- Minor plugin contributor
- Various research projects
相關文章
- 如何寫一份有效的技術簡歷?
- 程式設計師如何寫一份合格的簡歷?(附簡歷模版)程式設計師
- 如何寫一份好的前端面試簡歷?前端面試
- 用 C 語言寫一個簡單的 Unix Shell(1)
- 用 C 語言寫一個簡單的 Unix Shell(2)
- 怎樣寫好一份IT技術崗位的簡歷
- 用 C 語言編寫一個簡單的垃圾回收器
- 程式設計師怎麼寫出一份漂亮的簡歷程式設計師
- 如何寫一份更適合程式設計工作的簡歷程式設計
- 指標(詳解)本人覺得寫的很不錯,所以拿出來分享! - C/C / C語言指標C語言
- 一份簡歷修改指南
- C語言基礎-C簡介C語言
- C語言中如何寫斷言C語言
- C語言-檔案讀寫C語言
- 如何編寫一份好的網際網路校招簡歷
- 手把手教你寫一份優質的前端技術簡歷前端
- 資源分享:一份簡歷中需重點突出哪些部分?
- 乾貨分享 | C語言的聯合體C語言
- PHP 程式設計師轉 Go 語言的經歷分享PHP程式設計師Go
- 簡易C語言文法分析C語言
- C語言-1.簡介C語言
- 邦芒簡歷:如何打造一份具有戰鬥力的簡歷
- C語言-GCC的簡單介紹C語言GC
- 想拿高薪offer?寫好一份技術簡歷的技巧很重要!高薪
- PHPer面試指南-程式設計師如何寫好一份簡歷?PHP面試程式設計師
- 【校招/社招】面試位元組,寫了一份硬核簡歷!面試
- 程式設計師如何寫好簡歷 && 一份優秀的程式設計師簡歷是什麼樣的?程式設計師
- 用C語言寫的程式不安全C語言
- C語言 編寫線段樹C語言
- 資料結構-二叉樹的遍歷(類C語言描寫敘述)資料結構二叉樹C語言
- 分享一份非常適合新手學習的《Go語言從入門到實戰——簡明高效的Go語言實戰指南》課程Go
- 《C語言程式設計:問題與求解方法》——2.2節C語言歷史概述C語言程式設計
- Cython,一個簡化 Python 編寫 C 擴充套件的語言Python套件
- 關於C語言的簡單介紹C語言
- C語言_簡單的階乘函式C語言函式
- C語言簡單程式碼程式C語言
- [譯] 簡短而又完全精確的程式語言歷史
- C語言練手專案--C 語言製作簡單計算器C語言