Skip to content

Instantly share code, notes, and snippets.

View kyleterry's full-sized avatar

Kyle Terry kyleterry

View GitHub Profile
$ brew update
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
tenykslol_1 | DEBUG:tenykslol:delegating message to <bound method TenyksService._help_check of <tenykslol.main.TenyksLol object at 0x7f68b02e3be0>>
tenykslol_1 | DEBUG:tenykslol:delegating message to <bound method TenyksService._privmsg_handler of <tenykslol.main.TenyksLol object at 0x7f68b02e3be0>>
tenykslol_1 | DEBUG:tenykslol:Handling PRIVMSG
tenykslol_1 | DEBUG:tenykslol:Hanging up with bot.
tenykslol_1 | DEBUG:tenykslol:sending {'payload': '', 'target': '', 'command': 'BYE', 'meta': {'name': 'tenykslol', 'UUID': '419e9fce-a75d-4954-b652-00931cd8e97a', 'version': '0.0', 'description': 'A celebration of what it means to truly laugh'}, 'connection': ''}
tenykslol_1 | DEBUG:tenykslol:Hung up.
tenykslol_1 | True
tenykslol_1 | Traceback (most recent call last):
tenykslol_1 | File "/usr/local/bin/tenykslol", line 9, in <module>
tenykslol_1 | load_entry_point('tenyks-contrib==0.3.0', 'console_scripts', 'teny
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/gevent/greenlet.py", line 327, in run
result = self._run(*self.args, **self.kwargs)
File "build/bdist.linux-x86_64/egg/tenykstwitter/main.py", line 39, in handle_tweet
self.send("Tweet: {}".format(result), data)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u201c' in position 0: ordinal not in range(128)
<Greenlet at 0x7f6433471a50: <bound method TenyksTwitter.handle_tweet of <tenykstwitter.main.TenyksTwitter object at 0x7f6434acd250>>({u'target': u'#infoforcefeed', u'connection': u'fr, <_sre.SRE_Match object at 0x7f6434802d50>)> failed with UnicodeEncodeError
package main
import (
"net/http"
"time"
)
func main() {
http.HandleFunc("/", handler)
http.ListenAndServe(":8080", nil)
{
"profiles": [
{
"name": "Default profile",
"selected": true,
"simple_modifications": {
"caps_lock": "escape"
}
}
]
import importlib
import json
from .sdk import requester, make_endpoint
from .packages import six
from .utilities import (pluralize,
singularize,
titlecase_to_underscore,
underscore_to_titlecase)
from .packages.six.moves.urllib.parse import urlencode
[ 8183 OK kyle@insomnia:~/src/go/src/github.com/kyleterry/sufr ]
[ git:master ]
$ gox
Number of parallel builds: 8
--> darwin/386: github.com/kyleterry/sufr
--> darwin/amd64: github.com/kyleterry/sufr
--> linux/386: github.com/kyleterry/sufr
--> linux/amd64: github.com/kyleterry/sufr
--> linux/arm: github.com/kyleterry/sufr
$ time ruby test.rb
fart
real 0m0.072s
user 0m0.041s
sys 0m0.025s
$ time ./test
"{\"name\":\"thingy\",\"tags\":{\"21\":true,\"62\":true}}"
[ 6951 ERR 1 kyle@insomnia:~/src/go/src/github.com/infoforcefeed/OlegDB ]
[ git:master ]
$ LD_LIBRARY_PATH=./build/lib:/usr/local/lib:/usr/lib:$LD_LIBRARY_PATH go test ./...
? github.com/infoforcefeed/OlegDB/frontend [no test files]
ok github.com/infoforcefeed/OlegDB/frontend/goleg 0.132s
[ 6947 OK kyle@insomnia:~ ]
$ ssh 10.0.1.1
ssh: connect to host 10.0.1.1 port 22: Connection refused
[ 6948 ERR 255 kyle@insomnia:~ ]
$ nmap 10.0.1.1
Starting Nmap 7.01 ( https://nmap.org ) at 2016-01-27 10:30 PST
Nmap scan report for gateway (10.0.1.1)
Host is up (0.0015s latency).
Not shown: 997 closed ports