Skip to content

Instantly share code, notes, and snippets.

@SashiRin
SashiRin / javdb-top250.md
Created March 19, 2025 08:07 — forked from jinjier/javdb-top250.md
JavDB top 250 movies list. [Updated on 2025/03]
"colorscheme evening " 设定配色方案
set number " 显示行号
"set cursorline " 突出显示当前行
set ruler " 打开状态栏标尺
set shiftwidth=4 " 设定 << 和 >> 命令移动时的宽度为 4
set softtabstop=4 " 使得按退格键时可以一次删掉 4 个空格
set tabstop=4 " 设定 tab 长度为 4
set nobackup " 覆盖文件时不备份
set autochdir " 自动切换当前目录为当前文件所在的目录
set backupcopy=yes " 设置备份时的行为为覆盖
@SashiRin
SashiRin / bobp-python.md
Created June 11, 2020 01:13 — forked from sloria/bobp-python.md
A "Best of the Best Practices" (BOBP) guide to developing in Python.

The Best of the Best Practices (BOBP) Guide for Python

A "Best of the Best Practices" (BOBP) guide to developing in Python.

In General

Values

  • "Build tools for others that you want to be built for you." - Kenneth Reitz
  • "Simplicity is alway better than functionality." - Pieter Hintjens
@SashiRin
SashiRin / main.cpp
Last active June 15, 2020 08:59
cppoj
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ull = unsigned long long;
using vll = vector<ll>;
using vi = vector<int>;
using vb = vector<bool>;
using vs = vector<string>;
@SashiRin
SashiRin / settings.json
Created January 6, 2020 04:38 — forked from khys/settings.json
LaTeX Workshop に関する設定部分
{
"latex-workshop.view.pdf.viewer": "tab",
"latex-workshop.latex.tools": [
{
"command": "ptex2pdf",
"args": [
"-l",
"-i",
"-ot",
"-kanji=utf8 -synctex=1 -interaction=nonstopmode -halt-on-error -file-line-error",
@SashiRin
SashiRin / gist:1549afff707d9a6bb69d65fc04260ef5
Created June 20, 2019 08:02 — forked from Atem18/gist:4696071
Tutorial to seting up a django website in production.

Set up Django, Nginx and Gunicorn in a Virtualenv controled by Supervisor

Steps with explanations to set up a server using:

  • Virtualenv
  • Virtualenvwrapper
  • Django
  • Gunicorn
@SashiRin
SashiRin / ACM学习计划
Created July 17, 2018 05:24 — forked from dodola/ACM学习计划
ACM学习计划
ACM大量习题题库
ACM大量习题题库
现在网上有许多题库,大多是可以在线评测,所以叫做Online Judge。除了USACO是为IOI准备外,其余几乎全部是大学的ACM竞赛题库。
USACO
http://ace.delos.com/usacogate
美国著名在线题库,专门为信息学竞赛选手准备