Skip to content

Instantly share code, notes, and snippets.

View xoyabc's full-sized avatar
🍊
tangerine

xoyabc xoyabc

🍊
tangerine
View GitHub Profile
@xoyabc
xoyabc / listen1_aha_playlist.md
Created January 27, 2024 19:39
updated by Listen1(https://listen1.github.io/listen1/) at 2024/1/28 03:39:13

本歌单由Listen1创建, 歌曲数:1317,歌单数:18,点击查看更多

python环境搭建

环境准备

开课前环境准备
- 1. 如果你用的Windows系统,建议在Windows上安装虚拟机,在虚拟机上安装Linux系统,Linux系统上运行Python环境;
- 2. 如果你用的是Mac系统,那么可以直接在Mac上运行Python环境;
- 3. 虚拟机建议用Virtualbox + Vagrant, 为什么要用这款软件了??? 
- 3.1 能够实现Windows下项目代码实时同步到Linux系统;

重制版字幕平移

  • CC版

时间轴往后平移13.05s

#!/usr/bin/env python
#
# Converts any integer into a base [BASE] number. I have chosen 62
# as it is meant to represent the integers using all the alphanumeric
# characters, [no special characters] = {0..9}, {A..Z}, {a..z}
#
# I plan on using this to shorten the representation of possibly long ids,
# a la url shortenters
#
@xoyabc
xoyabc / ansible-vault.md
Created June 20, 2018 17:54 — forked from hvanderlaan/ansible-vault.md
Ansible-vault example

Ansible vault example

New in Ansible 1.5, “Vault” is a feature of ansible that allows keeping sensitive data such as passwords or keys in encrypted files, rather than as plaintext in your playbooks or roles. These vault files can then be distributed or placed in source control. To enable this feature, a command line tool, ansible-vault is used to edit files, and a command line flag –ask-vault-pass or –vault-password-file is used. Alternately, you may specify the location of a password file or command Ansible to always prompt for the password in your ansible.cfg file. These options require no command line flag usage.

Requirements

@xoyabc
xoyabc / available_tracker_address.txt
Last active January 24, 2018 16:46
available_tracker_address
http://87.248.186.252:8080/announce
http://bt.cnscg.com:6969/announce
http://explodie.org:6969/announce
http://fxtt.ru/announce
http://grifon.info/announce
http://henbt.com:2710/announce
http://p4p.arenabg.com:1337/announce
http://retracker.bashtel.ru/announce
http://retracker.omsk.ru:2710/announce
http://retracker.spark-rostov.ru/announce