Skip to content

Instantly share code, notes, and snippets.

launchctl stop com.mcafee.menulet
launchctl stop com.mcafee.reporter
launchctl remove com.mcafee.menulet
launchctl remove com.mcafee.reporter
sudo su -
launchctl stop com.mcafee.virusscan.fmpd
launchctl stop com.mcafee.ssm.ScanManager
@77dbd7ee
77dbd7ee / gist:887dcef5f1861c8a279f
Created December 8, 2015 16:37 — forked from net21/gist:8279367
解析kyfw.12306.cn返回的余票字符串
def getTicketCount(yp_info):
"""
从余票字符串中获得余票数据。
余票信息字符串如下:
1018053038405095000010180500003032150000
O055300502M0933000989174800019
返回的是一个余票字典,并不是很全面,只取了我需要的类型,如下
ZY 一等座
ZE 二等座
WZ 无座
@77dbd7ee
77dbd7ee / parse_ipa.py
Last active August 29, 2015 14:20 — forked from 6david9/parse_ipa.py
# -*- coding: UTF-8 -*-
import zipfile
import biplist
import tempfile
import shutil
import re
import os