Skip to content

Commit

Permalink
0919
Browse files Browse the repository at this point in the history
  • Loading branch information
yiyansong committed Sep 19, 2016
0 parents commit 043d282
Show file tree
Hide file tree
Showing 14 changed files with 566 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
_site
.sass-cache
.jekyll-metadata
.idea
34 changes: 34 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
layout: null
title: 404
permalink: /404.html
---
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>404 Error</title>
<link href="{{"bower_components/bootstrap/dist/css/bootstrap.min.css" | prepend: site.baseurl }}" rel="stylesheet">
<link href="{{"bower_components/components-font-awesome/css/font-awesome.min.css"| prepend: site.baseurl }}" rel="stylesheet">
<link href="{{"bower_components/animate.css/animate.min.css"| prepend: site.baseurl }}" rel="stylesheet">
<link href="{{"static/css/style.css"| prepend: site.baseurl }}" rel="stylesheet">
</head>
<body class="gray-bg">
<div class="middle-box text-center animated fadeInDown">
<h1>404</h1>
<h3 class="font-bold">Page Not Found</h3>
<div class="error-desc">
<p>
Sorry, but the page you are looking for has note been found. Try checking the URL for error, then hit the refresh button on your browser or try found something else in my website.
</p>
<div>
<a type="button" class="btn btn-primary" href="/">Home</a>
</div>
</div>
</div>
<!-- Mainly scripts -->
<script src="{{"bower_components/jquery/dist/jquery.min.js"| prepend: site.baseurl }}"></script>
<script src="{{"bower_components/bootstrap/dist/js/bootstrap.min.js"| prepend: site.baseurl }}"></script>
</body>
</html>
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
yiiyan.me
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
My personal blog: http://yiiyan.me

59 changes: 59 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# Welcome to Jekyll!

# Website settings
title: "Alleine"
description: "Alleine's blog,use Jekyll and github pages."
keywords: "Alleine,Jekyll,github,gh-pages"
baseurl: "/"
url: "yiiyan.me"
# url: "http://127.0.0.1:4000"

# blog img path
img_path: 'http://github.com/YiyS/YiyS.github.io/static/img/blog'

# author
author:
name: 'Alleine'
first_name:
last_name:
email: '[email protected]'
facebook_username:
github_username: 'YiyS'
head_img: 'static/img/landing/Jack.jpg'


# landing page
landing:
home: 'Home'
about: 'About'
career: 'Career'
skills: 'Skills'
blog: 'Blog'


# blog index
index:
home: 'Home'
linux: 'Linux'
r: 'R'
ngs: 'NGS'



# baidu analytics
ba:
uuid: 317acca9ef9255b934e46371e471431d

# google analytics
ga:
id: UA-73784599-1

# Build settings
encoding: "utf-8"

# other settings
highlighter: rouge
markdown: kramdown
kramdown:
input: GFM
syntax_highlighter: rouge
Binary file added blog.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added blog.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 33 additions & 0 deletions bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"name": "jalpc_jekyll_theme",
"homepage": "http://www.jack003.com",
"authors": [
"Jack <[email protected]>"
],
"description": "For blog use.",
"main": "",
"license": "MIT",
"private": true,
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
],
"dependencies": {
"bootstrap": "^3.3.6",
"metisMenu": "^2.5.2",
"jquery-slimscroll": "^1.3.8",
"PACE": "pace#^1.0.2",
"components-font-awesome": "^4.6.3",
"animate.css": "^3.5.2",
"wow": "wowjs#^1.1.2",
"i18next": "^3.2.0",
"font-mfizz": "^2.0.1",
"jquery.gritter": "^1.7.4",
"peity": "^3.2.0",
"toastr": "^2.1.2",
"rickshaw": "^1.5.1"
}
}
30 changes: 30 additions & 0 deletions feed.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
layout: null
---
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>{{ site.title | xml_escape }}</title>
<description>{{ site.description | xml_escape }}</description>
<link>{{ site.url }}{{ site.baseurl }}/</link>
<atom:link href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" rel="self" type="application/rss+xml"/>
<pubDate>{{ site.time | date_to_rfc822 }}</pubDate>
<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
<generator>Jekyll v{{ jekyll.version }}</generator>
{% for post in site.posts %}
<item>
<title>{{ post.title | xml_escape }}</title>
<description>{{ post.content | xml_escape }}</description>
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
<link>{{ post.url | prepend: site.baseurl | prepend: site.url }}</link>
<guid isPermaLink="true">{{ post.url | prepend: site.baseurl | prepend: site.url }}</guid>
{% for tag in post.tags %}
<category>{{ tag | xml_escape }}</category>
{% endfor %}
{% for cat in post.categories %}
<category>{{ cat | xml_escape }}</category>
{% endfor %}
</item>
{% endfor %}
</channel>
</rss>
33 changes: 33 additions & 0 deletions git_find_big.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#!/bin/bash
#set -x

# Shows you the largest objects in your repo's pack file.
# Written for osx.
#
# @see http://stubbisms.wordpress.com/2009/07/10/git-script-to-show-largest-pack-objects-and-trim-your-waist-line/
# @author Antony Stubbs

# set the internal field spereator to line break, so that we can iterate easily over the verify-pack output
IFS=$'\n';

# list all objects including their size, sort by size, take top 10
objects=`git verify-pack -v .git/objects/pack/pack-*.idx | grep -v chain | sort -k3nr | head`

echo "All sizes are in kB's. The pack column is the size of the object, compressed, inside the pack file."

output="size,pack,SHA,location"
for y in $objects
do
# extract the size in bytes
size=$((`echo $y | cut -f 5 -d ' '`/1024))
# extract the compressed size in bytes
compressedSize=$((`echo $y | cut -f 6 -d ' '`/1024))
# extract the SHA
sha=`echo $y | cut -f 1 -d ' '`
# find the objects location in the repository tree
other=`git rev-list --all --objects | grep $sha`
#lineBreak=`echo -e "\n"`
output="${output}\n${size},${compressedSize},${other}"
done

echo -e $output | column -t -s ', '
Loading

0 comments on commit 043d282

Please sign in to comment.