Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:
siskin

nlp4whp

:octocat:
siskin
View GitHub Profile
@nlp4whp
nlp4whp / htpasswd.py
Created Jul 20, 2020 — forked from peterwillcn/htpasswd.py
htpasswd script in python (no need to install apache utils)
View htpasswd.py
#!/usr/local/bin/python
"""Replacement for htpasswd"""
# Original author: Eli Carter
import os
import sys
import random
from optparse import OptionParser
# We need a crypt module, but Windows doesn't have one by default. Try to find
@nlp4whp
nlp4whp / tmux-cheatsheet.markdown
Created Jun 14, 2020 — forked from ryerh/tmux-cheatsheet.markdown
Tmux 快捷键 & 速查表 & 简明教程
View tmux-cheatsheet.markdown

注意:本文内容适用于 Tmux 2.3 及以上的版本,但是绝大部分的特性低版本也都适用,鼠标支持、VI 模式、插件管理在低版本可能会与本文不兼容。

Tmux 快捷键 & 速查表 & 简明教程

启动新会话:

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

恢复会话:

View deep-leakage-from-gradients.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
You can’t perform that action at this time.