Skip to content

Instantly share code, notes, and snippets.

View cmsax's full-sized avatar
⚠️
undefinedundefinedundefinedundefinedundefinedundefinedundefined

Mingshi Cai cmsax

⚠️
undefinedundefinedundefinedundefinedundefinedundefinedundefined
View GitHub Profile
@awjuliani
awjuliani / Q-Net Learning Clean.ipynb
Created August 25, 2016 20:30
Basic Q-Learning algorithm using Tensorflow
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nrollr
nrollr / nginx.conf
Last active October 23, 2024 00:49
NGINX config for SSL with Let's Encrypt certs
# UPDATED 17 February 2019
# Redirect all HTTP traffic to HTTPS
server {
listen 80;
listen [::]:80;
server_name www.domain.com domain.com;
return 301 https://$host$request_uri;
}
# SSL configuration
@slok
slok / pprof.md
Last active November 4, 2024 01:07
Go pprof cheat sheet

Enable profiling

Default http server

import (
    _ "net/http/pprof"
    "net/http"
)