当前位置: 首页 > 软件库 > Web应用开发 > >

hacker-blog

授权协议 CC0-1.0 License
开发语言 JavaScript
所属分类 Web应用开发
软件类型 开源软件
地区 不详
投 递 者 长孙作人
操作系统 未知
开源组织
适用人群 未知
 软件概览

The Hacker-Blog theme

Hacker-Blog is a minimalistic, responsive jekyll theme built for hackers. It is based on the hacker theme for project pages.

Demo: https://ashishchaudhary.in/hacker-blog

Included

  1. Pagination
  2. SEO tags
  3. Archive Page
  4. About Page
  5. RSS (https://base-url/atom)
  6. Sitemap (https://base-url/sitemap)
  7. Google Analytics (optional)

Usage

  1. Fork and Clone this repository
  2. Customize your blog
  3. Add a new post in _posts/ directory with proper name format (as shown in placeholder posts)
  4. Commit and push to master on a repository named <githubusername.github.io>.
  5. Visit <githubusername>.github.io

Local Build

If you want to see the changes before pushing the blog to Github, do a local build.

  1. gem install jekyll
  2. gem install jekyll-seo-tag
  3. gem install jekyll-paginate
  4. gem install jekyll-sitemap
  5. (cd to the blog directory, then:) jekyll serve --watch --port 8000
  6. Go to http://0.0.0.0:8000/ in your web browser.

Note: In case you have set a baseurl different than / in _config.yml, go to http://0.0.0.0:8000/BASEURL/ instead.

Local build using docker

docker run --rm -p 8000:8000 \
  --volume="LOCATION_OF_YOUR_JEKYLL_BLOG:/srv/jekyll" \
  -it tocttou/jekyll:3.5 \
  jekyll serve --watch --port 8000

Replace LOCATION_OF_YOUR_JEKYLL_BLOG with the full path of your blog repository. Visit http://localhost:8000/ to access the blog.

Note: In case you have set a baseurl different than / in _config.yml, go to http://0.0.0.0:8000/BASEURL/ instead.

Customizing

Configuration variables

Edit the _config.yml file and set the following variables:

title: [The title of your blog]
description: [A short description of your blog's purpose]
author:
  name: [Your name]
  email: [Your email address]
  url: [URL of your website]

baseurl: [The base url for this blog.]

paginate: [Number of posts in one paginated section (default: 3)]
owner: [Your name]
year: [Current Year]

Note: All links in the site are prepended with baseurl. Default baseurl is /. Any other baseurl can be setup like baseurl: /hacker-blog, which makes the site available at http://domain.name/hacker-blog.

Additionally, you may choose to set the following optional variables:

google_analytics: [Your Google Analytics tracking ID]

About Page

Edit about.md

Layout

If you would like to modify the site style:

HTML

Footer: Edit _includes/footer.html

Header: Edit _includes/header.html

Links in the header: Edit _includes/links.html

Meta tags, blog title display, and additional CSS: Edit _includes/head.html

Index page layout: Edit _layouts/default.html

Post layout: Edit _layouts/post.html

CSS

Site wide CSS: Edit _sass/base.scss

Custom CSS: Make _sass/custom.scss and use it. Then add @import "custom"; to css/main.scss

404 page

Edit 404.md

License

CC0 1.0 Universal

  •   http://blog.csdn.net/huayunhualuo/article/details/54944548 #include <stdio.h> #include <algorithm> #include <iostream> #include <string.h> #include <stdlib.h> #include <queue> #include <vector> #inc

  • #include <stdio.h> #include <string.h> #include <math.h> #include <stdlib.h> #define MAX_LEN 128 //这是定义char长度最大值。一个字符只有一个,但字符串或一行字符串就有长度规则 int main() { char ch; //定义一个变量字符

  • hacker' 是计算机狂热爱好者,是循环用计算机用更新鲜聪明的方法做一些 new or old 的事情。 位操作一般应用在: 高低位互换:x >> 8 | x << 8 & 0xFF00 判断是否是 2 的幂:x & (x-1) 加密:参见博客《密码学》 无参交换 :a ^= b ^= a ^= b   代替 %,如果 n % m,m 是 2 的幂,就可以改为 n &(m-1)。   基础:  

 相关资料
  • The Hacker theme Hacker is a Jekyll theme for GitHub Pages. You can preview the theme to see what it looks like, or even use it today. Usage To use the Hacker theme: Add the following to your site's _

  • Process Hacker 是一个开源的进程浏览器和内存编辑器,支持内存搜索已经提供一个强大的 run-as 工具。可以用来显示Windows系统下的服务、进程、线程、模块、句柄以及内存区域的数据。

  • mongo-hacker 是一个适合黑客使用的 MongoDB 的 Shell 环境。

  • Resource Hacker 是一款适用于32位和64位 Windows 应用程序的资源编辑器,它既是一个资源编译器(针对*.rc文件),也是一个反编译器。它既是一个资源编译器(针对*.rc文件),也是一个反编译器--可以查看和编辑可执行文件(*.exe;*.dll;*.scr等)中的资源和编译后的资源库(*.res,*.mui)。虽然 Resource Hacker 主要是一个 GUI 应用程

  • Hacker Blocks NOTEThis is the source code of the old hackerblocks platform. Newer application is the complete re-write of this one from scratch. It can be found here: https://github.com/coding-blocks/

  • 这是用于访问 Hacker News 网站的 iPhone 和 iPad 客户端,侧重于内容和快速浏览。