I hereby claim:
- I am messense on github.
- I am messense (https://keybase.io/messense) on keybase.
- I have a public key whose fingerprint is 1961 A032 8346 7E2B 2FA2 BD15 BB41 A8A2 C716 CCA9
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| npm ERR! registry error parsing json | |
| npm ERR! Linux 3.14.32-xxxx-grs-ipv6-64 | |
| npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "--loglevel=warn" | |
| npm ERR! node v6.9.1 | |
| npm ERR! npm v3.10.8 | |
| npm ERR! Unexpected token < in JSON at position 0 | |
| npm ERR! <html> | |
| npm ERR! <head><title>400 Bad Request</title></head> | |
| npm ERR! <body bgcolor="white"> |
| # -*- coding: utf-8 -*- | |
| import os | |
| import re | |
| import json | |
| import pickle | |
| import logging | |
| import logging.config | |
| import requests |
| #!/usr/bin/env python | |
| # coding:utf-8 | |
| import requests | |
| from hashlib import md5 | |
| class RClient(object): | |
| def __init__(self, username, password, soft_id, soft_key): | |
| self.username = username |
| # -*- coding: utf-8 -*- | |
| from __future__ import absolute_import, unicode_literals | |
| from bson import json_util as json | |
| class JSONSerializer(object): | |
| """ | |
| Simple wrapper around json to be used in signing.dumps and | |
| signing.loads. | |
| """ |
| class ObjectDict(dict): | |
| def __getattr__(self, key): | |
| if key in self: | |
| return self[key] | |
| return None | |
| def __setattr__(self, key, value): | |
| self[key] = value |
| /** | |
| * GenPAC 0.2.1 http://jeeker.net/projects/genpac/ | |
| * Generated: Fri, 17 May 2013 14:15:55 GMT | |
| * GFWList Last-Modified: Fri, 17 May 2013 12:41:31 GMT | |
| */ | |
| // proxy | |
| var P = "PROXY 192.168.1.1:8118; DIRECT"; | |
| // user rules |
| #!/bin/env python | |
| from __future__ import with_statement | |
| import sys | |
| import logging | |
| import requests | |
| import urllib | |
| import getopt | |
| if sys.version_info < (2, 6): | |
| import simplejson as json | |
| else: |
| . /etc/init.d/functions.sh | |
| VERSION="`basename $0` ver. 0.91" | |
| USAGE="Usage: `basename $0` < option > | --status-all | \ | |
| [ service_name [ command | --full-restart ] ]" | |
| SERVICE= | |
| SERVICEDIR="/etc/init.d" | |
| OPTIONS= | |
| if [ $# -eq 0 ]; then |