还在使用pdf、word简历?简单五步实现github托管个人逼格简历
写在前面:
什么是git、github?
git 版本控制工具
github 通过git工具做的版本控制的项目托管平台
项目开发肯定不止一个程序猿,多个程序猿针对同一个文件进行代码读写操作时,是先保存程序猿a还是程序猿b呢?这就很容易冲突,所以就有了git这种版本控制工具解决项目更新。慢慢的随着开源精神的发展以及在线的需求就有了github项目托管平台,对于git本地服务来说,github就是一个远程的仓库。
逼格在哪里?
Github已经取代Sourceforge,成为最活跃的代码交流社区,一个程序员要是不知道github都没脸见人
就目前来看github已经成为不少程序员敲门砖,更直观告诉hr自己的水平,实力大胆要求高薪!~从此赢取白富美走上人生巅峰
一分钟了解git前世今生
“我女儿的同学们在听说她的父亲是 Git 的创作者之后非常兴奋,这种兴奋程度要比说有个 Linux 创作者的父亲更高。”
--Linus Torvalds
值得玩味的是历史是惊人的相似 ,最初因为没有免费可用的多任务多用户的系统,还是大学生的Linus Torvalds寻思着买不起咱就自己动手造个呗
Linux诞生
2005年开发 BitKeeper 的商业公司收回了 Linux 内核社区免费使用BitKeeper的权力,BitKeeper表示不跟Linux好了,这下完蛋了在当时除了 BitKeeper 之外,没有其他软件可以做到更好的远程协同。Linus 不想倒退回到没有高效版本管理的时代,没有了高效版本管理的工具用了,咬咬牙革命尚未成功 咱继续造个呗,消失了一个礼拜后左右Linus Torvalds带来了git只花费了十余天时间这就是
git诞生
git在诞生最初几年并不被看好认为操作违和与当时SVN方式相差很大,但是慢慢地,圈内的声音发生了变化后来的发展大家也都看到了
2007年几乎每个开发者都会使用的 GitHub 则使用 Git 为核心技术问世
2011年,Github已经取代Sourceforge,成为最活跃的代码交流社区。这意味着在Open Source Community(开源社区),Git取代了SVN已经成为事实。
最简单入门!强烈推荐没有之一!!!
http://www.bootcss.com/p/git-guide/
进阶入门! 一本就够了!!!
英文版:
https://git-scm.com/book/en/v2
中文版:
https://git-scm.com/book/zh/v2
教程开始
git命令就不罗列介绍,上述网址都有详细介绍
第一步:https://github.com/ 注册个人账号创建自己的第一个仓库
第二步:Linux默认安装好了git
没有的话也很简单#yum -y install git
第三步:远程连接仓库
# git clone https://github.com/username/username.github.io
# cd /root/username.github.io
第四步:
# wget http://labfile.oss.aliyuncs.com/courses/624/cv-template.zip //下载阿里的简历模板
# unzip cv-template.zip //解压
# mv cv-template/* . && rm -rf cv-template* __MACOSX*
[root@long username.github.io]# wget http://labfile.oss.aliyuncs.com/courses/624/cv-template.zip
---- ::-- http://labfile.oss.aliyuncs.com/courses/624/cv-template.zip
Resolving labfile.oss.aliyuncs.com... 118.178.161.16
Connecting to labfile.oss.aliyuncs.com|118.178.161.16|:... connected.
HTTP request sent, awaiting response... OK
Length: (153K) [application/zip]
Saving to: “cv-template.zip” %[======================================>] , 798K/s in .2s -- :: ( KB/s) - “cv-template.zip” saved [/] [root@long username.github.io]# unzip cv-template.zip
Archive: cv-template.zip
creating: cv-template/
inflating: cv-template/.DS_Store
creating: __MACOSX/
creating: __MACOSX/cv-template/
inflating: __MACOSX/cv-template/._.DS_Store
inflating: cv-template/index.html
creating: cv-template/static/
inflating: cv-template/static/.DS_Store
creating: __MACOSX/cv-template/static/
inflating: __MACOSX/cv-template/static/._.DS_Store
creating: cv-template/static/css/
inflating: cv-template/static/css/.DS_Store
creating: __MACOSX/cv-template/static/css/
inflating: __MACOSX/cv-template/static/css/._.DS_Store
inflating: cv-template/static/css/style.css
creating: cv-template/static/fonts/
inflating: cv-template/static/fonts/.DS_Store
creating: __MACOSX/cv-template/static/fonts/
inflating: __MACOSX/cv-template/static/fonts/._.DS_Store
inflating: cv-template/static/fonts/demo.css
inflating: cv-template/static/fonts/demo.html
inflating: cv-template/static/fonts/iconfont.css
inflating: cv-template/static/fonts/iconfont.eot
inflating: cv-template/static/fonts/iconfont.svg
inflating: cv-template/static/fonts/iconfont.ttf
inflating: cv-template/static/fonts/iconfont.woff
creating: cv-template/static/image/
inflating: cv-template/static/image/.DS_Store
creating: __MACOSX/cv-template/static/image/
inflating: __MACOSX/cv-template/static/image/._.DS_Store
inflating: cv-template/static/image/bg.jpg
inflating: cv-template/static/image/weixin.png
creating: cv-template/static/js/
inflating: cv-template/static/js/.DS_Store
creating: __MACOSX/cv-template/static/js/
inflating: __MACOSX/cv-template/static/js/._.DS_Store
inflating: cv-template/static/js/modal.js
inflating: cv-template/static/js/script.js
[root@long username.github.io]# ls
cv-template cv-template.zip __MACOSX
[root@long username.github.io]# mv cv-template/* . && rm -rf cv-template* __MACOSX*
[root@long username.github.io]# ls
index.html static
[root@long username.github.io]# firefox index.html
# firefox index.html //浏览器打开修改图片、身份等信息
第五步:添加、提交到仓库
# git add --all
# git commit -m "Initial commit"
# git push -u origin master
[root@long username.github.io]# git add --all
[root@long username.github.io]# git commit -m "Initial commit"
[master (root-commit) 0904ac1] Initial commit
Committer: root <root@long.uplooking.com>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly: git config --global user.name "Your Name"
git config --global user.email you@example.com If the identity used for this commit is wrong, you can fix it with: git commit --amend --author='Your Name <you@example.com>' files changed, insertions(+), deletions(-)
create mode index.html
create mode static/.DS_Store
create mode static/css/.DS_Store
create mode static/css/style.css
create mode static/fonts/.DS_Store
create mode static/fonts/demo.css
create mode static/fonts/demo.html
create mode static/fonts/iconfont.css
create mode static/fonts/iconfont.eot
create mode static/fonts/iconfont.svg
create mode static/fonts/iconfont.ttf
create mode static/fonts/iconfont.woff
create mode static/image/.DS_Store
create mode static/image/bg.jpg
create mode static/image/weixin.png
create mode static/js/.DS_Store
create mode static/js/modal.js
create mode static/js/script.js
[root@long username.github.io]# git push -u origin master
error: The requested URL returned error: Forbidden while accessing https://github.com/hehehe886/username.github.io/info/refs fatal: HTTP request failed
报错解决:在16行代码处添加用户
[root@long username.github.io]# ll -a
total
drwxr-xr-x root root Aug : .
dr-xr-x---. root root Aug : ..
drwxr-xr-x root root Aug : .git
-rw-r--r-- root root Sep index.html
drwxr-xr-x root root Sep static
[root@long username.github.io]# vim .git/config
[core]
repositoryformatversion =
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
#url = https://github.com/hehehe886/username.github.io
url = https://hehehe886@github.com/hehehe886/username.github.io
[branch "master"]
remote = origin
merge = refs/heads/master
再次git push,弹出框输入密码,即可提交
恭喜完成所有步骤,手机端pc端打开 https://username.github.io. 大功告成!~
这是一个二维码
给个机会,客官扫我
还在使用pdf、word简历?简单五步实现github托管个人逼格简历的更多相关文章
- Itext导出PDF,word,图片案例
iText导出pdf.word.图片 一.前言 在企业的信息系统中,报表处理一直占比较重要的作用,本文将介绍一种生成PDF报表的Java组件--iText.通过在服务器端使用Jsp或JavaBean生 ...
- php pdf word excel 操作方法
很早的时候,用php生成execl都是件麻烦的事,我一般都会用csv来替代,现在这类工具就很多了,并且比较成熟了.不光有excel的,word,pdf. 1,php excelreader操作exce ...
- ubuntu16.04下Hyperledger之搭建Fabric环境简单操作(五步启动e2e_cli)
如果你已经安装好go等工具.git及checkout相关代及下载相关镜像,您只需下面5步就能up e2e_cli~/go/src/github.com/hyperledger/fabric$ sudo ...
- React中使用react-file-viewer,实现预览office文件(pdf,word,xlsx等文件)前端实现
最近做一个项目要求在前端浏览器可以直接打开office文件(pdf,doc,xlsx等文件).pdf浏览器可以直接打开(可以直接用a标签href="文件地址"或者iframe标签s ...
- PDF/WORD/EXCEL 图片预览
一.PDF/WORD/EXCEL 转 XPS 转 第一页内容 转 图片 WORD.EXCEL转XPS (Office2010) public bool WordToXPS(string sourceP ...
- aspose.word 使用简单方法
aspose.word使用简单方法 概念介绍 使用aspose生成word报表步骤: 加载word模板 提供数据源 填充 加载模板 提供了4种重载方法 1 2 3 4 5 public Documen ...
- RDLC - 后台代码直接导出Excel/PDF/Word格式
最近做报表功能,用到了.net的报表组件rdlc. 其中有个功能就是后台代码直接输出Excel/PDF/Word格式的文件,网上看了些资源,做个总结: 参考地址 我直接贴出代码: //自动导出exce ...
- java使用poi读取word(简单,简约,直观)
java使用poi读取word(简单,简约,直观) 说明 其实poi的官网上面都是有接口和样例的,只是都是英文 例如网址:http://poi.apache.org/spreadsheet/quick ...
- HTML5离线Web应用实战:五步创建成功
[IT168 技术]HTML5近十年来发展得如火如荼,在HTML 5平台上,视频,音频,图象,动画,以及同电脑的交互都被标准化.HTML功能越来越丰富,支持图片上传拖拽.支持localstorage. ...
随机推荐
- SpringBoot 项目打包后获取不到resource下资源的解决
SpringBoot 项目打包后获取不到resource下资源的解决 在项目中有几个文件需要下载,然后不想暴露真实路径,又没有CDN,便决定使用接口的方式来获取文件.最初的时候使用了传统的方法来获取文 ...
- c# 父类的引用指向子类的实例
在C#中关于父类对子类的引用大概有这么几种: 父类是接口,普通类,抽象类 public interface A { void a(); } public class B { public void b ...
- 解决 Maven 项目中找不到 jdk 的 tools.jar 文件的办法(多数情况下适用)
<dependency> <groupId>jdk.tools</groupId> <artifactId>jdk.tools</artifact ...
- 自定义滑块Vue组件
<div class="audio"> <audio id="audio" ref="audio" src="h ...
- svg保存为图片下载到本地
今天给大家说一个将svg下载到本地图片的方法,这里我不得不吐槽一下,为啥博客园不可以直接上传本地文件给大家用来直接下载分享呢,好,吐槽到此为止! 这里需要用到一个js文件,名字自己起,内容如下: (f ...
- (二)JavaScript之[函数]与[作用域]
3].函数 /** * 事件驱动函数. * 函数执行可重复使用的代码 * * 1.带参的函数 * 2.带返回值的函数 * 3.局部变量 * * 4.全局变量 * 在函数外的:不用var声明,未声明直接 ...
- Python开发环境Wing IDE如何使用GTK和PyGObject
Wing IDE是一个集成开发环境,可用于编辑.测试和调试使用PyGObject为GTK编写的Python代码.Wing IDE提供自动完成.调用提示.一个强大的调试器,以及许多其他功能,可帮助用户编 ...
- SQL Union和Union All使用方法
格式: [SQL 语句 1]UNION [SQL 语句 2] 对两个结果集进行并集操作,不包括重复行,同时进行默认规则的排序: select ID,NAME from A UNION select I ...
- u-boot分析(五)----I/D cache失效|关闭MMU和cache|关闭看门狗
u-boot分析(五) 上篇博文我们按照210的启动流程,对u-boot启动中的设置异常向量表,设置SVC模式进行了分析,今天我们继续按照u-boot的启动流程对以下内容进行分析. 今天我们会用到的文 ...
- 最近项目需要用到AdminLTE,所以整理一份中文版的小教程
先介绍一下AdminLTE的官方网站:AdminLTE官方网站 和GitHub:AdminLTE的github,可以在上面自行下载. AdminLTE 是一个完全响应管理模板,主要依赖于 Bootst ...