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

hacker

Hacker is a Jekyll theme for GitHub Pages
授权协议 CC0-1.0 License
开发语言 JavaScript
所属分类 Web应用开发
软件类型 开源软件
地区 不详
投 递 者 韩华美
操作系统 未知
开源组织
适用人群 未知
 软件概览

The Hacker theme

.github/workflows/ci.yaml

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:

  1. Add the following to your site's _config.yml:

    remote_theme: pages-themes/hacker@v0.2.0
    plugins:
    - jekyll-remote-theme # add this line to the plugins list if you already have one
  2. Optionally, if you'd like to preview your site on your computer, add the following to your site's Gemfile:

    gem "github-pages", group: :jekyll_plugins

Customizing

Configuration variables

Hacker will respect the following variables, if set in your site's _config.yml:

title: [The title of your site]
description: [A short description of your site's purpose]

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

show_downloads: ["true" or "false" (unquoted) to indicate whether to provide a download URL]
google_analytics: [Your Google Analytics tracking ID]

Stylesheet

If you'd like to add your own custom styles:

  1. Create a file called /assets/css/style.scss in your site
  2. Add the following content to the top of the file, exactly as shown:
    ---
    ---
    
    @import "{{ site.theme }}";
  3. Add any custom CSS (or Sass, including imports) you'd like immediately after the @import line

Note: If you'd like to change the theme's Sass variables, you must set new values before the @import line in your stylesheet.

Layouts

If you'd like to change the theme's HTML layout:

  1. For some changes such as a custom favicon, you can add custom files in your local _includes folder. The files provided with the theme provide a starting point and are included by the original layout template.
  2. For more extensive changes, copy the original template from the theme's repository
    (Pro-tip: click "raw" to make copying easier)
  3. Create a file called /_layouts/default.html in your site
  4. Paste the default layout content copied in the first step
  5. Customize the layout as you'd like

Customizing Google Analytics code

Google has released several iterations to their Google Analytics code over the years since this theme was first created. If you would like to take advantage of the latest code, paste it into _includes/head-custom-google-analytics.html in your Jekyll site.

Overriding GitHub-generated URLs

Templates often rely on URLs supplied by GitHub such as links to your repository or links to download your project. If you'd like to override one or more default URLs:

  1. Look at the template source to determine the name of the variable. It will be in the form of {{ site.github.zip_url }}.
  2. Specify the URL that you'd like the template to use in your site's _config.yml. For example, if the variable was site.github.url, you'd add the following:
    github:
      zip_url: http://example.com/download.zip
      another_url: another value
  3. When your site is built, Jekyll will use the URL you specified, rather than the default one provided by GitHub.

Note: You must remove the site. prefix, and each variable name (after the github.) should be indent with two space below github:.

For more information, see the Jekyll variables documentation.

Roadmap

See the open issues for a list of proposed features (and known issues).

Project philosophy

The Hacker theme is intended to make it quick and easy for GitHub Pages users to create their first (or 100th) website. The theme should meet the vast majority of users' needs out of the box, erring on the side of simplicity rather than flexibility, and provide users the opportunity to opt-in to additional complexity if they have specific needs or wish to further customize their experience (such as adding custom CSS or modifying the default layout). It should also look great, but that goes without saying.

Contributing

Interested in contributing to Hacker? We'd love your help. Hacker is an open source project, built one contribution at a time by users like you. See the CONTRIBUTING file for instructions on how to contribute.

Previewing the theme locally

If you'd like to preview the theme locally (for example, in the process of proposing a change):

  1. Clone down the theme's repository (git clone https://github.com/pages-themes/hacker)
  2. cd into the theme's directory
  3. Run script/bootstrap to install the necessary dependencies
  4. Run bundle exec jekyll serve to start the preview server
  5. Visit localhost:4000 in your browser to preview the theme

Running tests

The theme contains a minimal test suite, to ensure a site with the theme would build successfully. To run the tests, simply run script/cibuild. You'll need to run script/bootstrap once before the test script will work.

  • 什么是黑客? 黑客是一个中文词语,皆源自英文hacker,随着灰鸽子的出现,灰鸽子成为了很多假借黑客名义控制他人电脑的黑客技术,于是出现了“骇客”与"黑客"分家。2012年电影频道节目中心出品的电影《骇客(Hacker) 》也已经开始使用骇客一词,显示出中文使用习惯的趋同。实际上,黑客(或骇客)与英文原文Hacker、Cracker等含义不能够达到完全对译,这是中英文语言词汇各自发展中形成的差异。

  • 一个垃圾网站:http://www.lysf999.com 还有些垃圾办证网站都可以用来练手。 探路篇 1.得到一个网站的ip地址 ping http://www.lysf999.com 这样可以得到相应的ip地址信息, Pinging 121.12.124.199 with 32 bytes of data: Request timed out. Request timed out. Reque

  • intext:关键字 搜索网页正文中含有这些关键字的网页。 intitle:关键字 搜索网页标题中含有这些关键字的网页。 cache:关键字 搜索含有关键字内容的cache。 define:关键字 搜索关键字的定义。 filetype:文件名.后缀名 搜索特定的文件。 info:关键字 搜索指定站点的一些基本信息。 inurl:关键字 搜索含有关键字的URL地址。 link:关键字 查找与关键字做

  • 黑客 (泛指擅长IT技术的电脑高手) 黑客是一个中文词语,皆源自英文hacker,随着灰鸽子的出现,灰鸽子成为了很多假借黑客名义控制他人电脑的黑客技术,于是出现了“骇客”与"黑客"分家。2012年电影频道节目中心出品的电影《骇客(Hacker) 》也已经开始使用骇客一词,显示出中文使用习惯的趋同。实际上,黑客(或骇客)与英文原文Hacker、Cracker等含义不能够达到完全对译,这是中英文语言词

  • “黑客咒语”的描述,“代码比毫无意义的争论更有说服力”。因为代码的价值并不会因为你怎么讨论它而改变,也不会因为你画了一个UML图就能对它所能产生的效果有所改变。Meijer说,Facebook的Hacker Way工作方式有五个众所周知的原理: 关注后果:你应该将你的聚焦点放在解决重大问题之后产生了哪些最大影响及结果。 行动要快速:为自己构建能够快速学习的方法,特别是在尝试采取一些有可能是唯一解决

  • 一、谷歌浏览器插件收集信息 1.Wappalyzer插件 步骤:谷歌商店安装---访问某网站---点击该插件就可以看到相关信息 2.Modheader插件 步骤:谷歌商店安装—点击该插件—点击加号 便可以根据需求自定义请求头 (1)作用:这款插件能够帮助我们自定义请求头 二、谷歌hacking搜索语法 1.批量寻找网站后台 (1)inurl:login (2)intext:后台登录 (3)inti

  • Hash Code Hacker Time Limit: 4000ms, Special Time Limit:10000ms, Memory Limit:262144KB   Problem 13958 : Special judge Problem description According to Java standard library documentation, the hash co

  • 如何才能成为一名信息安全工程师,首先你要对信息安全这个专业方向感兴趣才可以,兴趣是最好的老师,当然原因不止这么简单,另外一个原因就是学习信息安全技术不像其他计算机技术一样可以速成,她需要时间的积累和沉淀,比如你可能两个月就入门了前端,掌握了这门技术。但是想搞安全则并非易事。 虽然信息安全需要学习的面太广,会的东西要求也很多,但还是有一定的学习方法的。 一、学会充分利用网络资源 在此我给你推荐两个专

  • growth hacker? “技术+营销”的新型复合人才 Growth hacker (增长黑客),需要营销人的创造力与工程师的缜密分析能力。 growth hacker需要掌握的7大技能: 1.统计 2.编程 3.Excel 4.分析 5.数据库查询/结构化查询语言 6.A/B测试 7.网页抓取

  • http://72.14.235.104/search?q=cache:ys6DSYc0GcIJ:www.12000.org/my_notes/system_calls_in_linux/system_call_in_linux/index.htm+filp_open+fopen&hl=en&ct=clnk&cd=3 Cached by Google[@more@] How system call

  •   Cracker 是以破解各种加密或有限制的商业软件为乐趣的人,这些以破解 (Crack) 最新版本的软件为己任的人,从某些角度来说是一种义务性的、发泄性的,他们讲究 Crack 的艺术性和完整性,从文化上体现的是计算机大众化。他们以年轻人为主,对软件的商业化怀有敌意。   “骇客”(cracker)一词一般有以下意义:一个恶意(一般是非法地)试图破解或破坏某个程序、系统及网络安全的人。   在

  • 本文转自一网友的答案(有删改,以后我还有继续发更多的学习办法,不可以全部按我发的办法去学,因为那种办法可能不合自己) 并不是所有的问题都需要来问老黑客的的,你可以先百度一下,找不到,再问老黑客。 或许你并不想成为一个黑客而是好奇,或许你只是为了高超的技术。无论是什么都需要刻苦的去学习,没有什么事情是不付出努力就能轻易成功的,之所以叫成功是因为那个人拥有着与众不同的本领,如果你想拥有超群的本领就要不

  • 自由软件运动的开山鼻祖Richard Stallman认为: 1、所有人都对编程着迷,并且在生活的其他方面,我们也愿意展示自己的才华。我们称自己叫“hacker”。 2、自由软件使用对称版权copyleft,赋予了用户四个方面的自由度:   0. 运行软件的自由。   1. 学习源代码,修改源代码的自由。   2. 再次分发程序的自由。   3. 分发经自己修改的版本的自由。    发现自己对编程

  • The Hacker Mentality Let's get this straight - the original definition of a hacker is not someone who writes malicious code. A hacker is a creator, an innovator, and a builder. So what is the Hacker M

相关阅读

相关文章

相关问答

相关文档