Skip to content

Commit c8f118c

Browse files
committed
初始化
初始化
0 parents  commit c8f118c

File tree

160 files changed

+36892
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

160 files changed

+36892
-0
lines changed

.gitignore

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
2+
# Created by https://www.gitignore.io/api/macos
3+
4+
### macOS ###
5+
*.DS_Store
6+
.AppleDouble
7+
.LSOverride
8+
9+
# Icon must end with two \r
10+
Icon
11+
12+
13+
# Thumbnails
14+
._*
15+
16+
# Files that might appear in the root of a volume
17+
.DocumentRevisions-V100
18+
.fseventsd
19+
.Spotlight-V100
20+
.TemporaryItems
21+
.Trashes
22+
.VolumeIcon.icns
23+
.com.apple.timemachine.donotpresent
24+
25+
# Directories potentially created on remote AFP share
26+
.AppleDB
27+
.AppleDesktop
28+
Network Trash Folder
29+
Temporary Items
30+
.apdisk
31+
32+
# End of https://www.gitignore.io/api/macos
33+
34+
# debug file
35+
_site

.travis.yml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
language: ruby
2+
env:
3+
global:
4+
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
5+
install:
6+
- gem install jekyll
7+
- gem install jekyll-paginate
8+
script:
9+
- jekyll build
10+
after_success:
11+
- bash <(curl -s https://codecov.io/bash)
12+
13+

404.html

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
layout: default
3+
description: "你来到了没有知识的荒原 🙊"
4+
header-img: "img/404-bg.jpg"
5+
permalink: /404.html
6+
---
7+
8+
9+
<!-- Page Header -->
10+
<header class="intro-header" style="background-image: url('{{ site.baseurl }}/{% if page.header-img %}{{ page.header-img }}{% else %}{{ site.header-img }}{% endif %}')">
11+
<div class="container">
12+
<div class="row">
13+
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
14+
<div class="site-heading" id="tag-heading">
15+
<h1>404</h1>
16+
<span class="subheading">{{ page.description }}</span>
17+
</div>
18+
</div>
19+
</div>
20+
</div>
21+
</header>
22+
23+
<script>
24+
document.body.classList.add('page-fullscreen');
25+
</script>

Gruntfile.js

+73
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
module.exports = function(grunt) {
2+
3+
// Project configuration.
4+
grunt.initConfig({
5+
pkg: grunt.file.readJSON('package.json'),
6+
uglify: {
7+
main: {
8+
src: 'js/<%= pkg.name %>.js',
9+
dest: 'js/<%= pkg.name %>.min.js'
10+
}
11+
},
12+
less: {
13+
expanded: {
14+
options: {
15+
paths: ["css"]
16+
},
17+
files: {
18+
"css/<%= pkg.name %>.css": "less/<%= pkg.name %>.less"
19+
}
20+
},
21+
minified: {
22+
options: {
23+
paths: ["css"],
24+
cleancss: true
25+
},
26+
files: {
27+
"css/<%= pkg.name %>.min.css": "less/<%= pkg.name %>.less"
28+
}
29+
}
30+
},
31+
banner: '/*!\n' +
32+
' * <%= pkg.title %> v<%= pkg.version %> (<%= pkg.homepage %>)\n' +
33+
' * Copyright <%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' +
34+
' */\n',
35+
usebanner: {
36+
dist: {
37+
options: {
38+
position: 'top',
39+
banner: '<%= banner %>'
40+
},
41+
files: {
42+
src: ['css/<%= pkg.name %>.css', 'css/<%= pkg.name %>.min.css', 'js/<%= pkg.name %>.min.js']
43+
}
44+
}
45+
},
46+
watch: {
47+
scripts: {
48+
files: ['js/<%= pkg.name %>.js'],
49+
tasks: ['uglify'],
50+
options: {
51+
spawn: false,
52+
},
53+
},
54+
less: {
55+
files: ['less/*.less'],
56+
tasks: ['less'],
57+
options: {
58+
spawn: false,
59+
}
60+
},
61+
},
62+
});
63+
64+
// Load the plugins.
65+
grunt.loadNpmTasks('grunt-contrib-uglify');
66+
grunt.loadNpmTasks('grunt-contrib-less');
67+
grunt.loadNpmTasks('grunt-banner');
68+
grunt.loadNpmTasks('grunt-contrib-watch');
69+
70+
// Default task(s).
71+
grunt.registerTask('default', ['uglify', 'less', 'usebanner']);
72+
73+
};

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2017 BY
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)