Convert files to JPEG
import os, sysComments [0]
Default Foreground: 255/255/255
Default Background: 51/51/51
ANSI Black: 77/77/77
ANSI Green: 152/251/152
ANSI Yellow: 240/230/140
ANSI Blue: 205/133/63
ANSI Blue Bold 135/206/235
ANSI Magenta: 205/92/92
ANSI Cyan: 255/160/160
ANSI Cyan Bold: 255/215/0
ANSI White: 245/222/179
Comments [0]

convert -background white -transparent white -pointsize 32 -size 200x
caption:'Journal of Human Consumption and Cannibalism Studies' +repage
text.gif
composite -gravity center text.gif blank.gif blank-text.gif
Comments [0]
cookielib_example.py: uses cookielib and various other methods for foolproof cookie handling and storage
scaper.py: uses pycurl/libcurl to access resources with 'automatic cookie handling'
Comments [0]
When Git tells you it failed to push some refs (link)
git push
To git@github.com:user/repo.git
! [rejected] branchname -> branchname (non-fast forward)
error: failed to push some refs to 'git@github.com:user/repo.git'
In case you ever have the same problem, all you have to do is a quick git pull first, then you can carry on as normal. Easy when you know how...
$ git push origin master Permission denied (publickey). fatal: The remote end hung up unexpectedly error: failed to push to 'git@github.com:stonean/stage.git' I knew it was a configuration issue, just wasn’t sure if it was a git thing or not. After a minute or two of thinking it through, all I needed to do was:
$ cd ~/.ssh $ ssh-add id_rsaI then re-tried the push command, and it worked. Cool.
UPDATE: Can just do ssh-add without being in the .ssh directory
Comments [0]
from description of this video:
Comments [0]
Comments [0]