[ create a new paste ] login | about

jkeyes

Name:
Email:
Site/Blog:
Location:
Default language:
Favorite languages:
About:

Saved pastes by jkeyes:

Python, pasted on Oct 12:
1
2
3
4
5
u_config = u"""[DEFAULT]
tmp: /tmp

[file]
file: %(tmp)s/myfile
...
view (14 lines, 1 line of output)
Plain Text, pasted on Oct 8:
1
2
3
$ ./clients/memcp --servers=localhost:11211 --binary \
--username=myname --password=inncorrect memcp.c 
--username was supplied, but binary was not built with SASL support.
view (3 lines)
Plain Text, pasted on Oct 8:
1
2
3
4
5
  CXX    tests/libmemcached-1.0/tests_libmemcached_1_0_sasl-basic.o
  CXX    tests/libmemcached-1.0/tests_libmemcached_1_0_sasl-debug.o
  CXX    tests/libmemcached-1.0/tests_libmemcached_1_0_sasl-deprecated.o
  CXX    tests/libmemcached-1.0/tests_libmemcached_1_0_sasl-error_conditions.o
  CXX    tests/libmemcached-1.0/tests_libmemcached_1_0_sasl-ketama.o
...
view (18 lines)
Plain Text, pasted on Oct 8:
1
2
3
4
5
Configuration summary for libmemcached version 1.0.9

   * Installation prefix:       /opt
   * System type:               apple-darwin12.2.0
   * Host CPU:                  x86_64
...
view (10 lines)
Python, pasted on Oct 6:
1
2
3
seq = [99, 111, 100, 101, 112, 97, 100, 46, 111, 114, 103]

print "".join([chr(i) for i in seq])
view (3 lines, 1 line of output)
Python, pasted on Oct 5:
1
2
3
4
import re
r = re.compile(".*AT[^A-Z]*([A-Z]+)")

commands = ['AT\r\rOK\r\n', 'AT\r\rERROR\r\n']
...
view (8 lines, 2 lines of output)
Python, pasted on Oct 5:
1
2
3
4
5
import copy
import csv
import StringIO

csv_str = """X,,,
...
view (54 lines, 9 lines of output)
Python, pasted on Oct 5:
1
2
3
4
5
import copy
import csv
import StringIO

csv_str = """X,,,
...
view (71 lines, 9 lines of output)
Python, pasted on Oct 5:
1
2
3
4
5
import copy
import csv
import StringIO

csv_str = """X,,,
...
view (68 lines, 9 lines of output)