Skip to content

Instantly share code, notes, and snippets.

@okcpt
okcpt / CRC16Modbus.java
Created October 14, 2013 16:39
CRC16 MODBUS
package utils;
import java.util.zip.Checksum;
/**
* User: punksa
* Date: 13-10-11
* Time: 下午10:33
*/
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.shadowsocks</string>
<key>ProgramArguments</key>
<array>
<string>python</string>
<string>/shadowsocks-master/local.py</string>
@okcpt
okcpt / a2p.py
Created January 17, 2013 15:35
Arpabet testing.
# -*- coding: utf-8 -*-
"""
a2p.py
~~~~~~~~~~~~~
Arpabet code to unicode phoneme.
:author: liuyork
:copyright: (c) 2013.