Skip to content

Instantly share code, notes, and snippets.

@tvvocold
tvvocold / slides.fdzh.org - 在云端的泡泡糖
Last active May 5, 2017 15:49
slides.fdzh.org-请自定义文件名
<section data-background-transition='zoom' data-transition='concave' data-background='http://fdorg.qiniudn.com/galaxy-10996_1280.jpg' data-state='blackout'>
<h1>在云端的泡泡糖</h1>
<h4>slides.fdzh.org</h4>
<p>请按 空格 或点击 右下角方向键 继续演示...</p>
</section>
<section data-background-transition='zoom' data-transition='linear'>
<h2>如何使用?</h2>
<p>仅需 Fork 一份 Gist </p>
<a href='https://gist.github.com/tvvocold/30e2848f2ba2a294ab28'>https://gist.github.com/tvvocold/30e2848f2ba2a294ab28</a></p>
@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;">
#!/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 / 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:

@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 / allpac
Last active September 15, 2015 14:44
function FindProxyForURL( url, host )
{
return "SOCKS 192.168.1.168:9009";
}
@tvvocold
tvvocold / index.html
Last active August 21, 2016 13:34
Coder-Review
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="stylesheet" href="http://cmx.io/v/0.1/cmx.css">
<script src="http://cmx.io/v/0.1/cmx.js" charset="utf-8"></script>
<style>.cmx-user-scene4 .cmx-text-border .cmx-path {stroke: orange}</style>
<body>
<div style="max-width:900px; -webkit-transform:rotate(0deg)">
<scene id="scene1">
<label t="translate(0,346)">
@tvvocold
tvvocold / file
Created September 26, 2016 08:03
freedom_public
{"0.001632255322624676":"-----BEGIN PGP PUBLIC KEY BLOCK-----\r\nCharset: UTF-8\r\n\r\nxv8AAABSBAAAAAATCCqGSM49AwEHAgMEWQP3uFS+F8wjbVr360mMOvG3AhG4VcAl\r\nwl3K1RqY8Q5G0WI4UDldPgt7cgltztUu+1RVUhWAwHYh9u7RxoxTh83/AAAACDxn\r\naXRodWI+wv8AAACOBBATCABA/wAAAAWCV+jWbf8AAAACiwn/AAAACZD/gDZeslxS\r\nsv8AAAAFlQgJCgv/AAAABJYDAQL/AAAAApsD/wAAAAKeAQAAsBgBAL61kSgmik5t\r\nIb4huhRD7GNgvCv+mB/0neFWG06EyJZOAP9Y9jmMucmGrHCa79GPyzsatrAGKuIY\r\nisPvxmKYPwtpzs7/AAAAVgQAAAAAEggqhkjOPQMBBwIDBO6rqPfSBNWfWRmjANF3\r\n1sR9T+aOpLCHPP9Njf6DuNQ2ELAyqtScc76xrvXIlO2e1vQcrBYHEX8RqP2nymGW\r\nfrYDAQgHwv8AAABtBBgTCAAf/wAAAAWCV+jWbf8AAAAJkP+ANl6yXFKy/wAAAAKb\r\nDAAAb8oBAOLTP/nl4dgjX7H0HuG9TVK3mvJjj7TMQLIbVKxC2CubAQCLvc18la8D\r\nau6J1tosjfOrkbPCVR+0LqG9czZW9jtdQA==\r\n=2oeS\r\n-----END PGP PUBLIC KEY BLOCK-----\r\n"}

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 92F0 F754 9630 5414 0BE7 4108 A5D4 2E8D 25AB 22D4

To claim this, I am signing this object: