Skip to content

Instantly share code, notes, and snippets.

View bsdlp's full-sized avatar

jon bsdlp

View GitHub Profile
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAFAQDBXEa7JPWG64kzJx+jUk4Ybw6aAqt55r9KNI0g3xtR1LGnUBIqxnWfiyLEwztpHyBpZm/c4ctJHkCM3qYiPQiTZsmJoCY+EkvIftpnWnzfdfPpqWYEKjPoZi/J8wIIkZtzQkFOHCRQm7JpTfsG0agcbB3FLloQuivnFvSbLUdip2aNBvjUswTILrR5PBpqdnmLNTaTSUErxAVT6HXi/6pMYcfli9sONXy9cMVKwpkeRez4SU01ndz4evdwOC52Nmt51TKp1PX/MFjok/EZya5syr2M08X8ac+xDH7OAuTcgd3emS1JN3ZCnhMChSlnlZVGHbimFe7iKUOX6w+LzkAYj+jDTWdkpKmCLqLAY66wqGK+G5XLf92YTXM77umqUcl7WBEs4681v5JYlXkLBNrzMy/7T3u4ds5O2eBtPwvOAAh4DDKIfx2SBJRgF7HLBeOBKuCGlTptrfoBZqmbN7bHMiG7MR+4scqqYdf3KG5DvTj+MgeexelmDDoHFjWVJJQEDVv+n/j3gqlmIrZVeptfKNWEa+9VsiORAARcBLmY40b9jOkEZWkxfaHZ5seoDD5SjImrlJOeawDAWxLvNuTRvduZuAnPL05M1W+abqpXrm+3FQEen/Bq1MlQmd+tf/GuEZlzIwJ3epwYu2gtV37tTtEFChFcgAZrz68CVUYTp/j01+yBBiCbvqZmZDNEUJKF6FcGq7QWPZqg6FIrblL5jbr5R8xXTfZOE/dw+2DxuRWIn6e8wHFvlj9iY6HGMsT/MmJDVHqP4hpmp5MRfambWF1d9b+/F0ObbbOCXJMW1l2rPi+urk/n+89ba+YG1gSOkWg6Pso66e81jNwoSHnjeeMy6o06lU65T1bsgekJYHLIrXepIwNSGzLFGToTKM5N6BflxP9JylZDw53ahR2A6kDYSvpZUM5JzLvh9dD+A3sROpPgbDwdRza74EEmz87dM23+wsh7esDnxBmzQv4ArAgc
acrobat
africa
alaska
albert
albino
album
alcohol
alex
alpha
amadeus
[error] /Users/jchen/git/birthday/src/main/scala/birthday.scala:4: type mismatch;
[error] found : org.joda.time.format.DateTimeFormatter
[error] required: com.github.nscala_time.time.Imports.DateTimeFormat
[error] (which expands to) org.joda.time.format.DateTimeFormat
[error] val df : DateTimeFormat = DateTimeFormat.forPattern("yyyy: EEEE")
[error] ^
............ after setting df to type DateTimeFormatter,
[error] /Users/jchen/git/birthday/src/main/scala/birthday.scala:4: not found: type DateTimeFormatter
[1] root@li549-252> docker run -i -t dock0/nginx /bin/bash ~
[root@b52c97997e63 /]# pacman -Syu --needed ruby
:: Synchronizing package databases...
core 110.7 KiB 308K/s 00:00 [################################################] 100%
extra 1680.1 KiB 288K/s 00:06 [################################################] 100%
community 2.2 MiB 268K/s 00:08 [################################################] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
root@ewr1-(master|✔)> salt -l all '*' state.highstate /srv/salt
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Missing configuration file: /root/.saltrc
[TRACE ] loading log_handlers in ['/usr/local/var/cache/salt/master/extmods/log_handlers', '/usr/lib/python2.7/dist-packages/salt/log/handlers']
[TRACE ] Skipping /usr/local/var/cache/salt/master/extmods/log_handlers, it is not a directory
[TRACE ] None of the required configuration sections, 'logstash_udp_handler' and 'logstash_zmq_handler', were found the in the configuration. Not loading the Logstash logging handlers module.
[DEBUG ] Configuration file path: /etc/salt/master
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Missing configuration file: /root/.saltrc
[DEBUG ] LocalClientEvent PUB socket URI: ipc:///usr/local/var/run/salt/master/master_event_pub.ipc
import requests
url = 'http://play.esea.net/index.php?s=session&d=login'
cookies = {'viewed_welcome_page': '1'}
payload = {'alias': 'USERNAME', 'password': 'PASSWORD'}
r = requests.post(url, cookies=cookies, data=payload)
text: >
bleh ableh ableh {{}}
{
"ERRORARRAY": [],
"DATA": {
"VERSION": 3.3,
"METHODS": {
"linode.list": {
"DESCRIPTION": "Returns a list of all Linodes user has access or delete to, including some properties",
"PARAMETERS": {
"LinodeID": {
"NAME": "LinodeID",
We can make this file beautiful and searchable if this error is corrected: No tabs found in this TSV file in line 0.
PORT STATE SERVICE
1/tcp filtered tcpmux
9/tcp filtered discard
11/tcp filtered systat
13/tcp filtered daytime
15/tcp filtered netstat
19/tcp filtered chargen
93/tcp filtered dcp
111/tcp filtered rpcbind
135/tcp filtered msrpc
>>> print(models.MCServer.query.all())
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "/Users/jchen/git/voltaire/uppsyningsman/env/lib/python3.4/site-packages/sqlalchemy/orm/query.py", line 2292, in all
return list(self)
File "/Users/jchen/git/voltaire/uppsyningsman/env/lib/python3.4/site-packages/sqlalchemy/orm/loading.py", line 72, in instances
rows = [process[0](row, None) for row in fetch]
File "/Users/jchen/git/voltaire/uppsyningsman/env/lib/python3.4/site-packages/sqlalchemy/orm/loading.py", line 72, in <listcomp>
rows = [process[0](row, None) for row in fetch]
File "/Users/jchen/git/voltaire/uppsyningsman/env/lib/python3.4/site-packages/sqlalchemy/orm/loading.py", line 481, in _instance