Skip to content

Instantly share code, notes, and snippets.

$ pip install --verbose Twisted
Collecting Twisted
1 location(s) to search for versions of Twisted:
* https://pypi.python.org/simple/twisted/
Getting page https://pypi.python.org/simple/twisted/
Looking up "https://pypi.python.org/simple/twisted/" in the cache
Current age based on date: 835
Freshness lifetime from max-age: 600
Freshness lifetime from request max-age: 600
The cached response is "stale" with no etag, purging
@tedwardd
tedwardd / error.txt
Created April 6, 2017 00:47
end of build.sh output with error
+ pip install -r linux_macos.txt
Processing /home/elw/git-work/lbry-app/lbryum
Processing /home/elw/git-work/lbry-app/lbry
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-yjmm1575-build/setup.py", line 50, in <module>
long_description = f.read().decode('utf-8')
AttributeError: 'str' object has no attribute 'decode'
adfadfadfadf
#include <stdio.h>
#include <stdlib.h>
int main()
{
int x;
int *p;
p = (int*)malloc(sizeof(x));
p = &x;
@tedwardd
tedwardd / muttrc
Created August 22, 2016 14:19
Problematic muttrc config
# Sidebar (if it's available)
set sidebar_width=30
set sidebar_visible=yes
set sidebar_delim='|'
set sidebar_sort=yes
color sidebar_new white red
macro index,pager b '<enter-command>toggle sidebar_visible<enter>'
bind index,pager \CN sidebar-next
bind index,pager \CP sidebar-prev
bind index,pager \CO sidebar-open
@tedwardd
tedwardd / ex10.c
Created July 10, 2016 18:35
Sample C demo
#include <stdio.h>
int main(int argc, char *argv[])
{
int i = 0;
// go through each string in argv
// why am I skipping argv[0]?
for (i = 1; i < argc; i++) {
@tedwardd
tedwardd / upgrades
Created May 27, 2016 00:15
system-upgrade failure
Removing:
ffmpeg-libs x86_64 2.8.7-1.fc23 @rpmfusion-free-updates-testing
14 M
gstreamer1-libav x86_64 1.6.3-1.fc23 @rpmfusion-free-updates-testing
650 k
kernel x86_64 4.4.7-300.fc23 @updates
0
kernel-core x86_64 4.4.7-300.fc23 @updates
52 M
kernel-debug-devel x86_64 4.4.7-300.fc23 @updates
 dnf repolist
Last metadata expiration check: 10 days, 0:40:36 ago on Sat May 7 09:43:01 2016.
repo id repo name status
dockerrepo Docker Repository 34
*fedora Fedora 23 - x86_64 46,074
*fedora-source Fedora 23 - Source 17,080
google-chrome google-chrome 3
keybase keybase 1
rpmfusion-free RPM Fusion for Fedora 23 - Free 692
rpmfusion-free-updates-testing RPM Fusion for Fedora 23 - Free - Test 268
spawn perl vmware-install.pl
expect "Press enter to display it. "
send "\r"
expect -ex "--More--"
send "q"
expect "Do you accept? (yes/no) "
send "yes\r"
expect -ex "\[yes\] "
send "yes\r"
expect -ex "\[/usr/bin\] "
@tedwardd
tedwardd / keybase.md
Created February 6, 2016 17:44
Keybase Proof

Keybase proof

I hereby claim:

  • I am k4k on github.
  • I am tedward (https://keybase.io/tedward) on keybase.
  • I have a public key ASBr-cl7myRj3swB4-t44Is9qantH7h3hB8OXIwCgPfPywo

To claim this, I am signing this object: