Skip to content

Instantly share code, notes, and snippets.

View iugo's full-sized avatar

iugo iugo

View GitHub Profile
@iugo
iugo / how-to-install-openssl-1.1.1-on-centos-7.md
Last active July 15, 2022 09:20
How to install openssl 1.1.1 on CentOS 7

How To Install OpenSSL 1.1.1 on CentOS 7

This tutorial goes through how to install openssl 1.1.1 on CentOS 7, since the yum repo only installs up to openssl 1.0.

Requirements

Upgrade the system

yum -y update
@iugo
iugo / tmux-cheatsheet.markdown
Last active February 23, 2018 09:23 — forked from ryerh/tmux-cheatsheet.markdown
Tmux 快捷键 & 速查表

Tmux 快捷键 & 速查表

启动新会话:

tmux [new -s 会话名 -n 窗口名]

恢复会话:

tmux at [-t 会话名]
@iugo
iugo / index.html
Created January 23, 2017 02:36 — forked from anonymous/index.html
JavaScript 笔试题 JS Bin// source https://jsbin.com/mowubenaji
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
function parseQueryString(qs) {
qs = qs.replace(/\+/g, ' ');
var params = {}, tokens,
re = /[?&]:?([^=]+)=([^&#]*)/g;
while (tokens = re.exec(qs)) {
// console.log(tokens);
params[decodeURIComponent(tokens[1])]
= decodeURIComponent(tokens[2]);