方案配置文件+详细说明:Rime+小鹤双拼+颜文字+笔画混合输入方案
实现的功能是:给小鹤双拼添加颜文字支持,直接打双拼出颜文字,支持模糊音,支持词频调整,同时不影响小鹤双拼自带的笔画反查。
要实现双拼+颜文字的功能网上已经有很多方法,但都有些弊端,这里分别简单介绍下:
方案配置文件+详细说明:Rime+小鹤双拼+颜文字+笔画混合输入方案
实现的功能是:给小鹤双拼添加颜文字支持,直接打双拼出颜文字,支持模糊音,支持词频调整,同时不影响小鹤双拼自带的笔画反查。
要实现双拼+颜文字的功能网上已经有很多方法,但都有些弊端,这里分别简单介绍下:
| I use the first | |
| —– BEGIN LICENSE —– | |
| Michael Barnes | |
| Single User License | |
| EA7E-821385 | |
| 8A353C41 872A0D5C DF9B2950 AFF6F667 | |
| C458EA6D 8EA3C286 98D1D650 131A97AB | |
| AA919AEC EF20E143 B361B1E7 4C8B7F04 |
| # pip install retryz backoff | |
| from __future__ import print_function | |
| import random | |
| import retryz | |
| import backoff | |
| def naughty_func(): | |
| picky = random.randint(1, 3) |
Hi there! Since this post was originally written, nvm has gained some new tools, and some people have suggested alternative (and potentially better) approaches for modern systems. Make sure to have a look at the comments to this article, before following this guide!
Trickier than it seems.
| # -*- coding: utf-8 -*- | |
| """网易云自动签到""" | |
| import requests | |
| __author__ = 'abrasumente' |
Wand==0.3.7, Python 3.4.3, OSX EI Capitan 10.11
when run from wand.image import Image it throw errors:
ImportError: MagickWand shared library not found. You probably had not installed ImageMagick library. Try to install: brew install freetype imagemagick
ok, first I try this:
| # coding=utf-8 | |
| import os | |
| import sys | |
| import glob | |
| pngcrush = "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/pngcrush" | |
| destination = os.path.join(os.environ['HOME'], 'Desktop') | |
| for ipa in sys.argv: |
| #!/usr/bin/env python3 | |
| # -*- coding: utf-8 -*- | |
| # Licensed under WTFPL or the Unlicense or CC0. | |
| # This uses Python 3, but it's easy to port to Python 2 by changing | |
| # strings to u'xx'. | |
| import itertools | |
| def num2chinese(num, big=False, simp=True, o=False, twoalt=False): |
#参考资料
###下载单个文件,默认将输出打印到标准输出中(STDOUT)中
curl http://www.centos.org
Installation (on a Debian machine):
/etc/init.d/psdash and edit it to fit your OS and pathschmod a+rx /etc/init.d/psdashupdate-rc.d psdash defaults/etc/init.d/psdash startOptionally, setup a proxy pass to psdash's port (TCP 5000) and add some form of authentication there.