Skip to content

Instantly share code, notes, and snippets.


Xiaolin Zhang leoncamel

View GitHub Profile
kaityo256 /
Created Jul 8, 2019

2.4 富士通C++コンパイラの最適化機能の改善について

東京大学物性研究所 物質設計評価施設
富士通株式会社 次世代テクニカルコンピューティング開発本部
fotock / nginx.conf
Last active Jun 8, 2020 — forked from plentz/nginx.conf
Nginx SSL 安全配置最佳实践.
View nginx.conf
# 生成 dhparam.pem 文件, 在命令行执行任一方法:
# 方法1: 很慢
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
# 方法2: 较快
# 与方法1无明显区别. 2048位也足够用, 4096更强
openssl dhparam -dsaparam -out /etc/nginx/ssl/dhparam.pem 4096
voluntas / webrtc.rst
Last active Apr 17, 2020
WebRTC 資料まとめ
View webrtc.rst
billdozr / distributed-ping.hs
Last active Oct 8, 2015
Distributed ping (with boilerplate code, i.e. without Template Haskell)
View distributed-ping.hs
{-# LANGUAGE DeriveDataTypeable, GeneralizedNewtypeDeriving #-}
import System.Environment (getArgs, getProgName)
import Control.Monad (forM_, replicateM_)
import Data.Binary (Binary, encode, decode)
import Data.Typeable (Typeable)
import Data.ByteString.Lazy (ByteString)
import Control.Concurrent (threadDelay)
import Data.Rank1Dynamic (toDynamic)
import Control.Distributed.Static
( Static
josephwecker /
Created Aug 11, 2012
Replace .bashrc, .bash_profile, .profile, etc. with something much more clean, consistent, and meaningful. Now a repo:
# License: Public Domain.
# Author: Joseph Wecker, 2012
# This gist is slow and is missing .bashrc_once
# Use the one in the repo instead!
# (Thanks gioele)
# Are you tired of trying to remember what .bashrc does vs .bash_profile vs .profile?
You can’t perform that action at this time.