Skip to content

Instantly share code, notes, and snippets.

Ray tvvocold

Block or report user

Report or block tvvocold

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@tvvocold
tvvocold / index.html
Created Mar 30, 2019
Lost in Space Error Page SVG/CSS Animation
View index.html
<!-- Icons purchased via Iconfinder under Basic License -->
<body class="permission_denied">
<div id="particles-js"></div>
<div class="denied__wrapper">
<h1>404</h1>
<h3>迷失在<span>星际</span>网络中?</h3>
<h2>Don't Panic!<h2>
<svg id="astronaut" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<style>
View 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 F7A3 B198 763F 3B3D 19B4 3668 8063 A697 916A E50D

To claim this, I am signing this object:

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

To claim this, I am signing this object:

@tvvocold
tvvocold / file
Created Sep 26, 2016
freedom_public
View file
{"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"}
@tvvocold
tvvocold / index.html
Last active Aug 21, 2016
Coder-Review
View index.html
<!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)">
View allpac
function FindProxyForURL( url, host )
{
return "SOCKS 192.168.1.168:9009";
}
View gist:42b382c07b3848c09aab
> $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()
View 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:

View openshift-nginx-compile.sh
#!/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
You can’t perform that action at this time.