Skip to content

Instantly share code, notes, and snippets.

Focusing

Xiaolin Zhang leoncamel

Focusing
View GitHub Profile
@kaityo256
kaityo256 / watanabe-chiba-report.md
Created Jul 8, 2019
富士通C++コンパイラの最適化機能の改善について
View watanabe-chiba-report.md

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

東京大学物性研究所 物質設計評価施設
渡辺宙志
富士通株式会社 次世代テクニカルコンピューティング開発本部
千葉修一
@fotock
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
voluntas / webrtc.rst
Last active Apr 17, 2020
WebRTC 資料まとめ
View webrtc.rst
@billdozr
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
josephwecker / new_bashrc.sh
Created Aug 11, 2012
Replace .bashrc, .bash_profile, .profile, etc. with something much more clean, consistent, and meaningful. Now a repo: https://github.com/josephwecker/bashrc_dispatch
View new_bashrc.sh
#!/bin/bash
# License: Public Domain.
# Author: Joseph Wecker, 2012
#
# -- DEPRICATED --
# This gist is slow and is missing .bashrc_once
# Use the one in the repo instead! https://github.com/josephwecker/bashrc_dispatch
# (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.