Skip to content

Instantly share code, notes, and snippets.

@tvvocold
tvvocold / gist:42b382c07b3848c09aab
Created July 10, 2015 18:11
windows-verify-fedora22
> $image = "Fedora-Live-Workstation-x86_64-22-3.iso"
(请注意这里笔者以自己的 iso 文件为例,如果您下载了其他版本的 Fedora,请自行修改文件名)
> $checksum_file = "Fedora-Workstation-22-x86_64-CHECKSUM"
(请注意这里笔者以 Fedora 22 工作站(64 bit)版为例,如果您下载了其他版本的 Fedora,请在 https://getfedora.org/verify 查询 checksum_file )
> $sha256 = New-Object -TypeName System.Security.Cryptography.sha256CryptoServiceProvider
> $expected_checksum = ((Get-Content $checksum_file | Select-String -Pattern $image) -split " ")[0].ToLower()
@tvvocold
tvvocold / keybase.md
Created June 6, 2015 12:56
keybase.md

Keybase proof

I hereby claim:

  • I am tvvocold on github.
  • I am tvvocold (https://keybase.io/tvvocold) on keybase.
  • I have a public key whose fingerprint is 0AD0 5253 4863 549A 3AEE 295D 21BE C7B6 7EB6 88C0

To claim this, I am signing this object:

#!/bin/sh
#
# Compile and install nginx for OpenShift
# with memory cache, webdav and fancyindex support
#
# This is a universal script which can run on any type of OpenShift gears
# Note:
# install dir: $OPENSHIFT_DATA_DIR
# tmp dir: $OPENSHIFT_TMP_DIR
# log dir: $OPENSHIFT_LOG_DIR
@tvvocold
tvvocold / Copr 编译指南
Last active August 29, 2015 14:18
指南
<section data-background-transition='zoom' data-transition='concave' data-background='http://fdorg.qiniudn.com/galaxy-10996_1280.jpg' data-state='blackout'>
<h1><a href='http://copr.fdzh.org'>Copr</a> 编译指南</h1></br>
<h3> Build Once, Run Anywhere.</h3></br></br></br>
<aside>Tips:按 空格 或 点击>箭头 继续</aside>
</section>
<section data-transition='concave'>
<p> Copr 依赖 FAS 账户,如果您没有请点击 sign up 注册</p>
<img src="http://pic.fdzh.org/uploads/2015/04/20150403175611.png" style="width: 900px;">